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