|
|
|
@ -1,17 +1,20 @@
|
|
|
|
|
# Place rpm-macros into proper location.
|
|
|
|
|
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; /bin/echo $d)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: fdupes
|
|
|
|
|
Epoch: 1
|
|
|
|
|
Version: 1.6.1
|
|
|
|
|
Release: 7%{?dist}
|
|
|
|
|
Version: 2.0.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Finds duplicate files in a given set of directories
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://github.com/adrianlopezroche/%{name}
|
|
|
|
|
Source0: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
|
|
Source0: %{url}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
|
|
Source1: macros.%{name}
|
|
|
|
|
|
|
|
|
|
BuildRequires: autoconf
|
|
|
|
|
BuildRequires: automake
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
@ -24,7 +27,7 @@ directories.
|
|
|
|
|
|
|
|
|
|
# From README.
|
|
|
|
|
%{__cat} << EOF > LICENSE
|
|
|
|
|
FDUPES Copyright (c) 1999 Adrian Lopez
|
|
|
|
|
FDUPES Copyright (c) 1999-2019 Adrian Lopez
|
|
|
|
|
|
|
|
|
|
Permission is hereby granted, free of charge, to any person
|
|
|
|
|
obtaining a copy of this software and associated documentation files
|
|
|
|
@ -46,20 +49,17 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
|
|
|
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
autoreconf -fiv
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%make_build \
|
|
|
|
|
COMPILER_OPTIONS="%{?optflags}" \
|
|
|
|
|
LDFLAGS="%{?__global_ldflags}"
|
|
|
|
|
%configure
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install \
|
|
|
|
|
INSTALL="%{__install} -p" \
|
|
|
|
|
BIN_DIR=%{_bindir} \
|
|
|
|
|
MAN_BASE_DIR=%{_mandir}
|
|
|
|
|
|
|
|
|
|
%{__install} -Dpm 0644 %{SOURCE1} \
|
|
|
|
|
%make_install
|
|
|
|
|
install -Dpm 0644 %{SOURCE1} \
|
|
|
|
|
%{buildroot}%{macrosdir}/macros.%{name}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -73,12 +73,16 @@ EOF
|
|
|
|
|
%files
|
|
|
|
|
%license CONTRIBUTORS LICENSE
|
|
|
|
|
%doc CHANGES README
|
|
|
|
|
%doc %{_mandir}/man1/%{name}.1*
|
|
|
|
|
%{_mandir}/man1/%{name}.1*
|
|
|
|
|
%{_mandir}/man7/%{name}*.7*
|
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
|
%{macrosdir}/macros.fdupes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Jan 05 2020 Björn Esser <besser82@fedoraproject.org> - 1:2.0.0-1
|
|
|
|
|
- Update to 2.0.0 (#1787848)
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.6.1-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|