2007-01-16 00:12:10 +01:00
|
|
|
#
|
|
|
|
# spec file for package fdupes (Version 1.40)
|
|
|
|
#
|
2009-01-22 13:03:22 +01:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:12:10 +01:00
|
|
|
#
|
2009-01-22 13:03:22 +01:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-16 00:12:10 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2009-01-22 13:03:22 +01:00
|
|
|
|
2007-01-16 00:12:10 +01:00
|
|
|
Name: fdupes
|
2009-01-22 13:03:22 +01:00
|
|
|
Url: http://premium.caribe.net/~adrian2/fdupes.html
|
2007-01-16 00:12:10 +01:00
|
|
|
Group: Productivity/Archiving/Compression
|
|
|
|
Summary: Identifying or deleting duplicate files
|
|
|
|
Version: 1.40
|
2009-08-28 17:44:52 +02:00
|
|
|
Release: 110
|
|
|
|
License: MIT License (or similar)
|
2007-01-16 00:12:10 +01:00
|
|
|
Source0: %name-%{version}.tar.bz2
|
2007-05-17 11:34:40 +02:00
|
|
|
Source1: macros.fdupes
|
2007-01-16 00:12:10 +01:00
|
|
|
Patch0: %name.diff
|
2009-01-22 13:03:22 +01:00
|
|
|
Patch1: fdupes-sort-output.diff
|
2007-01-16 00:12:10 +01:00
|
|
|
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
|
2009-08-28 17:44:52 +02:00
|
|
|
%patch0
|
2009-01-22 13:03:22 +01:00
|
|
|
%patch1
|
2007-01-16 00:12:10 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
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
|
2007-05-17 11:34:40 +02:00
|
|
|
install -D -m644 %{SOURCE1} $RPM_BUILD_ROOT/etc/rpm/macros.fdupes
|
2007-01-16 00:12:10 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%doc CHANGES
|
|
|
|
%{_prefix}/bin/fdupes
|
|
|
|
%{_mandir}/*/*
|
2007-05-17 11:34:40 +02:00
|
|
|
/etc/rpm
|
2007-01-16 00:12:10 +01:00
|
|
|
|
2007-05-17 11:34:40 +02:00
|
|
|
%changelog
|