From 57c5d77313c3dbef274db7805c4f9c4edb189a16 Mon Sep 17 00:00:00 2001 From: Trevor Batley Date: Thu, 9 Oct 2025 11:49:29 +1100 Subject: [PATCH] initial commit of file from CVS for gt5 on Thu Oct 9 11:49:29 AEDT 2025 --- .gitattributes | 1 + .gitignore | 3 ++ Makefile | 21 ++++++++ README.md | 8 ++- contriborbase | 1 + gt5-1.5.0.tar.gz | 3 ++ gt5.spec | 129 +++++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 165 insertions(+), 1 deletion(-) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Makefile create mode 100644 contriborbase create mode 100644 gt5-1.5.0.tar.gz create mode 100644 gt5.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..f087b42 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.tar.gz filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1534ba5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +*.rpm +*.log +*spec-20* diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..89a99c5 --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +# Makefile for source rpm: gt5 +# $Id: Makefile,v 1.1 2021/09/29 10:05:57 jcrisp Exp $ +NAME := gt5 +SPECFILE = $(firstword $(wildcard *.spec)) + +define find-makefile-common +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +endef + +MAKEFILE_COMMON := $(shell $(find-makefile-common)) + +ifeq ($(MAKEFILE_COMMON),) +# attept a checkout +define checkout-makefile-common +test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 +endef + +MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) +endif + +include $(MAKEFILE_COMMON) diff --git a/README.md b/README.md index 7abb659..9937cbf 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ # gt5 -3rd Party (Maintained by Koozali) git repo for gt5 smecontribs \ No newline at end of file +3rd Party (Maintained by Koozali) git repo for gt5 smecontribs + +## Description + +
*This description has been generated by an LLM AI system and cannot be relied on to be fully correct.* +*Once it has been checked, then this comment will be deleted* +
diff --git a/contriborbase b/contriborbase new file mode 100644 index 0000000..9b7fd51 --- /dev/null +++ b/contriborbase @@ -0,0 +1 @@ +contribs10 diff --git a/gt5-1.5.0.tar.gz b/gt5-1.5.0.tar.gz new file mode 100644 index 0000000..d485779 --- /dev/null +++ b/gt5-1.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6c8fdec380cc2cf670ae0127a93acda8f9e030fa05422fcb563a403c0cf3d1c5 +size 19421 diff --git a/gt5.spec b/gt5.spec new file mode 100644 index 0000000..5bf632d --- /dev/null +++ b/gt5.spec @@ -0,0 +1,129 @@ +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 - 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 - 1.4.0-15.sme +- Add the bug number [SME: 10337] + +* Wed Sep 29 2021 John Crisp - 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 - 1.4.0-13 +- Initial build for GhettoForge + +* Sat Aug 03 2013 Fedora Release Engineering - 1.4.0-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 1.4.0-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Jul 19 2012 Fedora Release Engineering - 1.4.0-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 1.4.0-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Feb 09 2011 Fedora Release Engineering - 1.4.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri Jul 24 2009 Fedora Release Engineering - 1.4.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Tue Feb 24 2009 Fedora Release Engineering - 1.4.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Mon Jul 7 2008 Tom "spot" Callaway - 1.4.0-5 +- fix conditional comparison + +* Sat Oct 27 2007 Marcin Zajaczkowski - 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 - 1.4.0-3 +- {name} variable used in a source URL (thanks to Parag AN) + +* Tue Sep 11 2007 Marcin Zajaczkowski - 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 - 1.4.0-1 +- updated to 1.4.0 +- removed DESTDIR patch (merged with an upstream version) + +* Tue Sep 04 2007 Marcin Zajaczkowski - 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 - 1.3d-2 +- BuildArch changed to noarch + +* Sat May 12 2007 Marcin Zajaczkowski - 1.3d-1 +- initial release +