- BR: iconv
[packages/asterisk-sounds-extra.git] / asterisk-sounds-extra.spec
index 58f3e6ac51761e2cc6b59441629c5d8a37745a58..1224f21419ac0a806f5276d2271f12df6e773246 100644 (file)
@@ -1,64 +1,47 @@
 Summary:       Extra sounds for Asterisk
 Name:          asterisk-sounds-extra
-Version:       1.4.10
+Version:       1.4.11
 Release:       1
 License:       CC-BY-SA
 Group:         Applications/Sound
 URL:           http://www.asterisk.org/
 Source0:       http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-extra-sounds-en-alaw-%{version}.tar.gz
-# Source0-md5: 7c5ad7b9c2655ccd98828243863f180d
+# Source0-md5: 3a0bfe79e9e83d12a4b519dab1dc4c48
 Source1:       http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-extra-sounds-en-g722-%{version}.tar.gz
-# Source1-md5: 1a2f12214dc03e9e1e2b0d44261e308e
+# Source1-md5: be2bfa1ab8e52ed334798d11549653b1
 Source2:       http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-extra-sounds-en-g729-%{version}.tar.gz
-# Source2-md5: 74b71c02221280724e6116a7e5577501
+# Source2-md5: ae5e738ab6b2b15834a907cdd982cb77
 Source3:       http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-extra-sounds-en-gsm-%{version}.tar.gz
-# Source3-md5: 4c2af649a7c8df071c0da9629f6b00dc
+# Source3-md5: 5479cb4cb81d678304d96f35e4933a11
 Source4:       http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-extra-sounds-en-siren7-%{version}.tar.gz
-# Source4-md5: 372f0a94f0dbca228340bf7358bdf043
+# Source4-md5: 38326a003d905fea32f4cad3b075ee0d
 Source5:       http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-extra-sounds-en-siren14-%{version}.tar.gz
-# Source5-md5: 9be32e54b3ab15dfc0435f4c691948c0
+# Source5-md5: cf518c3b4e8293680377a312d365e095
 Source6:       http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-extra-sounds-en-sln16-%{version}.tar.gz
-# Source6-md5: 85adbb9798c85b8dbc445d2aa6030e92
+# Source6-md5: 1ed34b754c9729f45a290441d458eede
 Source7:       http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-extra-sounds-en-ulaw-%{version}.tar.gz
-# Source7-md5: 69fab2dafe53e16a944e093f978fb02b
+# Source7-md5: 556a9b77235194644d6a7f7068d3ddaa
 Source8:       http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-extra-sounds-en-wav-%{version}.tar.gz
-# Source8-md5: 9a220b2d2f04f750719662d9ffc4034f
-#Source10:     http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-extra-sounds-es-alaw-%{version}.tar.gz
-## Source10-md5:       b0e8b6f39564a0d5f6d65a15994d26e2
-#Source11:     http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-extra-sounds-es-g722-%{version}.tar.gz
-## Source11-md5:       e0d1ddd6704e6f09c02b9ec2b0c4d340
-#Source12:     http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-extra-sounds-es-g729-%{version}.tar.gz
-## Source12-md5:       8c515c13ea40061509a93e2a601e2aeb
-#Source13:     http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-extra-sounds-es-gsm-%{version}.tar.gz
-## Source13-md5:       618fce9e53e3da2e7355a1b6d37df94d
-#Source14:     http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-extra-sounds-es-siren7-%{version}.tar.gz
-## Source14-md5:       4f2d65211bf6c607403348a45511d8d4
-#Source15:     http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-extra-sounds-es-siren14-%{version}.tar.gz
-## Source15-md5:       ffe3bc356ff2b1760c961d5a7d217396
-#Source16:     http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-extra-sounds-es-sln16-%{version}.tar.gz
-## Source16-md5:       337e5fe779a33a47cb4bd7403865d1d0
-#Source17:     http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-extra-sounds-es-ulaw-%{version}.tar.gz
-## Source17-md5:       bb81ed607e78dfbe6e9682287fb564a3
-#Source18:     http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-extra-sounds-es-wav-%{version}.tar.gz
-## Source18-md5:       5973a86090c58cf963c3a59c74eac0e1
+# Source8-md5: 1dff0265f8051d4ee44d6772bd93d528
 Source20:      http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-extra-sounds-fr-alaw-%{version}.tar.gz
-# Source20-md5:        a382b6a4b264570134551134431e76a7
+# Source20-md5:        6423eeab5fa32797f318147095bdfbb1
 Source21:      http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-extra-sounds-fr-g722-%{version}.tar.gz
-# Source21-md5:        6f6b2cb44a0624d209d574438adc89f1
+# Source21-md5:        3253a6c1ff07301f63b069aaa911c132
 Source22:      http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-extra-sounds-fr-g729-%{version}.tar.gz
-# Source22-md5:        9d68d59f251bbb0b3fdce21f6a324c77
+# Source22-md5:        a06e5e08335df9d2ec2617095998b638
 Source23:      http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-extra-sounds-fr-gsm-%{version}.tar.gz
-# Source23-md5:        f71dc7e574c640da80c21ed74323e8de
+# Source23-md5:        bd72c1f57f9e1ab64ee109612aa2ae7b
 Source24:      http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-extra-sounds-fr-siren7-%{version}.tar.gz
-# Source24-md5:        49d0f781cecf0ed9fc890b22fdf72a1c
+# Source24-md5:        64b4115558eeb1d0d501f9da96852eff
 Source25:      http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-extra-sounds-fr-siren14-%{version}.tar.gz
-# Source25-md5:        38bad8bea6d915114d4000d3c1bda1db
+# Source25-md5:        4e1daf6f7f1e74447719ef070cdcab39
 Source26:      http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-extra-sounds-fr-sln16-%{version}.tar.gz
-# Source26-md5:        c5948b2cba26191556a705812c2fed79
+# Source26-md5:        76e559d433fba3b0017d4a5635319b86
 Source27:      http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-extra-sounds-fr-ulaw-%{version}.tar.gz
-# Source27-md5:        8cf5b202fa43e75ecd9b248c8e523f96
+# Source27-md5:        7b2050a9e2363104b12f7394ca2db8d1
 Source28:      http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-extra-sounds-fr-wav-%{version}.tar.gz
-# Source28-md5:        9872204d353bf516edbb028929b34d83
+# Source28-md5:        e7836238d8d74dcecf72f384731217f9
+BuildRequires: iconv
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -165,104 +148,6 @@ Provides: asterisk-sounds-extra = %{version}-%{release}
 %description en-wav
 Extra English WAV sound files for Asterisk.
 
