2013-02-22 09:03:06 +01:00
|
|
|
#
|
|
|
|
# spec file for package libosmo-abis
|
|
|
|
#
|
2021-03-14 21:51:57 +01:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2013-02-22 09:03:06 +01: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-08-15 06:30:38 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2013-02-22 09:03:06 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: libosmo-abis
|
2021-11-19 13:10:28 +01:00
|
|
|
Version: 1.2.0
|
2014-10-02 22:43:49 +02:00
|
|
|
Release: 0
|
2015-03-01 02:16:31 +01:00
|
|
|
Summary: Osmocom library for A-bis interface between BTS and BSC
|
2018-03-25 11:08:09 +02:00
|
|
|
License: AGPL-3.0-or-later AND GPL-2.0-or-later
|
2015-12-23 18:38:45 +01:00
|
|
|
Group: Productivity/Telephony/Utilities
|
2019-08-15 06:30:38 +02:00
|
|
|
URL: https://osmocom.org/projects/libosmo-abis/wiki/Libosmo-abis
|
2013-02-22 09:03:06 +01:00
|
|
|
|
2021-03-14 21:51:57 +01:00
|
|
|
Source: https://github.com/osmocom/libosmo-abis/archive/%version.tar.gz
|
2015-03-01 10:27:54 +01:00
|
|
|
Patch1: osmo-talloc.diff
|
2013-02-22 09:03:06 +01:00
|
|
|
BuildRequires: automake >= 1.6
|
2017-04-29 01:55:50 +02:00
|
|
|
BuildRequires: libtool >= 2
|
|
|
|
BuildRequires: pkgconfig >= 0.20
|
2013-02-22 09:03:06 +01:00
|
|
|
BuildRequires: xz
|
2021-03-14 21:51:57 +01:00
|
|
|
BuildRequires: pkgconfig(libosmo-e1d) >= 0.2.0
|
|
|
|
BuildRequires: pkgconfig(libosmocodec) >= 1.5.0
|
|
|
|
BuildRequires: pkgconfig(libosmocore) >= 1.5.0
|
|
|
|
BuildRequires: pkgconfig(libosmogsm) >= 1.5.0
|
|
|
|
BuildRequires: pkgconfig(libosmovty) >= 1.5.0
|
2016-10-01 14:31:05 +02:00
|
|
|
BuildRequires: pkgconfig(ortp) >= 0.22
|
2017-10-03 00:58:32 +02:00
|
|
|
BuildRequires: pkgconfig(talloc)
|
2013-02-22 09:03:06 +01:00
|
|
|
|
|
|
|
%description
|
2015-03-01 10:22:17 +01:00
|
|
|
In GSM, A-bis is a BSS-internal interface link between the BTS and
|
|
|
|
BSC. This interface allows control of the radio equipment and radio
|
|
|
|
frequency allocation in the BTS.
|
2013-02-22 09:03:06 +01:00
|
|
|
|
2021-03-14 21:51:57 +01:00
|
|
|
%package -n libosmoabis10
|
2017-04-28 23:06:58 +02:00
|
|
|
Summary: Osmocom GSM A-bis interface library
|
2018-03-25 11:08:09 +02:00
|
|
|
License: AGPL-3.0-or-later
|
2013-02-22 09:03:06 +01:00
|
|
|
Group: System/Libraries
|
|
|
|
|
2021-03-14 21:51:57 +01:00
|
|
|
%description -n libosmoabis10
|
2015-03-01 10:22:17 +01:00
|
|
|
In the GSM system architecture, A-bis is a Base Station
|
|
|
|
System-internal interface linking the Base Transceiver Stations (BTS)
|
|
|
|
and Base Station Controller (BSC). This interface allows control of
|
|
|
|
the radio equipment and radio frequency allocation in the BTS.
|
2013-02-22 09:03:06 +01:00
|
|
|
|
2017-04-28 23:06:58 +02:00
|
|
|
This library contains common/shared code regarding this A-bis
|
|
|
|
interface. It also implements drivers for mISDN and DAHDI-based E1
|
|
|
|
cards, as well as some A-bis/IP dialects.
|
|
|
|
|
2013-02-22 09:03:06 +01:00
|
|
|
%package -n libosmoabis-devel
|
2017-04-28 23:06:58 +02:00
|
|
|
Summary: Development files for the Osmocom GSM A-bis library
|
2018-03-25 11:08:09 +02:00
|
|
|
License: AGPL-3.0-or-later
|
2013-02-22 09:03:06 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2021-03-14 21:51:57 +01:00
|
|
|
Requires: libosmoabis10 = %version
|
2020-09-06 14:56:40 +02:00
|
|
|
Requires: libosmocore-devel >= 1.4.0
|
|
|
|
Requires: libosmogsm-devel >= 1.4.0
|
2013-02-22 09:03:06 +01:00
|
|
|
|
|
|
|
%description -n libosmoabis-devel
|
2017-04-28 23:06:58 +02:00
|
|
|
This library contains common/shared code regarding the GSM A-bis
|
|
|
|
interface. It also implements drivers for mISDN and DAHDI-based E1
|
|
|
|
cards, as well as some A-bis/IP dialects.
|
2015-03-01 10:22:17 +01:00
|
|
|
|
|
|
|
This subpackage contains libraries and header files for developing
|
|
|
|
applications that want to make use of libosmoabis.
|
2013-02-22 09:03:06 +01:00
|
|
|
|
2017-10-03 00:58:32 +02:00
|
|
|
%package -n libosmotrau2
|
2017-04-28 23:06:58 +02:00
|
|
|
Summary: Osmocom GSM TRAU (E1/RTP) library
|
2018-03-25 11:08:09 +02:00
|
|
|
License: GPL-2.0-or-later
|
2013-02-22 09:03:06 +01:00
|
|
|
Group: System/Libraries
|
|
|
|
|
2017-10-03 00:58:32 +02:00
|
|
|
%description -n libosmotrau2
|
2017-04-28 23:06:58 +02:00
|
|
|
This library implements the Transcoder and Rate Adaptation Unit (TRAU) for
|
|
|
|
GSM systems.
|
|
|
|
The TRAU enables the use of lower rates (32, 16 or 8 kbps) over the
|
|
|
|
A-bis interface instead of the 64 kbps ISDN rate for which the Mobile
|
|
|
|
Switching Center (MSC) is designed.
|
2013-02-22 09:03:06 +01:00
|
|
|
|
|
|
|
%package -n libosmotrau-devel
|
|
|
|
Summary: Development files for the Osmocom TRAU (E1/RTP) library
|
2018-03-25 11:08:09 +02:00
|
|
|
License: GPL-2.0-or-later
|
2013-02-22 09:03:06 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2017-10-03 00:58:32 +02:00
|
|
|
Requires: libosmotrau2 = %version
|
2013-02-22 09:03:06 +01:00
|
|
|
|
|
|
|
%description -n libosmotrau-devel
|
2017-04-28 23:06:58 +02:00
|
|
|
This library implements the Transcoder and Rate Adaptation Unit
|
|
|
|
(TRAU) for GSM systems.
|
2015-03-01 10:22:17 +01:00
|
|
|
|
|
|
|
This subpackage contains libraries and header files for developing
|
|
|
|
applications that want to make use of libosmotrau.
|
2013-02-22 09:03:06 +01:00
|
|
|
|
|
|
|
%prep
|
2020-09-06 14:56:40 +02:00
|
|
|
%autosetup -p1
|
2013-02-22 09:03:06 +01:00
|
|
|
|
|
|
|
%build
|
2015-03-01 10:27:54 +01:00
|
|
|
echo "%version" >.tarball-version
|
2013-02-22 09:03:06 +01:00
|
|
|
autoreconf -fiv
|
2020-09-06 14:56:40 +02:00
|
|
|
# bugzilla.opensuse.org/795968 for rationale
|
2021-11-19 13:18:45 +01:00
|
|
|
%configure --includedir="%_includedir/%name" \
|
|
|
|
--enable-shared --disable-static --disable-dahdi --enable-e1d
|
2020-09-06 14:56:40 +02:00
|
|
|
%make_build
|
2013-02-22 09:03:06 +01:00
|
|
|
|
|
|
|
%install
|
2020-09-06 14:56:40 +02:00
|
|
|
%make_install
|
|
|
|
find "%buildroot/%_libdir" -type f -name "*.la" -delete
|
2013-02-22 09:03:06 +01:00
|
|
|
|
|
|
|
%check
|
2020-09-06 14:56:40 +02:00
|
|
|
if ! %make_build check; then
|
2018-03-25 11:08:09 +02:00
|
|
|
find . -name testsuite.log -exec cat "{}" "+"
|
|
|
|
%ifarch %ix86 x86_64
|
|
|
|
exit 1
|
2017-10-03 01:01:46 +02:00
|
|
|
%endif
|
2018-03-25 11:08:09 +02:00
|
|
|
fi
|
2013-02-22 09:03:06 +01:00
|
|
|
|
2021-03-14 21:51:57 +01:00
|
|
|
%post -n libosmoabis10 -p /sbin/ldconfig
|
|
|
|
%postun -n libosmoabis10 -p /sbin/ldconfig
|
2017-10-03 00:58:32 +02:00
|
|
|
%post -n libosmotrau2 -p /sbin/ldconfig
|
|
|
|
%postun -n libosmotrau2 -p /sbin/ldconfig
|
2013-02-22 09:03:06 +01:00
|
|
|
|
2021-03-14 21:51:57 +01:00
|
|
|
%files -n libosmoabis10
|
|
|
|
%_libdir/libosmoabis.so.10*
|
2013-02-22 09:03:06 +01:00
|
|
|
|
|
|
|
%files -n libosmoabis-devel
|
2020-09-06 14:56:40 +02:00
|
|
|
%license COPYING
|
|
|
|
%dir %_includedir/%name/
|
|
|
|
%dir %_includedir/%name/osmocom/
|
2016-01-22 20:09:23 +01:00
|
|
|
%_includedir/%name/osmocom/abis/
|
2013-02-22 09:03:06 +01:00
|
|
|
%_libdir/libosmoabis.so
|
|
|
|
%_libdir/pkgconfig/libosmoabis.pc
|
|
|
|
|
2017-10-03 00:58:32 +02:00
|
|
|
%files -n libosmotrau2
|
|
|
|
%_libdir/libosmotrau.so.2*
|
2013-02-22 09:03:06 +01:00
|
|
|
|
|
|
|
%files -n libosmotrau-devel
|
2020-09-06 14:56:40 +02:00
|
|
|
%license COPYING
|
|
|
|
%dir %_includedir/%name/
|
|
|
|
%dir %_includedir/%name/osmocom/
|
|
|
|
%_includedir/%name/osmocom/trau/
|
2013-02-22 09:03:06 +01:00
|
|
|
%_libdir/libosmotrau.so
|
|
|
|
%_libdir/pkgconfig/libosmotrau.pc
|
|
|
|
|
|
|
|
%changelog
|