asterisk/asterisk.spec

changeset 398
08f5eb82b58f
parent 362
7c568c62ffb3
child 399
9360a38b5c9f
equal deleted inserted replaced
7:c53591eb465c 8:a8e47a1398b7
20 ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 20 ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
21 ## SUCH DAMAGE. 21 ## SUCH DAMAGE.
22 ## 22 ##
23 23
24 # package version 24 # package version
25 %define V_opkg 1.8.6.0 25 %define V_opkg 1.8.7.1
26 %define V_asterisk 1.8.6.0 26 %define V_asterisk 1.8.7.1
27 %define V_asterisk_fax_subdir 1.8.4 27 %define V_asterisk_fax_subdir 1.8.4
28 %define V_asterisk_fax_digium 1.8.4_1.3.0 28 %define V_asterisk_fax_digium 1.8.4_1.3.0
29 %define V_asterisk_sounds_core 1.4.21 29 %define V_asterisk_sounds_core 1.4.22
30 %define V_asterisk_sounds_extra 1.4.11 30 %define V_asterisk_sounds_extra 1.4.11
31 %define V_asterisk_sounds_amoogab 1.4 31 %define V_asterisk_sounds_amoogab 1.4
32 %define V_asterisk_sounds_amootts current 32 %define V_asterisk_sounds_amootts current
33 %define V_asterisk_sounds_custom 1.0 33 %define V_asterisk_sounds_custom 1.0
34 %define V_asterisk_sounds_mohop 2.03 34 %define V_asterisk_sounds_mohop 2.03
35 %define V_asterisk_addons_mp3dec 1 35 %define V_asterisk_addons_mp3dec 1
36 %define V_fswitch_sounds_en 1.0.16 36 %define V_fswitch_sounds_en 1.0.16
37 %define V_fswitch_sounds_fr 1.0.14
37 %define V_fswitch_sounds_ru 1.0.13 38 %define V_fswitch_sounds_ru 1.0.13
38 %define V_fswitch_music 1.0.8 39 %define V_fswitch_music 1.0.8
39 %define V_asterisk_codecs_ilbc 20110104 40 %define V_asterisk_codecs_ilbc 20110104
40 %define V_chan_capi 1.1.5.20110914 41 %define V_chan_capi 1.1.5.20110914
41 42
48 Distribution: OpenPKG Community 49 Distribution: OpenPKG Community
49 Class: BASE 50 Class: BASE
50 Group: VoIP 51 Group: VoIP
51 License: GPL 52 License: GPL
52 Version: %{V_opkg} 53 Version: %{V_opkg}
53 Release: 20110916 54 Release: 20111100
54 55
55 # package options 56 # package options
56 %option with_dahdi no 57 %option with_dahdi no
57 %option with_capi no 58 %option with_capi no
58 %option with_ogg no 59 %option with_ogg no
93 Source14: http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-core-sounds-ru-sln16-%{V_asterisk_sounds_core}.tar.gz.sha1 94 Source14: http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-core-sounds-ru-sln16-%{V_asterisk_sounds_core}.tar.gz.sha1
94 Source15: http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-extra-sounds-en-sln16-%{V_asterisk_sounds_extra}.tar.gz 95 Source15: http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-extra-sounds-en-sln16-%{V_asterisk_sounds_extra}.tar.gz
95 Source16: http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-extra-sounds-en-sln16-%{V_asterisk_sounds_extra}.tar.gz.sha1 96 Source16: http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-extra-sounds-en-sln16-%{V_asterisk_sounds_extra}.tar.gz.sha1
96 Source16: http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-extra-sounds-fr-sln16-%{V_asterisk_sounds_extra}.tar.gz 97 Source16: http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-extra-sounds-fr-sln16-%{V_asterisk_sounds_extra}.tar.gz
97 Source17: http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-extra-sounds-fr-sln16-%{V_asterisk_sounds_extra}.tar.gz.sha1 98 Source17: http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-extra-sounds-fr-sln16-%{V_asterisk_sounds_extra}.tar.gz.sha1
98
99 Source18: http://www.amooma.de/asterisk/sprachbausteine/asterisk-%{V_asterisk_sounds_amoogab}-de-prompts.tar.gz 99 Source18: http://www.amooma.de/asterisk/sprachbausteine/asterisk-%{V_asterisk_sounds_amoogab}-de-prompts.tar.gz
100 Source19: http://www.amooma.de/asterisk/sprachbausteine/asterisk-core-sounds-de-gsm-current.tar.gz 100 Source19: http://www.amooma.de/asterisk/sprachbausteine/asterisk-core-sounds-de-gsm-current.tar.gz
101 Source20: ftp://ftp.europalab.com/pub/sfw/machsnds/de-digits/de-digits-%{V_asterisk_sounds_custom}.tar.bz2 101 Source20: ftp://ftp.europalab.com/pub/sfw/machsnds/de-digits/de-digits-%{V_asterisk_sounds_custom}.tar.bz2
102 Source21: ftp://ftp.europalab.com/pub/sfw/machsnds/de-sounds/astmultisnds-de-sln16-%{V_asterisk_sounds_custom}.tar.bz2 102 Source21: ftp://ftp.europalab.com/pub/sfw/machsnds/de-sounds/astmultisnds-de-sln16-%{V_asterisk_sounds_custom}.tar.bz2
103 Source22: ftp://ftp.europalab.com/pub/sfw/machsnds/msvbsnds-sln16-%{V_asterisk_sounds_custom}.tar.bz2 103 Source22: ftp://ftp.europalab.com/pub/sfw/machsnds/msvbsnds-sln16-%{V_asterisk_sounds_custom}.tar.bz2
104 Source23: http://files.freeswitch.org/freeswitch-sounds-en-us-callie-48000-%{V_fswitch_sounds_en}.tar.gz 104 Source23: http://files.freeswitch.org/freeswitch-sounds-en-us-callie-48000-%{V_fswitch_sounds_en}.tar.gz
105 Source24: http://files.freeswitch.org/freeswitch-sounds-es-mx-maria-44100.tar.gz 105 Source24: http://files.freeswitch.org/freeswitch-sounds-es-mx-maria-44100.tar.gz
106 Source25: http://files.freeswitch.org/freeswitch-sounds-ru-RU-elena-48000-%{V_fswitch_sounds_ru}.tar.gz 106 Source25: http://files.freeswitch.org/freeswitch-sounds-fr-ca-june-48000-%{V_fswitch_sounds_fr}.tar.gz
107 Source26: http://files.freeswitch.org/freeswitch-sounds-music-48000-%{V_fswitch_music}.tar.gz 107 Source26: http://files.freeswitch.org/freeswitch-sounds-ru-RU-elena-48000-%{V_fswitch_sounds_ru}.tar.gz
108 Source27: http://svn.digium.com/svn/thirdparty/mp3/trunk/addons/mp3-%{V_asterisk_addons_mp3dec}.tar.gz 108 Source27: http://files.freeswitch.org/freeswitch-sounds-music-48000-%{V_fswitch_music}.tar.gz
109 Source28: http://downloads.digium.com/pub/telephony/fax/res_fax_digium/asterisk-%{V_asterisk_fax_subdir}/x86-64/res_fax_digium-%{V_asterisk_fax_digium}-generic_64.tar.gz 109 Source28: http://svn.digium.com/svn/thirdparty/mp3/trunk/addons/mp3-%{V_asterisk_addons_mp3dec}.tar.gz
110 Source29: http://downloads.digium.com/pub/telephony/fax/res_fax_digium/asterisk-%{V_asterisk_fax_subdir}/x86-32/res_fax_digium-%{V_asterisk_fax_digium}-generic_32.tar.gz 110 Source29: http://downloads.digium.com/pub/telephony/fax/res_fax_digium/asterisk-%{V_asterisk_fax_subdir}/x86-64/res_fax_digium-%{V_asterisk_fax_digium}-generic_64.tar.gz
111 Source30: ilbc-20110104.tar.gz 111 Source30: http://downloads.digium.com/pub/telephony/fax/res_fax_digium/asterisk-%{V_asterisk_fax_subdir}/x86-32/res_fax_digium-%{V_asterisk_fax_digium}-generic_32.tar.gz
112 Source31: asterisk.txt 112 Source31: ilbc-20110104.tar.gz
113 Source32: rc.asterisk 113 Source32: asterisk.txt
114 Source33: wakeup.agi 114 Source33: rc.asterisk
115 Source34: wakeup.agi
115 Patch0: asterisk.patch 116 Patch0: asterisk.patch
116 Patch1: asterisk.patch.xfersips 117 Patch1: asterisk.patch.xfersips
117 Patch2: asterisk.patch.proxymwi 118 Patch2: asterisk.patch.proxymwi
118 119
119 # build information 120 # build information
290 %{l_shtool} subst \ 291 %{l_shtool} subst \
291 -e 's;ffmpeg/avcodec\.h;libavcodec/avcodec.h;' \ 292 -e 's;ffmpeg/avcodec\.h;libavcodec/avcodec.h;' \
292 -e 's;\(sqlite\)\(_exec\);\13\2;g' \ 293 -e 's;\(sqlite\)\(_exec\);\13\2;g' \
293 -e 's;-lradiusclient-ng;-lradiusclient;g' \ 294 -e 's;-lradiusclient-ng;-lradiusclient;g' \
294 -e 's;radiusclient-ng\.h;radiusclient.h;g' \ 295 -e 's;radiusclient-ng\.h;radiusclient.h;g' \
296 -e 's;lua5\.1;lua;g' \
295 -e 's;-I${IMAP_TK_DIR}/c-client;-DUSE_SYSTEM_IMAP -I${IMAP_TK_DIR}/include/imap;g' \ 297 -e 's;-I${IMAP_TK_DIR}/c-client;-DUSE_SYSTEM_IMAP -I${IMAP_TK_DIR}/include/imap;g' \
296 -e 's;${IMAP_TK_DIR}/c-client/c-client\.a;-limap -lssl -lcrypto -lcrypt;g' \ 298 -e 's;${IMAP_TK_DIR}/c-client/c-client\.a;-limap -lssl -lcrypto -lcrypt;g' \
297 configure 299 configure
298 %{l_shtool} subst \ 300 %{l_shtool} subst \
299 -e 's;\(sh\) \(bash\) ksh sh5;\2 \1;' \ 301 -e 's;\(sh\) \(bash\) ksh sh5;\2 \1;' \

mercurial