-%package es
-Summary:       Extra Spanish sound files for Asterisk
-Group:         Applications/Sound
-Requires:      asterisk >= 1.4.0
-
-%description es
-Extra Spanish sound files for Asterisk.
-
-%package es-alaw
-Summary:       Extra Spanish ALAW sound files for Asterisk
-Group:         Applications/Sound
-Requires:      asterisk >= 1.4.0
-Requires:      asterisk-sounds-extra-es = %{version}-%{release}
-Provides:      asterisk-sounds-extra = %{version}-%{release}
-
-%description es-alaw
-Extra Spanish ALAW sound files for Asterisk.
-
-%package es-g722
-Summary:       Extra Spanish G.722 sound files for Asterisk
-Group:         Applications/Sound
-Requires:      asterisk >= 1.4.0
-Requires:      asterisk-sounds-extra-es = %{version}-%{release}
-Provides:      asterisk-sounds-extra = %{version}-%{release}
-
-%description es-g722
-Extra Spanish G.722 sound files for Asterisk.
-
-%package es-g729
-Summary:       Extra Spanish G.729 sound files for Asterisk
-Group:         Applications/Sound
-Requires:      asterisk >= 1.4.0
-Requires:      asterisk-sounds-extra-es = %{version}-%{release}
-Provides:      asterisk-sounds-extra = %{version}-%{release}
-
-%description es-g729
-Extra Spanish G.729 sound files for Asterisk.
-
-%package es-gsm
-Summary:       Extra Spanish GSM sound files for Asterisk
-Group:         Applications/Sound
-Requires:      asterisk >= 1.4.0
-Requires:      asterisk-sounds-extra-es = %{version}-%{release}
-Provides:      asterisk-sounds-extra = %{version}-%{release}
-
-%description es-gsm
-Extra Spanish GSM sound files for Asterisk.
-
-%package es-siren7
-Summary:       Extra Spanish Siren7 sound files for Asterisk
-Group:         Applications/Sound
-Requires:      asterisk >= 1.4.0
-Requires:      asterisk-sounds-extra-es = %{version}-%{release}
-Provides:      asterisk-sounds-extra = %{version}-%{release}
-
-%description es-siren7
-Extra Spanish Siren7 sound files for Asterisk.
-
-%package es-siren14
-Summary:       Extra Spanish Siren14 sound files for Asterisk
-Group:         Applications/Sound
-Requires:      asterisk >= 1.4.0
-Requires:      asterisk-sounds-extra-es = %{version}-%{release}
-Provides:      asterisk-sounds-extra = %{version}-%{release}
-
-%description es-siren14
-Extra Spanish Siren14 sound files for Asterisk.
-
-%package es-sln16
-Summary:       Extra Spanish SLN16 sound files for Asterisk
-Group:         Applications/Sound
-Requires:      asterisk >= 1.4.0
-Requires:      asterisk-sounds-extra-es = %{version}-%{release}
-Provides:      asterisk-sounds-extra = %{version}-%{release}
-
-%description es-sln16
-Extra Spanish SLN16 sound files for Asterisk.
-
-%package es-ulaw
-Summary:       Extra Spanish ULAW sound files for Asterisk
-Group:         Applications/Sound
-Requires:      asterisk >= 1.4.0
-Requires:      asterisk-sounds-extra-es = %{version}-%{release}
-Provides:      asterisk-sounds-extra = %{version}-%{release}
-
-%description es-ulaw
-Extra Spanish ULAW sound files for Asterisk.
-
-%package es-wav
-Summary:       Extra Spanish WAV sound files for Asterisk
-Group:         Applications/Sound
-Requires:      asterisk >= 1.4.0
-Requires:      asterisk-sounds-extra-es = %{version}-%{release}
-Provides:      asterisk-sounds-extra = %{version}-%{release}
-
-%description es-wav
-Extra Spanish WAV sound files for Asterisk.
-
 %package fr
 Summary:       Extra English sound files for Asterisk
 Group:         Applications/Sound
@@ -362,7 +247,7 @@ Provides:   asterisk-sounds-extra = %{version}-%{release}
 Extra French WAV sound files for Asterisk.
 
 %prep
-%setup -q -c -T
+%setup -qcT
 
 if [ -f /proc/$PPID/environ ]; then
        # import env from parent process
@@ -379,12 +264,6 @@ for file in %{S:0} %{S:1} %{S:2} %{S:3} %{S:4} %{S:5} %{S:6} %{S:7} %{S:8}; do
        tar --extract --directory . --file $file
 done
 
-#mkdir es
-#for file in %{S:10} %{S:11} %{S:12} %{S:13} %{S:14} %{S:15} %{S:16} %{S:17} %{S:18}; do
-#      tar --list --file $file | grep -E '.(alaw|g722|g729|gsm|siren7|siren14|sln16|ulaw|wav)$' | sed -e 's!^!%{sounds_dir}/es/!' > `basename $file .tar.gz`.list
-#      tar --extract --directory ./es/ --file $file
-#done
-
 mkdir fr
 for file in %{S:20} %{S:21} %{S:22} %{S:23} %{S:24} %{S:25} %{S:26} %{S:27} %{S:28}; do
        tar --list --file $file | grep -E '.(alaw|g722|g729|gsm|siren7|siren14|sln16|ulaw|wav)$' | sed -e 's!^!%{sounds_dir}/fr/!' > `basename $file .tar.gz`.list
