1 |
Name: freeswitch-codec-commercial-g729 |
Name: freeswitch-codec-commercial-g729 |
2 |
Version: 194 |
Version: 194 |
3 |
Release: %mkrel 1 |
Release: %mkrel 2 |
4 |
Summary: Freeswitch g729 commercial module |
Summary: Freeswitch g729 commercial module |
5 |
License: BSD |
License: BSD |
6 |
Group: System/Libraries |
Group: System/Libraries |
32 |
install fsg729/validator %{buildroot}%{_bindir} |
install fsg729/validator %{buildroot}%{_bindir} |
33 |
|
|
34 |
%pre |
%pre |
35 |
kill -9 `ps aux | grep freeswitch_licence_server | awk '{print $2}'`> /dev/null 2>&1 |
PID=$(pidof freeswitch_licence_server) |
36 |
|
if [ $PID ] |
37 |
|
then |
38 |
|
kill -9 $PID |
39 |
|
fi |
40 |
|
|
41 |
%post |
%post |
42 |
echo "Now you can activate your license by running %{_bindir}/validator" |
echo "Now you can activate your license by running %{_bindir}/validator" |