diff options
author | Oliver Smith <osmith@sysmocom.de> | 2020-05-15 13:49:12 +0200 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2020-05-15 13:52:02 +0200 |
commit | 065ddb6416e3a0875e14193492ba8c4fd321950a (patch) | |
tree | 91dd8876148ad19f2e0af72d2976f26e10ecaa97 | |
parent | 53244a2132f2cb448b717eb03d8fa7f8bb0de6b7 (diff) |
osmo-ggsn.spec.in: remove
Remove old osmo-ggsn.spec.in file from 2017 in favor of the one imported
from mnhauke, which is currently used in openSUSE nightly builds (will
be added in a follow-up commit).
Related: OS#4550
Change-Id: I24794564f0d4d85d3955ab08f4e4c3c05f53a0cd
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | configure.ac | 3 | ||||
-rw-r--r-- | osmo-ggsn.spec.in | 90 |
3 files changed, 1 insertions, 93 deletions
@@ -16,7 +16,6 @@ install-sh libtool ltmain.sh missing -osmo-ggsn.spec stamp-h1 INSTALL m4/ diff --git a/configure.ac b/configure.ac index 0e61729..c92a06c 100644 --- a/configure.ac +++ b/configure.ac @@ -262,8 +262,7 @@ AC_CONFIG_FILES([Makefile tests/Makefile tests/lib/Makefile tests/gtp/Makefile - libgtp.pc - osmo-ggsn.spec]) + libgtp.pc]) AC_OUTPUT echo " diff --git a/osmo-ggsn.spec.in b/osmo-ggsn.spec.in deleted file mode 100644 index 9613bca..0000000 --- a/osmo-ggsn.spec.in +++ /dev/null @@ -1,90 +0,0 @@ -Summary: Osmocom Gateway GPRS Support Node (GGSN) -Name: @PACKAGE@ -Version: @VERSION@ -Release: 1 -URL: https://osmocom.org/projects/openggsn -Source0: http://prdownloads.sourceforge.net/ggsn/%{name}-%{version}.tar.gz -License: GPL -Group: System Environment/Daemons -BuildRoot: %{_tmppath}/%{name}-root - -%description -OsmoGGSN is a Gateway GPRS Support Node (GGSN). It is used by mobile -operators as the interface between the Internet and the rest of the -mobile network infrastructure. The project also provides an SGSN -emulator suitable for GPRS core network testing. - -%prep -%setup -q - -%build - -./configure --prefix=/usr --enable-static-exec - -make - -%install - -make install prefix=$RPM_BUILD_ROOT/usr -strip $RPM_BUILD_ROOT/usr/bin/osmo-ggsn -strip $RPM_BUILD_ROOT/usr/bin/sgsnemu - -#Copy osmo-ggsn init script in place -mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d -install -m755 examples/osmo-ggsn.init \ - $RPM_BUILD_ROOT/etc/rc.d/init.d/osmo-ggsn - -#Copy osmo-ggsn.conf in place -install -m755 examples/osmo-ggsn.cfg \ - $RPM_BUILD_ROOT/etc/osmo-ggsn.cfg - -#Copy gsn_restart file in place -mkdir -p $RPM_BUILD_ROOT/var/lib/osmo-ggsn -echo "0" > $RPM_BUILD_ROOT/var/lib/osmo-ggsn/gsn_restart - -#Clean up unwanted library files -rm -rf $RPM_BUILD_ROOT/usr/include/* -rm -rf $RPM_BUILD_ROOT/usr/lib/* - - -%clean -rm -rf $RPM_BUILD_ROOT -make clean - -%post -/sbin/chkconfig --add osmo-ggsn - -%files -%defattr(-,root,root) - -/usr/bin/osmo-ggsn -/usr/bin/sgsnemu -/etc/rc.d/init.d/osmo-ggsn -%dir /var/lib/osmo-ggsn -/var/lib/osmo-ggsn/gsn_restart - -%doc AUTHORS COPYING INSTALL NEWS README.md -%doc examples/osmo-ggsn.conf -%doc examples/sgsnemu.conf -%doc examples/osmo-ggsn.init -%doc examples/firewall -%doc /usr/man/man8/osmo-ggsn.8.gz -%doc /usr/man/man8/sgsnemu.8.gz - -%config /etc/osmo-ggsn.cfg - - -#/usr/lib/libgtp.a -#/usr/lib/libgtp.la -#/usr/lib/libgtp.so -#/usr/lib/libgtp.so.0 -#/usr/lib/libgtp.so.0.0.0 - - - -%changelog -* Mon Jun 30 2017 <laforge@gnumonks.org> -- Update to OsmoGGSN - -* Mon Jun 30 2003 <jj@openggsn.org> -- Initial build. |