Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:aevseev
duperemove
duperemove.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File duperemove.spec of Package duperemove
%define realname duperemove %define realver 0.12 %define srcext tar.gz # turn off the generation of debuginfo rpm (RH9) ?? %global debug_package %{nil} # Common info Name: %{realname} Version: %{realver} Release: wiz%{?extraver:0.}1%{?dist} License: GPL-2.0 Group: System/Filesystems URL: http://markfasheh.github.io/duperemove/ Summary: Tools for deduping file systems # Build-time parameters BuildRequires: pkg-config BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(sqlite3) BuildRoot: %{_tmppath}/%{name}-root Source: https://codeload.github.com/markfasheh/duperemove/%{srcext}/refs/tags/v%{realver}#/%{realname}-%{realver}%{?extraver}.%{srcext} %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 blocks that match each other. When given the -d option, duperemove will submit those extents for deduplication using the Linux kernel extent-same ioctl. Duperemove can store the hashes it computes in a 'hashfile'. If given an existing hashfile, duperemove will only compute hashes for those files which have changed since the last run. Thus you can run duperemove repeatedly on your data as it changes, without having to re-checksum unchanged data. # Preparation step (unpackung and patching if necessary) %prep %setup -q -n %{realname}-%{realver}%{?extraver} %build _CFLAGS='%{optflags} %{?gcc_lto}' _LDFLAGS='-Wl,--as-needed -Wl,--strip-all -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro %{?gcc_lto}' %{__make} %{?_smp_mflags} \ CFLAGS="$_CFLAGS" \ LDFLAGS="$_LDFLAGS" \ IS_RELEASE=1 \ VERSION=%{version} %install %{__make} install DESTDIR=%{buildroot} \ PREFIX=%{_prefix} \ BINDIR=%{_sbindir} %clean [ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot} %files %defattr(-,root,root) %license LICENSE* %doc README.md %{_sbindir}/* %doc %{_mandir}/man8/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor