rpms/alsa-utils/devel alsa-utils.spec,1.58,1.59

Martin Stransky (stransky) fedora-extras-commits at redhat.com
Thu Sep 20 15:09:58 UTC 2007


Author: stransky

Update of /cvs/pkgs/rpms/alsa-utils/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20206

Modified Files:
	alsa-utils.spec 
Log Message:
* Thu Sep 20 2007 Matthias Saou <http://freshrpms.net/> 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?).

review request (#225242)




Index: alsa-utils.spec
===================================================================
RCS file: /cvs/pkgs/rpms/alsa-utils/devel/alsa-utils.spec,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -r1.58 -r1.59
--- alsa-utils.spec	19 Sep 2007 12:26:53 -0000	1.58
+++ alsa-utils.spec	20 Sep 2007 15:09:25 -0000	1.59
@@ -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 @@
 %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 @@
 %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 <http://freshrpms.net/> 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 <stransky at redhat.com> 1.0.15-0.1.rc1
 - new upstream
 - moved saved volume settings to /var/lib (#293301)
@@ -201,7 +200,7 @@
 
 * Mon Apr 25 2005 Martin Stransky <stransky at redhat.com> 1.0.9rc2-1
 - New upstream version
-- add %find_lang macro (#155719)
+- add %%find_lang macro (#155719)
 
 * Fri Apr 1 2005 Bill Nottingham <notting at redhat.com> 1.0.8-4
 - replace the dev.d script with a program that calls alsactl to




More information about the fedora-extras-commits mailing list