From dc6a3c79389ba8bc6421d2c7bd769dd1f6cd41fd33eeb7076f3d966b2dcd12aa Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 19 Nov 2021 13:40:21 +0000 Subject: [PATCH 1/3] Accepting request 932519 from home:mnhauke:osmocom:latest - Update to new upstream release 1.1.0 * http://git.osmocom.org/osmo-iuh/plain/debian/changelog?h=1.1.0 OBS-URL: https://build.opensuse.org/request/show/932519 OBS-URL: https://build.opensuse.org/package/show/network:telephony/osmo-iuh?expand=0&rev=31 --- 0.7.0.tar.gz | 3 -- 1.1.0.tar.gz | 3 ++ osmo-iuh.changes | 6 ++++ osmo-iuh.spec | 80 ++++++++++++++++++++++++++++++++++++++++-------- 4 files changed, 76 insertions(+), 16 deletions(-) delete mode 100644 0.7.0.tar.gz create mode 100644 1.1.0.tar.gz diff --git a/0.7.0.tar.gz b/0.7.0.tar.gz deleted file mode 100644 index 1452df4..0000000 --- a/0.7.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0a180b1c61b9633acdc0ef51159ae8e3484b22a3219783325518536fd27ac236 -size 13271831 diff --git a/1.1.0.tar.gz b/1.1.0.tar.gz new file mode 100644 index 0000000..424ea1f --- /dev/null +++ b/1.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5a089c26919f5eb78d9cf013bb80adf750ab8227ede666576ae6ec228c6c4f2a +size 13275894 diff --git a/osmo-iuh.changes b/osmo-iuh.changes index 4aeff2c..4350a68 100644 --- a/osmo-iuh.changes +++ b/osmo-iuh.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Nov 19 10:09:05 UTC 2021 - Martin Hauke + +- Update to new upstream release 1.1.0 + * http://git.osmocom.org/osmo-iuh/plain/debian/changelog?h=1.1.0 + ------------------------------------------------------------------- Wed Oct 13 13:53:31 UTC 2021 - Johannes Segitz diff --git a/osmo-iuh.spec b/osmo-iuh.spec index 6f330e5..8ee0ef2 100644 --- a/osmo-iuh.spec +++ b/osmo-iuh.spec @@ -17,8 +17,8 @@ Name: osmo-iuh -%define lname libosmo-ranap3 -Version: 0.7.0 +%define lname libosmo-ranap5 +Version: 1.1.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 @@ -26,7 +26,7 @@ Group: Hardware/Mobile URL: https://osmocom.org/projects/osmohnbgw/wiki Source: https://github.com/osmocom/osmo-iuh/archive/%version.tar.gz -Patch0: harden_osmo-hnbgw.service.patch +Patch0: harden_osmo-hnbgw.service.patch BuildRequires: automake >= 1.9 BuildRequires: libtool >= 2 BuildRequires: lksctp-tools-devel @@ -38,13 +38,28 @@ BuildRequires: pkgconfig(libosmo-netif) >= 1.1.0 BuildRequires: pkgconfig(libosmo-sigtran) >= 1.4.0 BuildRequires: pkgconfig(libosmocore) >= 1.5.0 BuildRequires: pkgconfig(libosmoctrl) >= 1.5.0 -BuildRequires: pkgconfig(libosmogb) +BuildRequires: pkgconfig(libosmogb) >= 1.5.0 BuildRequires: pkgconfig(libosmogsm) >= 1.5.0 BuildRequires: pkgconfig(libosmovty) >= 1.5.0 %description Osmocom code for the Iuh interface (HNBAP, RUA, RANAP) +%package -n libosmo-hnbap0 +Summary: Shared Library part of libosmo-hnbap +Group: System/Libraries + +%description -n libosmo-hnbap0 +Osmocom code for the Iuh interface (HNBAP, RUA, RANAP) + +%package -n libosmo-hnbap-devel +Summary: Development files for Osmocom HNBAP library +Group: Development/Libraries/C and C++ +Requires: libosmo-hnbap0 = %{version} + +%description -n libosmo-hnbap-devel +Osmocom code for the Iuh interface (HNBAP, RUA, RANAP) + %package -n %lname Summary: Shared Library part of libosmo-ranap Group: System/Libraries @@ -63,17 +78,32 @@ Osmocom code for the Iuh interface (HNBAP, RUA, RANAP) This subpackage contains libraries and header files for developing applications that want to make use of libosmoranap. -%package -n libosmo-sabp0 +%package -n libosmo-rua0 +Summary: Shared Library part of libosmo-rua +Group: System/Libraries + +%description -n libosmo-rua0 +Osmocom code for the Iuh interface (HNBAP, RUA, RANAP) + +%package -n libosmo-rua-devel +Summary: Development files for Osmocom RUA library +Group: Development/Libraries/C and C++ +Requires: libosmo-rua0 = %{version} + +%description -n libosmo-rua-devel +Osmocom code for the Iuh interface (HNBAP, RUA, RANAP) + +%package -n libosmo-sabp1 Summary: Osmocom Service Area Broadcast Protocol library Group: System/Libraries -%description -n libosmo-sabp0 +%description -n libosmo-sabp1 Osmocom code for the Service Area Broadcast Protocol interface. %package -n libosmo-sabp-devel Summary: Development files for Osmocom SABP library Group: Development/Libraries/C and C++ -Requires: libosmo-sabp0 = %version +Requires: libosmo-sabp1 = %version %description -n libosmo-sabp-devel Osmocom code for the Service Area Broadcast Protocol interface. @@ -107,10 +137,14 @@ if ! make %{?_smp_mflags} check; then %endif fi +%post -n libosmo-hnbap0 -p /sbin/ldconfig +%postun -n libosmo-hnbap0 -p /sbin/ldconfig %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig -%post -n libosmo-sabp0 -p /sbin/ldconfig -%postun -n libosmo-sabp0 -p /sbin/ldconfig +%post -n libosmo-rua0 -p /sbin/ldconfig +%postun -n libosmo-rua0 -p /sbin/ldconfig +%post -n libosmo-sabp1 -p /sbin/ldconfig +%postun -n libosmo-sabp1 -p /sbin/ldconfig %pre %service_add_pre osmo-hnbgw.service @@ -128,15 +162,25 @@ fi %license COPYING %doc README.md %dir %_sysconfdir/osmocom -%config %_sysconfdir/osmocom/osmo-hnbgw.cfg +%config(noreplace) %_sysconfdir/osmocom/osmo-hnbgw.cfg %dir %_docdir/%name/examples %_docdir/%name/examples/osmo-hnbgw.cfg %_bindir/osmo-hnbgw %_unitdir/osmo-hnbgw.service %_sbindir/rcosmo-hnbgw +%files -n libosmo-hnbap0 +%{_libdir}/libosmo-hnbap.so.0* + +%files -n libosmo-hnbap-devel +%dir %{_includedir}/osmocom/ +%dir %{_includedir}/osmocom/hnbap/ +%{_includedir}/osmocom/hnbap/* +%{_libdir}/libosmo-hnbap.so +%{_libdir}/pkgconfig/libosmo-hnbap.pc + %files -n %lname -%_libdir/libosmo-ranap.so.3* +%_libdir/libosmo-ranap.so.5* %files -n libosmo-ranap-devel %dir %{_includedir}/osmocom @@ -144,8 +188,18 @@ fi %_libdir/libosmo-ranap.so %_libdir/pkgconfig/libosmo-ranap.pc -%files -n libosmo-sabp0 -%_libdir/libosmo-sabp.so.0* +%files -n libosmo-rua0 +%{_libdir}/libosmo-rua.so.0* + +%files -n libosmo-rua-devel +%dir %{_includedir}/osmocom/ +%dir %{_includedir}/osmocom/rua/ +%{_includedir}/osmocom/rua/* +%{_libdir}/libosmo-rua.so +%{_libdir}/pkgconfig/libosmo-rua.pc + +%files -n libosmo-sabp1 +%_libdir/libosmo-sabp.so.1* %files -n libosmo-sabp-devel %dir %{_includedir}/osmocom From a5adc07d364ce5cc68011f82638b16769093ce2f9ed43c142d1719fc86e7c15a Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 19 Nov 2021 17:56:27 +0000 Subject: [PATCH 2/3] update descriptions OBS-URL: https://build.opensuse.org/package/show/network:telephony/osmo-iuh?expand=0&rev=32 --- osmo-iuh.spec | 85 +++++++++++++++++++++++++++------------------------ 1 file changed, 45 insertions(+), 40 deletions(-) diff --git a/osmo-iuh.spec b/osmo-iuh.spec index 8ee0ef2..a969f69 100644 --- a/osmo-iuh.spec +++ b/osmo-iuh.spec @@ -17,7 +17,6 @@ Name: osmo-iuh -%define lname libosmo-ranap5 Version: 1.1.0 Release: 0 Summary: Osmocom code for the Iuh interface (HNBAP, RUA, RANAP) @@ -46,52 +45,59 @@ BuildRequires: pkgconfig(libosmovty) >= 1.5.0 Osmocom code for the Iuh interface (HNBAP, RUA, RANAP) %package -n libosmo-hnbap0 -Summary: Shared Library part of libosmo-hnbap +Summary: Home Node B Application Part library Group: System/Libraries %description -n libosmo-hnbap0 -Osmocom code for the Iuh interface (HNBAP, RUA, RANAP) +Osmocom code for the Home Node B Application Part. HNBAP is a control protocol +found in Home Node B networks on the Iu-h interface. %package -n libosmo-hnbap-devel Summary: Development files for Osmocom HNBAP library Group: Development/Libraries/C and C++ -Requires: libosmo-hnbap0 = %{version} +Requires: libosmo-hnbap0 = %version %description -n libosmo-hnbap-devel -Osmocom code for the Iuh interface (HNBAP, RUA, RANAP) +This subpackage contains libraries and header files for developing +applications that want to make use of libosmo-hnbap. -%package -n %lname -Summary: Shared Library part of libosmo-ranap +%package -n libosmo-ranap5 +Summary: Radio Access Network Application Part library Group: System/Libraries -%description -n %lname -Osmocom code for the Iuh interface (HNBAP, RUA, RANAP) +%description -n libosmo-ranap5 +Osmocom code for the Radio Access Network Application Part of the Iu-h +interface. %package -n libosmo-ranap-devel -Summary: Development files for Osmocom RANAP library +Summary: Header files for the Osmocom RANAP library Group: Development/Libraries/C and C++ -Requires: %lname = %version +Requires: libosmo-ranap5 = %version %description -n libosmo-ranap-devel -Osmocom code for the Iuh interface (HNBAP, RUA, RANAP) +Osmocom code for the Radio Access Network Application Part of the Iu-h +interface. This subpackage contains libraries and header files for developing -applications that want to make use of libosmoranap. +applications that want to make use of libosmo-ranap. %package -n libosmo-rua0 -Summary: Shared Library part of libosmo-rua +Summary: RANAP User Adaption signalling library Group: System/Libraries %description -n libosmo-rua0 -Osmocom code for the Iuh interface (HNBAP, RUA, RANAP) +Osmocom code for the RANAP User Adaption signalling. %package -n libosmo-rua-devel -Summary: Development files for Osmocom RUA library +Summary: Header files for the Osmocom RUA library Group: Development/Libraries/C and C++ -Requires: libosmo-rua0 = %{version} +Requires: libosmo-rua0 = %version %description -n libosmo-rua-devel -Osmocom code for the Iuh interface (HNBAP, RUA, RANAP) +Osmocom code for the RANAP User Adaption signalling. + +This subpackage contains libraries and header files for developing +applications that want to make use of libosmo-rua. %package -n libosmo-sabp1 Summary: Osmocom Service Area Broadcast Protocol library @@ -101,7 +107,7 @@ Group: System/Libraries Osmocom code for the Service Area Broadcast Protocol interface. %package -n libosmo-sabp-devel -Summary: Development files for Osmocom SABP library +Summary: Header files for the Osmocom SABP library Group: Development/Libraries/C and C++ Requires: libosmo-sabp1 = %version @@ -121,7 +127,7 @@ autoreconf -fi --disable-static \ --docdir="%_docdir/%name" \ --with-systemdsystemunitdir="%_unitdir" -make %{?_smp_mflags} +%make_build %install %make_install @@ -130,7 +136,7 @@ install -d %buildroot/%_sbindir ln -s %_sbindir/service %buildroot/%_sbindir/rcosmo-hnbgw %check -if ! make %{?_smp_mflags} check; then +if ! %make_build check; then find . -type f -name testsuite.log -exec cat "{}" "+" %ifnarch ppc ppc64 exit 1 @@ -139,8 +145,8 @@ fi %post -n libosmo-hnbap0 -p /sbin/ldconfig %postun -n libosmo-hnbap0 -p /sbin/ldconfig -%post -n %lname -p /sbin/ldconfig -%postun -n %lname -p /sbin/ldconfig +%post -n libosmo-ranap5 -p /sbin/ldconfig +%postun -n libosmo-ranap5 -p /sbin/ldconfig %post -n libosmo-rua0 -p /sbin/ldconfig %postun -n libosmo-rua0 -p /sbin/ldconfig %post -n libosmo-sabp1 -p /sbin/ldconfig @@ -170,40 +176,39 @@ fi %_sbindir/rcosmo-hnbgw %files -n libosmo-hnbap0 -%{_libdir}/libosmo-hnbap.so.0* +%_libdir/libosmo-hnbap.so.0* %files -n libosmo-hnbap-devel -%dir %{_includedir}/osmocom/ -%dir %{_includedir}/osmocom/hnbap/ -%{_includedir}/osmocom/hnbap/* -%{_libdir}/libosmo-hnbap.so -%{_libdir}/pkgconfig/libosmo-hnbap.pc +%dir %_includedir/osmocom/ +%dir %_includedir/osmocom/hnbap/ +%_includedir/osmocom/hnbap/* +%_libdir/libosmo-hnbap.so +%_libdir/pkgconfig/libosmo-hnbap.pc -%files -n %lname +%files -n libosmo-ranap5 %_libdir/libosmo-ranap.so.5* %files -n libosmo-ranap-devel -%dir %{_includedir}/osmocom -%_includedir/osmocom/ranap +%dir %_includedir/osmocom/ +%_includedir/osmocom/ranap/ %_libdir/libosmo-ranap.so %_libdir/pkgconfig/libosmo-ranap.pc %files -n libosmo-rua0 -%{_libdir}/libosmo-rua.so.0* +%_libdir/libosmo-rua.so.0* %files -n libosmo-rua-devel -%dir %{_includedir}/osmocom/ -%dir %{_includedir}/osmocom/rua/ -%{_includedir}/osmocom/rua/* -%{_libdir}/libosmo-rua.so -%{_libdir}/pkgconfig/libosmo-rua.pc +%dir %_includedir/osmocom/ +%_includedir/osmocom/rua/ +%_libdir/libosmo-rua.so +%_libdir/pkgconfig/libosmo-rua.pc %files -n libosmo-sabp1 %_libdir/libosmo-sabp.so.1* %files -n libosmo-sabp-devel -%dir %{_includedir}/osmocom -%_includedir/osmocom/sabp +%dir %_includedir/osmocom/ +%_includedir/osmocom/sabp/ %_libdir/libosmo-sabp.so %_libdir/pkgconfig/libosmo-sabp.pc From 4c50f6bcb3791a6979551c4eb06db056f3f2ee07b8a9516b24b928c4aba7ae25 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 19 Nov 2021 17:57:44 +0000 Subject: [PATCH 3/3] add changelog OBS-URL: https://build.opensuse.org/package/show/network:telephony/osmo-iuh?expand=0&rev=33 --- osmo-iuh.changes | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/osmo-iuh.changes b/osmo-iuh.changes index 4350a68..1e81ab3 100644 --- a/osmo-iuh.changes +++ b/osmo-iuh.changes @@ -2,7 +2,8 @@ Fri Nov 19 10:09:05 UTC 2021 - Martin Hauke - Update to new upstream release 1.1.0 - * http://git.osmocom.org/osmo-iuh/plain/debian/changelog?h=1.1.0 + * Provide libosmo-hnbap and libosmo-rua as a public shared + library ------------------------------------------------------------------- Wed Oct 13 13:53:31 UTC 2021 - Johannes Segitz