From: Adam Gołębiowski Date: Sun, 4 Apr 2004 18:58:24 +0000 (+0000) Subject: - s/OSS-preserve-settings/preserve-settings/ - this also works for ALSA X-Git-Tag: auto/ac/aumix-2_7-16~5 X-Git-Url: https://git.pld-linux.org/?p=packages%2Faumix.git;a=commitdiff_plain;h=c9ee4b7cf3b96802775f5412744fee35f68cc657 - s/OSS-preserve-settings/preserve-settings/ - this also works for ALSA (patch by Paszczus) Changed files: aumix.spec -> 1.95 --- diff --git a/aumix.spec b/aumix.spec index a819447..2e9994a 100644 --- a/aumix.spec +++ b/aumix.spec @@ -83,7 +83,7 @@ CD, Ú×ÕËÏ×ϧ ËÁÒÔËÉ. ÷ÏÎÁ ÄÏÚ×ÏÌѤ ÚͦÎÀ×ÁÔÉ ÑË ×ȦÄΦ Ò¦×Φ ÓÉÇÎÁÌ¦× Ú CD, ͦËÒÏÆÏÎÕ, ÓÉÎÔÅÚÁÔÏÒ¦× ÎÁ Ú×ÕËÏ×¦Ê ÐÌÁÔ¦, ÔÁË ¦ ×ÉȦÄÎÉÊ Ò¦×ÅÎØ. -%package OSS-preserve-settings +%package preserve-settings Summary: Saves/restores mixer settings on system shutdown/startup Summary(pl): Zapisuje/odtwarza ustawienia przy zamkniêciu/starcie systemu Group: Applications/Sound @@ -93,11 +93,11 @@ Requires(post,preun): /sbin/chkconfig Obsoletes: rhsound Conflicts: alsa-utils -%description OSS-preserve-settings +%description preserve-settings This package contains script, which will save settings of sound card's mixer on system shutdown and restore them on system startup. -%description OSS-preserve-settings -l pl +%description preserve-settings -l pl Ten pakiet zawiera skrypt, który zapisuje ustawienia miksera karty d¼wiêkowej przy zamkniêciu systemu i odtwarza je po uruchomieniu systemu. @@ -144,7 +144,7 @@ rm -f $RPM_BUILD_ROOT%{_datadir}/aumix/aumix.xpm %clean rm -rf $RPM_BUILD_ROOT -%post OSS-preserve-settings +%post preserve-settings /sbin/chkconfig --add aumix if [ ! -f /var/lock/subsys/aumix ]; then echo "Run \"/etc/rc.d/init.d/aumix start\" to initialize saving/restoring" @@ -152,7 +152,7 @@ if [ ! -f /var/lock/subsys/aumix ]; then echo "setup sound volume." fi -%preun OSS-preserve-settings +%preun preserve-settings if [ "$1" = "0" ]; then if [ -f /var/lock/subsys/aumix ]; then /etc/rc.d/init.d/aumix stop @@ -171,7 +171,7 @@ fi %{_pixmapsdir}/*.png %{_desktopdir}/aumix.desktop -%files OSS-preserve-settings +%files preserve-settings %defattr(644,root,root,755) %attr(754,root,root) /etc/rc.d/init.d/aumix %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/aumix