2013-02-22 09:03:06 +01:00
|
|
|
#
|
|
|
|
# spec file for package libosmo-abis
|
|
|
|
#
|
|
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: libosmo-abis
|
2015-03-01 02:16:31 +01:00
|
|
|
Version: 0.3.1
|
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+
|
|
|
|
Group: Development/Libraries/C and C++
|
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-03-01 02:16:31 +01:00
|
|
|
#Snapshot: 0.3.1
|
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: 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
|
|
|
|
BuildRequires: pkgconfig(ortp) >= 0.13.1
|
|
|
|
|
|
|
|
%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
|
|
|
|
2014-10-02 22:43:49 +02:00
|
|
|
%package -n libosmoabis4
|
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
|
|
|
|
|
2014-10-02 22:43:49 +02:00
|
|
|
%description -n libosmoabis4
|
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++
|
2014-10-02 22:43:49 +02:00
|
|
|
Requires: libosmoabis4 = %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
|
|
|
|
|
|
|
%package -n libosmotrau0
|
|
|
|
Summary: Osmocom TRAU (E1/RTP) library
|
|
|
|
License: GPL-2.0+
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libosmotrau0
|
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++
|
|
|
|
Requires: libosmotrau0 = %version
|
|
|
|
|
|
|
|
%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
|
2013-06-03 01:50:56 +02:00
|
|
|
%setup -qn %name
|
2015-03-01 10:27:54 +01: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
|
2014-07-21 10:07:15 +02:00
|
|
|
%configure --enable-shared --disable-static
|
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
|
|
|
|
|
2014-10-02 22:43:49 +02:00
|
|
|
%post -n libosmoabis4 -p /sbin/ldconfig
|
|
|
|
%postun -n libosmoabis4 -p /sbin/ldconfig
|
2013-02-22 09:03:06 +01:00
|
|
|
%post -n libosmotrau0 -p /sbin/ldconfig
|
|
|
|
%postun -n libosmotrau0 -p /sbin/ldconfig
|
|
|
|
|
2014-10-02 22:43:49 +02:00
|
|
|
%files -n libosmoabis4
|
2013-02-22 09:03:06 +01:00
|
|
|
%defattr(-,root,root)
|
2014-10-02 22:43:49 +02:00
|
|
|
%_libdir/libosmoabis.so.4*
|
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
|
2013-02-22 09:03:06 +01:00
|
|
|
%dir %_includedir/osmocom
|
|
|
|
%_includedir/osmocom/abis/
|
|
|
|
%_libdir/libosmoabis.so
|
|
|
|
%_libdir/pkgconfig/libosmoabis.pc
|
|
|
|
|
|
|
|
%files -n libosmotrau0
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_libdir/libosmotrau.so.0*
|
|
|
|
|
|
|
|
%files -n libosmotrau-devel
|
|
|
|
%defattr(-,root,root)
|
2015-03-01 10:27:54 +01:00
|
|
|
%doc COPYING
|
2013-02-22 09:03:06 +01:00
|
|
|
%dir %_includedir/osmocom
|
|
|
|
%_includedir/osmocom/trau
|
|
|
|
%_libdir/libosmotrau.so
|
|
|
|
%_libdir/pkgconfig/libosmotrau.pc
|
|
|
|
|
|
|
|
%changelog
|