diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index b97a635..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: agedu -# $Id$ -NAME := agedu -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/agedu.spec b/agedu.spec new file mode 100644 index 0000000..e7298aa --- /dev/null +++ b/agedu.spec @@ -0,0 +1,64 @@ +%global rel r9153 + +Name: agedu +Version: 0 +Release: 2.%{rel}%{?dist} +Summary: An utility for tracking down wasted disk space +Group: Applications/System +License: MIT +URL: http://www.chiark.greenend.org.uk/~sgtatham/agedu/ +# Upstream tarball is regenerated nightly, so md5sums will differ. +Source0: http://www.chiark.greenend.org.uk/~sgtatham/agedu/agedu-%{rel}.tar.gz +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) + +%description +Agedu is a program that helps you to track down wasted disk space by creating +a graphical representation of last access times and occupied disk space of +files and directories. + +%prep +%setup -q -n %{name}-%{rel} + + +%build +%configure +make %{?_smp_mflags} + + +%install +rm -rf %{buildroot} +make install DESTDIR=%{buildroot} INSTALL="install -p" + + +%clean +rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%doc LICENCE TODO +%{_bindir}/%{name} +%{_mandir}/man1/%{name}.1.gz + + +%changelog +* Thu Apr 28 2011 Jussi Lehtola - 0-2.r9153 +- Update to upstream r9153. + +* Mon Feb 07 2011 Fedora Release Engineering - 0-2.r8928 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Wed Jul 07 2010 Jussi Lehtola - 0-1.r8928 +- Update to upstream r8928. + +* Sun Dec 27 2009 Jussi Lehtola - 0-1.r8768 +- Update to upstream r8768. + +* Tue Sep 22 2009 Jussi Lehtola - 0-1.r8642 +- Update to upstream r8642. + +* Fri Jul 24 2009 Fedora Release Engineering - 0-2.r8442 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu May 21 2009 Jussi Lehtola - 0-1.r8442 +- First release. diff --git a/sources b/sources index e69de29..574481d 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +e5bb3b1bd4c3276808add60093f1834e agedu-r9153.tar.gz