summaryrefslogtreecommitdiff
path: root/packaging/fdupes.spec
blob: 8c5b92d0a8d7f8ae686e9c459ecb5d69cafa3bb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#
# 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/
#

# norootforbuild

Name:           fdupes
URL:            http://premium.caribe.net/~adrian2/fdupes.html
Group:          Productivity/Archiving/Compression
Summary:        Identifying or deleting duplicate files
Version:        1.40
Release:        42.66
License:        X11/MIT
Source0:        %name-%{version}.tar.bz2
Source1:        macros.fdupes
Source1001: packaging/fdupes.manifest 
Patch0:         %name.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
FDUPES is a program for identifying or deleting duplicate files
residing within specified directories



Authors:
--------
    Adrian Lopez <adrian2@caribe.net>

%prep
%setup -q
%patch0

%build
cp %{SOURCE1001} .
make

%install
install -D -m755 fdupes $RPM_BUILD_ROOT/usr/bin/fdupes
install -D -m644 fdupes.1 $RPM_BUILD_ROOT/usr/share/man/man1/fdupes.1
install -D -m644 %{SOURCE1} $RPM_BUILD_ROOT/etc/rpm/macros.fdupes

%clean
rm -rf $RPM_BUILD_ROOT

%files
%manifest fdupes.manifest
%defattr(-, root, root)
%doc CHANGES
%{_prefix}/bin/fdupes
%{_mandir}/*/*
/etc/rpm