2013-02-22 09:03:06 +01:00
|
|
|
#
|
|
|
|
# spec file for package libosmo-abis
|
|
|
|
#
|
2017-04-28 23:06:58 +02:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2017-10-03 00:58:32 +02:00
|
|
|
%define version_unconverted 0.4.0.2
|
2016-07-30 20:19:56 +02:00
|
|
|
|
2013-02-22 09:03:06 +01:00
|
|
|
Name: libosmo-abis
|
2017-10-03 00:58:32 +02:00
|
|
|
Version: 0.4.0.2
|
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
|
2013-02-22 09:03:06 +01:00
|
|
|
License: AGPL-3.0+ and GPL-2.0+
|
2015-12-23 18:38:45 +01:00
|
|
|
Group: Productivity/Telephony/Utilities
|
2017-04-29 01:24:37 +02:00
|
|
|
Url: https://osmocom.org/projects/libosmo-abis/wiki/Libosmo-abis
|
2013-02-22 09:03:06 +01:00
|
|
|
|
|
|
|
Source: %name-%version.tar.xz
|
2015-03-01 10:27:54 +01:00
|
|
|
Patch1: osmo-talloc.diff
|
2013-02-22 09:03:06 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildRequires: automake >= 1.6
|
2014-07-21 10:07:15 +02:00
|
|
|
#BuildRequires: dahdi-linux-devel
|
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
|
|
|
|
BuildRequires: pkgconfig(libosmocore) >= 0.3.0
|
|
|
|
BuildRequires: pkgconfig(libosmogsm) >= 0.3.10
|
|
|
|
BuildRequires: pkgconfig(libosmovty) >= 0.3.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
|
|
|
|
2017-10-03 00:58:32 +02:00
|
|
|
%package -n libosmoabis6
|
2017-04-28 23:06:58 +02:00
|
|
|
Summary: Osmocom GSM A-bis interface library
|
2013-02-22 09:03:06 +01:00
|
|
|
License: AGPL-3.0+
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2017-10-03 00:58:32 +02:00
|
|
|
%description -n libosmoabis6
|
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
|
2013-02-22 09:03:06 +01:00
|
|
|
License: AGPL-3.0+
|
|
|
|
Group: Development/Libraries/C and C++
|
2017-10-03 00:58:32 +02:00
|
|
|
Requires: libosmoabis6 = %version
|
2013-02-22 09:03:06 +01:00
|
|
|
Requires: libosmocore-devel >= 0.3.0
|
|
|
|
Requires: libosmogsm-devel >= 0.3.10
|
|
|
|
|
|
|
|
%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
|
2013-02-22 09:03:06 +01:00
|
|
|
License: GPL-2.0+
|
|
|
|
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
|
|
|
|
License: GPL-2.0+
|
|
|
|
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
|
2016-03-11 12:03:30 +01:00
|
|
|
%setup -q
|
2017-10-03 00:58:32 +02:00
|
|
|
%patch -P 1 -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
|
2016-01-22 20:09:23 +01:00
|
|
|
%configure --enable-shared --disable-static --includedir="%_includedir/%name"
|
2013-02-22 09:03:06 +01:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
b="%buildroot"
|
|
|
|
make %{?_smp_mflags} install DESTDIR="$b"
|
|
|
|
find "$b/%_libdir" -type f -name "*.la" -delete
|
|
|
|
|
|
|
|
%check
|
|
|
|
make %{?_smp_mflags} check
|
|
|
|
|
2017-10-03 00:58:32 +02:00
|
|
|
%post -n libosmoabis6 -p /sbin/ldconfig
|
|
|
|
%postun -n libosmoabis6 -p /sbin/ldconfig
|
|
|
|
%post -n libosmotrau2 -p /sbin/ldconfig
|
|
|
|
%postun -n libosmotrau2 -p /sbin/ldconfig
|
2013-02-22 09:03:06 +01:00
|
|
|
|
2017-10-03 00:58:32 +02:00
|
|
|
%files -n libosmoabis6
|
2013-02-22 09:03:06 +01:00
|
|
|
%defattr(-,root,root)
|
2017-10-03 00:58:32 +02:00
|
|
|
%_libdir/libosmoabis.so.6*
|
2013-02-22 09:03:06 +01:00
|
|
|
|
|
|
|
%files -n libosmoabis-devel
|
|
|
|
%defattr(-,root,root)
|
2015-03-01 10:27:54 +01:00
|
|
|
%doc COPYING
|
2016-01-22 20:09:23 +01:00
|
|
|
%dir %_includedir/%name
|
|
|
|
%dir %_includedir/%name/osmocom
|
|
|
|
%_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
|
2013-02-22 09:03:06 +01:00
|
|
|
%defattr(-,root,root)
|
2017-10-03 00:58:32 +02:00
|
|
|
%_libdir/libosmotrau.so.2*
|
2013-02-22 09:03:06 +01:00
|
|
|
|
|
|
|
%files -n libosmotrau-devel
|
|
|
|
%defattr(-,root,root)
|
2015-03-01 10:27:54 +01:00
|
|
|
%doc COPYING
|
2016-01-22 20:09:23 +01:00
|
|
|
%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
|