Accepting request 760938 from home:mnhauke:osmocom:CNI-2020-01

- Update to new upstream release 1.3.0
  * add osmo_sockaddr_str_cmp()
  * misc logging/vty fixes
  * fix OSMO_SOCKADDR_STR_FMT for IPv6
  * GPRS/BSSGP: introduce bssgp_bvc_ctx_free()
  * gsm_04_08.h: Introduce API osmo_gsm48_rfpowercap2powerclass()
  * gsm0508: add functions to calculate beginning of a block
  * socket: Introduce API osmo_sock_init2_multiaddr()
  * vty: Optionally Set/replace cfg file during cmd 'write file'
  * gsup: add OSMO_GSUP_SUPPORTED_RAT_TYPES_IE and
    OSMO_GSUP_CURRENT_RAT_TYPE_IE
  * tdef: Introduce API osmo_tdef_set()
  * Introduce BTS_FEAT_ETWS_PN for communicating ETWS PN capability
  * context: Add support for [per-thread] global talloc contexts
  * add vty logp command to echo on all log targets
- Add subpackges for the Osmocom USB library

OBS-URL: https://build.opensuse.org/request/show/760938
OBS-URL: https://build.opensuse.org/package/show/network:telephony/libosmocore?expand=0&rev=71
This commit is contained in:
Jan Engelhardt 2020-01-07 11:26:29 +00:00 committed by Git OBS Bridge
parent 105da71b52
commit 927e9fe9ae
5 changed files with 73 additions and 8 deletions

View File

@ -2,8 +2,8 @@
<service name="tar_scm" mode="disabled">
<param name="scm">git</param>
<param name="url">git://git.osmocom.org/libosmocore</param>
<param name="revision">1.2.0</param>
<param name="versionformat">1.2.0</param>
<param name="revision">1.3.0</param>
<param name="versionformat">1.3.0</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a9edda3dc0319af049cb6796e522f2865decfe594a2fb6e338d9d468973482ec
size 781516

3
libosmocore-1.3.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d982ce76104659d8cac2d381cc832304c9bfd8b7812ebb3f5fb1dcbecfccec13
size 817524

View File

@ -1,3 +1,23 @@
-------------------------------------------------------------------
Sun Jan 5 10:39:49 UTC 2020 - Martin Hauke <mardnh@gmx.de>
- Update to new upstream release 1.3.0
* add osmo_sockaddr_str_cmp()
* misc logging/vty fixes
* fix OSMO_SOCKADDR_STR_FMT for IPv6
* GPRS/BSSGP: introduce bssgp_bvc_ctx_free()
* gsm_04_08.h: Introduce API osmo_gsm48_rfpowercap2powerclass()
* gsm0508: add functions to calculate beginning of a block
* socket: Introduce API osmo_sock_init2_multiaddr()
* vty: Optionally Set/replace cfg file during cmd 'write file'
* gsup: add OSMO_GSUP_SUPPORTED_RAT_TYPES_IE and
OSMO_GSUP_CURRENT_RAT_TYPE_IE
* tdef: Introduce API osmo_tdef_set()
* Introduce BTS_FEAT_ETWS_PN for communicating ETWS PN capability
* context: Add support for [per-thread] global talloc contexts
* add vty logp command to echo on all log targets
- Add subpackges for the Osmocom USB library
-------------------------------------------------------------------
Wed Aug 14 17:24:05 UTC 2019 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package libosmocore
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 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
@ -17,7 +17,7 @@
Name: libosmocore
Version: 1.2.0
Version: 1.3.0
Release: 0
Summary: The Open Source Mobile Communications Core Library
License: GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later AND AGPL-3.0-or-later
@ -26,11 +26,13 @@ URL: https://osmocom.org/projects/libosmocore/wiki/Libosmocore
Source: %name-%version.tar.xz
BuildRequires: automake >= 1.6
BuildRequires: libtool >= 2
BuildRequires: lksctp-tools-devel
BuildRequires: pkg-config >= 0.20
BuildRequires: python2
BuildRequires: python3
BuildRequires: xz
BuildRequires: pkgconfig(gnutls) >= 2.12.0
BuildRequires: pkgconfig(libpcsclite)
BuildRequires: pkgconfig(libusb-1.0)
BuildRequires: pkgconfig(talloc) >= 2.0.1
%description
@ -270,6 +272,33 @@ VTY (Virtual TTY), as well as configuration file parsing.
This subpackage contains libraries and header files for developing
applications that want to make use of libosmovty.
%package -n libosmousb0
Summary: Osmocom USB library
License: GPL-2.0-or-later
Group: System/Libraries
%description -n libosmousb0
libosmocore is a package with various utility functions that were
originally developed as part of the OpenBSC project.
The libosmosub library in particular contains routines for USB device
access via libusb-1.0, integrated into the libosmocore select event loop.
%package -n libosmousb-devel
Summary: Development files for the Osmocom USB library
License: GPL-2.0-or-later
Group: Development/Libraries/C and C++
Requires: libosmocore-devel = %version
Requires: libosmousb0 = %version
Requires: libusb-1_0-devel
%description -n libosmousb-devel
The libosmosub library in particular contains routines for USB device
access via libusb-1.0, integrated into the libosmocore select event loop.
This subpackage contains libraries and header files for developing
applications that want to make use of libosmousb.
%prep
%autosetup -p1
@ -306,6 +335,8 @@ make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)
%postun -n libosmosim0 -p /sbin/ldconfig
%post -n libosmovty4 -p /sbin/ldconfig
%postun -n libosmovty4 -p /sbin/ldconfig
%post -n libosmousb0 -p /sbin/ldconfig
%postun -n libosmousb0 -p /sbin/ldconfig
%files tools
%_bindir/osmo-*
@ -339,6 +370,8 @@ make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)
%_includedir/%name/osmocom/core/
%_libdir/libosmocore.so
%_libdir/pkgconfig/libosmocore.pc
%_datadir/aclocal/osmo_ax_code_coverage.m4
%_datadir/aclocal/osmo_ac_code_coverage.m4
%files -n libosmoctrl0
%_libdir/libosmoctrl.so.0*
@ -392,4 +425,16 @@ make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)
%_libdir/libosmovty.so
%_libdir/pkgconfig/libosmovty.pc
%files -n libosmousb0
%defattr(-,root,root)
%_libdir/libosmousb.so.0*
%files -n libosmousb-devel
%defattr(-,root,root)
%dir %_includedir/%name
%dir %_includedir/%name/osmocom
%_includedir/%name/osmocom/usb/
%_libdir/libosmousb.so
%_libdir/pkgconfig/libosmousb.pc
%changelog