2013-02-22 08:03:03 +00:00
|
|
|
#
|
|
|
|
# spec file for package libosmocore
|
|
|
|
#
|
2024-06-18 08:30:17 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2013-02-22 08:03:03 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-02-19 15:39:36 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2013-02-22 08:03:03 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: libosmocore
|
2024-06-18 08:30:17 +00:00
|
|
|
Version: 1.9.3
|
2015-03-01 01:13:36 +00:00
|
|
|
Release: 0
|
2017-12-27 20:33:49 +00:00
|
|
|
Summary: The Open Source Mobile Communications Core Library
|
2021-11-19 11:35:25 +00:00
|
|
|
License: AGPL-3.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later
|
2013-06-02 23:46:00 +00:00
|
|
|
Group: Productivity/Telephony/Utilities
|
2019-08-14 17:35:53 +00:00
|
|
|
URL: https://osmocom.org/projects/libosmocore/wiki/Libosmocore
|
2021-03-14 20:30:28 +00:00
|
|
|
Source: https://github.com/osmocom/libosmocore/archive/%version.tar.gz
|
2013-02-22 08:03:03 +00:00
|
|
|
BuildRequires: automake >= 1.6
|
2017-04-28 23:53:39 +00:00
|
|
|
BuildRequires: libtool >= 2
|
2020-01-07 11:26:29 +00:00
|
|
|
BuildRequires: lksctp-tools-devel
|
2017-04-28 23:55:04 +00:00
|
|
|
BuildRequires: pkg-config >= 0.20
|
2020-01-07 11:26:29 +00:00
|
|
|
BuildRequires: python3
|
2013-02-22 08:03:03 +00:00
|
|
|
BuildRequires: xz
|
2018-08-20 20:11:23 +00:00
|
|
|
BuildRequires: pkgconfig(gnutls) >= 2.12.0
|
2021-03-14 20:30:28 +00:00
|
|
|
BuildRequires: pkgconfig(libmnl)
|
2015-03-01 01:13:36 +00:00
|
|
|
BuildRequires: pkgconfig(libpcsclite)
|
2023-11-01 18:18:42 +00:00
|
|
|
BuildRequires: pkgconfig(liburing)
|
2020-01-07 11:26:29 +00:00
|
|
|
BuildRequires: pkgconfig(libusb-1.0)
|
2021-11-19 11:35:25 +00:00
|
|
|
BuildRequires: pkgconfig(talloc) >= 2.1.0
|
2013-02-22 08:03:03 +00:00
|
|
|
|
|
|
|
%description
|
2017-04-28 20:56:51 +00:00
|
|
|
libosmocore is a package with various utility functions that were
|
2013-02-22 08:03:03 +00:00
|
|
|
originally developed as part of the OpenBSC project, but which are of
|
|
|
|
a more generic nature and thus useful to (at least) other programs
|
2017-04-28 20:56:51 +00:00
|
|
|
that Osmocom develops w.r.t. mobile communications.
|
2013-02-22 08:03:03 +00:00
|
|
|
|
|
|
|
There is no clear scope of it. It simply houses all code shared
|
|
|
|
between OsmocomBB and OpenBSC to avoid code duplication.
|
|
|
|
|
2013-06-02 23:26:53 +00:00
|
|
|
%package tools
|
|
|
|
Summary: GSM utilities from the osmocore project
|
2021-11-19 11:35:25 +00:00
|
|
|
License: AGPL-3.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND LGPL-3.0-or-later
|
2013-06-02 23:46:00 +00:00
|
|
|
Group: Productivity/Telephony/Utilities
|
2017-04-28 20:56:51 +00:00
|
|
|
Provides: %name-utils = %version-%release
|
2013-06-02 23:26:53 +00:00
|
|
|
|
|
|
|
%description tools
|
2017-04-28 20:56:51 +00:00
|
|
|
libosmocore is a package with various utility functions that were
|
|
|
|
originally developed as part of the OpenBSC project.
|
2013-06-02 23:33:27 +00:00
|
|
|
|
2017-04-28 20:56:51 +00:00
|
|
|
This package contains a program for frequency calculation for GSM
|
|
|
|
called "osmo-arfcn", and a program called "osmo-auc-gen" that is used
|
|
|
|
for testing GSM authentication.
|
2013-06-02 23:26:53 +00:00
|
|
|
|
2023-11-01 18:18:42 +00:00
|
|
|
%package -n libosmocodec4
|
2017-04-28 20:56:51 +00:00
|
|
|
Summary: GSM 06.10, 06.20, 06.60, 06.90 codec library
|
2018-03-14 10:20:17 +00:00
|
|
|
License: GPL-2.0-or-later
|
2013-02-22 08:03:03 +00:00
|
|
|
Group: System/Libraries
|
|
|
|
|
2023-11-01 18:18:42 +00:00
|
|
|
%description -n libosmocodec4
|
2017-04-28 20:56:51 +00:00
|
|
|
The libosmocodec library contains an implementation of multiple
|
|
|
|
GSM codecs:
|
|
|
|
|
|
|
|
* GSM 06.10 Full Rate (FR) codec
|
|
|
|
* GSM 06.20 Half Rate (HR) codec
|
|
|
|
* GSM 06.60 Enhanced Full Range (EFR) codec
|
|
|
|
* GSM 06.90 Adaptive Multi-Rate (AMR) codec
|
2013-02-22 08:03:03 +00:00
|
|
|
|
|
|
|
%package -n libosmocodec-devel
|
2017-04-28 20:56:51 +00:00
|
|
|
Summary: Development files for the Osmocom GSM codec library
|
2018-03-14 10:20:17 +00:00
|
|
|
License: GPL-2.0-or-later
|
2013-02-22 08:03:03 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
2023-11-01 18:18:42 +00:00
|
|
|
Requires: libosmocodec4 = %version
|
2013-02-22 08:03:03 +00:00
|
|
|
|
|
|
|
%description -n libosmocodec-devel
|
2017-04-28 20:56:51 +00:00
|
|
|
The libosmocodec library contains an implementation of multiple
|
|
|
|
GSM codecs.
|
2013-06-02 23:33:27 +00:00
|
|
|
|
2013-06-02 23:26:53 +00:00
|
|
|
This subpackage contains libraries and header files for developing
|
|
|
|
applications that want to make use of libosmocodec.
|
2013-02-22 08:03:03 +00:00
|
|
|
|
2017-04-28 20:56:51 +00:00
|
|
|
%package -n libosmocoding0
|
|
|
|
Summary: GSM/GPRS/EDGE transcoding routines library
|
2018-03-14 10:20:17 +00:00
|
|
|
License: GPL-2.0-or-later
|
2017-04-28 20:56:51 +00:00
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libosmocoding0
|
|
|
|
libosmocoding is a library which provides GSM, GPRS and EDGE
|
|
|
|
transcoding routines.
|
|
|
|
|
|
|
|
The following data types are currently supported: xCCH, PDTCH (CS 1-4
|
|
|
|
and MCS 1-9), TCH/FR, TCH/HR, TCH/AFS, RCH/AHS, RACH and SCH.
|
|
|
|
|
|
|
|
%package -n libosmocoding-devel
|
|
|
|
Summary: Development files for the Osmocom transcoding library
|
2018-03-14 10:20:17 +00:00
|
|
|
License: GPL-2.0-or-later
|
2017-04-28 20:56:51 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libosmocoding0 = %version
|
2018-03-22 19:18:38 +00:00
|
|
|
Requires: libosmocore-devel = %version
|
2017-04-28 20:56:51 +00:00
|
|
|
|
|
|
|
%description -n libosmocoding-devel
|
|
|
|
libosmocoding is a library which provides GSM, GPRS and EDGE
|
|
|
|
transcoding routines.
|
|
|
|
|
|
|
|
This subpackage contains libraries and header files for developing
|
|
|
|
applications that want to make use of libosmocoding.
|
|
|
|
|
2023-11-01 18:18:42 +00:00
|
|
|
%package -n libosmocore21
|
2013-02-22 08:03:03 +00:00
|
|
|
Summary: Osmocom core library
|
2017-04-28 20:56:51 +00:00
|
|
|
# crc16.c has GPL2-only clauses, the rest (*.c) is GPL-2.0+
|
2018-03-14 10:20:17 +00:00
|
|
|
License: GPL-2.0-only AND GPL-2.0-or-later
|
2014-07-21 07:58:13 +00:00
|
|
|
Group: System/Libraries
|
2013-02-22 08:03:03 +00:00
|
|
|
|
2023-11-01 18:18:42 +00:00
|
|
|
%description -n libosmocore21
|
2013-02-22 08:03:03 +00:00
|
|
|
libosmocore is a library with various utility functions shared
|
|
|
|
between OpenBSC and OsmocomBB.
|
|
|
|
|
|
|
|
%package -n libosmocore-devel
|
|
|
|
Summary: Development files for the Osmocom core library
|
2017-04-28 20:56:51 +00:00
|
|
|
# crc16.h has GPL2-only clauses, the rest (*.h) is GPL-2.0+
|
2018-03-14 10:20:17 +00:00
|
|
|
License: GPL-2.0-only AND GPL-2.0-or-later
|
2013-02-22 08:03:03 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
2023-11-01 18:18:42 +00:00
|
|
|
Requires: libosmocore21 = %version
|
2013-02-22 08:03:03 +00:00
|
|
|
Requires: libtalloc-devel
|
|
|
|
|
|
|
|
%description -n libosmocore-devel
|
2013-06-02 23:33:27 +00:00
|
|
|
libosmocore is a library with various utility functions shared
|
|
|
|
between OpenBSC and OsmocomBB.
|
|
|
|
|
2013-06-02 23:26:53 +00:00
|
|
|
This subpackage contains libraries and header files for developing
|
|
|
|
applications that want to make use of libosmocore.
|
2013-02-22 08:03:03 +00:00
|
|
|
|
2014-10-02 20:37:02 +00:00
|
|
|
%package -n libosmoctrl0
|
|
|
|
Summary: Osmocom SNMP-like control interface library
|
2018-03-14 10:20:17 +00:00
|
|
|
License: GPL-2.0-or-later
|
2014-10-02 20:37:02 +00:00
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libosmoctrl0
|
2017-04-28 20:56:51 +00:00
|
|
|
libosmocore is a package with various utility functions that were
|
|
|
|
originally developed as part of the OpenBSC project.
|
2014-10-02 20:37:02 +00:00
|
|
|
|
|
|
|
libosmoctrl is an SNMP-like control interface. In contrast to the VTY
|
|
|
|
interface, the control interface is meant to be used by programs.
|
|
|
|
|
|
|
|
%package -n libosmoctrl-devel
|
|
|
|
Summary: Osmocom control interface library
|
2018-03-14 10:20:17 +00:00
|
|
|
License: GPL-2.0-or-later
|
2014-10-02 20:37:02 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libosmocore-devel = %version
|
|
|
|
Requires: libosmoctrl0 = %version
|
|
|
|
Requires: libosmovty-devel = %version
|
|
|
|
|
|
|
|
%description -n libosmoctrl-devel
|
|
|
|
libosmoctrl is an SNMP-like control interface. In contrast to the VTY
|
|
|
|
interface, the control interface is meant to be used by programs.
|
|
|
|
|
|
|
|
This subpackage contains libraries and header files for developing
|
|
|
|
applications that want to make use of libosmoctrl.
|
|
|
|
|
2022-08-03 14:52:27 +00:00
|
|
|
%package -n libosmogb14
|
2013-02-22 08:03:03 +00:00
|
|
|
Summary: Osmocom GPRS Gb Interface (NS/BSSGP) library
|
2018-03-14 10:20:17 +00:00
|
|
|
License: AGPL-3.0-or-later
|
2013-02-22 08:03:03 +00:00
|
|
|
Group: System/Libraries
|
|
|
|
|
2022-08-03 14:52:27 +00:00
|
|
|
%description -n libosmogb14
|
2017-04-28 20:56:51 +00:00
|
|
|
libosmocore is a package with various utility functions that were
|
|
|
|
originally developed as part of the OpenBSC project.
|
|
|
|
|
|
|
|
The libosmogb library contains a GPRS BSSGP protocol implementation.
|
2013-02-22 08:03:03 +00:00
|
|
|
|
|
|
|
%package -n libosmogb-devel
|
|
|
|
Summary: Development files for the Osmocom GPRS Gb interface library
|
2018-03-14 10:20:17 +00:00
|
|
|
License: AGPL-3.0-or-later
|
2013-02-22 08:03:03 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libosmocore-devel = %version
|
2022-08-03 14:52:27 +00:00
|
|
|
Requires: libosmogb14 = %version
|
2013-02-22 08:03:03 +00:00
|
|
|
Requires: libosmogsm-devel = %version
|
|
|
|
|
|
|
|
%description -n libosmogb-devel
|
2017-04-28 20:56:51 +00:00
|
|
|
The libosmogb library contains a GPRS BSSGP protocol implementation.
|
2013-06-02 23:33:27 +00:00
|
|
|
|
2013-06-02 23:26:53 +00:00
|
|
|
This subpackage contains libraries and header files for developing
|
|
|
|
applications that want to make use of libosmogb.
|
2013-02-22 08:03:03 +00:00
|
|
|
|
2023-11-01 18:18:42 +00:00
|
|
|
%package -n libosmogsm20
|
2017-04-28 20:56:51 +00:00
|
|
|
Summary: Osmocom GSM utility library
|
2021-11-19 11:35:25 +00:00
|
|
|
License: AGPL-3.0-or-later AND GPL-2.0-or-later
|
2013-02-22 08:03:03 +00:00
|
|
|
Group: System/Libraries
|
|
|
|
|
2023-11-01 18:18:42 +00:00
|
|
|
%description -n libosmogsm20
|
2017-04-28 20:56:51 +00:00
|
|
|
libosmocore is a package with various utility functions that were
|
|
|
|
originally developed as part of the OpenBSC project.
|
|
|
|
|
|
|
|
The libosmogsm library in particular is a collection of common code
|
|
|
|
used in various GSM related sub-projects inside the Osmocom family of
|
2022-08-03 14:52:27 +00:00
|
|
|
projects. It includes A5/1 and A5/2 ciphers, COMP148v1, a LAPDm
|
2017-04-28 20:56:51 +00:00
|
|
|
implementation, a GSM TLV parser, SMS utility routines as well as
|
|
|
|
protocol definitions for a series of protocols.
|
2013-02-22 08:03:03 +00:00
|
|
|
|
|
|
|
%package -n libosmogsm-devel
|
2017-04-28 20:56:51 +00:00
|
|
|
Summary: Development files for the Osmocom GSM utility library
|
2021-11-19 11:35:25 +00:00
|
|
|
License: AGPL-3.0-or-later AND GPL-2.0-or-later
|
2013-02-22 08:03:03 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libosmocore-devel = %version
|
2023-11-01 18:18:42 +00:00
|
|
|
Requires: libosmogsm20 = %version
|
2013-02-22 08:03:03 +00:00
|
|
|
|
|
|
|
%description -n libosmogsm-devel
|
2017-04-28 20:56:51 +00:00
|
|
|
The libosmogsm library in particular is a collection of common code
|
|
|
|
used in various GSM related sub-projects inside the Osmocom family of
|
2022-08-03 14:52:27 +00:00
|
|
|
projects. It includes A5/1 and A5/2 ciphers, COMP148v1, a LAPDm
|
2017-04-28 20:56:51 +00:00
|
|
|
implementation, a GSM TLV parser, SMS utility routines as well as
|
|
|
|
protocol definitions for a series of protocols.
|
2013-06-02 23:33:27 +00:00
|
|
|
|
2013-06-02 23:26:53 +00:00
|
|
|
This subpackage contains libraries and header files for developing
|
|
|
|
applications that want to make use of libosmogsm.
|
2013-02-22 08:03:03 +00:00
|
|
|
|
2023-05-18 10:12:39 +00:00
|
|
|
%package -n libosmoisdn0
|
|
|
|
Summary: Osmo ISDN utility library
|
|
|
|
License: GPL-2.0-or-later
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libosmoisdn0
|
|
|
|
The libosmocore library contains various utility functions, a
|
|
|
|
collection of common code used in various ISDN related sub-projects
|
|
|
|
inside the Osmocom family of projects. It includes an I.460
|
|
|
|
sub-channel multiplex and a generic LAPD core.
|
|
|
|
|
|
|
|
%package -n libosmoisdn-devel
|
|
|
|
Summary: Development files for the Osmo ISDN utility library
|
|
|
|
License: GPL-2.0-or-later
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
|
|
|
%description -n libosmoisdn-devel
|
|
|
|
The libosmocore library contains various utility functions, a
|
|
|
|
collection of common code used in various ISDN related sub-projects
|
|
|
|
inside the Osmocom family of projects. It includes an I.460
|
|
|
|
sub-channel multiplex and a generic LAPD core.
|
|
|
|
|
2020-09-06 12:16:55 +00:00
|
|
|
%package -n libosmosim2
|
2015-03-01 01:13:36 +00:00
|
|
|
Summary: Osmocom SIM card related utility library
|
2018-03-14 10:20:17 +00:00
|
|
|
License: GPL-2.0-or-later
|
2015-03-01 01:13:36 +00:00
|
|
|
Group: System/Libraries
|
|
|
|
|
2020-09-06 12:16:55 +00:00
|
|
|
%description -n libosmosim2
|
2017-04-28 20:56:51 +00:00
|
|
|
libosmocore is a package with various utility functions that were
|
|
|
|
originally developed as part of the OpenBSC project.
|
|
|
|
|
|
|
|
The libosmosim library in particular contains routines for SIM card
|
|
|
|
access.
|
2015-03-01 01:13:36 +00:00
|
|
|
|
|
|
|
%package -n libosmosim-devel
|
|
|
|
Summary: Development files for the Osmocom SIM card utility library
|
2018-03-14 10:20:17 +00:00
|
|
|
License: GPL-2.0-or-later
|
2015-03-01 01:13:36 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libosmocore-devel = %version
|
2020-09-06 12:16:55 +00:00
|
|
|
Requires: libosmosim2 = %version
|
2015-03-01 01:13:36 +00:00
|
|
|
|
|
|
|
%description -n libosmosim-devel
|
2017-04-28 20:56:51 +00:00
|
|
|
The libosmosim library in particular contains routines for SIM card
|
|
|
|
access.
|
2015-03-01 01:13:36 +00:00
|
|
|
|
|
|
|
This subpackage contains libraries and header files for developing
|
|
|
|
applications that want to make use of libosmosim.
|
|
|
|
|
2021-03-14 20:30:28 +00:00
|
|
|
%package -n libosmousb0
|
|
|
|
Summary: Osmocom USB library
|
2018-03-14 10:20:17 +00:00
|
|
|
License: GPL-2.0-or-later
|
2013-02-22 08:03:03 +00:00
|
|
|
Group: System/Libraries
|
|
|
|
|
2021-03-14 20:30:28 +00:00
|
|
|
%description -n libosmousb0
|
2017-04-28 20:56:51 +00:00
|
|
|
libosmocore is a package with various utility functions that were
|
|
|
|
originally developed as part of the OpenBSC project.
|
|
|
|
|
2021-03-14 20:30:28 +00:00
|
|
|
The libosmosub library in particular contains routines for USB device
|
|
|
|
access via libusb-1.0, integrated into the libosmocore select event loop.
|
2013-02-22 08:03:03 +00:00
|
|
|
|
2021-03-14 20:30:28 +00:00
|
|
|
%package -n libosmousb-devel
|
|
|
|
Summary: Development files for the Osmocom USB library
|
2018-03-14 10:20:17 +00:00
|
|
|
License: GPL-2.0-or-later
|
2013-02-22 08:03:03 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libosmocore-devel = %version
|
2021-03-14 20:30:28 +00:00
|
|
|
Requires: libosmousb0 = %version
|
|
|
|
Requires: libusb-1_0-devel
|
2013-02-22 08:03:03 +00:00
|
|
|
|
2021-03-14 20:30:28 +00:00
|
|
|
%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.
|
2013-06-02 23:33:27 +00:00
|
|
|
|
2013-06-02 23:26:53 +00:00
|
|
|
This subpackage contains libraries and header files for developing
|
2021-03-14 20:30:28 +00:00
|
|
|
applications that want to make use of libosmousb.
|
2013-02-22 08:03:03 +00:00
|
|
|
|
2023-11-01 18:18:42 +00:00
|
|
|
%package -n libosmovty13
|
2021-03-14 20:30:28 +00:00
|
|
|
Summary: Osmocom VTY interface library
|
2020-01-07 11:26:29 +00:00
|
|
|
License: GPL-2.0-or-later
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2023-11-01 18:18:42 +00:00
|
|
|
%description -n libosmovty13
|
2020-01-07 11:26:29 +00:00
|
|
|
libosmocore is a package with various utility functions that were
|
|
|
|
originally developed as part of the OpenBSC project.
|
|
|
|
|
2021-03-14 20:30:28 +00:00
|
|
|
The libosmovty library implements the interactive command-line on the
|
|
|
|
VTY (Virtual TTY), as well as configuration file parsing.
|
2020-01-07 11:26:29 +00:00
|
|
|
|
2021-03-14 20:30:28 +00:00
|
|
|
%package -n libosmovty-devel
|
|
|
|
Summary: Development files for the Osmocom VTY interface library
|
2020-01-07 11:26:29 +00:00
|
|
|
License: GPL-2.0-or-later
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libosmocore-devel = %version
|
2023-11-01 18:18:42 +00:00
|
|
|
Requires: libosmovty13 = %version
|
2020-01-07 11:26:29 +00:00
|
|
|
|
2021-03-14 20:30:28 +00:00
|
|
|
%description -n libosmovty-devel
|
|
|
|
The libosmovty library implements the interactive command-line on the
|
|
|
|
VTY (Virtual TTY), as well as configuration file parsing.
|
2020-01-07 11:26:29 +00:00
|
|
|
|
|
|
|
This subpackage contains libraries and header files for developing
|
2021-03-14 20:30:28 +00:00
|
|
|
applications that want to make use of libosmovty.
|
2020-01-07 11:26:29 +00:00
|
|
|
|
2013-02-22 08:03:03 +00:00
|
|
|
%prep
|
2019-08-14 17:35:53 +00:00
|
|
|
%autosetup -p1
|
2013-02-22 08:03:03 +00:00
|
|
|
|
|
|
|
%build
|
2015-03-01 09:35:05 +00:00
|
|
|
echo "%version" >.tarball-version
|
2013-02-22 08:03:03 +00:00
|
|
|
autoreconf -fiv
|
2020-09-06 12:22:03 +00:00
|
|
|
# bugzilla.opensuse.org/795968 for rationale
|
2020-09-06 12:16:55 +00:00
|
|
|
%configure --includedir="%_includedir/%name" \
|
|
|
|
CFLAGS="%optflags -fcommon" \
|
|
|
|
--enable-shared --disable-static
|
|
|
|
%make_build
|
2013-02-22 08:03:03 +00:00
|
|
|
|
|
|
|
%install
|
2020-06-05 23:06:16 +00:00
|
|
|
%make_install
|
|
|
|
find "%buildroot/%_libdir" -type f -name "*.la" -delete
|
2013-02-22 08:03:03 +00:00
|
|
|
|
|
|
|
%check
|
2020-09-06 12:16:55 +00:00
|
|
|
%make_build check || (find . -name testsuite.log -exec cat {} +)
|
2013-02-22 08:03:03 +00:00
|
|
|
|
2024-06-18 08:32:31 +00:00
|
|
|
%ldconfig_scriptlets -n libosmocodec4
|
|
|
|
%ldconfig_scriptlets -n libosmocoding0
|
|
|
|
%ldconfig_scriptlets -n libosmocore21
|
|
|
|
%ldconfig_scriptlets -n libosmoctrl0
|
|
|
|
%ldconfig_scriptlets -n libosmogb14
|
|
|
|
%ldconfig_scriptlets -n libosmogsm20
|
|
|
|
%ldconfig_scriptlets -n libosmosim2
|
|
|
|
%ldconfig_scriptlets -n libosmousb0
|
|
|
|
%ldconfig_scriptlets -n libosmovty13
|
2013-02-22 08:03:03 +00:00
|
|
|
|
2013-06-02 23:26:53 +00:00
|
|
|
%files tools
|
|
|
|
%_bindir/osmo-*
|
|
|
|
|
2023-11-01 18:18:42 +00:00
|
|
|
%files -n libosmocodec4
|
2022-08-03 14:52:27 +00:00
|
|
|
%_libdir/libosmocodec.so.*
|
2013-02-22 08:03:03 +00:00
|
|
|
|
|
|
|
%files -n libosmocodec-devel
|
2020-09-06 12:16:55 +00:00
|
|
|
%dir %_includedir/%name/
|
|
|
|
%dir %_includedir/%name/osmocom/
|
2016-01-22 18:10:45 +00:00
|
|
|
%_includedir/%name/osmocom/codec/
|
2013-02-22 08:03:03 +00:00
|
|
|
%_libdir/libosmocodec.so
|
|
|
|
%_libdir/pkgconfig/libosmocodec.pc
|
|
|
|
|
2017-04-28 20:56:51 +00:00
|
|
|
%files -n libosmocoding0
|
2022-08-03 14:52:27 +00:00
|
|
|
%_libdir/libosmocoding.so.*
|
2017-04-28 20:56:51 +00:00
|
|
|
|
|
|
|
%files -n libosmocoding-devel
|
2020-09-06 12:16:55 +00:00
|
|
|
%dir %_includedir/%name/
|
|
|
|
%dir %_includedir/%name/osmocom/
|
2017-04-28 20:56:51 +00:00
|
|
|
%_includedir/%name/osmocom/coding/
|
|
|
|
%_libdir/libosmocoding.so
|
|
|
|
%_libdir/pkgconfig/libosmocoding.pc
|
|
|
|
|
2023-11-01 18:18:42 +00:00
|
|
|
%files -n libosmocore21
|
2022-08-03 14:52:27 +00:00
|
|
|
%_libdir/libosmocore.so.*
|
2013-02-22 08:03:03 +00:00
|
|
|
|
|
|
|
%files -n libosmocore-devel
|
2020-09-06 12:16:55 +00:00
|
|
|
%dir %_includedir/%name/
|
|
|
|
%dir %_includedir/%name/osmocom/
|
2016-01-22 18:10:45 +00:00
|
|
|
%_includedir/%name/osmocom/core/
|
2013-02-22 08:03:03 +00:00
|
|
|
%_libdir/libosmocore.so
|
|
|
|
%_libdir/pkgconfig/libosmocore.pc
|
2020-01-07 11:26:29 +00:00
|
|
|
%_datadir/aclocal/osmo_ax_code_coverage.m4
|
|
|
|
%_datadir/aclocal/osmo_ac_code_coverage.m4
|
2013-02-22 08:03:03 +00:00
|
|
|
|
2014-10-02 20:37:02 +00:00
|
|
|
%files -n libosmoctrl0
|
2022-08-03 14:52:27 +00:00
|
|
|
%_libdir/libosmoctrl.so.*
|
2014-10-02 20:37:02 +00:00
|
|
|
|
|
|
|
%files -n libosmoctrl-devel
|
2020-09-06 12:16:55 +00:00
|
|
|
%dir %_includedir/%name/
|
|
|
|
%dir %_includedir/%name/osmocom/
|
2016-01-22 18:10:45 +00:00
|
|
|
%_includedir/%name/osmocom/ctrl/
|
2014-10-02 20:37:02 +00:00
|
|
|
%_libdir/libosmoctrl.so
|
|
|
|
%_libdir/pkgconfig/libosmoctrl.pc
|
|
|
|
|
2022-08-03 14:52:27 +00:00
|
|
|
%files -n libosmogb14
|
|
|
|
%_libdir/libosmogb.so.*
|
2013-02-22 08:03:03 +00:00
|
|
|
|
|
|
|
%files -n libosmogb-devel
|
2020-09-06 12:16:55 +00:00
|
|
|
%dir %_includedir/%name/
|
|
|
|
%dir %_includedir/%name/osmocom/
|
2016-01-22 18:10:45 +00:00
|
|
|
%_includedir/%name/osmocom/gprs/
|
2013-02-22 08:03:03 +00:00
|
|
|
%_libdir/libosmogb.so
|
|
|
|
%_libdir/pkgconfig/libosmogb.pc
|
|
|
|
|
2023-11-01 18:18:42 +00:00
|
|
|
%files -n libosmogsm20
|
2022-08-03 14:52:27 +00:00
|
|
|
%_libdir/libosmogsm.so.*
|
2013-02-22 08:03:03 +00:00
|
|
|
|
|
|
|
%files -n libosmogsm-devel
|
2020-09-06 12:16:55 +00:00
|
|
|
%dir %_includedir/%name/
|
|
|
|
%dir %_includedir/%name/osmocom/
|
2016-01-22 18:10:45 +00:00
|
|
|
%_includedir/%name/osmocom/gsm/
|
|
|
|
%_includedir/%name/osmocom/crypt/
|
2013-02-22 08:03:03 +00:00
|
|
|
%_libdir/libosmogsm.so
|
|
|
|
%_libdir/pkgconfig/libosmogsm.pc
|
|
|
|
|
2023-05-18 10:12:39 +00:00
|
|
|
%files -n libosmoisdn0
|
|
|
|
%_libdir/libosmoisdn.so.*
|
|
|
|
|
|
|
|
%files -n libosmoisdn-devel
|
|
|
|
%dir %_includedir/%name/
|
|
|
|
%dir %_includedir/%name/osmocom/
|
|
|
|
%_includedir/%name/osmocom/isdn/
|
|
|
|
%_libdir/libosmoisdn.so
|
|
|
|
%_libdir/pkgconfig/libosmoisdn.pc
|
|
|
|
|
2020-09-06 12:16:55 +00:00
|
|
|
%files -n libosmosim2
|
2022-08-03 14:52:27 +00:00
|
|
|
%_libdir/libosmosim.so.*
|
2015-03-01 01:13:36 +00:00
|
|
|
|
|
|
|
%files -n libosmosim-devel
|
2020-09-06 12:16:55 +00:00
|
|
|
%dir %_includedir/%name/
|
2016-01-22 18:10:45 +00:00
|
|
|
%dir %_includedir/%name/osmocom/
|
|
|
|
%_includedir/%name/osmocom/sim/
|
2015-03-01 01:13:36 +00:00
|
|
|
%_libdir/libosmosim.so
|
|
|
|
%_libdir/pkgconfig/libosmosim.pc
|
|
|
|
|
2020-01-07 11:26:29 +00:00
|
|
|
%files -n libosmousb0
|
2022-08-03 14:52:27 +00:00
|
|
|
%_libdir/libosmousb.so.*
|
2020-01-07 11:26:29 +00:00
|
|
|
|
|
|
|
%files -n libosmousb-devel
|
2020-09-06 12:16:55 +00:00
|
|
|
%dir %_includedir/%name/
|
|
|
|
%dir %_includedir/%name/osmocom/
|
2020-01-07 11:26:29 +00:00
|
|
|
%_includedir/%name/osmocom/usb/
|
|
|
|
%_libdir/libosmousb.so
|
|
|
|
%_libdir/pkgconfig/libosmousb.pc
|
|
|
|
|
2023-11-01 18:18:42 +00:00
|
|
|
%files -n libosmovty13
|
2022-08-03 14:52:27 +00:00
|
|
|
%_libdir/libosmovty.so.*
|
2021-03-14 20:30:28 +00:00
|
|
|
|
|
|
|
%files -n libosmovty-devel
|
|
|
|
%dir %_includedir/%name/
|
|
|
|
%dir %_includedir/%name/osmocom/
|
|
|
|
%_includedir/%name/osmocom/vty/
|
|
|
|
%_includedir/%name/osmo-release.mk
|
|
|
|
%_libdir/libosmovty.so
|
|
|
|
%_libdir/pkgconfig/libosmovty.pc
|
|
|
|
|
2013-02-22 08:03:03 +00:00
|
|
|
%changelog
|