@@ -397,7 +276,7 @@ mv fr/extra-sounds-fr.txt.tmp fr/extra-sounds-fr.txt
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{sounds_dir}/{,es,fr}
+install -d $RPM_BUILD_ROOT%{sounds_dir}/{,fr}
 
 for file in $(cat *.list | sed -e 's!^%{sounds_dir}/!!'); do
        install -d $RPM_BUILD_ROOT%{sounds_dir}/$(dirname $file)
@@ -411,8 +290,8 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc extra-sounds-en.txt
 %doc CHANGES-asterisk-extra-en-%{version}
-%dir %{sounds_dir}/ha/
-%dir %{sounds_dir}/wx/
+%dir %{sounds_dir}/ha
+%dir %{sounds_dir}/wx
 
 %files en-alaw -f asterisk-extra-sounds-en-alaw-%{version}.list
 %defattr(644,root,root,755)
@@ -450,53 +329,6 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc asterisk-extra-sounds-en-wav-%{version}.list
 
-%if 0
-%files es
-%defattr(644,root,root,755)
-%doc es/extra-sounds-es.txt
-%doc es/CHANGES-asterisk-extra-es-%{version}
-%doc es/CREDITS-asterisk-extra-es-%{version}
-%doc es/LICENSE-asterisk-extra-es-%{version}
-%dir %{sounds_dir}/es/ha/
-%dir %{sounds_dir}/es/wx/
-
-%files es-alaw -f asterisk-extra-sounds-es-alaw-%{version}.list
-%defattr(644,root,root,755)
-%doc asterisk-extra-sounds-es-alaw-%{version}.list
-
-%files es-g722 -f asterisk-extra-sounds-es-g722-%{version}.list
-%defattr(644,root,root,755)
-%doc asterisk-extra-sounds-es-g722-%{version}.list
-
-%files es-g729 -f asterisk-extra-sounds-es-g729-%{version}.list
-%defattr(644,root,root,755)
-%doc asterisk-extra-sounds-es-g729-%{version}.list
-
-%files es-gsm -f asterisk-extra-sounds-es-gsm-%{version}.list
-%defattr(644,root,root,755)
-%doc asterisk-extra-sounds-es-gsm-%{version}.list
-
-%files es-siren7 -f asterisk-extra-sounds-es-siren7-%{version}.list
-%defattr(644,root,root,755)
-%doc asterisk-extra-sounds-es-siren7-%{version}.list
-
-%files es-siren14 -f asterisk-extra-sounds-es-siren14-%{version}.list
-%defattr(644,root,root,755)
-%doc asterisk-extra-sounds-es-siren14-%{version}.list
-
-%files es-sln16 -f asterisk-extra-sounds-es-sln16-%{version}.list
-%defattr(644,root,root,755)
-%doc asterisk-extra-sounds-es-sln16-%{version}.list
-
-%files es-ulaw -f asterisk-extra-sounds-es-ulaw-%{version}.list
-%defattr(644,root,root,755)
-%doc asterisk-extra-sounds-es-ulaw-%{version}.list
-
-%files es-wav -f asterisk-extra-sounds-es-wav-%{version}.list
-%defattr(644,root,root,755)
-%doc asterisk-extra-sounds-es-wav-%{version}.list
-%endif
-
 %files fr
 %defattr(644,root,root,755)
 %doc fr/extra-sounds-fr.txt
@@ -504,8 +336,8 @@ rm -rf $RPM_BUILD_ROOT
 %doc fr/CHANGES-asterisk-extra-fr-1.4.txt
 %doc fr/CREDITS-core-extra-fr.txt
 %doc fr/MISSING.txt
-%dir %{sounds_dir}/fr/ha/
-%dir %{sounds_dir}/fr/wx/
+%dir %{sounds_dir}/fr/ha
+%dir %{sounds_dir}/fr/wx
 
 %files fr-alaw -f asterisk-extra-sounds-fr-alaw-%{version}.list
 %defattr(644,root,root,755)
This page took 0.19725 seconds and 4 git commands to generate.