Browse code

Copyed mysql subpackage from ser.spec

Nils Ohlmeier authored on 25/09/2002 12:14:55
Showing 1 changed files
... ...
@@ -1,6 +1,7 @@
1
-%define name  ser
2
-%define ver   0.8.7
3
-%define rel   1
1
+%define name    ser
2
+%define ver     0.8.7
3
+%define rel     1
4
+%define exclude CVS pike radius_acc radius_auth snmp
4 5
 
5 6
 Summary:      SIP Express Router, very fast and flexible SIP Proxy
6 7
 Name:         %name
... ...
@@ -28,12 +29,21 @@ CPL scripts, Instant Messaging, MySQL support, Presence Agent, Radius
28 29
 Authentication, Record Routing, SMS Gateway, Jabber Gateway, Transaction 
29 30
 Module, Registrar and User Location.
30 31
 
32
+%package  mysql
33
+Summary:  MySQL connectivity for the SIP Express Router.
34
+Group:    System Environment/Daemons
35
+Requires: ser
36
+
37
+%description mysql
38
+The ser-mysql package contains MySQL database connectivity that you
39
+need to use digest authentication module or persistent user location
40
+entries.
31 41
 
32 42
 %prep
33 43
 %setup
34 44
 
35 45
 %build
36
-make all
46
+make all exclude_modules="%exclude"
37 47
 cd utils/gen_ha1
38 48
 make
39 49
 
... ...
@@ -50,7 +60,8 @@ make install cfg-prefix=$RPM_BUILD_ROOT/%{_sysconfdir} \
50 60
 	     doc-prefix=$RPM_BUILD_ROOT/%{_docdir} \
51 61
 	     doc-dir=ser/ \
52 62
 	     man-prefix=$RPM_BUILD_ROOT/%{_mandir} \
53
-	     man-dir=""
63
+	     man-dir="" \
64
+	     exclude_modules="%exclude"
54 65
 
55 66
 mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/init.d
56 67
 install -m755 $RPM_SOURCE_DIR/ser.init.SuSE \
... ...
@@ -95,18 +106,44 @@ sbin/insserv etc/init.d/
95 106
 
96 107
 %dir %{_libdir}/ser
97 108
 %dir %{_libdir}/ser/modules
98
-%{_libdir}/ser/modules/*
99
-
100
-%{_sbindir}/*
109
+%{_libdir}/ser/modules/acc.so
110
+%{_libdir}/ser/modules/auth.so
111
+%{_libdir}/ser/modules/cpl.so
112
+%{_libdir}/ser/modules/ext.so
113
+%{_libdir}/ser/modules/im.so
114
+%{_libdir}/ser/modules/jabber.so
115
+%{_libdir}/ser/modules/maxfwd.so
116
+%{_libdir}/ser/modules/print.so
117
+%{_libdir}/ser/modules/registrar.so
118
+%{_libdir}/ser/modules/rr.so
119
+%{_libdir}/ser/modules/sl.so
120
+%{_libdir}/ser/modules/sms.so
121
+%{_libdir}/ser/modules/textops.so
122
+%{_libdir}/ser/modules/tm.so
123
+%{_libdir}/ser/modules/usrloc.so
124
+
125
+%{_sbindir}/harv_ser.sh
126
+%{_sbindir}/ser
127
+%{_sbindir}/serctl
101 128
 %{_bindir}/*
102 129
 
103 130
 %{_mandir}/man5/*
104 131
 %{_mandir}/man8/*
105 132
 
106 133
 
134
+%files mysql
135
+%defattr(-,root,root)
136
+
137
+%{_libdir}/ser/modules/mysql.so
138
+%{_sbindir}/ser_mysql.sh
139
+
140
+
107 141
 %changelog
142
+* Wen Sep 25 2002 Nils Ohlmeier <ohlmeier@fokus.fhg.de>
143
+- Copyed mysql connectivity subpackage from orig rpm.spec.
144
+
108 145
 * Fri Sep 06 2002 Nils Ohlmeier <ohlmeier@fokus.fhg.de>
109
-- Adaptation to SuSE
146
+- Adaptation to SuSE.
110 147
 
111 148
 * Mon Sep 02 2002 Jan Janak <J.Janak@sh.cvut.cz>
112 149
 - gen_ha1 utility added, scripts added.