Automatic import for version 20091226

This commit is contained in:
Rosa 2012-02-01 22:19:06 +04:00
commit 6430d7e4c5
2 changed files with 107 additions and 0 deletions

10
.abf.yml Normal file
View file

@ -0,0 +1,10 @@
sources:
"asterisk-moh-opsound-alaw.tar.gz": 297a53a16da18c8c507a8a83de4ce6252fee113a
"asterisk-moh-opsound-g722.tar.gz": ae5a0ebef5c24aa14abc5eca7e65c76451768035
"asterisk-moh-opsound-g729.tar.gz": 41e47e8a063561d663c216a0118090204103e9c6
"asterisk-moh-opsound-gsm.tar.gz": 0d58a6db46ba2d1effe50a3dd6afaa084f548621
"asterisk-moh-opsound-siren14.tar.gz": de00a375dfec12b863a362a5f9f6f2a2f0e60365
"asterisk-moh-opsound-siren7.tar.gz": 2b1e51bcf912f4bb1e493496de46c64e1e1f4bd0
"asterisk-moh-opsound-sln16.tar.gz": b20fd1a9d3d6a5f51c52bbffed784b7a2369f4cc
"asterisk-moh-opsound-ulaw.tar.gz": 9a76ab8df3e4f704a7d5760a08d0bf38282e9bde
"asterisk-moh-opsound-wav.tar.gz": f40fd6ea03dfe8d72ada2540b2288bfdc006381d

97
asterisk-moh-opsound.spec Normal file
View file

@ -0,0 +1,97 @@
%undefine __find_provides
%undefine __find_requires
Summary: Free music files for the Asterisk PBX and telephony application and toolkit
Name: asterisk-moh-opsound
Version: 20091226
Release: %mkrel 2
License: GPL
Group: System/Servers
URL: http://www.asterisk.org/
#for I in alaw g722 g729 gsm siren7 siren14 sln16 ulaw wav ; do wget -c http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-moh-opsound-$I.tar.gz -P SOURCES ; done
Source0: http://downloads.asterisk.org/pub/telephony/sounds/releases/%{name}-alaw.tar.gz
Source1: http://downloads.asterisk.org/pub/telephony/sounds/releases/%{name}-g722.tar.gz
Source2: http://downloads.asterisk.org/pub/telephony/sounds/releases/%{name}-g729.tar.gz
Source3: http://downloads.asterisk.org/pub/telephony/sounds/releases/%{name}-gsm.tar.gz
Source4: http://downloads.asterisk.org/pub/telephony/sounds/releases/%{name}-siren7.tar.gz
Source5: http://downloads.asterisk.org/pub/telephony/sounds/releases/%{name}-siren14.tar.gz
Source6: http://downloads.asterisk.org/pub/telephony/sounds/releases/%{name}-sln16.tar.gz
Source7: http://downloads.asterisk.org/pub/telephony/sounds/releases/%{name}-ulaw.tar.gz
Source8: http://downloads.asterisk.org/pub/telephony/sounds/releases/%{name}-wav.tar.gz
Requires: asterisk
Provides: asterisk-moh, asterisk-moh-freeplay
Obsoletes: asterisk-moh-freeplay
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 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 %{name} -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
mv CHANGES-asterisk-moh-opsound-wav CHANGES
mv CREDITS-asterisk-moh-opsound-wav CREDITS
mv LICENSE-asterisk-moh-opsound-wav LICENSE
%install
rm -rf %{buildroot}
install -d %{buildroot}/var/lib/asterisk/moh
cp -aRf * %{buildroot}/var/lib/asterisk/moh/
# cleanup
rm -f %{buildroot}/var/lib/asterisk/moh/{CHANGES,CREDITS,LICENSE}*
# make a file list
find %{buildroot}/var/lib/asterisk/moh -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 CHANGES CREDITS LICENSE
%changelog
* Sun Dec 05 2010 Oden Eriksson <oeriksson@mandriva.com> 20091226-2mdv2011.0
+ Revision: 610000
- rebuild
* Wed Jan 06 2010 Lonyai Gergely <aleph@mandriva.org> 20091226-1mdv2010.1
+ Revision: 486659
- Date: 20091226
Version: 2.03
* Wed Aug 19 2009 Lonyai Gergely <aleph@mandriva.org> 20090818-1mdv2010.0
+ Revision: 417941
- initial package
- create asterisk-moh-opsound