Summary: File system tree viewer Name: tree Version: 1.5.3 Release: 2%{?dist} Group: Applications/File License: GPLv2+ Url: http://mama.indstate.edu/users/ice/tree/ Source: ftp://mama.indstate.edu/linux/tree/tree-%{version}.tgz Patch1: tree-1.2-carrot.patch Patch2: tree-1.2-no-strip.patch Patch3: tree-preserve-timestamps.patch Patch4: tree-no-color-by-default.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description The tree utility recursively displays the contents of directories in a tree-like format. Tree is basically a UNIX port of the DOS tree utility. %prep %setup -q # Fixed spelling mistake in man page. %patch1 -p1 -b .carrot # Don't strip binary in the Makefile -- let rpmbuild do it. %patch2 -p1 -b .no-strip # Preserve timestamp on man page. %patch3 -p1 -b .preserve-timestamps # Disable color output by default. %patch4 -p1 -b .no-color-by-default %build make CFLAGS="$RPM_OPT_FLAGS" "CPPFLAGS=$(getconf LFS_CFLAGS)" %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_bindir} make BINDIR=$RPM_BUILD_ROOT%{_bindir} \ MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 \ install chmod -x $RPM_BUILD_ROOT%{_mandir}/man1/tree.1 %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{_bindir}/tree %{_mandir}/man1/tree.1* %doc README LICENSE %changelog * Wed Mar 3 2010 Tim Waugh <twaugh@redhat.com> 1.5.3-2 - Added comments to all patches. * Fri Nov 27 2009 Tim Waugh <twaugh@redhat.com> 1.5.3-1 - 1.5.3 (bug #517342, bug #541255). * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.2.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Jun 10 2009 Tim Waugh <twaugh@redhat.com> 1.5.2.2-3 - Reinstate no-color-by-default patch (bug #504245). * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.2.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Tue Jan 27 2009 Tim Waugh <twaugh@redhat.com> 1.5.2.2-1 - 1.5.2.2. * Mon Nov 24 2008 Tim Waugh <twaugh@redhat.com> 1.5.2.1-2 - Better summary. * Tue Sep 2 2008 Tim Waugh <twaugh@redhat.com> 1.5.2.1-1 - Removed patch fuzz. - 1.5.2.1. * Mon Jun 16 2008 Tim Waugh <twaugh@redhat.com> 1.5.2-1 - 1.5.2. - Dropped no-colour patch. * Thu Jun 5 2008 Tim Waugh <twaugh@redhat.com> 1.5.1.2-1 - 1.5.1.2. * Fri Apr 25 2008 Tim Waugh <twaugh@redhat.com> 1.5.1.1-1 - 1.5.1.1. * Mon Feb 11 2008 Tim Waugh <twaugh@redhat.com> 1.5.0-9 - Rebuild for GCC 4.3. * Wed Aug 29 2007 Tim Waugh <twaugh@redhat.com> 1.5.0-8 - More specific license tag. * Wed Feb 7 2007 Tim Waugh <twaugh@redhat.com> 1.5.0-7 - Current version no longer ships binary, so don't try removing it (bug #226503). * Tue Feb 6 2007 Tim Waugh <twaugh@redhat.com> 1.5.0-6 - Preserve timestamps on install (bug #226503). - Added SMP flags (bug #226503). - Removed Prefix: tag (bug #226503). - Removed bogus mkdir call (bug #226503). - Ship the LICENSE file (bug #226503). - Fixed summary (bug #226503). * Fri Dec 15 2006 Tim Waugh <twaugh@redhat.com> 1.5.0-5 - Fixed '--charset' option (bug #188884). * Fri Jul 14 2006 Jesse Keating <jkeating@redhat.com> - 1.5.0-4 - rebuild * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.5.0-3.2.1 - bump again for double-long bug on ppc(64) * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.5.0-3.2 - rebuilt for new gcc4.1 snapshot and glibc changes * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> - rebuilt * Wed Mar 2 2005 Tim Waugh <twaugh@redhat.com> 1.5.0-3 - Rebuild for new GCC. * Sun Dec 05 2004 Florian La Roche <laroche@redhat.com> - add quotes around CPPFLAGS * Mon Sep 13 2004 Tim Waugh <twaugh@redhat.com> 1.5.0-1 - 1.5.0 (bug #131854). - No longer need utf8 or gcc34 patches. * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> - rebuilt * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> - rebuilt * Thu Feb 5 2004 Tim Waugh <twaugh@redhat.com> 1.4b3-2 - Fixed compilation with GCC 3.4. * Wed Aug 13 2003 Tim Waugh <twaugh@redhat.com> 1.4b3-1 - Upgraded (bug #88525). * Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> - rebuilt * Wed Jan 22 2003 Tim Powers <timp@redhat.com> - rebuilt * Fri Nov 8 2002 Tim Waugh <twaugh@redhat.com> 1.2-21 - Assume -N except if -q is given (bug #77517). * Fri Jun 21 2002 Tim Powers <timp@redhat.com> - automated rebuild * Thu May 23 2002 Tim Powers <timp@redhat.com> - automated rebuild * Tue Apr 23 2002 Tim Waugh <twaugh@redhat.com> 1.2-18 - Don't explicitly strip binaries (bug #62569). - Fix malloc/realloc problems (bug #56858). * Fri Mar 22 2002 Tim Waugh <twaugh@redhat.com> 1.2-17 - Large file support (bug #61456). * Wed Feb 27 2002 Tim Waugh <twaugh@redhat.com> 1.2-16 - Rebuild in new environment. * Wed Jan 09 2002 Tim Powers <timp@redhat.com> - automated rebuild * Fri Oct 5 2001 Tim Waugh <twaugh@redhat.com> 1.2-14 - Fix size format (bug #54298). - Don't use colours by default (bug #25389). * Mon Jul 30 2001 Tim Waugh <twaugh@redhat.com> 1.2-13 - Change Copyright: to License:. - Don't dump core if LS_COLORS is too big (bug #50016). * Wed May 30 2001 Tim Waugh <twaugh@redhat.com> 1.2-12 - Sync description with specspo. * Tue Oct 10 2000 Tim Waugh <twaugh@redhat.com> 1.2-11 - Don't blabber about carrots in the man page (bug #18823) - Use RPM_OPT_FLAGS while building * Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild * Sun Jun 11 2000 Bill Nottingham <notting@redhat.com> - rebuild, FHS stuff * Thu Feb 3 2000 Bernhard Rosenkraenzer <bero@redhat.com> - remove executable bit from man page (Bug #9035) - deal with rpm compressing man pages * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 6) * Thu Dec 17 1998 Michael Maher <mike@redhat.com> - built package for 6.0 * Mon Aug 10 1998 Jeff Johnson <jbj@redhat.com> - build root * Tue May 05 1998 Prospector System <bugs@redhat.com> - translations modified for de, fr, tr * Wed Apr 29 1998 Cristian Gafton <gafton@redhat.com> - installing in /usr/bin * Mon Oct 20 1997 Otto Hammersmith <otto@redhat.com> - updated version - fixed src url * Fri Jul 18 1997 Erik Troan <ewt@redhat.com> - built against glibc