]> git.pld-linux.org Git - packages/alsa-lib.git/commitdiff
- move asound.conf from alsa-util auto/aidath/alsa-lib-1_0_20-2 auto/th/alsa-lib-1_0_20-2
authorPatryk Zawadzki <patrys@room-303.com>
Sun, 24 May 2009 17:00:28 +0000 (17:00 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- provide a working template
- rel 2

Changed files:
    alsa-lib-asound.conf -> 1.1
    alsa-lib.spec -> 1.145

alsa-lib-asound.conf [new file with mode: 0644]
alsa-lib.spec

diff --git a/alsa-lib-asound.conf b/alsa-lib-asound.conf
new file mode 100644 (file)
index 0000000..4dc202a
--- /dev/null
@@ -0,0 +1,14 @@
+#
+# Place your global alsa-lib configuration here...
+#
+
+@hooks [
+       {
+               func load
+               files [
+                       "/etc/alsa/pulse-default.conf"
+                       "/etc/alsa/bluetooth.conf"
+               ]
+               errors false
+       }
+]
index 55ee84aafdaf83f5f42e70da608a661ba45f24d5..15c8ad50965f2bf3821391693b4da9de1f58104d 100644 (file)
@@ -12,12 +12,13 @@ Summary(ru.UTF-8):  Библиотека API для работы с драйве
 Summary(uk.UTF-8):     Бібліотека API для роботи з драйвером ALSA
 Name:          alsa-lib
 Version:       1.0.20
-Release:       1
+Release:       2
 License:       LGPL v2.1+
 Group:         Libraries
 Source0:       ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version}.tar.bz2
 # Source0-md5: 6e9080ba1faa5d3739d14dd76c62d8dc
 Source1:       %{name}-modprobe.conf
+Source2:       %{name}-asound.conf
 URL:           http://www.alsa-project.org/
 BuildRequires: alsa-driver-devel
 BuildRequires: autoconf >= 2.59
@@ -189,13 +190,14 @@ Moduł wiązania Pythona dla interfejsu miksera architektury ALSA.
 %install
 rm -rf $RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT/etc/modprobe.d
+install -d $RPM_BUILD_ROOT/etc/{alsa,modprobe.d}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
 install -D utils/alsa.m4 $RPM_BUILD_ROOT%{_aclocaldir}/alsa.m4
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/modprobe.d/alsa-base.conf
+install %{SOURCE2} $RPM_BUILD_ROOT/etc/asound.conf
 
 rm -f $RPM_BUILD_ROOT%{_libdir}/alsa-lib/smixer/*.{a,la}
 
@@ -217,6 +219,8 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/alsa-lib/smixer/smixer-hda.so
 %attr(755,root,root) %{_libdir}/alsa-lib/smixer/smixer-sbase.so
 %{_datadir}/alsa
+%{_sysconfdir}/alsa
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asound.conf
 %attr(644,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/modprobe.d/alsa-base.conf
 
 %files devel
This page took 0.07085 seconds and 4 git commands to generate.