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

</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: Id0f7568953cbf55d4a2278cf088bb37af0d19d78<br>---<br>A contrib/osmo-bsc.spec<br>1 file changed, 145 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/contrib/osmo-bsc.spec b/contrib/osmo-bsc.spec</span><br><span>new file mode 100644</span><br><span>index 0000000..1aa4baf</span><br><span>--- /dev/null</span><br><span>+++ b/contrib/osmo-bsc.spec</span><br><span>@@ -0,0 +1,145 @@</span><br><span style="color: hsl(120, 100%, 40%);">+#</span><br><span style="color: hsl(120, 100%, 40%);">+# spec file for package osmo-bsc</span><br><span style="color: hsl(120, 100%, 40%);">+#</span><br><span style="color: hsl(120, 100%, 40%);">+# Copyright (c) 2017, Martin Hauke <mardnh@gmx.de></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%);">+## Disable LTO for now since it breaks compilation of the tests</span><br><span style="color: hsl(120, 100%, 40%);">+## https://osmocom.org/issues/4113</span><br><span style="color: hsl(120, 100%, 40%);">+%define _lto_cflags %{nil}</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%);">+Name:           osmo-bsc</span><br><span style="color: hsl(120, 100%, 40%);">+Version:        1.6.0.78</span><br><span style="color: hsl(120, 100%, 40%);">+Release:        0</span><br><span style="color: hsl(120, 100%, 40%);">+Summary:        OsmoBSC: Osmocom's Base Station Controller for 2G CS mobile networks</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:          Hardware/Mobile</span><br><span style="color: hsl(120, 100%, 40%);">+URL:            https://osmocom.org/projects/openbsc/wiki/Osmo-bsc</span><br><span style="color: hsl(120, 100%, 40%);">+Source:         %{name}-%{version}.tar.xz</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  automake >= 1.9</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:  systemd-rpm-macros</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  pkgconfig(libcrypto) >= 0.9.5</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  pkgconfig(libosmo-mgcp-client) >= 1.5.0</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  pkgconfig(libosmo-netif) >= 0.6.0</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  pkgconfig(libosmo-sccp) >= 0.10.0</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  pkgconfig(libosmo-sigtran) >= 0.10.0</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  pkgconfig(libosmoabis) >= 0.6.0</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  pkgconfig(libosmocore) >= 1.2.0</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  pkgconfig(libosmoctrl) >= 1.2.0</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  pkgconfig(libosmogb)</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  pkgconfig(libosmogsm) >= 1.2.0</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  pkgconfig(libosmovty) >= 1.2.0</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  pkgconfig(talloc)</span><br><span style="color: hsl(120, 100%, 40%);">+%{?systemd_requires}</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%);">+OsmoBSC: Osmocom's Base Station Controller for 2G circuit-switched mobile networks.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%package abisip-find</span><br><span style="color: hsl(120, 100%, 40%);">+Summary:        CLI utility to find ip.access compatible BTS</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:          Productivity/Telephony/Utilities</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%description abisip-find</span><br><span style="color: hsl(120, 100%, 40%);">+Command line utility to find ip.access compatible BTS.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%package ipaccess-utils</span><br><span style="color: hsl(120, 100%, 40%);">+Summary:        Command line utilities for ip.access nanoBTS</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:          Productivity/Telephony/Utilities</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%description ipaccess-utils</span><br><span style="color: hsl(120, 100%, 40%);">+This package contains utilities that are specific for nanoBTS when being</span><br><span style="color: hsl(120, 100%, 40%);">+used together with OpenBSC. It contains mainly two tools: ipaccess-config</span><br><span style="color: hsl(120, 100%, 40%);">+and ipaccess-proxy.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%package bs11-utils</span><br><span style="color: hsl(120, 100%, 40%);">+Summary:        Command line utilities for Siemens BS-11 BTS</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:          Productivity/Telephony/Utilities</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%description bs11-utils</span><br><span style="color: hsl(120, 100%, 40%);">+There is a tool in this package for configuring the Siemens BS-11 BTS.</span><br><span style="color: hsl(120, 100%, 40%);">+Additionally, it contains one tool for making use of an ISDN-card and the</span><br><span style="color: hsl(120, 100%, 40%);">+public telephone network as frequency standard for the E1 line.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%package meas-utils</span><br><span style="color: hsl(120, 100%, 40%);">+Summary:        Command line utilities for OsmoBSC's measurement reports</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:          Productivity/Telephony/Utilities</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%description meas-utils</span><br><span style="color: hsl(120, 100%, 40%);">+This package contains utilities for handling OsmoBSC's measurement reports</span><br><span style="color: hsl(120, 100%, 40%);">+ * meas_json to convert measurement feed into a JSON feed</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%);">+</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 -fi</span><br><span style="color: hsl(120, 100%, 40%);">+%configure \</span><br><span style="color: hsl(120, 100%, 40%);">+  --docdir=%{_docdir}/%{name} \</span><br><span style="color: hsl(120, 100%, 40%);">+  --with-systemdsystemunitdir=%{_unitdir}</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%);">+%make_install</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%preun</span><br><span style="color: hsl(120, 100%, 40%);">+%service_del_preun %{name}.service</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%postun</span><br><span style="color: hsl(120, 100%, 40%);">+%service_del_postun %{name}.service</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%pre</span><br><span style="color: hsl(120, 100%, 40%);">+%service_add_pre %{name}.service</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%post</span><br><span style="color: hsl(120, 100%, 40%);">+%service_add_post %{name}.service</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%);">+%files</span><br><span style="color: hsl(120, 100%, 40%);">+%license COPYING</span><br><span style="color: hsl(120, 100%, 40%);">+%doc AUTHORS README</span><br><span style="color: hsl(120, 100%, 40%);">+%{_bindir}/osmo-bsc</span><br><span style="color: hsl(120, 100%, 40%);">+%dir %{_docdir}/%{name}/examples</span><br><span style="color: hsl(120, 100%, 40%);">+%dir %{_docdir}/%{name}/examples/osmo-bsc</span><br><span style="color: hsl(120, 100%, 40%);">+%{_docdir}/%{name}/examples/osmo-bsc/osmo-bsc.cfg</span><br><span style="color: hsl(120, 100%, 40%);">+%{_docdir}/%{name}/examples/osmo-bsc/osmo-bsc_custom-sccp.cfg</span><br><span style="color: hsl(120, 100%, 40%);">+%{_docdir}/%{name}/examples/osmo-bsc/osmo-bsc-minimal.cfg</span><br><span style="color: hsl(120, 100%, 40%);">+%dir %{_sysconfdir}/osmocom</span><br><span style="color: hsl(120, 100%, 40%);">+%config %{_sysconfdir}/osmocom/osmo-bsc.cfg</span><br><span style="color: hsl(120, 100%, 40%);">+%{_unitdir}/%{name}.service</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%files abisip-find</span><br><span style="color: hsl(120, 100%, 40%);">+%{_bindir}/abisip-find</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%files ipaccess-utils</span><br><span style="color: hsl(120, 100%, 40%);">+%{_bindir}/ipaccess-config</span><br><span style="color: hsl(120, 100%, 40%);">+%{_bindir}/ipaccess-proxy</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%files bs11-utils</span><br><span style="color: hsl(120, 100%, 40%);">+%{_bindir}/bs11_config</span><br><span style="color: hsl(120, 100%, 40%);">+%{_bindir}/isdnsync</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%files meas-utils</span><br><span style="color: hsl(120, 100%, 40%);">+%{_bindir}/meas_json</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/osmo-bsc/+/18289">change 18289</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/osmo-bsc/+/18289"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bsc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Id0f7568953cbf55d4a2278cf088bb37af0d19d78 </div>
<div style="display:none"> Gerrit-Change-Number: 18289 </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>