%undefine __find_provides %undefine __find_requires Summary: Spanish sound files for the Asterisk PBX and telephony application and toolkit Name: asterisk-core-sounds-es Version: 1.4.15 Release: %mkrel 1 License: Public Domain 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 Provides: asterisk-core-sounds 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 music 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 rm -rf %{buildroot} install -d %{buildroot}/var/lib/asterisk/sounds/es cp -aRf * %{buildroot}/var/lib/asterisk/sounds/es/ # cleanup #rm -f %{buildroot}/var/lib/asterisk/sounds/*-asterisk-core-*-%{version} # make a file list find %{buildroot}/var/lib/asterisk/sounds -type f | sed -e "s|%{buildroot}||" | sed -e 's/^/%attr(0644,root,root) /' >> %{name}.filelist %clean rm -rf %{buildroot} %files -f %{name}.filelist %defattr(-,root, root) %doc *-asterisk-core-*-%{version} %changelog * Mon Mar 30 2009 Lonyai Gergely <aleph@mandriva.org> 1.4.15-1mdv2009.1 + Revision: 362491 - Update: 1.4.15 * Wed Mar 18 2009 Lonyai Gergely <aleph@mandriva.org> 1.4.14-2mdv2009.1 + Revision: 356994 - asterisk-core-sounds-es-1.4.14-2mdv2009.1 - asterisk-core-sounds-es-1.4.14-2mdv2009.1 * Thu Feb 19 2009 Lonyai Gergely <aleph@mandriva.org> 1.4.14-1mdv2009.1 + Revision: 343016 - asterisk-core-sounds-en-1.4.14-1mdv2009.1 * Thu Dec 11 2008 Oden Eriksson <oeriksson@mandriva.com> 1.4.13-2mdv2009.1 + Revision: 313459 - adjust path for asterisk 1.6.x * Tue Oct 14 2008 Oden Eriksson <oeriksson@mandriva.com> 1.4.13-1mdv2009.1 + Revision: 293638 - 1.4.13 - 1.4.12 * Thu Aug 07 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.4.11-2mdv2009.0 + Revision: 266197 - 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: 192509 - 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: 84044 - rebuild * Thu Feb 15 2007 Oden Eriksson <oeriksson@mandriva.com> 1.4.5-1mdv2007.0 + Revision: 121450 - Import asterisk-core-sounds-es * Thu Feb 15 2007 Oden Eriksson <oeriksson@mandriva.com> 1.4.5-1mdv2007.1 - initial Mandriva package