changed the add-on config directory to /etc/alsa/conf.d

This commit is contained in:
Jaroslav Kysela 2018-04-04 10:59:27 +02:00
parent 406cbb8800
commit 498539259d

View File

@ -6,7 +6,7 @@
Name: alsa-plugins
Version: 1.1.6
Release: 1%{?dist}
Release: 2%{?dist}
Summary: The Advanced Linux Sound Architecture (ALSA) Plugins
# All packages are LGPLv2+ with the exception of samplerate which is GPLv2+
# pph plugin is BSD-like licensed
@ -152,11 +152,11 @@ ALSA native applications can run over DSP Gateway and use DSP PCM task nodes.
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
make install DESTDIR=%{buildroot}
install -d ${RPM_BUILD_ROOT}%{_datadir}/alsa/alsa.conf.d
install -d %{buildroot}/etc/alsa/conf.d
%if 0%{?with_jack}
install -m 644 %SOURCE1 ${RPM_BUILD_ROOT}%{_datadir}/alsa/alsa.conf.d
install -m 644 %SOURCE1 %{buildroot}/etc/alsa/conf.d
%endif
install -m 644 %SOURCE2 \
%SOURCE3 \
@ -165,11 +165,11 @@ install -m 644 %SOURCE2 \
%SOURCE6 \
%SOURCE8 \
%SOURCE9 \
${RPM_BUILD_ROOT}%{_datadir}/alsa/alsa.conf.d
mv ${RPM_BUILD_ROOT}%{_datadir}/alsa/alsa.conf.d/99-pulseaudio-default.conf.example \
${RPM_BUILD_ROOT}%{_datadir}/alsa/alsa.conf.d/99-pulseaudio-default.conf
%{buildroot}/etc/alsa/conf.d
mv %{buildroot}/etc/alsa/conf.d/99-pulseaudio-default.conf.example \
%{buildroot}/etc/alsa/conf.d/99-pulseaudio-default.conf
find $RPM_BUILD_ROOT -name "*.la" -exec rm {} \;
find %{buildroot} -name "*.la" -exec rm {} \;
%post -p /sbin/ldconfig
@ -179,16 +179,16 @@ find $RPM_BUILD_ROOT -name "*.la" -exec rm {} \;
%if 0%{?with_jack}
%files jack
%doc COPYING COPYING.GPL doc/README-jack
%dir %{_datadir}/alsa/alsa.conf.d
%config(noreplace) %{_datadir}/alsa/alsa.conf.d/50-jack.conf
%dir /etc/alsa/conf.d
%config(noreplace) /etc/alsa/conf.d/50-jack.conf
%dir %{_libdir}/alsa-lib
%{_libdir}/alsa-lib/libasound_module_pcm_jack.so
%endif
%files oss
%doc COPYING COPYING.GPL doc/README-pcm-oss
%dir %{_datadir}/alsa/alsa.conf.d
%config(noreplace) %{_datadir}/alsa/alsa.conf.d/50-pcm-oss.conf
%dir /etc/alsa/conf.d
%config(noreplace) /etc/alsa/conf.d/50-pcm-oss.conf
%dir %{_libdir}/alsa-lib
%{_libdir}/alsa-lib/libasound_module_ctl_oss.so
%{_libdir}/alsa-lib/libasound_module_pcm_oss.so
@ -199,14 +199,14 @@ find $RPM_BUILD_ROOT -name "*.la" -exec rm {} \;
%{_libdir}/alsa-lib/libasound_module_pcm_pulse.so
%{_libdir}/alsa-lib/libasound_module_ctl_pulse.so
%{_libdir}/alsa-lib/libasound_module_conf_pulse.so
%dir %{_datadir}/alsa/alsa.conf.d
%config(noreplace) %{_datadir}/alsa/alsa.conf.d/50-pulseaudio.conf
%config(noreplace) %{_datadir}/alsa/alsa.conf.d/99-pulseaudio-default.conf
%dir /etc/alsa/conf.d
%config(noreplace) /etc/alsa/conf.d/50-pulseaudio.conf
%config(noreplace) /etc/alsa/conf.d/99-pulseaudio-default.conf
%files samplerate
%doc COPYING COPYING.GPL doc/samplerate.txt
%dir %{_datadir}/alsa/alsa.conf.d
%config(noreplace) %{_datadir}/alsa/alsa.conf.d/10-samplerate.conf
%dir /etc/alsa/conf.d
%config(noreplace) /etc/alsa/conf.d/10-samplerate.conf
%dir %{_libdir}/alsa-lib
%{_libdir}/alsa-lib/libasound_module_rate_samplerate.so
%{_libdir}/alsa-lib/libasound_module_rate_samplerate_best.so
@ -216,15 +216,15 @@ find $RPM_BUILD_ROOT -name "*.la" -exec rm {} \;
%files upmix
%doc COPYING COPYING.GPL doc/upmix.txt
%dir %{_datadir}/alsa/alsa.conf.d
%config(noreplace) %{_datadir}/alsa/alsa.conf.d/50-upmix.conf
%dir /etc/alsa/conf.d
%config(noreplace) /etc/alsa/conf.d/50-upmix.conf
%dir %{_libdir}/alsa-lib
%{_libdir}/alsa-lib/libasound_module_pcm_upmix.so
%files vdownmix
%doc COPYING COPYING.GPL doc/vdownmix.txt
%dir %{_datadir}/alsa/alsa.conf.d
%config(noreplace) %{_datadir}/alsa/alsa.conf.d/97-vdownmix.conf
%dir /etc/alsa/conf.d
%config(noreplace) /etc/alsa/conf.d/97-vdownmix.conf
%dir %{_libdir}/alsa-lib
%{_libdir}/alsa-lib/libasound_module_pcm_vdownmix.so
@ -235,15 +235,15 @@ find $RPM_BUILD_ROOT -name "*.la" -exec rm {} \;
%files arcamav
%doc COPYING COPYING.GPL doc/README-arcam-av
%dir %{_datadir}/alsa/alsa.conf.d
%config(noreplace) %{_datadir}/alsa/alsa.conf.d/50-arcamav.conf
%dir /etc/alsa/conf.d
%config(noreplace) /etc/alsa/conf.d/50-arcamav.conf
%dir %{_libdir}/alsa-lib
%{_libdir}/alsa-lib/libasound_module_ctl_arcam_av.so
%files speex
%doc COPYING COPYING.GPL doc/speexdsp.txt doc/speexrate.txt
%dir %{_datadir}/alsa/alsa.conf.d
%config(noreplace) %{_datadir}/alsa/alsa.conf.d/10-speex.conf
%dir /etc/alsa/conf.d
%config(noreplace) /etc/alsa/conf.d/10-speex.conf
%dir %{_libdir}/alsa-lib
%{_libdir}/alsa-lib/libasound_module_pcm_speex.so
%{_libdir}/alsa-lib/libasound_module_rate_speexrate.so
@ -252,14 +252,17 @@ find $RPM_BUILD_ROOT -name "*.la" -exec rm {} \;
%files maemo
%doc COPYING COPYING.GPL doc/README-maemo
%dir %{_datadir}/alsa/alsa.conf.d
%config(noreplace) %{_datadir}/alsa/alsa.conf.d/98-maemo.conf
%dir /etc/alsa/conf.d
%config(noreplace) /etc/alsa/conf.d/98-maemo.conf
%dir %{_libdir}/alsa-lib
%{_libdir}/alsa-lib/libasound_module_ctl_dsp_ctl.so
%{_libdir}/alsa-lib/libasound_module_pcm_alsa_dsp.so
%changelog
* Wed Apr 04 2018 Jaroslav Kysela <perex@perex.cz> - 1.1.6-2
- Changed the add-on config directory to /etc/alsa/conf.d
* Tue Apr 03 2018 Jaroslav Kysela <perex@perex.cz> - 1.1.6-1
- Updated to 1.1.6