mattdm / rpms / jdupes

Forked from rpms/jdupes 2 years ago
Clone

Blame jdupes.spec

David Cantrell 6e15eb5
%global forgeurl https://github.com/jbruchon/jdupes
David Cantrell 6e15eb5
d7a4b34
Version:        1.20.2
David Cantrell 6e15eb5
David Cantrell 6e15eb5
%forgemeta
David Cantrell 6e15eb5
David Cantrell 6e15eb5
Name:           jdupes
7e94d2d
Release:        2%{?dist}
David Cantrell 6e15eb5
Summary:        Duplicate file finder and an enhanced fork of 'fdupes'
David Cantrell 6e15eb5
David Cantrell 6e15eb5
License:        MIT
David Cantrell 6e15eb5
URL:            %{forgeurl}
David Cantrell 6e15eb5
Source0:        %{forgesource}
David Cantrell 6e15eb5
David Cantrell 6e15eb5
BuildRequires:  gcc
David Cantrell 6e15eb5
BuildRequires:  make
David Cantrell 6e15eb5
David Cantrell 6e15eb5
%description
David Cantrell 6e15eb5
jdupes is a program for identifying and taking actions upon duplicate
David Cantrell 6e15eb5
files.
David Cantrell 6e15eb5
David Cantrell 6e15eb5
A WORD OF WARNING: jdupes IS NOT a drop-in compatible replacement for
David Cantrell 6e15eb5
fdupes! Do not blindly replace fdupes with jdupes in scripts and
David Cantrell 6e15eb5
expect everything to work the same way. Option availability and
David Cantrell 6e15eb5
meanings differ between the two programs. For example, the -I switch
David Cantrell 6e15eb5
in jdupes means "isolate" and blocks intra-argument matching, while in
David Cantrell 6e15eb5
fdupes it means "immediately delete files during scanning without
David Cantrell 6e15eb5
prompting the user."
David Cantrell 6e15eb5
David Cantrell 6e15eb5
David Cantrell 6e15eb5
%prep
David Cantrell 6e15eb5
%forgesetup
David Cantrell 6e15eb5
David Cantrell 6e15eb5
David Cantrell 6e15eb5
%build
7e94d2d
%make_build ENABLE_DEDUPE=1 CFLAGS_EXTRA="%{optflags}" PREFIX="%{_prefix}" MAN_BASE_DIR="%{_mandir}"
David Cantrell 6e15eb5
David Cantrell 6e15eb5
David Cantrell 6e15eb5
%install
David Cantrell 6e15eb5
%make_install PREFIX="%{_prefix}" MAN_BASE_DIR="%{_mandir}"
David Cantrell 6e15eb5
David Cantrell 6e15eb5
David Cantrell 6e15eb5
%files
David Cantrell 6e15eb5
%license LICENSE
David Cantrell 6e15eb5
%doc CHANGES INSTALL README.md README.stupid_dupes
David Cantrell 6e15eb5
%{_bindir}/jdupes
David Cantrell 6e15eb5
%{_mandir}/man1/jdupes.1.gz
David Cantrell 6e15eb5
David Cantrell 6e15eb5
David Cantrell 6e15eb5
%changelog
7e94d2d
* Fri Dec 24 2021 Matthew Miller <mattdm@fedoraproject.org> - 1.20.2-2
7e94d2d
- Actually enable DEDUPE support at build time :)
7e94d2d
d7a4b34
* Mon Dec 20 2021 David Cantrell <dcantrell@redhat.com> - 1.20.2-1
d7a4b34
- Upgrade to jdupes-1.20.2
d7a4b34
David Cantrell 4ccf1c7
* Tue Aug 10 2021 David Cantrell <dcantrell@redhat.com> - 1.20.1-3
David Cantrell 4ccf1c7
- Enable DEDUPE support at build time (#1988738)
David Cantrell 4ccf1c7
369b028
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.20.0-2
369b028
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
369b028
David Cantrell 6e15eb5
* Wed Jul 07 2021 David Cantrell <dcantrell@redhat.com> - 1.20.0-1
David Cantrell 6e15eb5
- Initial package