Blame SPECS/tree.spec

89b218
Summary: File system tree viewer
89b218
Name: tree
89b218
Version: 1.7.0
89b218
Release: 15%{?dist}
89b218
License: GPLv2+
89b218
URL: http://mama.indstate.edu/users/ice/tree/
89b218
Source: ftp://mama.indstate.edu/linux/tree/tree-%{version}.tgz
89b218
89b218
BuildRequires: gcc
89b218
89b218
# Preserve timestamp on man page.
89b218
Patch2: tree-preserve-timestamps.patch
89b218
89b218
# Document --du and --prune options in help output (bug #948991).
89b218
Patch4: tree-args.patch
89b218
89b218
# Use correct default for dircolors "ec" field (bug #812934).
89b218
Patch6: tree-dircolors-ec.patch
89b218
89b218
# Keep file size field length constant regardless of whether SI units
89b218
# are used (bug #997937).
89b218
Patch7: tree-size-field-len.patch
89b218
89b218
# fix programming mistakes detected by static analysis (#1602718)
89b218
Patch8: tree-static-analysis.patch
89b218
89b218
%description
89b218
The tree utility recursively displays the contents of directories in a
89b218
tree-like format.  Tree is basically a UNIX port of the DOS tree
89b218
utility.
89b218
89b218
%prep
89b218
%autosetup -p1
89b218
89b218
# do not escape UTF-8 chars in file names by default in UTF-8 locale (#1480778)
89b218
sed -e 's/LINUX/__linux__/' -i tree.c
89b218
89b218
%build
89b218
make CFLAGS="$RPM_OPT_FLAGS $(getconf LFS_CFLAGS)" \
89b218
  LDFLAGS="$RPM_LD_FLAGS" %{?_smp_mflags}
89b218
89b218
%install
89b218
mkdir -p $RPM_BUILD_ROOT%{_bindir}
89b218
89b218
make	BINDIR=$RPM_BUILD_ROOT%{_bindir} \
89b218
	MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
89b218
	install
