Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:radiorabe:audio
systemd-axia-alsa
_service:extract_file:systemd-axia-alsa.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:extract_file:systemd-axia-alsa.spec of Package systemd-axia-alsa
# # spec file for package systemd-axia-alsa # # Copyright (c) 2017 - 2018 Radio Bern RaBe # http://www.rabe.ch # # This program is free software: you can redistribute it and/or # modify it under the terms of the GNU Affero General Public # License as published by the Free Software Foundation, version # 3 of the License. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public # License along with this program. # If not, see <http://www.gnu.org/licenses/>. # # Please submit enhancements, bugfixes or comments via GitHub: # https://github.com/radiorabe/systemd-axia-alsa # Name: systemd-axia-alsa Version: 0.3.1 Release: 1%{?dist} Summary: systemd service units and udev rules for AXIA - ALSA License: AGPL BuildArch: noarch URL: https://github.com/radiorabe/%{name} Source0: https://github.com/radiorabe/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz %{?systemd_requires} BuildRequires: systemd Requires: axia-alsa Requires: firewalld-filesystem # udev directory paths # The _libdir macro can't be used as a prefix here as udev rules have to go # into /usr/lib/udev/rules.d and not into /usr/lib64/udev/rules.d (on x86_64) %global udevdir %{_prefix}/lib/udev %global udevrulesdir %{udevdir}/rules.d # firewalld directory paths # The _libdir macro can't be used as a prefix here as firewalld files have to go # into /usr/lib/firewalld and not into /usr/lib64/firewalld (on x86_64) %global firewallddir %{_prefix}/lib/firewalld %global firewalldservicesdir %{firewallddir}/services %global service_user axia %global service_group %{service_user} %description systemd service units and udev rules for managing the AXIA - ALSA soundcard driver for Livewire services. %prep %setup -q -n %{name}-%{version} %build %install rm -rf $RPM_BUILD_ROOT make install prefix=%{_prefix} \ exec_prefix=%{_exec_prefix} \ sysconfdir=%{_sysconfdir} \ unitdir=%{_unitdir} \ udevrulesdir=%{udevrulesdir} \ firewalldservicesdir=%{firewalldservicesdir} \ DESTDIR=%{?buildroot} %pre getent group %{service_group} >/dev/null || groupadd -r %{service_group} getent passwd %{service_user} >/dev/null || \ useradd -r -g %{service_group} -d /dev/null -M -s /sbin/nologin \ -c "AXIA system user account" %{service_user} exit 0 %post %systemd_post axiagpr.service %systemd_post axiaadvd.service %systemd_post axialwrd.service %firewalld_reload %preun %systemd_preun axiagpr.service %systemd_preun axiaadvd.service %systemd_preun axialwrd.service %postun %systemd_postun_with_restart axiagpr.service %systemd_postun_with_restart axiaadvd.service %systemd_postun_with_restart axialwrd.service %files %doc %{_docdir}/%{name}/README.md %{_unitdir}/*.service %config(noreplace) %{_sysconfdir}/axia/systemd-env.conf %{_sysconfdir}/modules-load.d/snd-axia.conf %{_sysconfdir}/modprobe.d/snd-axia.conf %{udevdir}/* %{firewallddir}/* %changelog * Sat Oct 27 2018 Christian Affolter <c.affolter@purplehaze.ch> - 0.3.1-1 - Removed kmod-axia-alsa dependency (is obsoleted by axia-alsa-1.2.2) * Sat Nov 18 2017 Christian Affolter <c.affolter@purplehaze.ch> - 0.3.0-1 - Include firewalld services * Fri Sep 22 2017 Christian Affolter <c.affolter@purplehaze.ch> - 0.2.1-1 - systemd: Start all services after network-online.target. * Tue Sep 12 2017 Christian Affolter <c.affolter@purplehaze.ch> - 0.2.0-1 - Initial release
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