Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:bberberov
rapiddisk
rapiddisk.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rapiddisk.spec of Package rapiddisk
# # spec file for package rapiddisk # # Copyright (c) 2024 Boian Berberov # # 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 https://bugs.opensuse.org/ # Name: rapiddisk Version: 9.1.0 Release: 0%{?dist} Summary: An Advanced Linux RAM Drive and Caching kernel modules License: GPL-2 URL: https://github.com/pkoutoupis/%{name} Source0: %{url}/archive/refs/tags/%{version}.tar.gz BuildRequires: %{kernel_module_package_buildreqs} %kernel_module_package %description An Advanced Linux RAM Drive and Caching kernel modules %package utils Summary: An Advanced Linux RAM Drive and Caching kernel modules; utilities Requires: %{name}=%{version} Requires: libpcre2-8-0 libjansson4 device-mapper BuildRequires: pcre2-devel libjansson-devel device-mapper-devel %description utils An Advanced Linux RAM Drive and Caching kernel modules; utilities %package daemon Summary: An Advanced Linux RAM Drive and Caching kernel modules; daemon Requires: %{name}=%{version} Requires: libpcre2-8-0 libjansson4 device-mapper libmicrohttpd12 BuildRequires: pcre2-devel libjansson-devel device-mapper-devel libmicrohttpd-devel %systemd_requires %description daemon An Advanced Linux RAM Drive and Caching kernel modules; daemon %prep %setup -q # Setup kernel module `obj` directories mkdir obj %build # Build kernel module flavors from `module` directory for flavor in %{flavors_to_build} do rm -rf obj/$flavor cp -r module obj/$flavor %make_build -C %{kernel_source $flavor} modules M=$PWD/obj/$flavor done # Build `utils` and `daemon` %make_build -C src %install # Install kernel module flavors export INSTALL_MOD_PATH=%{buildroot} export INSTALL_MOD_DIR=updates for flavor in %{flavors_to_build} do %__make -C %{kernel_source $flavor} modules_install M=$PWD/obj/$flavor done # Install `utils` and `daemon` %make_install -C src DIR=%{_sbindir} # Install man pages %__install -D -m0755 -t %{buildroot}%{_mandir} doc/*.1 # Install `systemd` units %__install -D -m0755 conf/rapiddiskd.service %{buildroot}%{_unitdir}/rapiddiskd.service %files %license COPYRIGHT %doc module/rapiddisk.txt %files utils %license COPYRIGHT %{_sbindir}/rapiddisk %{_mandir}/rapiddisk.1 %files daemon %license COPYRIGHT %doc doc/API.txt doc/cache-stats.txt %{_unitdir}/rapiddiskd.service %{_sbindir}/rapiddiskd %{_mandir}/rapiddiskd.1 %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