/[smecontribs]/rpms/smeserver-teamspeak-server/contribs9/smeserver-teamspeak-server.spec
ViewVC logotype

Diff of /rpms/smeserver-teamspeak-server/contribs9/smeserver-teamspeak-server.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by jpp, Fri Jan 19 03:16:22 2018 UTC Revision 1.4 by jcrisp, Wed Oct 10 10:00:57 2018 UTC
# Line 1  Line 1 
1  # $Id: smeserver-teamspeak-server.spec,v 1.4 2013/06/20 20:51:28 unnilennium Exp $  # $Id: smeserver-teamspeak-server.spec,v 1.3 2018/03/05 13:40:10 jcrisp Exp $
2  # Authority: cool34000  # Authority: cool34000
3  # Name: Sylvain Gomez  # Name: Sylvain Gomez
4    
5  %define name smeserver-teamspeak-server  %define name smeserver-teamspeak-server
6  %define version 3.1  %define version 3.1
7  %define release 0  %define release 3
8  %define rpmver  4.0.4  %define rpmver  4.0.4
9    
10    
# Line 16  License:            Freeware Line 16  License:            Freeware
16  Group:              VOIP  Group:              VOIP
17  Source:             %{name}-%{version}.tar.gz  Source:             %{name}-%{version}.tar.gz
18  Patch0:             smeserver-teamspeak-server-3.1-patch0.patch  Patch0:             smeserver-teamspeak-server-3.1-patch0.patch
19    Patch1:             smeserver-teamspeak-server-3.1-patch1.patch
20  URL:                http://www.goteamspeak.com/  URL:                http://www.goteamspeak.com/
21  BuildRoot:          /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot:          /var/tmp/%{name}-%{version}-%{release}-buildroot
22  BuildArchitectures: noarch  BuildArchitectures: noarch
23  BuildRequires:      e-smith-devtools  BuildRequires:      e-smith-devtools
24  Requires:           e-smith-base, e-smith-release >= 7  Requires:           e-smith-base, e-smith-release >= 9
25    
26    
27  %description  %description
# Line 32  http://your_e-smith-server_name:14534 Line 33  http://your_e-smith-server_name:14534
33    
34    
35  %changelog  %changelog
36    * Mon Apr 17 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 3.1-3.sme
37    - Modify spec to change ts2server.pid to ts3server.pid
38    - add new init script
39    - add new profile.d script to set LD PATH on boot
40    
41    * Mon Mar 05 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 3.1-2.sme
42    - New init script
43    - change default port
44    
45    * Thu Jan 18 2018 Jean-Philipe Pialasse <tests@pialasse.com> 3.1-1.sme
46    - fix [SME: 10494]
47    - update to download TS3 with event
48    
49  * Fri Mar 8 2013 JP Pialasse <tests@pialasse.com> 3.1-0  * Fri Mar 8 2013 JP Pialasse <tests@pialasse.com> 3.1-0
50  - added back the web interface  - added back the web interface
51  - added back templates  - added back templates
# Line 68  http://your_e-smith-server_name:14534 Line 82  http://your_e-smith-server_name:14534
82    
83  %setup  %setup
84  %patch0 -p1  %patch0 -p1
85    %patch1 -p1
86    
87  %build  %build
88  perl createlinks  perl createlinks
# Line 94  rm -rf $RPM_BUILD_ROOT Line 109  rm -rf $RPM_BUILD_ROOT
109  if [ $1 = 0 ] ; then  if [ $1 = 0 ] ; then
110    DIR=/opt/teamspeak    DIR=/opt/teamspeak
111    # Stopping TS service if needed...    # Stopping TS service if needed...
112    if [ -e $DIR/tsserver2.pid ]; then    if [ -e $DIR/tsserver3.pid ]; then
113          echo -n "Stopping the TeamSpeak Voice server..."          echo -n "Stopping the TeamSpeak Voice server..."
114          if ( kill -TERM `cat $DIR/tsserver2.pid` ); then          if ( kill -TERM `cat $DIR/tsserver3.pid` ); then
115                    for c in $(seq 1 300); do                    for c in $(seq 1 300); do
116                          if [ -e $DIR/tsserver2.pid ]; then                          if [ -e $DIR/tsserver3.pid ]; then
117                                    echo -n "."                                    echo -n "."
118                                    sleep 1                                    sleep 1
119                            fi                            fi
# Line 106  if [ $1 = 0 ] ; then Line 121  if [ $1 = 0 ] ; then
121            fi            fi
122            if [ -e $DIR/tsserver2.pid ]; then            if [ -e $DIR/tsserver2.pid ]; then
123                  echo "server does not shutdown cleanly - killing"                  echo "server does not shutdown cleanly - killing"
124                    kill -KILL `cat $DIR/tsserver2.pid`                    kill -KILL `cat $DIR/tsserver3.pid`
125                    rm $DIR/tsserver2.pid                    rm $DIR/tsserver3.pid
126                    sleep 5                    sleep 5
127            else            else
128                  echo "done"                  echo "done"


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed