<p>laforge <strong>submitted</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/libosmo-abis/+/18273">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  laforge: Looks good to me, approved
  Jenkins Builder: Verified

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">contrib: import RPM spec<br><br>Copy the RPM spec file from:<br>https://build.opensuse.org/project/show/home:mnhauke:osmocom:nightly<br><br>Related: OS#4550<br>Change-Id: If40896b4711fe6739ec2ed35756c0afe821c8c00<br>---<br>A contrib/libosmo-abis.spec<br>1 file changed, 161 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/contrib/libosmo-abis.spec b/contrib/libosmo-abis.spec</span><br><span>new file mode 100644</span><br><span>index 0000000..ac91c60</span><br><span>--- /dev/null</span><br><span>+++ b/contrib/libosmo-abis.spec</span><br><span>@@ -0,0 +1,161 @@</span><br><span style="color: hsl(120, 100%, 40%);">+#</span><br><span style="color: hsl(120, 100%, 40%);">+# spec file for package libosmo-abis</span><br><span style="color: hsl(120, 100%, 40%);">+#</span><br><span style="color: hsl(120, 100%, 40%);">+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.</span><br><span style="color: hsl(120, 100%, 40%);">+#</span><br><span style="color: hsl(120, 100%, 40%);">+# All modifications and additions to the file contributed by third parties</span><br><span style="color: hsl(120, 100%, 40%);">+# remain the property of their copyright owners, unless otherwise agreed</span><br><span style="color: hsl(120, 100%, 40%);">+# upon. The license for this file, and modifications and additions to the</span><br><span style="color: hsl(120, 100%, 40%);">+# file, is the same license as for the pristine package itself (unless the</span><br><span style="color: hsl(120, 100%, 40%);">+# license for the pristine package is not an Open Source License, in which</span><br><span style="color: hsl(120, 100%, 40%);">+# case the license is the MIT License). An "Open Source License" is a</span><br><span style="color: hsl(120, 100%, 40%);">+# license that conforms to the Open Source Definition (Version 1.9)</span><br><span style="color: hsl(120, 100%, 40%);">+# published by the Open Source Initiative.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+# Please submit bugfixes or comments via http://bugs.opensuse.org/</span><br><span style="color: hsl(120, 100%, 40%);">+#</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%define version_unconverted 0.8.0.26</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+Name:           libosmo-abis</span><br><span style="color: hsl(120, 100%, 40%);">+Version:        0.8.0.26</span><br><span style="color: hsl(120, 100%, 40%);">+Release:        0</span><br><span style="color: hsl(120, 100%, 40%);">+Summary:        Osmocom library for A-bis interface between BTS and BSC</span><br><span style="color: hsl(120, 100%, 40%);">+License:        AGPL-3.0-or-later AND GPL-2.0-or-later</span><br><span style="color: hsl(120, 100%, 40%);">+Group:          Productivity/Telephony/Utilities</span><br><span style="color: hsl(120, 100%, 40%);">+Url:            https://osmocom.org/projects/libosmo-abis/wiki/Libosmo-abis</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+Source:         %name-%version.tar.xz</span><br><span style="color: hsl(120, 100%, 40%);">+Patch1:         osmo-talloc.diff</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRoot:      %{_tmppath}/%{name}-%{version}-build</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  automake >= 1.6</span><br><span style="color: hsl(120, 100%, 40%);">+#BuildRequires:  dahdi-linux-devel</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  libtool >= 2</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  pkgconfig >= 0.20</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  xz</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  pkgconfig(libosmocore) >= 1.0.0</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  pkgconfig(libosmogsm) >= 1.0.0</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  pkgconfig(libosmovty) >= 1.0.0</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  pkgconfig(ortp) >= 0.22</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  pkgconfig(talloc)</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%description</span><br><span style="color: hsl(120, 100%, 40%);">+In GSM, A-bis is a BSS-internal interface link between the BTS and</span><br><span style="color: hsl(120, 100%, 40%);">+BSC. This interface allows control of the radio equipment and radio</span><br><span style="color: hsl(120, 100%, 40%);">+frequency allocation in the BTS.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%package -n libosmoabis6</span><br><span style="color: hsl(120, 100%, 40%);">+Summary:        Osmocom GSM A-bis interface library</span><br><span style="color: hsl(120, 100%, 40%);">+License:        AGPL-3.0-or-later</span><br><span style="color: hsl(120, 100%, 40%);">+Group:          System/Libraries</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%description -n libosmoabis6</span><br><span style="color: hsl(120, 100%, 40%);">+In the GSM system architecture, A-bis is a Base Station</span><br><span style="color: hsl(120, 100%, 40%);">+System-internal interface linking the Base Transceiver Stations (BTS)</span><br><span style="color: hsl(120, 100%, 40%);">+and Base Station Controller (BSC). This interface allows control of</span><br><span style="color: hsl(120, 100%, 40%);">+the radio equipment and radio frequency allocation in the BTS.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+This library contains common/shared code regarding this A-bis</span><br><span style="color: hsl(120, 100%, 40%);">+interface. It also implements drivers for mISDN and DAHDI-based E1</span><br><span style="color: hsl(120, 100%, 40%);">+cards, as well as some A-bis/IP dialects.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%package -n libosmoabis-devel</span><br><span style="color: hsl(120, 100%, 40%);">+Summary:        Development files for the Osmocom GSM A-bis library</span><br><span style="color: hsl(120, 100%, 40%);">+License:        AGPL-3.0-or-later</span><br><span style="color: hsl(120, 100%, 40%);">+Group:          Development/Libraries/C and C++</span><br><span style="color: hsl(120, 100%, 40%);">+Requires:       libosmoabis6 = %version</span><br><span style="color: hsl(120, 100%, 40%);">+Requires:       libosmocore-devel >= 0.3.0</span><br><span style="color: hsl(120, 100%, 40%);">+Requires:       libosmogsm-devel >= 0.3.10</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%description -n libosmoabis-devel</span><br><span style="color: hsl(120, 100%, 40%);">+This library contains common/shared code regarding the GSM A-bis</span><br><span style="color: hsl(120, 100%, 40%);">+interface. It also implements drivers for mISDN and DAHDI-based E1</span><br><span style="color: hsl(120, 100%, 40%);">+cards, as well as some A-bis/IP dialects.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+This subpackage contains libraries and header files for developing</span><br><span style="color: hsl(120, 100%, 40%);">+applications that want to make use of libosmoabis.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%package -n libosmotrau2</span><br><span style="color: hsl(120, 100%, 40%);">+Summary:        Osmocom GSM TRAU (E1/RTP) library</span><br><span style="color: hsl(120, 100%, 40%);">+License:        GPL-2.0-or-later</span><br><span style="color: hsl(120, 100%, 40%);">+Group:          System/Libraries</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%description -n libosmotrau2</span><br><span style="color: hsl(120, 100%, 40%);">+This library implements the Transcoder and Rate Adaptation Unit (TRAU) for</span><br><span style="color: hsl(120, 100%, 40%);">+GSM systems.</span><br><span style="color: hsl(120, 100%, 40%);">+The TRAU enables the use of lower rates (32, 16 or 8 kbps) over the</span><br><span style="color: hsl(120, 100%, 40%);">+A-bis interface instead of the 64 kbps ISDN rate for which the Mobile</span><br><span style="color: hsl(120, 100%, 40%);">+Switching Center (MSC) is designed.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%package -n libosmotrau-devel</span><br><span style="color: hsl(120, 100%, 40%);">+Summary:        Development files for the Osmocom TRAU (E1/RTP) library</span><br><span style="color: hsl(120, 100%, 40%);">+License:        GPL-2.0-or-later</span><br><span style="color: hsl(120, 100%, 40%);">+Group:          Development/Libraries/C and C++</span><br><span style="color: hsl(120, 100%, 40%);">+Requires:       libosmotrau2 = %version</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%description -n libosmotrau-devel</span><br><span style="color: hsl(120, 100%, 40%);">+This library implements the Transcoder and Rate Adaptation Unit</span><br><span style="color: hsl(120, 100%, 40%);">+(TRAU) for GSM systems.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+This subpackage contains libraries and header files for developing</span><br><span style="color: hsl(120, 100%, 40%);">+applications that want to make use of libosmotrau.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%prep</span><br><span style="color: hsl(120, 100%, 40%);">+%setup -q</span><br><span style="color: hsl(120, 100%, 40%);">+%patch -P 1 -p1 -F2</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%build</span><br><span style="color: hsl(120, 100%, 40%);">+echo "%version" >.tarball-version</span><br><span style="color: hsl(120, 100%, 40%);">+autoreconf -fiv</span><br><span style="color: hsl(120, 100%, 40%);">+# FIXME: Compiler warnings with ortp 0.24.2 result in hard-errors during rpm-postbuild-checks - should be fixed upstream</span><br><span style="color: hsl(120, 100%, 40%);">+%if 0%{?sle_version}</span><br><span style="color: hsl(120, 100%, 40%);">+export CFLAGS='%{optflags} -Wno-int-conversion'</span><br><span style="color: hsl(120, 100%, 40%);">+%endif</span><br><span style="color: hsl(120, 100%, 40%);">+%configure \</span><br><span style="color: hsl(120, 100%, 40%);">+  --enable-shared \</span><br><span style="color: hsl(120, 100%, 40%);">+  --disable-static \</span><br><span style="color: hsl(120, 100%, 40%);">+  --disable-dahdi \</span><br><span style="color: hsl(120, 100%, 40%);">+  --includedir="%_includedir/%name"</span><br><span style="color: hsl(120, 100%, 40%);">+make %{?_smp_mflags}</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%install</span><br><span style="color: hsl(120, 100%, 40%);">+b="%buildroot"</span><br><span style="color: hsl(120, 100%, 40%);">+make %{?_smp_mflags} install DESTDIR="$b"</span><br><span style="color: hsl(120, 100%, 40%);">+find "$b/%_libdir" -type f -name "*.la" -delete</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%check</span><br><span style="color: hsl(120, 100%, 40%);">+make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%post   -n libosmoabis6 -p /sbin/ldconfig</span><br><span style="color: hsl(120, 100%, 40%);">+%postun -n libosmoabis6 -p /sbin/ldconfig</span><br><span style="color: hsl(120, 100%, 40%);">+%post   -n libosmotrau2 -p /sbin/ldconfig</span><br><span style="color: hsl(120, 100%, 40%);">+%postun -n libosmotrau2 -p /sbin/ldconfig</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%files -n libosmoabis6</span><br><span style="color: hsl(120, 100%, 40%);">+%defattr(-,root,root)</span><br><span style="color: hsl(120, 100%, 40%);">+%_libdir/libosmoabis.so.6*</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%files -n libosmoabis-devel</span><br><span style="color: hsl(120, 100%, 40%);">+%defattr(-,root,root)</span><br><span style="color: hsl(120, 100%, 40%);">+%doc COPYING</span><br><span style="color: hsl(120, 100%, 40%);">+%dir %_includedir/%name</span><br><span style="color: hsl(120, 100%, 40%);">+%dir %_includedir/%name/osmocom</span><br><span style="color: hsl(120, 100%, 40%);">+%_includedir/%name/osmocom/abis/</span><br><span style="color: hsl(120, 100%, 40%);">+%_libdir/libosmoabis.so</span><br><span style="color: hsl(120, 100%, 40%);">+%_libdir/pkgconfig/libosmoabis.pc</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%files -n libosmotrau2</span><br><span style="color: hsl(120, 100%, 40%);">+%defattr(-,root,root)</span><br><span style="color: hsl(120, 100%, 40%);">+%_libdir/libosmotrau.so.2*</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%files -n libosmotrau-devel</span><br><span style="color: hsl(120, 100%, 40%);">+%defattr(-,root,root)</span><br><span style="color: hsl(120, 100%, 40%);">+%doc COPYING</span><br><span style="color: hsl(120, 100%, 40%);">+%dir %_includedir/%name</span><br><span style="color: hsl(120, 100%, 40%);">+%dir %_includedir/%name/osmocom</span><br><span style="color: hsl(120, 100%, 40%);">+%_includedir/%name/osmocom/trau</span><br><span style="color: hsl(120, 100%, 40%);">+%_libdir/libosmotrau.so</span><br><span style="color: hsl(120, 100%, 40%);">+%_libdir/pkgconfig/libosmotrau.pc</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%changelog</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmo-abis/+/18273">change 18273</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/libosmo-abis/+/18273"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmo-abis </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: If40896b4711fe6739ec2ed35756c0afe821c8c00 </div>
<div style="display:none"> Gerrit-Change-Number: 18273 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>