89b218
89b218
chmod -x $RPM_BUILD_ROOT%{_mandir}/man1/tree.1
89b218
89b218
%files
89b218
%{_bindir}/tree
89b218
%{_mandir}/man1/tree.1*
89b218
%doc README LICENSE
89b218
89b218
%changelog
89b218
* Wed Nov 07 2018 Kamil Dudka <kdudka@redhat.com> - 1.7.0-15
89b218
- fix programming mistakes detected by static analysis (#1602718)
89b218
89b218
* Fri Feb 23 2018 Florian Weimer <fweimer@redhat.com> - 1.7.0-14
89b218
- Use LDFLAGS from redhat-rpm-config
89b218
89b218
* Mon Feb 19 2018 Kamil Dudka <kdudka@redhat.com> - 1.7.0-13
89b218
- add explicit BR for the gcc compiler
89b218
89b218
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-12
89b218
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
89b218
89b218
* Mon Aug 14 2017 Kamil Dudka <kdudka@redhat.com> - 1.7.0-11
89b218
- do not escape UTF-8 chars in file names by default in UTF-8 locale (#1480778)
89b218
- modernize spec file (Group, BuildRoot, autosetup, clean, defattr)
89b218
89b218
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-10
89b218
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
89b218
89b218
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-9
89b218
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
89b218
89b218
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-8
89b218
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
89b218
89b218
* Thu Sep 01 2016 Kamil Dudka <kdudka@redhat.com> - 1.7.0-7
89b218
- drop a non-upstream patch that disabled color output by default (#1284657)
89b218
89b218
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-6
89b218
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
89b218
89b218
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.0-5
89b218
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
89b218
89b218
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 1.7.0-4
89b218
- Rebuilt for Fedora 23 Change
89b218
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
89b218
89b218
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.0-3
89b218
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
89b218
89b218
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.0-2
89b218
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
89b218
89b218
* Fri Apr 25 2014 Tim Waugh <twaugh@redhat.com> - 1.7.0-1
89b218
- 1.7.0 (bug #1090962).
89b218
89b218
* Fri Aug 16 2013 Tim Waugh <twaugh@redhat.com> - 1.6.0-11
89b218
- Keep file size field length constant regardless of whether SI units
89b218
  are used (bug #997937).
89b218
89b218
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.0-10
89b218
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
89b218
89b218
* Tue Jul  9 2013 Tim Waugh <twaugh@redhat.com> - 1.6.0-9
89b218
- Use correct default for dircolors "ec" field (bug #812934).
89b218
89b218
* Thu Jul  4 2013 Tim Waugh <twaugh@redhat.com> - 1.6.0-8
89b218
- Handle large UID/GID values (bug #980945).
89b218
89b218
* Thu Apr 11 2013 Tim Waugh <twaugh@redhat.com> - 1.6.0-7
89b218
- Document --du and --prune options in help output (bug #948991).
89b218
89b218
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.0-6
89b218
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
89b218
89b218
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.0-5
89b218
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
89b218
89b218
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.0-4
89b218
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
89b218
89b218
* Mon Dec  5 2011 Tim Waugh <twaugh@redhat.com> 1.6.0-3
89b218
- Put LFS_CFLAGS in CFLAGS not CPPFLAGS so they actually get used
89b218
  (bug #769655).
89b218
89b218
* Mon Jul  4 2011 Tim Waugh <twaugh@redhat.com> 1.6.0-2
89b218
- Don't strip the binary too early (bug #718456).
89b218
89b218
* Mon Jun 27 2011 Tim Waugh <twaugh@redhat.com> 1.6.0-1
89b218
- 1.6.0 (bug #716879).
89b218
89b218
* Fri May 20 2011 Tim Waugh <twaugh@redhat.com> 1.5.3-4
89b218
- Fixed memory leak spotted by coverity (bug #704570).
89b218
89b218
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.3-3
89b218
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
89b218
89b218
* Wed Mar  3 2010 Tim Waugh <twaugh@redhat.com> 1.5.3-2
89b218
- Added comments to all patches.
89b218
89b218
* Fri Nov 27 2009 Tim Waugh <twaugh@redhat.com> 1.5.3-1
89b218
- 1.5.3 (bug #517342, bug #541255).
89b218
89b218
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.2.2-4
89b218
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
89b218
89b218
* Wed Jun 10 2009 Tim Waugh <twaugh@redhat.com> 1.5.2.2-3
89b218
- Reinstate no-color-by-default patch (bug #504245).
89b218
89b218
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.2.2-2
89b218
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
89b218
89b218
* Tue Jan 27 2009 Tim Waugh <twaugh@redhat.com> 1.5.2.2-1
89b218
- 1.5.2.2.
89b218
89b218
* Mon Nov 24 2008 Tim Waugh <twaugh@redhat.com> 1.5.2.1-2
89b218
- Better summary.
89b218
89b218
* Tue Sep  2 2008 Tim Waugh <twaugh@redhat.com> 1.5.2.1-1
89b218
- Removed patch fuzz.
89b218
- 1.5.2.1.
89b218
89b218
* Mon Jun 16 2008 Tim Waugh <twaugh@redhat.com> 1.5.2-1
89b218
- 1.5.2.
89b218
- Dropped no-colour patch.
89b218
89b218
* Thu Jun  5 2008 Tim Waugh <twaugh@redhat.com> 1.5.1.2-1
89b218
- 1.5.1.2.
89b218
89b218
* Fri Apr 25 2008 Tim Waugh <twaugh@redhat.com> 1.5.1.1-1
89b218
- 1.5.1.1.
89b218
89b218
* Mon Feb 11 2008 Tim Waugh <twaugh@redhat.com> 1.5.0-9
89b218
- Rebuild for GCC 4.3.
89b218
89b218
* Wed Aug 29 2007 Tim Waugh <twaugh@redhat.com> 1.5.0-8
89b218
- More specific license tag.
89b218
89b218
* Wed Feb  7 2007 Tim Waugh <twaugh@redhat.com> 1.5.0-7
89b218
- Current version no longer ships binary, so don't try removing
89b218
  it (bug #226503).
89b218
89b218
* Tue Feb  6 2007 Tim Waugh <twaugh@redhat.com> 1.5.0-6
89b218
- Preserve timestamps on install (bug #226503).
89b218
- Added SMP flags (bug #226503).
89b218
- Removed Prefix: tag (bug #226503).
89b218
- Removed bogus mkdir call (bug #226503).
89b218
- Ship the LICENSE file (bug #226503).
89b218
- Fixed summary (bug #226503).
89b218
89b218
* Fri Dec 15 2006 Tim Waugh <twaugh@redhat.com> 1.5.0-5
89b218
- Fixed '--charset' option (bug #188884).
89b218
89b218
* Fri Jul 14 2006 Jesse Keating <jkeating@redhat.com> - 1.5.0-4
89b218
- rebuild
89b218
89b218
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.5.0-3.2.1
89b218
- bump again for double-long bug on ppc(64)
89b218
89b218
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.5.0-3.2
89b218
- rebuilt for new gcc4.1 snapshot and glibc changes
89b218
89b218
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
89b218
- rebuilt
89b218
89b218
* Wed Mar  2 2005 Tim Waugh <twaugh@redhat.com> 1.5.0-3
89b218
- Rebuild for new GCC.
89b218
89b218
* Sun Dec 05 2004 Florian La Roche <laroche@redhat.com>
89b218
- add quotes around CPPFLAGS
89b218
89b218
* Mon Sep 13 2004 Tim Waugh <twaugh@redhat.com> 1.5.0-1
89b218
- 1.5.0 (bug #131854).
89b218
- No longer need utf8 or gcc34 patches.
89b218
89b218
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
89b218
- rebuilt
89b218
89b218
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
89b218
- rebuilt
89b218
89b218
* Thu Feb  5 2004 Tim Waugh <twaugh@redhat.com> 1.4b3-2
89b218
- Fixed compilation with GCC 3.4.
89b218
89b218
* Wed Aug 13 2003 Tim Waugh <twaugh@redhat.com> 1.4b3-1
89b218
- Upgraded (bug #88525).
89b218
89b218
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
89b218
- rebuilt
89b218
89b218
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
89b218
- rebuilt
89b218
89b218
* Fri Nov  8 2002 Tim Waugh <twaugh@redhat.com> 1.2-21
89b218
- Assume -N except if -q is given (bug #77517).
89b218
89b218
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
89b218
- automated rebuild
89b218
89b218
* Thu May 23 2002 Tim Powers <timp@redhat.com>
89b218
- automated rebuild
89b218
89b218
* Tue Apr 23 2002 Tim Waugh <twaugh@redhat.com> 1.2-18
89b218
- Don't explicitly strip binaries (bug #62569).
89b218
- Fix malloc/realloc problems (bug #56858).
89b218
89b218
* Fri Mar 22 2002 Tim Waugh <twaugh@redhat.com> 1.2-17
89b218
- Large file support (bug #61456).
89b218
89b218
* Wed Feb 27 2002 Tim Waugh <twaugh@redhat.com> 1.2-16
89b218
- Rebuild in new environment.
89b218
89b218
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
89b218
- automated rebuild
89b218
89b218
* Fri Oct  5 2001 Tim Waugh <twaugh@redhat.com> 1.2-14
89b218
- Fix size format (bug #54298).
89b218
- Don't use colours by default (bug #25389).
89b218
89b218
* Mon Jul 30 2001 Tim Waugh <twaugh@redhat.com> 1.2-13
89b218
- Change Copyright: to License:.
89b218
- Don't dump core if LS_COLORS is too big (bug #50016).
89b218
89b218
* Wed May 30 2001 Tim Waugh <twaugh@redhat.com> 1.2-12
89b218
- Sync description with specspo.
89b218
89b218
* Tue Oct 10 2000 Tim Waugh <twaugh@redhat.com> 1.2-11
89b218
- Don't blabber about carrots in the man page (bug #18823)
89b218
- Use RPM_OPT_FLAGS while building
89b218
89b218
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
89b218
- automatic rebuild
89b218
89b218
* Sun Jun 11 2000 Bill Nottingham <notting@redhat.com>
89b218
- rebuild, FHS stuff
89b218
89b218
* Thu Feb  3 2000 Bernhard Rosenkraenzer <bero@redhat.com>
89b218
- remove executable bit from man page (Bug #9035)
89b218
- deal with rpm compressing man pages
89b218
89b218
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
89b218
- auto rebuild in the new build environment (release 6)
89b218
89b218
* Thu Dec 17 1998 Michael Maher <mike@redhat.com>
89b218
- built package for 6.0
89b218
89b218
* Mon Aug 10 1998 Jeff Johnson <jbj@redhat.com>
89b218
- build root
89b218
89b218
* Tue May 05 1998 Prospector System <bugs@redhat.com>
89b218
- translations modified for de, fr, tr
89b218
89b218
* Wed Apr 29 1998 Cristian Gafton <gafton@redhat.com>
89b218
- installing in /usr/bin
89b218
89b218
* Mon Oct 20 1997 Otto Hammersmith <otto@redhat.com>
89b218
- updated version
89b218
- fixed src url
89b218
89b218
* Fri Jul 18 1997 Erik Troan <ewt@redhat.com>
89b218
- built against glibc