From deb177a9cfaf5b7bdc09f965ad5e40fe8b54713a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Fri, 19 May 2006 18:20:10 +0000 Subject: [PATCH] - new Changed files: fdupes.spec -> 1.1 --- fdupes.spec | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 fdupes.spec diff --git a/fdupes.spec b/fdupes.spec new file mode 100644 index 0000000..4b24658 --- /dev/null +++ b/fdupes.spec @@ -0,0 +1,39 @@ +Summary: Program identifying or deleting duplicate files +Name: fdupes +Version: 1.40 +Release: 0.1 +License: MIT +Group: Applications/File +Source0: http://netdial.caribe.net/~adrian2/programs/%{name}-%{version}.tar.gz +# Source0-md5: 11de9ab4466089b6acbb62816b30b189 +Patch0: %{name}-make.patch +URL: http://netdial.caribe.net/~adrian2/fdupes.html +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +fdupes is a program to scan directories for duplicate files, with +options to list and delete them. It first compares file sizes and MD5 +signatures, and then performs a byte-by-byte check for verification. + +%prep +%setup -q +%patch0 -p1 + +%build +%{__make} \ + CC="%{__cc}" \ + CFLAGS="%{rpmcflags}" + +%install +rm -rf $RPM_BUILD_ROOT +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc CHANGES CONTRIBUTORS README TODO +%attr(755,root,root) %{_bindir}/fdupes +%{_mandir}/man1/fdupes.1* -- 2.44.0