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

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

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

Revision 1.3 by unnilennium, Fri Mar 8 22:00:38 2013 UTC Revision 1.4 by unnilennium, Thu Jun 20 20:51:28 2013 UTC
# Line 1  Line 1 
1  # $Id: smeserver-teamspeak-server.spec,v 1.2 2013/03/08 19:14:54 unnilennium Exp $  # $Id: smeserver-teamspeak-server.spec,v 1.3 2013/03/08 22:00:38 unnilennium Exp $
2  # Authority: cool34000  # Authority: cool34000
3  # Name: Sylvain Gomez  # Name: Sylvain Gomez
4    
# Line 15  Release:            %{release}%{?dist} Line 15  Release:            %{release}%{?dist}
15  License:            Freeware  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
19  URL:                http://www.goteamspeak.com/  URL:                http://www.goteamspeak.com/
20  BuildRoot:          /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot:          /var/tmp/%{name}-%{version}-%{release}-buildroot
21  BuildArchitectures: noarch  BuildArchitectures: noarch
# Line 35  http://your_e-smith-server_name:14534 Line 36  http://your_e-smith-server_name:14534
36  - added back the web interface  - added back the web interface
37  - added back templates  - added back templates
38  - added default db values in tar  - added default db values in tar
39    - improving installing script and events patch0
40    
41  * Fri Mar 8 2013 JP Pialasse <tests@pialasse.com> 3.0-0  * Fri Mar 8 2013 JP Pialasse <tests@pialasse.com> 3.0-0
42  - change tarball to remove teamspeak binaries  - change tarball to remove teamspeak binaries
# Line 65  http://your_e-smith-server_name:14534 Line 67  http://your_e-smith-server_name:14534
67    
68    
69  %setup  %setup
70    %patch0 -p1
71    
72  %build  %build
73    perl createlinks
74    
75  %install  %install
76  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
# Line 82  rm -rf $RPM_BUILD_ROOT Line 84  rm -rf $RPM_BUILD_ROOT
84    
85    
86  %pre  %pre
87    /sbin/e-smith/create-system-user teamspeak 1050 \
88        'teamspeak' /opt/teamspeak /bin/bash
89    
90  %post  %post
91    
# Line 115  fi Line 118  fi
118    
119  %postun  %postun
120  if [ $1 = 0 ] ; then  if [ $1 = 0 ] ; then
121    echo "Unregistering and deleting service..."  #  echo "Unregistering and deleting service..."
122    rm -f /etc/rc.d/rc7.d/S98teamspeak  #  rm -f /etc/rc.d/rc7.d/S98teamspeak
123    rm -f /etc/rc.d/rc6.d/K98teamspeak  #  rm -f /etc/rc.d/rc6.d/K98teamspeak
124    /sbin/e-smith/config delete teamspeak  #  /sbin/e-smith/config delete teamspeak
125    /sbin/e-smith/config delete tsweb  #  /sbin/e-smith/config delete tsweb
126    /sbin/e-smith/signal-event remoteaccess-update  #  /sbin/e-smith/signal-event remoteaccess-update
127    
128    echo "Restarting Apache..."    echo "Restarting Apache..."
129    /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf    /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf


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