- Update License field.
- Mark udev rule as config. - Use find_lang macro again to include translations (why was it removed?). review request (#225242)
This commit is contained in:
parent
87ff33df57
commit
93074d6fc4
@ -4,8 +4,8 @@
|
|||||||
Summary: Advanced Linux Sound Architecture (ALSA) utilities
|
Summary: Advanced Linux Sound Architecture (ALSA) utilities
|
||||||
Name: alsa-utils
|
Name: alsa-utils
|
||||||
Version: 1.0.15
|
Version: 1.0.15
|
||||||
Release: 0.1%{?prever_dot}%{?dist}
|
Release: 0.2%{?prever_dot}%{?dist}
|
||||||
License: GPL
|
License: GPLv2+
|
||||||
Group: Applications/Multimedia
|
Group: Applications/Multimedia
|
||||||
URL: http://www.alsa-project.org/
|
URL: http://www.alsa-project.org/
|
||||||
Source: ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{version}%{?prever}.tar.bz2
|
Source: ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{version}%{?prever}.tar.bz2
|
||||||
@ -40,16 +40,15 @@ Architecture (ALSA).
|
|||||||
%install
|
%install
|
||||||
%{__rm} -rf ${RPM_BUILD_ROOT}
|
%{__rm} -rf ${RPM_BUILD_ROOT}
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
%find_lang %{name}
|
||||||
|
|
||||||
# Install ALSA udev rules
|
# Install ALSA udev rules
|
||||||
mkdir -p -m755 $RPM_BUILD_ROOT/etc/udev/rules.d/
|
mkdir -p -m 755 $RPM_BUILD_ROOT/etc/udev/rules.d
|
||||||
install -m 644 %{SOURCE10} $RPM_BUILD_ROOT/etc/udev/rules.d/90-alsa.rules
|
install -p -m 644 %{SOURCE10} $RPM_BUILD_ROOT/etc/udev/rules.d/90-alsa.rules
|
||||||
|
|
||||||
# Install support utilities
|
# Install support utilities
|
||||||
mkdir -p -m755 $RPM_BUILD_ROOT/bin
|
mkdir -p -m755 $RPM_BUILD_ROOT/bin
|
||||||
install -m 755 alsaunmute %{buildroot}/bin
|
install -p -m 755 salsa alsacard alsaunmute %{buildroot}/bin/
|
||||||
install -m 755 alsacard %{buildroot}/bin
|
|
||||||
install -m 755 salsa %{buildroot}/sbin
|
|
||||||
|
|
||||||
# Link alsactl to /usr/sbin
|
# Link alsactl to /usr/sbin
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_sbindir}
|
mkdir -p $RPM_BUILD_ROOT/%{_sbindir}
|
||||||
@ -62,27 +61,27 @@ touch $RPM_BUILD_ROOT/var/lib/alsa/asound.state
|
|||||||
%clean
|
%clean
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT
|
%{__rm} -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files
|
%files -f %{name}.lang
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc COPYING ChangeLog README TODO
|
%doc COPYING ChangeLog README TODO
|
||||||
/etc/udev/rules.d/*
|
%config /etc/udev/rules.d/*
|
||||||
/bin/*
|
/bin/*
|
||||||
/sbin/*
|
/sbin/*
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_sbindir}/*
|
%{_sbindir}/*
|
||||||
|
%{_datadir}/alsa/
|
||||||
|
%{_datadir}/sounds/
|
||||||
%{_mandir}/man?/*
|
%{_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
|
/var/lib/alsa
|
||||||
%ghost /var/lib/alsa/asound.state
|
%ghost /var/lib/alsa/asound.state
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%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@redhat.com> 1.0.15-0.1.rc1
|
* Wed Sep 19 2007 Martin Stransky <stransky@redhat.com> 1.0.15-0.1.rc1
|
||||||
- new upstream
|
- new upstream
|
||||||
- moved saved volume settings to /var/lib (#293301)
|
- 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 <stransky@redhat.com> 1.0.9rc2-1
|
* Mon Apr 25 2005 Martin Stransky <stransky@redhat.com> 1.0.9rc2-1
|
||||||
- New upstream version
|
- New upstream version
|
||||||
- add %find_lang macro (#155719)
|
- add %%find_lang macro (#155719)
|
||||||
|
|
||||||
* Fri Apr 1 2005 Bill Nottingham <notting@redhat.com> 1.0.8-4
|
* Fri Apr 1 2005 Bill Nottingham <notting@redhat.com> 1.0.8-4
|
||||||
- replace the dev.d script with a program that calls alsactl to
|
- replace the dev.d script with a program that calls alsactl to
|
||||||
|
Loading…
Reference in New Issue
Block a user