forked from pool/osmo-iuh
- Update to new upstream release 0.3.0
OBS-URL: https://build.opensuse.org/package/show/network:telephony/osmo-iuh?expand=0&rev=11
This commit is contained in:
@@ -12,20 +12,20 @@
|
||||
# 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-iuh
|
||||
Version: 0.2.0
|
||||
%define lname libosmo-ranap2
|
||||
Version: 0.3.0
|
||||
Release: 0
|
||||
Summary: Osmocom code for the Iuh interface (HNBAP, RUA, RANAP)
|
||||
License: AGPL-3.0-or-later AND GPL-2.0-or-later
|
||||
Group: Hardware/Mobile
|
||||
Url: https://osmocom.org/projects/osmohnbgw/wiki
|
||||
Source: %name-%version.tar.xz
|
||||
Patch1: 0001-fix-compiler-warning-implicit-function-declaration-i.patch
|
||||
Patch2: 0001-fix-return-values.patch
|
||||
Patch1: 0001-fix-return-values.patch
|
||||
Patch3: 0001-iu_client-uses-gprs_msgb.h.patch
|
||||
BuildRequires: automake >= 1.9
|
||||
BuildRequires: libtool >= 2
|
||||
@@ -34,28 +34,29 @@ BuildRequires: pkg-config >= 0.20
|
||||
# python2 for asn1tostruct.py
|
||||
BuildRequires: python2
|
||||
BuildRequires: xz
|
||||
BuildRequires: pkgconfig(libasn1c) >= 0.9.28
|
||||
BuildRequires: pkgconfig(libosmo-netif) >= 0.1.0
|
||||
BuildRequires: pkgconfig(libosmo-sigtran) >= 0.8.0
|
||||
BuildRequires: pkgconfig(libosmocore) >= 0.10.0
|
||||
BuildRequires: pkgconfig(libasn1c) >= 0.9.30
|
||||
BuildRequires: pkgconfig(libosmo-netif) >= 0.2.0
|
||||
BuildRequires: pkgconfig(libosmo-sigtran) >= 0.9.0
|
||||
BuildRequires: pkgconfig(libosmocore) >= 0.11.0
|
||||
BuildRequires: pkgconfig(libosmoctrl) >= 0.11.0
|
||||
BuildRequires: pkgconfig(libosmogb)
|
||||
BuildRequires: pkgconfig(libosmogsm) >= 0.10.0
|
||||
BuildRequires: pkgconfig(libosmovty) >= 0.10.0
|
||||
BuildRequires: pkgconfig(libosmogsm) >= 0.11.0
|
||||
BuildRequires: pkgconfig(libosmovty) >= 0.11.0
|
||||
|
||||
%description
|
||||
Osmocom code for the Iuh interface (HNBAP, RUA, RANAP)
|
||||
|
||||
%package -n libosmo-ranap1
|
||||
%package -n %lname
|
||||
Summary: Shared Library part of libosmo-ranap
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libosmo-ranap1
|
||||
%description -n %lname
|
||||
Osmocom code for the Iuh interface (HNBAP, RUA, RANAP)
|
||||
|
||||
%package -n libosmo-ranap-devel
|
||||
Summary: Development files for Osmocom RANAP library
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libosmo-ranap1 = %version
|
||||
Requires: %lname = %version
|
||||
|
||||
%description -n libosmo-ranap-devel
|
||||
Osmocom code for the Iuh interface (HNBAP, RUA, RANAP)
|
||||
@@ -64,8 +65,7 @@ This subpackage contains libraries and header files for developing
|
||||
applications that want to make use of libosmoranap.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch -P 1 -P 2 -P 3 -p1
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
autoreconf -fi
|
||||
@@ -84,8 +84,8 @@ if ! make %{?_smp_mflags} check; then
|
||||
%endif
|
||||
fi
|
||||
|
||||
%post -n libosmo-ranap1 -p /sbin/ldconfig
|
||||
%postun -n libosmo-ranap1 -p /sbin/ldconfig
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%doc COPYING README.md
|
||||
@@ -93,8 +93,8 @@ fi
|
||||
%_docdir/%name/examples/osmo-hnbgw.cfg
|
||||
%_bindir/osmo-hnbgw
|
||||
|
||||
%files -n libosmo-ranap1
|
||||
%_libdir/libosmo-ranap.so.1*
|
||||
%files -n %lname
|
||||
%_libdir/libosmo-ranap.so.2*
|
||||
|
||||
%files -n libosmo-ranap-devel
|
||||
%_includedir/*
|
||||
|
Reference in New Issue
Block a user