%undefine __find_provides %undefine __find_requires Summary: English sound files for the Asterisk PBX and telephony application and toolkit Name: asterisk-core-sounds-en Version: 1.4.15 Release: %mkrel 1 License: BSD Group: System/Servers URL: http://www.asterisk.org/ Source0: http://ftp.digium.com/pub/telephony/sounds/%{name}-alaw-%{version}.tar.gz Source1: http://ftp.digium.com/pub/telephony/sounds/%{name}-g722-%{version}.tar.gz Source2: http://ftp.digium.com/pub/telephony/sounds/%{name}-g729-%{version}.tar.gz Source3: http://ftp.digium.com/pub/telephony/sounds/%{name}-gsm-%{version}.tar.gz Source4: http://ftp.digium.com/pub/telephony/sounds/%{name}-siren7-%{version}.tar.gz Source5: http://ftp.digium.com/pub/telephony/sounds/%{name}-siren14-%{version}.tar.gz Source6: http://ftp.digium.com/pub/telephony/sounds/%{name}-sln16-%{version}.tar.gz Source7: http://ftp.digium.com/pub/telephony/sounds/%{name}-ulaw-%{version}.tar.gz Source8: http://ftp.digium.com/pub/telephony/sounds/%{name}-wav-%{version}.tar.gz Requires: asterisk Requires: locales-en Provides: asterisk-core-sounds Conflicts: asterisk-core-sounds-es asterisk-core-sounds-fr BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %description Asterisk is an Open Source PBX and telephony development platform that can both replace a conventional PBX and act as a platform for developing custom telephony applications for delivering dynamic content over a telephone similarly to how one can deliver dynamic content through a web browser using CGI and a web server. Asterisk talks to a variety of telephony hardware including BRI, PRI, POTS, and IP telephony clients using the Inter-Asterisk eXchange protocol (e.g. gnophone or miniphone). This package contains freely usable recorded sounds that were meant to be used with Asterisk in the following formats: a-Law, G.722, G.729, GSM, Siren7, Siren14, sln16, mu-Law, WAV %prep %setup -q -c -T -n asterisk-core-sounds-%{version} -a0 -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a8 # fix dir perms find . -type d | xargs chmod 755 # fix file perms find . -type f | xargs chmod 644 # clean up CVS stuff for i in `find . -type d -name CVS` `find . -type f -name .cvs\*` `find . -type f -name .#\*`; do if [ -e "$i" ]; then rm -r $i; fi >&/dev/null done %build %install [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} install -d %{buildroot}%{_localstatedir}/lib/asterisk/sounds cp -aRf * %{buildroot}%{_localstatedir}/lib/asterisk/sounds/ # cleanup rm -f %{buildroot}%{_localstatedir}/lib/asterisk/sounds/CREDITS-asterisk-core-*-%{version} # make a file list find %{buildroot}%{_localstatedir}/lib/asterisk/sounds -type f | sed -e "s|%{buildroot}||" | sed -e 's/^/%attr(0644,root,root) /' >> %{name}.filelist %clean [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} %files -f %{name}.filelist %defattr(-,root, root) %doc CREDITS-asterisk-core-*-%{version} %changelog * Tue May 12 2009 Lonyai Gergely <aleph@mandriva.org> 1.4.15-1mdv2009.0 + Revision: 374888 - update to 1.4.15 * Thu Aug 14 2008 Oden Eriksson <oeriksson@mandriva.com> 1.4.12-1mdv2009.0 + Revision: 271935 - 1.4.12 * Thu Aug 07 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.4.11-2mdv2009.0 + Revision: 266187 - rebuild early 2009.0 package (before pixel changes) + Pixel <pixel@mandriva.com> - adapt to %%_localstatedir now being /var instead of /var/lib (#22312) * Wed Apr 09 2008 Oden Eriksson <oeriksson@mandriva.com> 1.4.11-1mdv2009.0 + Revision: 192508 - 1.4.11 + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Mon Sep 10 2007 Oden Eriksson <oeriksson@mandriva.com> 1.4.5-2mdv2008.0 + Revision: 84043 - rebuild * Thu Feb 15 2007 Oden Eriksson <oeriksson@mandriva.com> 1.4.5-1mdv2007.0 + Revision: 121441 - Import asterisk-core-sounds-en * Thu Feb 15 2007 Oden Eriksson <oeriksson@mandriva.com> 1.4.5-1mdv2007.1 - initial Mandriva package