Compare commits

..

16 commits

Author SHA1 Message Date
Package Retirement
333998e544 Retired EPEL branch. 2023-06-08 10:32:22 +02:00
Vitaly Zaitsev
af7d40659f
Merge branch 'rawhide' into epel8 2022-10-02 10:36:26 +02:00
Vitaly Zaitsev
8bed9cc225
Merge branch 'rawhide' into epel8 2022-03-02 16:51:14 +01:00
Vitaly Zaitsev
17a4cd0bf1
Merge branch 'rawhide' into epel8 2022-02-12 15:00:45 +01:00
Vitaly Zaitsev
fe3e0a385b
Removed no longer needed patch. 2021-12-28 09:36:22 +01:00
Vitaly Zaitsev
27a01b7dd8
Merge branch 'rawhide' into epel8 2021-12-28 09:34:24 +01:00
Vitaly Zaitsev
ed91dbe2f0
Updated patch. 2021-12-07 12:38:11 +01:00
Vitaly Zaitsev
09110d829a
Merge branch 'rawhide' into epel8 2021-12-07 12:29:06 +01:00
Vitaly Zaitsev
8234c86566
Merge branch 'rawhide' into epel8 2021-12-07 12:26:18 +01:00
Vitaly Zaitsev
adfffd6dd0
Added patch with EPEL8 fixes. 2021-04-01 20:44:45 +02:00
Vitaly Zaitsev
83460f8298
Fixed build on EPEL8. 2021-04-01 20:24:36 +02:00
Vitaly Zaitsev
e863b2758d
Merge branch 'rawhide' into epel8 2021-04-01 20:08:18 +02:00
Vitaly Zaitsev
b40a32098a
Merge branch 'rawhide' into epel8 2021-04-01 20:06:39 +02:00
Troy Dawson
cf2e46345b remove package.cfg per new epel-playground policy 2020-09-24 16:13:48 +00:00
Vitaly Zaitsev
f5e8a98d94
Merge branch 'master' into epel8 2020-04-30 14:33:17 +02:00
Igor Raits
481237bdf4 "Adding package.cfg file" 2020-04-28 13:52:05 +02:00
5 changed files with 1 additions and 77 deletions

1
.gitignore vendored
View file

@ -1 +0,0 @@
/zswap-cli-*.tar.gz

View file

@ -1,2 +0,0 @@
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild

1
dead.package Normal file
View file

@ -0,0 +1 @@
Retired EPEL branch.

View file

@ -1 +0,0 @@
SHA512 (zswap-cli-1.1.2.tar.gz) = 54d038f6e83ace215675d55c964ffac1b65a3cea31779a72676803631d0234e0e07abcb350bca76c79ce538795d7dd526b7a596ed6aa611470415a7988c11ebb

View file

@ -1,73 +0,0 @@
Name: zswap-cli
Version: 1.1.2
Release: %autorelease
License: MIT
Summary: Command-line tool to control the zswap options
URL: https://github.com/xvitaly/%{name}
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
%if 0%{?fedora} && 0%{?fedora} >= 42
ExcludeArch: %{ix86}
%endif
BuildRequires: boost-devel
BuildRequires: glibc-headers
BuildRequires: kernel-headers
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: ninja-build
BuildRequires: pandoc
BuildRequires: systemd
%{?systemd_requires}
%description
Zswap-cli is a command-line tool to control the zswap kernel module
options.
Zswap is a compressed cache for swap pages. It takes pages that are in the
process of being swapped out to disk and tries to compress them into a
RAM-based memory pool with dynamic allocation.
It trades CPU cycles for a significant performance boost since reading from
a compressed cache is much faster than reading from a swap device.
%prep
%autosetup -p1
%build
%cmake -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_DOCS:BOOL=OFF \
-DBUILD_MANPAGE:BOOL=ON \
-DBUILD_SHELL_COMPLETION:BOOL=ON \
-DSYSTEMD_INTEGRATION:BOOL=ON
%cmake_build
%post
%systemd_post %{name}.service
%preun
%systemd_preun %{name}.service
%postun
%systemd_postun_with_restart %{name}.service
%install
%cmake_install
%files
%doc docs/*
%license LICENSE
%{_bindir}/%{name}
%{_unitdir}/%{name}.service
%{_mandir}/man1/%{name}.*
%dir %{_sysconfdir}/%{name}
%config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
%{bash_completions_dir}/%{name}
%changelog
%autochangelog