-#
-# spec file for package fdupes (Version 1.40)
-#
-# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
-# This file and all modifications and additions to the pristine
-# package are under the same license as the package itself.
-#
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
-#
-
-
Name: fdupes
Version: 1.40
-Release: 42.66
-License: X11/MIT
+Release: 0
+License: MIT
Summary: Identifying or deleting duplicate files
Url: http://premium.caribe.net/~adrian2/fdupes.html
-Group: Productivity/Archiving/Compression
+Group: Base/Compression
Source0: %{name}-%{version}.tar.bz2
Source1: macros.fdupes
-Patch0: %{name}.diff
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
+Source1001: fdupes.manifest
%description
FDUPES is a program for identifying or deleting duplicate files
%prep
%setup -q
-%patch0
+cp %{SOURCE1001} .
%build
make
%install
-install -D -m755 fdupes %{buildroot}/usr/bin/fdupes
-install -D -m644 fdupes.1 %{buildroot}/usr/share/man/man1/fdupes.1
+install -D -m755 fdupes %{buildroot}%{_bindir}/fdupes
+install -D -m644 fdupes.1 %{buildroot}%{_mandir}/man1/fdupes.1
install -D -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/rpm/macros.fdupes
%files
+%manifest %{name}.manifest
%defattr(-, root, root)
%doc CHANGES
%{_bindir}/fdupes
%{_mandir}/*/*
-%{_sysconfdir}/rpm
-
+%config %{_sysconfdir}/rpm