You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.4 KiB
58 lines
1.4 KiB
19 years ago
|
Name: fdupes
|
||
|
Version: 1.40
|
||
|
Release: 3
|
||
|
Summary: Identifies and optionally deletes duplicate files
|
||
|
|
||
|
Group: Applications/File
|
||
|
License: MIT
|
||
|
URL: http://netdial.caribe.net/~adrian2/fdupes.html
|
||
|
Source0: http://netdial.caribe.net/~adrian2/programs/%{name}-%{version}.tar.gz
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||
|
|
||
|
#BuildRequires:
|
||
|
#Requires:
|
||
|
|
||
|
%description
|
||
|
fdupes is a program for identifying or deleting duplicate files.
|
||
|
Such files are found by comparing file sizes and MD5 signatures, followed by a
|
||
|
byte-by-byte comparison.
|
||
|
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
|
||
|
%build
|
||
|
#%%configure
|
||
|
%{__sed} -i -e "s/-Wall/${RPM_OPT_FLAGS}/" Makefile
|
||
|
make %{?_smp_mflags}
|
||
|
|
||
|
|
||
|
%install
|
||
|
rm -rf ${RPM_BUILD_ROOT}
|
||
|
mkdir -p ${RPM_BUILD_ROOT}%{_bindir} ${RPM_BUILD_ROOT}%{_mandir}/man1
|
||
|
install -m 0755 fdupes ${RPM_BUILD_ROOT}%{_bindir}/fdupes
|
||
|
install -m 0644 fdupes.1 ${RPM_BUILD_ROOT}%{_mandir}/man1/fdupes.1
|
||
|
|
||
|
|
||
|
%clean
|
||
|
rm -rf ${RPM_BUILD_ROOT}
|
||
|
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root,-)
|
||
|
%doc CHANGES CONTRIBUTORS INSTALL README TODO
|
||
|
%doc %{_mandir}/man1/fdupes.1*
|
||
|
%{_bindir}/fdupes
|
||
|
|
||
|
|
||
|
%changelog
|
||
|
* Thu Nov 24 2005 Simon Bellwood <simonb@thoughtpolice.co.uk> - 1.40-3
|
||
|
- Spec file cleanup.
|
||
|
|
||
|
* Tue Nov 22 2005 Simon Bellwood <simonb@thoughtpolice.co.uk> - 1.40-2
|
||
|
- Spec file cleanup.
|
||
|
|
||
|
* Sat Nov 12 2005 Simon Bellwood <simonb@thoughtpolice.co.uk> - 1.40-1
|
||
|
- Initial build for Fedora Extras.
|