/[packages]/cauldron/freeswitch-codec-commercial-g729/current/SPECS/freeswitch-codec-commercial-g729.spec
ViewVC logotype

Annotation of /cauldron/freeswitch-codec-commercial-g729/current/SPECS/freeswitch-codec-commercial-g729.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 452212 - (hide annotations) (download)
Tue Jul 9 17:02:30 2013 UTC (10 years, 9 months ago) by dlucio
File size: 1250 byte(s)
- wget as BR
1 dlucio 452209 Name: freeswitch-codec-commercial-g729
2     Version: 194
3     Release: %mkrel 1
4     Summary: Freeswitch g729 commercial module
5     License: BSD
6     Group: System/Libraries
7     URL: http://files.freeswitch.org/g729/
8     Requires: freeswitch
9 dlucio 452212 Buildrequires: wget
10 dlucio 452209
11     %description
12     Coder/decoder g729 Codec support for FreeSWITCH open source telephony platform
13    
14     %prep
15     wget http://files.freeswitch.org/g729/fsg729-194-installer
16     ARCHIVE=`awk '/^__ARCHIVE_BELOW__/ {print NR + 1; exit 0; }' fsg729-194-installer`
17     tail -n+$ARCHIVE fsg729-194-installer | tar xz
18    
19     %ifarch %ix86
20     tar -zxf fsg729_i386.tar.gz
21     %endif
22     %ifarch x86_64 amd64 ia32e
23     tar -zxf fsg729_x86_64.tar.gz
24     %endif
25    
26     %install
27     install -d %{buildroot}%{_sbindir}
28     install fsg729/freeswitch_licence_server %{buildroot}%{_sbindir}/freeswitch_licence_server
29     install -d %{buildroot}%{_libdir}/freeswitch/mod
30     install fsg729/mod_com_g729.so %{buildroot}%{_libdir}/freeswitch/mod
31     install -d %{buildroot}%{_bindir}
32     install fsg729/validator %{buildroot}%{_bindir}
33    
34     %pre
35     kill -9 `ps aux | grep freeswitch_licence_server | awk '{print $2}'`> /dev/null 2>&1
36    
37     %post
38 dlucio 452211 echo "Now you can activate your license by running %{_bindir}/validator"
39 dlucio 452209
40     %files
41     %defattr(-,root,root)
42     %{_sbindir}/*
43     %{_bindir}/*
44     %{_libdir}/freeswitch/mod/*

  ViewVC Help
Powered by ViewVC 1.1.30