Search
SailfishOS Open Build Service
>
Projects
>
home:sledge
:
beagle
>
beagle-configs
> beagle-configs.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File beagle-configs.spec of Package beagle-configs
Name: beagle-configs Version: 0.1 Release: 0 Summary: Provides configs for BeagleBoard License: GPLv2 Source1: input-touch.conf Source2: asound.state Source3: beagle-alsamixer-settings.init Source4: beagle-alsamixer-settings.service Source5: static-mac-address.rules Source6: beagle-modules-load.conf Source7: beagle-modprobe.conf Source8: dsp-bridge-dev.rules BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root ExclusiveArch: %{arm} Requires: systemd Requires(preun): systemd Requires(post): systemd Requires(postun): systemd # Audio Requires: pulseaudio alsa-utils alsa-plugins-pulseaudio # X and UI #Requires: uxlaunch # This makes pulseaudio start with x11 Requires: pulseaudio-module-x11 %description Provides configs for TI BeagleBoard device. %prep %build %install # >> install pre # << install pre # >> install post install -d %{buildroot}/etc/X11/xorg.conf.d install -m 644 %{SOURCE1} %{buildroot}/etc/X11/xorg.conf.d/50-input-touch.conf install -d %{buildroot}/etc/ install -m 644 %{SOURCE2} %{buildroot}/etc/asound.state install -d %{buildroot}/usr/sbin install -m 755 %{SOURCE3} %{buildroot}/usr/sbin/beagle-alsamixer-settings install -d %{buildroot}/lib/systemd/system install -m 644 %{SOURCE4} %{buildroot}/lib/systemd/system/beagle-alsamixer-settings.service install -d %{buildroot}/lib/systemd/system/sysinit.target.wants/ ln -s ../beagle-alsamixer-settings.service %{buildroot}/lib/systemd/system/sysinit.target.wants/beagle-alsamixer-settings.service install -d %{buildroot}/etc/udev/rules.d install -m 644 %{SOURCE5} %{buildroot}/etc/udev/rules.d/static-mac-address.rules install -m 644 %{SOURCE8} %{buildroot}/etc/udev/rules.d/dsp-bridge-dev.rules install -d %{buildroot}/etc/modules-load.d install -m 644 %{SOURCE6} %{buildroot}/etc/modules-load.d/beagle.conf install -d %{buildroot}/etc/modprobe.d install -m 644 %{SOURCE7} %{buildroot}/etc/modprobe.d/beagle.conf # << install post %clean rm -rf %{buildroot} %post systemctl daemon-reload systemctl reload-or-try-restart beagle-alsamixer-settings.service %preun systemctl stop beagle-alsamixer-settings.service %files %defattr(-,root,root,-) # >> files /etc/X11/xorg.conf.d/50-input-touch.conf /etc/asound.state /usr/sbin/beagle-alsamixer-settings /lib/systemd/system/beagle-alsamixer-settings.service /lib/systemd/system/sysinit.target.wants/beagle-alsamixer-settings.service /etc/udev/rules.d/static-mac-address.rules /etc/udev/rules.d/dsp-bridge-dev.rules /etc/modules-load.d/beagle.conf /etc/modprobe.d/beagle.conf # << files