43c981c2a66f92d3254ec3e42808a9570c07c50e
[platform/upstream/fdupes.git] / packaging / fdupes.spec
1 Name:           fdupes
2 Version:        1.40
3 Release:        42.66
4 License:        X11/MIT
5 Summary:        Identifying or deleting duplicate files
6 Url:            http://premium.caribe.net/~adrian2/fdupes.html
7 Group:          Productivity/Archiving/Compression
8 Source0:        %{name}-%{version}.tar.bz2
9 Source1:        macros.fdupes
10
11 %description
12 FDUPES is a program for identifying or deleting duplicate files
13 residing within specified directories
14
15 %prep
16 %setup -q
17
18 %build
19 make
20
21 %install
22 install -D -m755 fdupes %{buildroot}/usr/bin/fdupes
23 install -D -m644 fdupes.1 %{buildroot}/usr/share/man/man1/fdupes.1
24 install -D -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/rpm/macros.fdupes
25
26 %files
27 %defattr(-, root, root)
28 %doc CHANGES
29 %{_bindir}/fdupes
30 %{_mandir}/*/*
31 %{_sysconfdir}/rpm
32