1
0
forked from pool/osmo-ggsn

- Update to new upstream release 1.2.2

OBS-URL: https://build.opensuse.org/package/show/network:telephony/osmo-ggsn?expand=0&rev=9
This commit is contained in:
2018-12-11 13:21:21 +00:00
committed by Git OBS Bridge
parent 642d56c02e
commit 8c412c9f19
7 changed files with 121 additions and 145 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package osmo-ggsn
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,30 +12,30 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: osmo-ggsn
Version: 1.1.0
%define lname libgtp3
Version: 1.2.2
Release: 0
Summary: GPRS Support Node
License: GPL-2.0 AND LGPL-2.1+
License: GPL-2.0-only AND LGPL-2.1-or-later
Group: Productivity/Telephony/Servers
URL: https://osmocom.org/projects/openggsn/wiki/OsmoGGSN
Source: %name-%version.tar.xz
Patch1: build-fixes.diff
Patch2: 0001-fix-compiler-warnings-return-0-in-main-in-3-tests.patch
BuildRequires: libtool >= 2
BuildRequires: pkgconfig >= 0.20
BuildRequires: systemd-rpm-macros
BuildRequires: xz
BuildRequires: pkgconfig(libgtpnl) >= 1.0.0
BuildRequires: pkgconfig(libgtpnl) >= 1.2.0
BuildRequires: pkgconfig(libmnl) >= 1.0.3
BuildRequires: pkgconfig(libosmocore) >= 0.6.4
BuildRequires: pkgconfig(libosmoctrl)
BuildRequires: pkgconfig(libosmocore) >= 0.11.0
BuildRequires: pkgconfig(libosmoctrl) >= 0.11.0
BuildRequires: pkgconfig(libosmogsm)
BuildRequires: pkgconfig(libosmovty) >= 0.3.0
BuildRequires: pkgconfig(libosmovty) >= 0.11.0
Obsoletes: openggsn
%{?systemd_requires}
@@ -44,19 +44,19 @@ Osmo-GGSN is a C-language implementation of a GGSN (Gateway GPRS
Support Node), a core network element of ETSI/3GPP cellular networks
such as GPRS, EDGE, UMTS or HSPA.
%package -n libgtp2
%package -n %lname
Summary: Library implementing GTP between SGSN and GGSN
License: GPL-2.0
License: GPL-2.0-only
Group: System/Libraries
%description -n libgtp2
%description -n %lname
libgtp implements the GPRS Tunneling Protocol between SGSN and GGSN.
%package -n libgtp-devel
Summary: Development files for the GTP library
License: GPL-2.0
License: GPL-2.0-only
Group: Development/Libraries/C and C++
Requires: libgtp2 = %version
Requires: %lname = %version
%description -n libgtp-devel
libgtp implements the GPRS Tunneling Protocol between SGSN and GGSN.
@@ -65,8 +65,7 @@ This subpackage contains libraries and header files for developing
applications that want to make use of libgtp.
%prep
%setup -q
%patch -P 1 -P 2 -p1
%autosetup -p1
%build
echo "%version" >.tarball-version
@@ -98,8 +97,8 @@ install -m 0644 doc/examples/sgsnemu.conf "$b/%_sysconfdir/osmocom/sgsnemu.conf"
%postun
%service_del_postun %name.service
%post -n libgtp2 -p /sbin/ldconfig
%postun -n libgtp2 -p /sbin/ldconfig
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files
%doc AUTHORS COPYING README.md
@@ -115,8 +114,8 @@ install -m 0644 doc/examples/sgsnemu.conf "$b/%_sysconfdir/osmocom/sgsnemu.conf"
%config(noreplace) %_sysconfdir/osmocom/osmo-ggsn.cfg
%config(noreplace) %_sysconfdir/osmocom/sgsnemu.conf
%files -n libgtp2
%_libdir/libgtp.so.2*
%files -n %lname
%_libdir/libgtp.so.3*
%files -n libgtp-devel
%_includedir/%name/