Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37044752
en ru br
ALT Linux repos
S:1.26.1-alt1

Group :: File tools
RPM: jdupes

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: jdupes
Version: 1.21.3
Release: alt2

Summary: A powerful duplicate file finder and an enhanced fork of 'fdupes'

License: %mit
Group: File tools
Url: https://github.com/jbruchon/jdupes

# Source-url: https://github.com/jbruchon/jdupes/archive/v%version.tar.gz

Source: %name-%version.tar

BuildRequires(pre): rpm-build-licenses

%description
jdupes is 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. For example, the -I switch in jdupes means
"isolate" and blocks intra-argument matching, while in fdupes it means
"immediately delete files during scanning without prompting the user."

%prep
%setup

%build
%add_optflags -DENABLE_DEDUPE=1
%make_build CFLAGS_EXTRA="%optflags"

%install
%makeinstall PREFIX=%buildroot%prefix MAN_BASE_DIR=%buildroot%_mandir CFLAGS_EXTRA="%optflags" install

%check
./jdupes testdir
./jdupes -r testdir

%files
%doc CHANGES README.md
%_bindir/*
%_man1dir/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin