Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:X0F:HSF
compcache
compcache.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File compcache.spec of Package compcache
# # spec file for package compcache # # Copyright (c) 2022 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 http://bugs.opensuse.org/ # # nodebuginfo Name: compcache Version: 0.7.0 Release: 0 Summary: Compressed RAM based swap device License: GPL-2.0 Group: System/Kernel Source0: compcache Source1: sysconfig.compcache Source2: compcache.service Url: http://code.google.com/p/compcache/ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: systemd PreReq: %fillup_prereq BuildArch: noarch %{?systemd_requires} %description The compcache is a RAM-based block device acting as a swap disk. This can effectively increase the available memory on your machine by virtually swapping pages into the compressed memory. This package contains the boot script for loading/unloading the modules. %prep %build %install mkdir -p %{buildroot}%{_fillupdir} install -c -m 0644 %{SOURCE1} %{buildroot}%{_fillupdir} mkdir -p %{buildroot}/etc/init.d install -c -m 0755 %{SOURCE0} %{buildroot}/etc/init.d/ mkdir -p %{buildroot}/usr/sbin %__ln_s "../../etc/init.d/%{name}" "%{buildroot}/usr/sbin/rc%{name}" mkdir -p %{buildroot}%{_unitdir} install -c -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}/ %post %fillup_only %service_add_post %{name}.service %pre %service_add_pre %{name}.service %preun %service_del_preun %{name}.service %postun %service_del_postun %{name}.service %files %defattr(-,root,root) /etc/init.d/%{name} /usr/sbin/rc%{name} %{_fillupdir}/sysconfig.%{name} %{_unitdir}/%{name}* %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