1 Summary: Open
Source Gateway GPRS Support Node
(GGSN
)
5 URL: http
://sourceforge.net
/projects
/ggsn
/
6 Source0: http
://prdownloads.sourceforge.net
/ggsn
/%{name}-%{version}.tar.gz
8 Group: System Environment
/Daemons
9 BuildRoot: %{_tmppath}/%{name}-root
12 OpenGGSN is a Gateway GPRS Support Node
(GGSN
). It is used by mobile
13 operators as the interface between the Internet and the rest of the
14 mobile network infrastructure. The project also provides an SGSN
15 emulator suitable
for GPRS core network testing.
22 .
/configure
--prefix
=/usr
--enable-static
-exec
28 make install prefix
=$RPM_BUILD_ROOT
/usr
29 strip $RPM_BUILD_ROOT
/usr
/bin
/ggsn
30 strip $RPM_BUILD_ROOT
/usr
/bin
/sgsnemu
32 #Copy ggsn init script in place
33 mkdir -p $RPM_BUILD_ROOT
/etc
/rc.d
/init.d
34 install -m755 examples
/ggsn.init \
35 $RPM_BUILD_ROOT
/etc
/rc.d
/init.d
/ggsn
37 #Copy ggsn.conf in place
38 install -m755 examples
/ggsn.conf \
39 $RPM_BUILD_ROOT
/etc
/ggsn.conf
41 #Copy gsn_restart file in place
42 mkdir -p $RPM_BUILD_ROOT
/var
/lib
/ggsn
43 echo "
0"
> $RPM_BUILD_ROOT
/var
/lib
/ggsn
/gsn_restart
45 #Clean up unwanted library files
46 rm -rf $RPM_BUILD_ROOT
/usr
/include
/*
47 rm -rf $RPM_BUILD_ROOT
/usr
/lib
/*
51 rm -rf $RPM_BUILD_ROOT
55 /sbin
/chkconfig
--add ggsn
64 /var
/lib
/ggsn
/gsn_restart
66 %doc AUTHORS ChangeLog COPYING INSTALL NEWS README
67 %doc examples
/ggsn.conf
68 %doc examples
/sgsnemu.conf
69 %doc examples
/ggsn.init
70 %doc examples
/firewall
71 %doc /usr
/man
/man8
/ggsn
.8.gz
72 %doc /usr
/man
/man8
/sgsnemu
.8.gz
74 %config /etc
/ggsn.conf
81 #/usr/lib/libgtp.so.0.0.0
86 * Mon Jun
30 2003 <jj@openggsn.org
>