jdupes/jdupes.spec
Enrico Belleri 4a7211d744 Accepting request 960616 from home:dirkmueller:Factory
please forward to factory (can do maintainer for it)

- update to 1.20.2:
  * Interactive deletion now offers "link set" options too
  * Interactive deletion now assumes 'a' when you just hit [ENTER]
- add jdupes rpm macro for dropin %%fdupes replacement
- run tests

OBS-URL: https://build.opensuse.org/request/show/960616
OBS-URL: https://build.opensuse.org/package/show/utilities/jdupes?expand=0&rev=2
2022-03-11 10:13:48 +00:00

61 lines
1.8 KiB
RPMSpec

#
# spec file for package jdupes
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2019-2020 Malcolm J Lewis <malcolmlewis@opensuse.org>
#
# 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.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: jdupes
Version: 1.20.2
Release: 0
Summary: A powerful duplicate file finder and an enhanced fork of 'fdupes'
License: MIT
Group: Productivity/File utilities
URL: https://github.com/jbruchon/jdupes
Source0: https://github.com/jbruchon/jdupes/archive/refs/tags/v%{version}.tar.gz
Source1: macros.jdupes
%description
A program for identifying and taking actions upon duplicate files.
A WORD OF WARNING: jdupes IS NOT a drop-in compatible replacement for fdupes!
Do not blindly replace fdupes with jdupes in scripts and expect everything to
work the same way. Option availability and meanings differ between the two
programs.
%prep
%setup -q
%build
make %{?_smp_mflags} \
ENABLE_DEDUPE=1 \
STATIC_DEDUPE_H=1 \
%install
make DESTDIR=%{buildroot} PREFIX=%{_prefix} install
install -D -m644 %{SOURCE1} %{buildroot}%{_rpmmacrodir}/macros.%{name}
%check
./jdupes -q -r testdir
%files
%license LICENSE
%doc CHANGES README.md
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1%{?ext_man}
%{_rpmmacrodir}/macros.%{name}
%changelog