Initial import (#1560936).
This commit is contained in:
parent
e9ce03bd55
commit
90e1770bd2
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/compsize-1.1.tar.gz
|
||||
37
compsize.spec
Normal file
37
compsize.spec
Normal file
@ -0,0 +1,37 @@
|
||||
Name: compsize
|
||||
Version: 1.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Utility for measuring compression ratio of files on btrfs
|
||||
License: GPLv2+
|
||||
URL: https://github.com/kilobyte/compsize
|
||||
Source: https://github.com/kilobyte/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
BuildRequires: gcc
|
||||
BuildRequires: btrfs-progs-devel
|
||||
|
||||
%description
|
||||
compsize takes a list of files (given as arguments) on a btrfs filesystem and
|
||||
measures used compression types and effective compression ratio, producing
|
||||
a report.
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
export CXXFLAGS="%{optflags}"
|
||||
export LDFLAGS="%{__global_ldflags}"
|
||||
%make_build
|
||||
|
||||
%install
|
||||
install -D -m 0755 %{name} %{buildroot}%{_bindir}/%{name}
|
||||
install -D -m 0644 %{name}.8 %{buildroot}%{_mandir}/man8/%{name}.8
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{_bindir}/%{name}
|
||||
%{_mandir}/man8/%{name}.8*
|
||||
|
||||
%changelog
|
||||
* Fri Mar 23 2018 Juan Orti Alcaine <jorti@fedoraproject.org> - 1.1-1
|
||||
- Initial release
|
||||
Loading…
Reference in New Issue
Block a user