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