diff options
Diffstat (limited to 'packaging/device-config-audio.spec')
-rw-r--r-- | packaging/device-config-audio.spec | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/packaging/device-config-audio.spec b/packaging/device-config-audio.spec new file mode 100644 index 0000000..9923bc1 --- /dev/null +++ b/packaging/device-config-audio.spec @@ -0,0 +1,45 @@ +Summary: Device specific configurations for Audio +Name: device-config-audio +Version: 1 +Release: 1 +Group: System/Hardware +License: GPLv2+ +BuildArch: noarch +Source0: %{name}-%{version}.tar.bz2 +Source1: audio_system.conf +Source2: 95-audio-jack.rules +Source3: audio.sh + +%description +Device specific configurations for Audio + +%package mfld-blackbay +Summary: Audio configuration files for mfld-blackbay +Group: System/Hardware +%description mfld-blackbay +Audio configuration files for mfld-blackbay + +%prep + +%build + +%install +# mfld +install -D -m 0644 %{S:1} %{buildroot}/opt/etc/audio_system.conf + +mkdir -p %{buildroot}/lib/udev/rules.d/ +install -D -m 0755 %{S:2} %{buildroot}/usr/lib/udev/rules.d/95-audio-jack.rules + +mkdir -p %{buildroot}/etc/profile +install -D -m 0755 %{S:3} %{buildroot}/etc/profile.d/audio.sh + + +%post mfld-blackbay + +%postun mfld-blackbay + + +%files mfld-blackbay +%config /opt/etc/audio_system.conf +/usr/lib/udev/rules.d/95-audio-jack.rules +/etc/profile.d/audio.sh |