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.4.2 |
25 %define V_opkg 1.8.6.0 |
26 %define V_asterisk 1.8.4.2 |
26 %define V_asterisk 1.8.6.0 |
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.21 |
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.14 |
36 %define V_fswitch_sounds_en 1.0.16 |
37 %define V_fswitch_sounds_ru 1.0.12 |
37 %define V_fswitch_sounds_ru 1.0.13 |
38 %define V_fswitch_music 1.0.8 |
38 %define V_fswitch_music 1.0.8 |
39 %define V_asterisk_codecs_ilbc 20110104 |
39 %define V_asterisk_codecs_ilbc 20110104 |
40 %define V_chan_capi 1.1.5.919 |
40 %define V_chan_capi 1.1.5.20110914 |
41 |
41 |
42 # package information |
42 # package information |
43 Name: asterisk |
43 Name: asterisk |
44 Summary: Private Branch Exchange (PBX) |
44 Summary: Private Branch Exchange (PBX) |
45 URL: http://www.asterisk.org/ |
45 URL: http://www.asterisk.org/ |
76 |
76 |
77 # list of sources |
77 # list of sources |
78 Source0: http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-%{V_asterisk}.tar.gz |
78 Source0: http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-%{V_asterisk}.tar.gz |
79 Source1: ftp://ftp.chan-capi.org/chan-capi/chan_capi-%{V_chan_capi}.tar.gz |
79 Source1: ftp://ftp.chan-capi.org/chan-capi/chan_capi-%{V_chan_capi}.tar.gz |
80 Source2: ftp://ftp.europalab.com/pub/sfw/machsnds/asterisk-moh-freeplay-sln16.tar.gz |
80 Source2: ftp://ftp.europalab.com/pub/sfw/machsnds/asterisk-moh-freeplay-sln16.tar.gz |
|
81 |
81 Source3: http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-moh-opsound-sln16-%{V_asterisk_sounds_mohop}.tar.gz |
82 Source3: http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-moh-opsound-sln16-%{V_asterisk_sounds_mohop}.tar.gz |
82 Source4: http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-core-sounds-en-sln16-%{V_asterisk_sounds_core}.tar.gz |
83 Source4: http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-moh-opsound-sln16-%{V_asterisk_sounds_mohop}.tar.gz.sha1 |
83 Source5: http://downloads.asterisk.org/pub/telephony/sounds/asterisk-core-sounds-en_AU-sln16-current.tar.gz |
84 Source5: http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-core-sounds-en-sln16-%{V_asterisk_sounds_core}.tar.gz |
84 Source6: http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-core-sounds-es-sln16-%{V_asterisk_sounds_core}.tar.gz |
85 Source6: http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-core-sounds-en-sln16-%{V_asterisk_sounds_core}.tar.gz.sha1 |
85 Source7: http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-core-sounds-fr-sln16-%{V_asterisk_sounds_core}.tar.gz |
86 Source7: http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-core-sounds-es-sln16-%{V_asterisk_sounds_core}.tar.gz |
86 Source8: http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-extra-sounds-en-sln16-%{V_asterisk_sounds_extra}.tar.gz |
87 Source8: http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-core-sounds-es-sln16-%{V_asterisk_sounds_core}.tar.gz.sha1 |
87 Source9: http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-extra-sounds-fr-sln16-%{V_asterisk_sounds_extra}.tar.gz |
88 Source9: http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-core-sounds-en_AU-sln16-%{V_asterisk_sounds_core}.tar.gz |
88 Source10: http://www.amooma.de/asterisk/sprachbausteine/asterisk-%{V_asterisk_sounds_amoogab}-de-prompts.tar.gz |
89 Source10: http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-core-sounds-en_AU-sln16-%{V_asterisk_sounds_core}.tar.gz.sha1 |
89 Source11: http://www.amooma.de/asterisk/sprachbausteine/asterisk-core-sounds-de-gsm-current.tar.gz |
90 Source11: http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-core-sounds-fr-sln16-%{V_asterisk_sounds_core}.tar.gz |
90 Source12: ftp://ftp.europalab.com/pub/sfw/machsnds/de-digits/de-digits-%{V_asterisk_sounds_custom}.tar.bz2 |
91 Source12: http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-core-sounds-fr-sln16-%{V_asterisk_sounds_core}.tar.gz.sha1 |
91 Source13: ftp://ftp.europalab.com/pub/sfw/machsnds/de-sounds/astmultisnds-de-sln16-%{V_asterisk_sounds_custom}.tar.bz2 |
92 Source13: http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-core-sounds-ru-sln16-%{V_asterisk_sounds_core}.tar.gz |
92 Source14: ftp://ftp.europalab.com/pub/sfw/machsnds/msvbsnds-sln16-%{V_asterisk_sounds_custom}.tar.bz2 |
93 Source14: http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-core-sounds-ru-sln16-%{V_asterisk_sounds_core}.tar.gz.sha1 |
93 Source15: http://files.freeswitch.org/freeswitch-sounds-en-us-callie-48000-%{V_fswitch_sounds_en}.tar.gz |
94 Source15: http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-extra-sounds-en-sln16-%{V_asterisk_sounds_extra}.tar.gz |
94 Source16: http://files.freeswitch.org/freeswitch-sounds-es-mx-maria-44100.tar.gz |
95 Source16: http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-extra-sounds-en-sln16-%{V_asterisk_sounds_extra}.tar.gz.sha1 |
95 Source17: http://files.freeswitch.org/freeswitch-sounds-ru-RU-elena-48000-%{V_fswitch_sounds_ru}.tar.gz |
96 Source16: http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-extra-sounds-fr-sln16-%{V_asterisk_sounds_extra}.tar.gz |
96 Source18: http://files.freeswitch.org/freeswitch-sounds-music-48000-%{V_fswitch_music}.tar.gz |
97 Source17: http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-extra-sounds-fr-sln16-%{V_asterisk_sounds_extra}.tar.gz.sha1 |
97 Source19: http://svn.digium.com/svn/thirdparty/mp3/trunk/addons/mp3-%{V_asterisk_addons_mp3dec}.tar.gz |
98 |
98 Source20: 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 |
99 Source18: http://www.amooma.de/asterisk/sprachbausteine/asterisk-%{V_asterisk_sounds_amoogab}-de-prompts.tar.gz |
99 Source21: 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 |
100 Source19: http://www.amooma.de/asterisk/sprachbausteine/asterisk-core-sounds-de-gsm-current.tar.gz |
100 Source22: ilbc-20110104.tar.gz |
101 Source20: ftp://ftp.europalab.com/pub/sfw/machsnds/de-digits/de-digits-%{V_asterisk_sounds_custom}.tar.bz2 |
101 Source23: asterisk.txt |
102 Source21: ftp://ftp.europalab.com/pub/sfw/machsnds/de-sounds/astmultisnds-de-sln16-%{V_asterisk_sounds_custom}.tar.bz2 |
102 Source24: rc.asterisk |
103 Source22: ftp://ftp.europalab.com/pub/sfw/machsnds/msvbsnds-sln16-%{V_asterisk_sounds_custom}.tar.bz2 |
103 Source25: wakeup.agi |
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 |
|
106 Source25: http://files.freeswitch.org/freeswitch-sounds-ru-RU-elena-48000-%{V_fswitch_sounds_ru}.tar.gz |
|
107 Source26: http://files.freeswitch.org/freeswitch-sounds-music-48000-%{V_fswitch_music}.tar.gz |
|
108 Source27: http://svn.digium.com/svn/thirdparty/mp3/trunk/addons/mp3-%{V_asterisk_addons_mp3dec}.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 |
|
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 |
|
111 Source30: ilbc-20110104.tar.gz |
|
112 Source31: asterisk.txt |
|
113 Source32: rc.asterisk |
|
114 Source33: wakeup.agi |
104 Patch0: asterisk.patch |
115 Patch0: asterisk.patch |
105 Patch1: asterisk.patch.xfersips |
116 Patch1: asterisk.patch.xfersips |
106 Patch2: asterisk.patch.proxymwi |
117 Patch2: asterisk.patch.proxymwi |
107 |
118 |
108 # build information |
119 # build information |
307 -e 's;\(ASTLINK=\)$;\1-Wl,--export-dynamic;g' \ |
319 -e 's;\(ASTLINK=\)$;\1-Wl,--export-dynamic;g' \ |
308 -e 's;\( CFLAGS=\)"[^"]+";"%{l_cflags -O}";g' \ |
320 -e 's;\( CFLAGS=\)"[^"]+";"%{l_cflags -O}";g' \ |
309 main/Makefile |
321 main/Makefile |
310 %{l_shtool} subst \ |
322 %{l_shtool} subst \ |
311 -e 's;\(<defaultenabled>\)no\(</defaultenabled>\);\1yes\2;g' \ |
323 -e 's;\(<defaultenabled>\)no\(</defaultenabled>\);\1yes\2;g' \ |
312 addons/.*.moduleinfo \ |
324 apps/app_ivrdemo.c \ |
313 apps/.app_ivrdemo.moduleinfo \ |
325 apps/app_saycounted.c \ |
314 apps/.app_saycounted.moduleinfo \ |
326 apps/app_rpt.c \ |
315 apps/.app_rpt.moduleinfo \ |
|
316 codecs/.moduleinfo \ |
|
317 utils/utils.xml \ |
327 utils/utils.xml \ |
318 agi/agi.xml |
328 agi/agi.xml |
319 %{l_shtool} subst \ |
|
320 -e 's;check_expr2;check_expr;g' \ |
|
321 utils/utils.xml |
|
322 %{l_shtool} subst \ |
329 %{l_shtool} subst \ |
323 -e 's;\(-DSOLARIS\);\1 -D__EXTENSIONS__=1;g' \ |
330 -e 's;\(-DSOLARIS\);\1 -D__EXTENSIONS__=1;g' \ |
324 main/editline/Makefile.in \ |
331 main/editline/Makefile.in \ |
325 main/db1-ast/Makefile |
332 main/db1-ast/Makefile |
326 %{l_shtool} subst \ |
333 %{l_shtool} subst \ |
431 --mandir=%{l_prefix}/man \ |
434 --mandir=%{l_prefix}/man \ |
432 --sysconfdir=%{l_prefix}/etc \ |
435 --sysconfdir=%{l_prefix}/etc \ |
433 --localstatedir=%{l_prefix}/var \ |
436 --localstatedir=%{l_prefix}/var \ |
434 --datarootdir=%{l_prefix}/share/asterisk \ |
437 --datarootdir=%{l_prefix}/share/asterisk \ |
435 --with-crypto=%{l_prefix} \ |
438 --with-crypto=%{l_prefix} \ |
436 --with-curl=%{l_prefix} \ |
439 --with-libcurl=%{l_prefix} \ |
437 --with-ncurses=%{l_prefix} \ |
440 --with-ncurses=%{l_prefix} \ |
438 --with-gsm="internal" \ |
441 --with-gsm="internal" \ |
439 --with-popt=%{l_prefix} \ |
442 --with-popt=%{l_prefix} \ |
440 %if "%{with_sqlite}" == "yes" |
443 %if "%{with_sqlite}" == "yes" |
441 --with-sqlite3=%{l_prefix} \ |
444 --with-sqlite3=%{l_prefix} \ |
525 --without-osptk \ |
529 --without-osptk \ |
526 --without-suppserv \ |
530 --without-suppserv \ |
527 --without-vpb \ |
531 --without-vpb \ |
528 --without-sdl \ |
532 --without-sdl \ |
529 --without-x11 \ |
533 --without-x11 \ |
530 --without-gtk \ |
|
531 --without-gtk2 |
534 --without-gtk2 |
532 |
535 |
533 # build menuselect |
536 # build menuselect |
534 %{l_make} %{l_mflags -O} menuselect.makeopts |
537 %{l_make} %{l_mflags -O} menuselect.makeopts |
535 %{l_shtool} subst \ |
538 menuselect/menuselect \ |
536 -e 's;\(MENUSELECT_MOH=\).*;\1;' \ |
539 --enable format_mp3 --enable app_fax --enable codec_ilbc \ |
537 -e 's;\(MENUSELECT_CORE_SOUNDS=\).*;\1;' \ |
540 --enable RADIO_RELAX --enable G711_NEW_ALGORITHM \ |
538 -e 's;\(MENUSELECT_EXTRA_SOUNDS=\).*;\1;' \ |
541 --enable G711_REDUCED_BRANCHING --enable CORE-SOUNDS-EN-SLN16 \ |
|
542 --enable CORE-SOUNDS-ES-SLN16 --enable CORE-SOUNDS-FR-SLN16 \ |
|
543 --enable CORE-SOUNDS-EN_AU-SLN16 --enable CORE-SOUNDS-RU-SLN16 \ |
|
544 --enable MOH-OPSOUND-SLN16 --enable EXTRA-SOUNDS-EN-SLN16 \ |
|
545 --enable EXTRA-SOUNDS-FR-SLN16 \ |
|
546 menuselect.makeopts |
|
547 menuselect/menuselect \ |
|
548 --disable CORE-SOUNDS-EN-GSM \ |
|
549 --disable MOH-OPSOUND-WAV \ |
539 menuselect.makeopts |
550 menuselect.makeopts |
540 %if "%{with_imap}" == "yes" |
551 %if "%{with_imap}" == "yes" |
541 %{l_shtool} subst \ |
552 menuselect/menuselect --enable IMAP_STORAGE menuselect.makeopts |
542 -e 's;\(MENUSELECT_OPTS_app_voicemail=\).*;\1IMAP_STORAGE;' \ |
|
543 menuselect.makeopts |
|
544 %endif |
553 %endif |
545 |
554 |
546 # build program |
555 # build program |
547 %{l_make} %{l_mflags -O} \ |
556 %{l_make} %{l_mflags -O} \ |
548 CC="%{l_cc} $cflags -I../include -I../../include $cppflags" NOISY_BUILD=yes |
557 CC="%{l_cc} $cflags -I../include -I../../include $cppflags" NOISY_BUILD=yes |
549 |
|
550 # build addon modules |
|
551 ( cd addons |
|
552 %{l_make} %{l_mflags -O} \ |
|
553 CC="%{l_cc} %{l_cflags -O} -I../../include %{l_cppflags ncurses}" NOISY_BUILD=yes ASTTOPDIR=.. |
|
554 ) || exit $? |
|
555 |
|
556 # build agi programs |
|
557 ( cd agi && %{l_make} %{l_mflags -O}) || exit $? |
|
558 |
558 |
559 %if "%{with_capi}" == "yes" |
559 %if "%{with_capi}" == "yes" |
560 # build capi channel |
560 # build capi channel |
561 ( cd chan_capi-* |
561 ( cd chan_capi-* |
562 ln -s ../include/asterisk . |
562 ln -s ../include/asterisk . |
724 rm -f $RPM_BUILD_ROOT%{l_prefix}/sbin/autosupport >/dev/null 2>&1 || true |
716 rm -f $RPM_BUILD_ROOT%{l_prefix}/sbin/autosupport >/dev/null 2>&1 || true |
725 rm -f $RPM_BUILD_ROOT%{l_prefix}/sbin/safe_asterisk >/dev/null 2>&1 || true |
717 rm -f $RPM_BUILD_ROOT%{l_prefix}/sbin/safe_asterisk >/dev/null 2>&1 || true |
726 rm -f $RPM_BUILD_ROOT%{l_prefix}/man/man8/autosupport.8 >/dev/null 2>&1 || true |
718 rm -f $RPM_BUILD_ROOT%{l_prefix}/man/man8/autosupport.8 >/dev/null 2>&1 || true |
727 rm -f $RPM_BUILD_ROOT%{l_prefix}/man/man8/safe_asterisk.8 >/dev/null 2>&1 || true |
719 rm -f $RPM_BUILD_ROOT%{l_prefix}/man/man8/safe_asterisk.8 >/dev/null 2>&1 || true |
728 rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/asterisk/images >/dev/null 2>&1 || true |
720 rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/asterisk/images >/dev/null 2>&1 || true |
|
721 rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/asterisk/moh/.asterisk* >/dev/null 2>&1 || true |
729 rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/asterisk/moh/CREDIT* >/dev/null 2>&1 || true |
722 rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/asterisk/moh/CREDIT* >/dev/null 2>&1 || true |
730 rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/asterisk/moh/CHANGES* >/dev/null 2>&1 || true |
723 rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/asterisk/moh/CHANGES* >/dev/null 2>&1 || true |
|
724 rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/asterisk/moh/LICENSE* >/dev/null 2>&1 || true |
731 rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/asterisk/sounds/*/CREDIT* >/dev/null 2>&1 || true |
725 rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/asterisk/sounds/*/CREDIT* >/dev/null 2>&1 || true |
732 rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/asterisk/sounds/*/CHANGES* >/dev/null 2>&1 || true |
726 rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/asterisk/sounds/*/CHANGES* >/dev/null 2>&1 || true |
|
727 rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/asterisk/sounds/*/.asterisk* >/dev/null 2>&1 || true |
733 |
728 |
734 # create additional directories |
729 # create additional directories |
735 %{l_shtool} mkdir -f -p -m 755 \ |
730 %{l_shtool} mkdir -f -p -m 755 \ |
736 $RPM_BUILD_ROOT%{l_prefix}/var/asterisk/db \ |
731 $RPM_BUILD_ROOT%{l_prefix}/var/asterisk/db \ |
737 $RPM_BUILD_ROOT%{l_prefix}/var/asterisk/spool/facsimile \ |
732 $RPM_BUILD_ROOT%{l_prefix}/var/asterisk/spool/facsimile/rx \ |
|
733 $RPM_BUILD_ROOT%{l_prefix}/var/asterisk/spool/facsimile/tx \ |
738 $RPM_BUILD_ROOT%{l_prefix}/var/asterisk/spool/outgoing \ |
734 $RPM_BUILD_ROOT%{l_prefix}/var/asterisk/spool/outgoing \ |
739 $RPM_BUILD_ROOT%{l_prefix}/share/asterisk/licenses |
735 $RPM_BUILD_ROOT%{l_prefix}/share/asterisk/licenses |
740 |
736 |
741 # postadjust installation |
737 # postadjust installation |
742 strip $RPM_BUILD_ROOT%{l_prefix}/sbin/* \ |
738 strip $RPM_BUILD_ROOT%{l_prefix}/sbin/* \ |
784 %{SOURCE rc.asterisk} $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/ |
780 %{SOURCE rc.asterisk} $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/ |
785 |
781 |
786 # determine installation files |
782 # determine installation files |
787 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \ |
783 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \ |
788 %{l_files_std} \ |
784 %{l_files_std} \ |
|
785 '%config %attr(640,%{l_mgrp},%{l_rgrp}) %{l_prefix}/etc/asterisk/*' \ |
789 '%config %attr(-,%{l_mgrp},%{l_mgrp}) %{l_prefix}/share/asterisk/licenses' \ |
786 '%config %attr(-,%{l_mgrp},%{l_mgrp}) %{l_prefix}/share/asterisk/licenses' \ |
790 '%config %attr(640,%{l_mgrp},%{l_rgrp}) %{l_prefix}/etc/asterisk/*' \ |
787 '%attr(750,%{l_rgrp},%{l_rgrp}) %{l_prefix}/var/asterisk/spool/facsimile' \ |
791 '%attr(-,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/asterisk' |
788 '%attr(-,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/asterisk' |
792 |
789 |
793 # '%attr(-,%{l_rusr},%{l_rgrp}) %{l_prefix}/share/asterisk/sounds/es/vm-Voicemail.sln16' \ |
790 # '%attr(-,%{l_rusr},%{l_rgrp}) %{l_prefix}/share/asterisk/sounds/es/vm-Voicemail.sln16' \ |
794 # '%attr(-,%{l_rusr},%{l_rgrp}) %{l_prefix}/share/asterisk/sounds/de/vm-Voicemail.sln16' \ |
791 # '%attr(-,%{l_rusr},%{l_rgrp}) %{l_prefix}/share/asterisk/sounds/de/vm-Voicemail.sln16' \ |
795 # '%attr(-,%{l_rusr},%{l_rgrp}) %{l_prefix}/share/asterisk/sounds/fr/vm-Voicemail.sln16' \ |
792 # '%attr(-,%{l_rusr},%{l_rgrp}) %{l_prefix}/share/asterisk/sounds/fr/vm-Voicemail.sln16' \ |
836 %endif |
833 %endif |
837 %if "%{with_fax}" == "yes" |
834 %if "%{with_fax}" == "yes" |
838 ( echo "Asterisk has been installed with proprietary Digium fax support." |
835 ( echo "Asterisk has been installed with proprietary Digium fax support." |
839 echo "The responsible module is called res_fax_digium and requires a" |
836 echo "The responsible module is called res_fax_digium and requires a" |
840 echo "valid license. The license must be found in the directory" |
837 echo "valid license. The license must be found in the directory" |
841 echo "'licenses' which in turn must be found in $prefix/share/asterisk" |
838 echo "'licenses' which in turn must be found in %{l_prefix}/share/asterisk" |
842 echo "or wherever astvarlibdir has been configured in 'asterisk.conf'." |
839 echo "or wherever astvarlibdir has been configured in 'asterisk.conf'." |
843 echo "" |
840 echo "" |
844 echo "Please see http://downloads.digium.com/pub/telephony/fax/ for information." |
841 echo "Please see http://downloads.digium.com/pub/telephony/fax/ for information." |
845 ) | %{l_rpmtool} msg -b -t notice |
842 ) | %{l_rpmtool} msg -b -t notice |
846 %endif |
843 %endif |