diff --git a/.cvsignore b/.cvsignore index e69de29..7590efa 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +fdupes-1.40.tar.gz diff --git a/fdupes.spec b/fdupes.spec new file mode 100644 index 0000000..6db62fc --- /dev/null +++ b/fdupes.spec @@ -0,0 +1,57 @@ +Name: fdupes +Version: 1.40 +Release: 3 +Summary: Identifies and optionally deletes duplicate files + +Group: Applications/File +License: MIT +URL: http://netdial.caribe.net/~adrian2/fdupes.html +Source0: http://netdial.caribe.net/~adrian2/programs/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +#BuildRequires: +#Requires: + +%description +fdupes is a program for identifying or deleting duplicate files. +Such files are found by comparing file sizes and MD5 signatures, followed by a +byte-by-byte comparison. + + +%prep +%setup -q + + +%build +#%%configure +%{__sed} -i -e "s/-Wall/${RPM_OPT_FLAGS}/" Makefile +make %{?_smp_mflags} + + +%install +rm -rf ${RPM_BUILD_ROOT} +mkdir -p ${RPM_BUILD_ROOT}%{_bindir} ${RPM_BUILD_ROOT}%{_mandir}/man1 +install -m 0755 fdupes ${RPM_BUILD_ROOT}%{_bindir}/fdupes +install -m 0644 fdupes.1 ${RPM_BUILD_ROOT}%{_mandir}/man1/fdupes.1 + + +%clean +rm -rf ${RPM_BUILD_ROOT} + + +%files +%defattr(-,root,root,-) +%doc CHANGES CONTRIBUTORS INSTALL README TODO +%doc %{_mandir}/man1/fdupes.1* +%{_bindir}/fdupes + + +%changelog +* Thu Nov 24 2005 Simon Bellwood - 1.40-3 +- Spec file cleanup. + +* Tue Nov 22 2005 Simon Bellwood - 1.40-2 +- Spec file cleanup. + +* Sat Nov 12 2005 Simon Bellwood - 1.40-1 +- Initial build for Fedora Extras. diff --git a/sources b/sources index e69de29..5308ac1 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +11de9ab4466089b6acbb62816b30b189 fdupes-1.40.tar.gz