Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Ports
zerofree
zerofree.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File zerofree.spec of Package zerofree
# # spec file for package zerofree # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright 2008 Archie L. Cobbs. # # 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 http://bugs.opensuse.org/ # Name: zerofree Version: 1.0.3 Release: 0 Summary: Utility for ext2 filesystems that zeroes out unallocated blocks License: GPL-2.0 Group: System/Filesystems Url: http://intgat.tigress.co.uk/rmy/uml/index.html BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: http://intgat.tigress.co.uk/rmy/uml/%{name}-%{version}.tgz Source1: http://intgat.tigress.co.uk/rmy/uml/sparsify.c Source2: zerofree.8 BuildRequires: libext2fs-devel %description zerofree is a utility for ext2 filesystems that will scan the list of free blocks in a filesystem and fill with zeroes any blocks that do not already contain zeroes. This RPM also includes the sparsify utility, which will scan all files in an ext2 filesystem and ensure that they are maximally sparse. See http://intgat.tigress.co.uk/rmy/uml/index.html for more info. %prep %setup -q %build export CFLAGS="%{optflags}" make %__cc %{optflags} -o sparsify %{SOURCE1} -lext2fs %install mkdir -p %{buildroot}%{_bindir} install -s -m 0755 zerofree %{buildroot}%{_bindir}/ install -s -m 0755 sparsify %{buildroot}%{_bindir}/ install -D -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/man8/zerofree.8 %files %defattr(-,root,root) %doc COPYING %{_bindir}/sparsify %{_bindir}/zerofree %{_mandir}/man8/zerofree.8* %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