Files
gt5/gt5.spec

130 lines
4.6 KiB
RPMSpec

Name: gt5
Summary: A diff-capable 'du-browser'
Version: 1.5.0
Release: 1%{?dist}
License: GPL+
Group: Applications/File
URL: http://gt5.sourceforge.net/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
#patch is not needed by direct using "install -p"
#Patch0: gt5-1.4.0-chmod.diff
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
#something else is required in runtime?
Requires: gawk
#sed is not needed to mention only in BuildRequires
Requires: sed
#Some console web browser is required (e.g. links links2 elinks lynx w3m)
#text-www-browser virtual provider was introduced in F-8
#it was initially proposed by Till Maas at:
#http://fedoraproject.org/wiki/VilleSkytt%C3%A4/VirtualProvides
%if 0%{?fedora} > 7
Requires: text-www-browser
%endif
%description
Allows to check what takes the most of your hard disk space and track
its changes.
Note: It requires some console web browser installed in the system
(e.g. links, links2, elinks, lynx, w3m).
https://launchpad.net/ubuntu/+source/gt5/
%prep
%setup -q
%build
#it's a shell-script, nothing to do
%install
rm -fr %{buildroot}
#make install requires a patch to drop out chown root:root,
#it was suggested to use install -p instead of
install -d %{buildroot}%{_bindir}
install -d %{buildroot}%{_mandir}/man1
install -p gt5 %{buildroot}%{_bindir}/
install -p gt5.1 %{buildroot}%{_mandir}/man1/
#make install DESTDIR=%{buildroot} PREFIX=%{_prefix}
%clean
rm -fr %{buildroot}
%files
%defattr(0644,root,root,0755)
%attr(0755,root,root) %{_bindir}/gt5
#INSTALL is not needed
%doc README LICENSE ChangeLog
%{_mandir}/man1/gt5.1*
%changelog
* Thu Oct 09 2025 BogusDateBot
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
by assuming the date is correct and changing the weekday.
* Wed Sep 29 2021 John Crisp <jcrisp@safeandsoundit.co.uk> - 1.5.0.1.sme
- Older version does not work. Added revised version from Ubuntu
- 1.5.0~20111220+bzr29-4
- https://launchpad.net/ubuntu/+source/gt5/
* Wed Sep 29 2021 John Crisp <jcrisp@safeandsoundit.co.uk> - 1.4.0-15.sme
- Add the bug number [SME: 10337]
* Wed Sep 29 2021 John Crisp <jcrisp@safeandsoundit.co.uk> - 1.4.0-14.sme
- First import to SME Contribs [SME: 10337]
- Fixed the versions below - we had two -12
* Mon Feb 24 2014 Bryan Seitz <seitz@ghettoforge.org> - 1.4.0-13
- Initial build for GhettoForge
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Mon Jul 7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.4.0-5
- fix conditional comparison
* Sat Oct 27 2007 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 1.4.0-4
- applied suggestions by Mamoru Tasaka (all below)
- removed a chown patch by a direct use of an 'install' command
- removed INSTALL from a documentation set
- added using "text-www-browser" virtial Provides for F-8+
* Tue Sep 18 2007 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 1.4.0-3
- {name} variable used in a source URL (thanks to Parag AN)
* Tue Sep 11 2007 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 1.4.0-2
- sed restored in Requires section
- added info about required console web browser (thanks to Till Maas)
* Tue Sep 04 2007 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 1.4.0-1
- updated to 1.4.0
- removed DESTDIR patch (merged with an upstream version)
* Tue Sep 04 2007 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 1.3d-3
- added missing DESTDIR in a patch (thanks to Thomas Sattler)
- specified licence type (due to a new Licensing Guidelines)
* Tue May 29 2007 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 1.3d-2
- BuildArch changed to noarch
* Sat May 12 2007 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 1.3d-1
- initial release