Группа :: Работа с файлами
Пакет: jdupes
Главная Изменения Спек Патчи Sources Загрузить 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
…
Полный changelog можно просмотреть здесь
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
…
Полный changelog можно просмотреть здесь