File zram-tools.spec of Package zram-tools

# spec file for package zram-tools
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# 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

Name:           zram-tools
Version:        1.20151014.1300~git768c35c
Release:        0
Summary:        Tools to start/stop/query zram swap
License:        MIT
Group:          Hardware/Other
Source:         %{name}.tar.gz
Requires:       grep
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires(pre):  pwdutils
Requires(pre):  %fillup_prereq %insserv_prereq

Tools to start/stop/query zram swap
This allows to use more memory than physically available.

%setup -q -n bmwiedemann-zram-tools-768c35c


make install DEST_DIR=%{buildroot} PREFIX=/usr

%config %{_sysconfdir}/default/zramswap