66 lines
1.8 KiB
RPMSpec
66 lines
1.8 KiB
RPMSpec
|
Name: duperemove
|
||
|
Version: 0.11
|
||
|
Release: 2%{?dist}
|
||
|
Summary: Tools for deduping file systems
|
||
|
License: GPLv2
|
||
|
URL: https://github.com/markfasheh/%{name}
|
||
|
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||
|
Patch1: duperemove-use-system-xxhash.patch
|
||
|
BuildRequires: pkgconfig(glib-2.0)
|
||
|
BuildRequires: pkgconfig(sqlite3)
|
||
|
BuildRequires: libgcrypt-devel
|
||
|
BuildRequires: xxhash-devel
|
||
|
BuildRequires: libatomic
|
||
|
BuildRequires: gcc
|
||
|
|
||
|
%description
|
||
|
Duperemove is a simple tool for finding duplicated extents and
|
||
|
submitting them for deduplication. When given a list of files it will
|
||
|
hash their contents on a block by block basis and compare those hashes
|
||
|
to each other, finding and categorizing extents that match each other.
|
||
|
|
||
|
When given the -d option, duperemove will submit those extents for
|
||
|
deduplication using the btrfs-extent-same ioctl.
|
||
|
|
||
|
%prep
|
||
|
%autosetup
|
||
|
rm -f xxhash.c xxhash.h
|
||
|
|
||
|
%build
|
||
|
%set_build_flags
|
||
|
%make_build
|
||
|
|
||
|
%install
|
||
|
%make_install SBINDIR=%{_sbindir} MANDIR=%{_mandir}
|
||
|
|
||
|
%files
|
||
|
%doc README.md
|
||
|
%license LICENSE
|
||
|
%{_mandir}/man8/btrfs-extent-same*.8*
|
||
|
%{_mandir}/man8/duperemove*.8*
|
||
|
%{_mandir}/man8/hashstats*.8*
|
||
|
%{_mandir}/man8/show-shared-extents*.8*
|
||
|
%{_sbindir}/btrfs-extent-same
|
||
|
%{_sbindir}/duperemove
|
||
|
%{_sbindir}/hashstats
|
||
|
%{_sbindir}/show-shared-extents
|
||
|
|
||
|
%changelog
|
||
|
* Fri Oct 19 2018 Jonathan Dieter <jdieter@gmail.com> - 0.11-2
|
||
|
- Add missing BR
|
||
|
- Fix build to use build flags
|
||
|
|
||
|
* Sat Oct 13 2018 Jonathan Dieter <jdieter@gmail.com> - 0.11-1
|
||
|
- Bump to 0.11
|
||
|
- Unbundle xxhash
|
||
|
|
||
|
* Fri Nov 13 2015 Francesco Frassinelli <fraph24@gmail.com> - 0.10-1
|
||
|
- Version bump; license and minor packaging issues fixed
|
||
|
|
||
|
* Thu Jul 30 2015 Francesco Frassinelli <fraph24@gmail.com> - 0.09.5-2
|
||
|
- %%license macro added
|
||
|
|
||
|
* Sun Jul 19 2015 Francesco Frassinelli <fraph24@gmail.com> - 0.09.5-1
|
||
|
- Initial build
|
||
|
|