From 93074d6fc400d659759f95e649939a68867bf7e2 Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: Sep 20 2007 15:09:25 +0000 Subject: - Update License field. - Mark udev rule as config. - Use find_lang macro again to include translations (why was it removed?). review request (#225242) --- diff --git a/alsa-utils.spec b/alsa-utils.spec index b0af7a5..32ae9a0 100644 --- a/alsa-utils.spec +++ b/alsa-utils.spec @@ -4,8 +4,8 @@ Summary: Advanced Linux Sound Architecture (ALSA) utilities Name: alsa-utils Version: 1.0.15 -Release: 0.1%{?prever_dot}%{?dist} -License: GPL +Release: 0.2%{?prever_dot}%{?dist} +License: GPLv2+ Group: Applications/Multimedia URL: http://www.alsa-project.org/ Source: ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{version}%{?prever}.tar.bz2 @@ -40,16 +40,15 @@ Architecture (ALSA). %install %{__rm} -rf ${RPM_BUILD_ROOT} make install DESTDIR=$RPM_BUILD_ROOT +%find_lang %{name} # Install ALSA udev rules -mkdir -p -m755 $RPM_BUILD_ROOT/etc/udev/rules.d/ -install -m 644 %{SOURCE10} $RPM_BUILD_ROOT/etc/udev/rules.d/90-alsa.rules +mkdir -p -m 755 $RPM_BUILD_ROOT/etc/udev/rules.d +install -p -m 644 %{SOURCE10} $RPM_BUILD_ROOT/etc/udev/rules.d/90-alsa.rules # Install support utilities mkdir -p -m755 $RPM_BUILD_ROOT/bin -install -m 755 alsaunmute %{buildroot}/bin -install -m 755 alsacard %{buildroot}/bin -install -m 755 salsa %{buildroot}/sbin +install -p -m 755 salsa alsacard alsaunmute %{buildroot}/bin/ # Link alsactl to /usr/sbin mkdir -p $RPM_BUILD_ROOT/%{_sbindir} @@ -62,27 +61,27 @@ touch $RPM_BUILD_ROOT/var/lib/alsa/asound.state %clean %{__rm} -rf $RPM_BUILD_ROOT -%files +%files -f %{name}.lang %defattr(-,root,root,-) %doc COPYING ChangeLog README TODO -/etc/udev/rules.d/* +%config /etc/udev/rules.d/* /bin/* /sbin/* %{_bindir}/* %{_sbindir}/* +%{_datadir}/alsa/ +%{_datadir}/sounds/ %{_mandir}/man?/* -%dir %{_datadir}/sounds -%dir %{_datadir}/sounds/alsa -%{_datadir}/sounds/alsa/* -%dir %{_datadir}/alsa -%dir %{_datadir}/alsa/speaker-test -%{_datadir}/alsa/speaker-test/* -/usr/share/locale/* /var/lib/alsa %ghost /var/lib/alsa/asound.state %changelog +* Thu Sep 20 2007 Matthias Saou 1.0.15-0.2.rc1 +- Update License field. +- Mark udev rule as config. +- Use find_lang macro again to include translations (why was it removed?). + * Wed Sep 19 2007 Martin Stransky 1.0.15-0.1.rc1 - new upstream - moved saved volume settings to /var/lib (#293301) @@ -201,7 +200,7 @@ touch $RPM_BUILD_ROOT/var/lib/alsa/asound.state * Mon Apr 25 2005 Martin Stransky 1.0.9rc2-1 - New upstream version -- add %find_lang macro (#155719) +- add %%find_lang macro (#155719) * Fri Apr 1 2005 Bill Nottingham 1.0.8-4 - replace the dev.d script with a program that calls alsactl to