2013-02-22 09:03:06 +01:00
|
|
|
#
|
|
|
|
# spec file for package libosmo-abis
|
|
|
|
#
|
2016-01-22 20:09:23 +01:00
|
|
|
# Copyright (c) 2016 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2016-10-01 14:31:05 +02:00
|
|
|
%define version_unconverted 0.3.2.24
|
2016-07-30 20:19:56 +02:00
|
|
|
|
2013-02-22 09:03:06 +01:00
|
|
|
Name: libosmo-abis
|
2016-10-01 14:31:05 +02:00
|
|
|
Version: 0.3.2.24
|
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
|
2013-06-03 01:50:56 +02:00
|
|
|
Url: http://openbsc.osmocom.org/trac/wiki/libosmo-abis
|
2013-02-22 09:03:06 +01:00
|
|
|
|
|
|
|
#Git-Clone: git://git.osmocom.org/libosmo-abis
|
2015-12-23 18:44:08 +01:00
|
|
|
#Snapshot: 0.3.2-1-g86fc3c8
|
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
|
2015-04-02 14:29:37 +02:00
|
|
|
Patch2: 0001-build-resolve-compiler-warnings.patch
|
2016-10-01 14:31:05 +02:00
|
|
|
Patch3: ortp27.diff
|
2013-02-22 09:03:06 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake >= 1.6
|
2014-07-21 10:07:15 +02:00
|
|
|
#BuildRequires: dahdi-linux-devel
|
2013-02-22 09:03:06 +01:00
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
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
|
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
|
|
|
|
2015-12-23 18:38:45 +01:00
|
|
|
%package -n libosmoabis5
|
2015-03-01 10:22:17 +01:00
|
|
|
Summary: Osmocom A-bis interface core library
|
2013-02-22 09:03:06 +01:00
|
|
|
License: AGPL-3.0+
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2015-12-23 18:38:45 +01:00
|
|
|
%description -n libosmoabis5
|
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
|
|
|
|
|
|
|
%package -n libosmoabis-devel
|
|
|
|
Summary: Development files for the Osmocom A-bis core library
|
|
|
|
License: AGPL-3.0+
|
|
|
|
Group: Development/Libraries/C and C++
|
2015-12-23 18:38:45 +01:00
|
|
|
Requires: libosmoabis5 = %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
|
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.
|
|
|
|
|
|
|
|
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
|
|
|
|
2015-12-23 18:38:45 +01:00
|
|
|
%package -n libosmotrau1
|
2013-02-22 09:03:06 +01:00
|
|
|
Summary: Osmocom TRAU (E1/RTP) library
|
|
|
|
License: GPL-2.0+
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2015-12-23 18:38:45 +01:00
|
|
|
%description -n libosmotrau1
|
2015-03-01 10:22:17 +01:00
|
|
|
The Transcoder Rate Adaptor Unit 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++
|
2015-12-23 18:38:45 +01:00
|
|
|
Requires: libosmotrau1 = %version
|
2013-02-22 09:03:06 +01:00
|
|
|
|
|
|
|
%description -n libosmotrau-devel
|
2015-03-01 10:22:17 +01:00
|
|
|
The Transcoder Rate Adaptor Unit enables the use of lower bitrates
|
|
|
|
over the A-bis interface instead of the 64 kbps design rate of the
|
|
|
|
MSC.
|
|
|
|
|
|
|
|
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
|
2016-10-01 14:31:05 +02:00
|
|
|
%patch -P 1 -P 2 -P 3 -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
|
|
|
|
|
2015-12-23 18:38:45 +01:00
|
|
|
%post -n libosmoabis5 -p /sbin/ldconfig
|
|
|
|
%postun -n libosmoabis5 -p /sbin/ldconfig
|
|
|
|
%post -n libosmotrau1 -p /sbin/ldconfig
|
|
|
|
%postun -n libosmotrau1 -p /sbin/ldconfig
|
2013-02-22 09:03:06 +01:00
|
|
|
|
2015-12-23 18:38:45 +01:00
|
|
|
%files -n libosmoabis5
|
2013-02-22 09:03:06 +01:00
|
|
|
%defattr(-,root,root)
|
2015-12-23 18:38:45 +01:00
|
|
|
%_libdir/libosmoabis.so.5*
|
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
|
|
|
|
|
2015-12-23 18:38:45 +01:00
|
|
|
%files -n libosmotrau1
|
2013-02-22 09:03:06 +01:00
|
|
|
%defattr(-,root,root)
|
2015-12-23 18:38:45 +01:00
|
|
|
%_libdir/libosmotrau.so.1*
|
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
|