<p>laforge <strong>submitted</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-trx/+/18312">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: I694fcd888778ab68d13165f4d0bf65e5d6870fb4<br>---<br>A contrib/osmo-trx.spec<br>1 file changed, 189 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/contrib/osmo-trx.spec b/contrib/osmo-trx.spec</span><br><span>new file mode 100644</span><br><span>index 0000000..2e5989d</span><br><span>--- /dev/null</span><br><span>+++ b/contrib/osmo-trx.spec</span><br><span>@@ -0,0 +1,189 @@</span><br><span style="color: hsl(120, 100%, 40%);">+#</span><br><span style="color: hsl(120, 100%, 40%);">+# spec file for package osmo-trx</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%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+Name:           osmo-trx</span><br><span style="color: hsl(120, 100%, 40%);">+Version:        1.2.0.33</span><br><span style="color: hsl(120, 100%, 40%);">+Release:        0</span><br><span style="color: hsl(120, 100%, 40%);">+Summary:        SDR transceiver that implements Layer 1 of a GSM BTS</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:          Productivity/Telephony/Servers</span><br><span style="color: hsl(120, 100%, 40%);">+URL:            https://osmocom.org/projects/osmotrx/wiki/OsmoTRX</span><br><span style="color: hsl(120, 100%, 40%);">+Source:         %{name}-%{version}.tar.xz</span><br><span style="color: hsl(120, 100%, 40%);">+Source99:       osmo-trx-rpmlintrc</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  autoconf</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  automake</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  fdupes</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  gcc-c++</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  libtool</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  pkgconfig >= 0.20</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  pkgconfig(LimeSuite)</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  pkgconfig(fftw3f)</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  pkgconfig(libosmocore) >= 0.12.0</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  pkgconfig(libosmoctrl) >= 0.12.0</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  pkgconfig(libosmovty) >= 0.12.0</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  pkgconfig(libusb-1.0)</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  pkgconfig(uhd)</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  pkgconfig(usrp) >= 3.3</span><br><span style="color: hsl(120, 100%, 40%);">+%{?systemd_requires}</span><br><span style="color: hsl(120, 100%, 40%);">+%if 0%{?suse_version} > 1325</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  libboost_program_options-devel</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  libboost_system-devel</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  libboost_test-devel</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  libboost_thread-devel</span><br><span style="color: hsl(120, 100%, 40%);">+%else</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  boost-devel</span><br><span style="color: hsl(120, 100%, 40%);">+%endif</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%);">+OsmoTRX is a software-defined radio transceiver that implements the Layer 1</span><br><span style="color: hsl(120, 100%, 40%);">+physical layer of a BTS comprising the following 3GPP specifications:</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+TS 05.01 "Physical layer on the radio path"</span><br><span style="color: hsl(120, 100%, 40%);">+TS 05.02 "Multiplexing and Multiple Access on the Radio Path"</span><br><span style="color: hsl(120, 100%, 40%);">+TS 05.04 "Modulation"</span><br><span style="color: hsl(120, 100%, 40%);">+TS 05.10 "Radio subsystem synchronization"</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+In this context, BTS is "Base transceiver station". It's the stations that</span><br><span style="color: hsl(120, 100%, 40%);">+connect mobile phones to the mobile network.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+3GPP is the "3rd Generation Partnership Project" which is the collaboration</span><br><span style="color: hsl(120, 100%, 40%);">+between different telecommunication associations for developing new</span><br><span style="color: hsl(120, 100%, 40%);">+generations of mobile phone networks. (post-2G/GSM)</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%package uhd</span><br><span style="color: hsl(120, 100%, 40%);">+Summary:        SDR transceiver that implements Layer 1 of a GSM BTS (UHD)</span><br><span style="color: hsl(120, 100%, 40%);">+Group:          Productivity/Telephony/Servers</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%description uhd</span><br><span style="color: hsl(120, 100%, 40%);">+OsmoTRX is a software-defined radio transceiver that implements the Layer 1</span><br><span style="color: hsl(120, 100%, 40%);">+physical layer of a BTS comprising the following 3GPP specifications:</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+TS 05.01 "Physical layer on the radio path"</span><br><span style="color: hsl(120, 100%, 40%);">+TS 05.02 "Multiplexing and Multiple Access on the Radio Path"</span><br><span style="color: hsl(120, 100%, 40%);">+TS 05.04 "Modulation"</span><br><span style="color: hsl(120, 100%, 40%);">+TS 05.10 "Radio subsystem synchronization"</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+In this context, BTS is "Base transceiver station". It's the stations that</span><br><span style="color: hsl(120, 100%, 40%);">+connect mobile phones to the mobile network.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+3GPP is the "3rd Generation Partnership Project" which is the collaboration</span><br><span style="color: hsl(120, 100%, 40%);">+between different telecommunication associations for developing new</span><br><span style="color: hsl(120, 100%, 40%);">+generations of mobile phone networks. (post-2G/GSM)</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%package usrp1</span><br><span style="color: hsl(120, 100%, 40%);">+Summary:        SDR transceiver that implements Layer 1 of a GSM BTS (USRP1)</span><br><span style="color: hsl(120, 100%, 40%);">+Group:          Productivity/Telephony/Servers</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%description usrp1</span><br><span style="color: hsl(120, 100%, 40%);">+OsmoTRX is a software-defined radio transceiver that implements the Layer 1</span><br><span style="color: hsl(120, 100%, 40%);">+physical layer of a BTS comprising the following 3GPP specifications:</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+TS 05.01 "Physical layer on the radio path"</span><br><span style="color: hsl(120, 100%, 40%);">+TS 05.02 "Multiplexing and Multiple Access on the Radio Path"</span><br><span style="color: hsl(120, 100%, 40%);">+TS 05.04 "Modulation"</span><br><span style="color: hsl(120, 100%, 40%);">+TS 05.10 "Radio subsystem synchronization"</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+In this context, BTS is "Base transceiver station". It's the stations that</span><br><span style="color: hsl(120, 100%, 40%);">+connect mobile phones to the mobile network.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+3GPP is the "3rd Generation Partnership Project" which is the collaboration</span><br><span style="color: hsl(120, 100%, 40%);">+between different telecommunication associations for developing new</span><br><span style="color: hsl(120, 100%, 40%);">+generations of mobile phone networks. (post-2G/GSM)</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%package lms</span><br><span style="color: hsl(120, 100%, 40%);">+Summary:        SDR transceiver that implements Layer 1 of a GSM BTS (LimeSuite)</span><br><span style="color: hsl(120, 100%, 40%);">+Group:          Productivity/Telephony/Servers</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%description lms</span><br><span style="color: hsl(120, 100%, 40%);">+OsmoTRX is a software-defined radio transceiver that implements the Layer 1</span><br><span style="color: hsl(120, 100%, 40%);">+physical layer of a BTS comprising the following 3GPP specifications:</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+TS 05.01 "Physical layer on the radio path"</span><br><span style="color: hsl(120, 100%, 40%);">+TS 05.02 "Multiplexing and Multiple Access on the Radio Path"</span><br><span style="color: hsl(120, 100%, 40%);">+TS 05.04 "Modulation"</span><br><span style="color: hsl(120, 100%, 40%);">+TS 05.10 "Radio subsystem synchronization"</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+In this context, BTS is "Base transceiver station". It's the stations that</span><br><span style="color: hsl(120, 100%, 40%);">+connect mobile phones to the mobile network.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+3GPP is the "3rd Generation Partnership Project" which is the collaboration</span><br><span style="color: hsl(120, 100%, 40%);">+between different telecommunication associations for developing new</span><br><span style="color: hsl(120, 100%, 40%);">+generations of mobile phone networks. (post-2G/GSM)</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%);">+  --with-lms \</span><br><span style="color: hsl(120, 100%, 40%);">+  --with-uhd \</span><br><span style="color: hsl(120, 100%, 40%);">+  --with-usrp1</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+make %{?_smp_mflags} V=1</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%);">+%install</span><br><span style="color: hsl(120, 100%, 40%);">+%make_install</span><br><span style="color: hsl(120, 100%, 40%);">+%fdupes -s %{buildroot}/%{_datadir}</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%pre    lms %service_add_pre    osmo-trx-lms.service</span><br><span style="color: hsl(120, 100%, 40%);">+%post   lms %service_add_post   osmo-trx-lms.service</span><br><span style="color: hsl(120, 100%, 40%);">+%preun  lms %service_del_preun  osmo-trx-lms.service</span><br><span style="color: hsl(120, 100%, 40%);">+%postun lms %service_del_postun osmo-trx-lms.service</span><br><span style="color: hsl(120, 100%, 40%);">+%pre    uhd %service_add_pre    osmo-trx-uhd.service</span><br><span style="color: hsl(120, 100%, 40%);">+%post   uhd %service_add_post   osmo-trx-uhd.service</span><br><span style="color: hsl(120, 100%, 40%);">+%preun  uhd %service_del_preun  osmo-trx-uhd.service</span><br><span style="color: hsl(120, 100%, 40%);">+%postun uhd %service_del_postun osmo-trx-uhd.service</span><br><span style="color: hsl(120, 100%, 40%);">+%pre    usrp1 %service_add_pre    osmo-trx-usrp1.service</span><br><span style="color: hsl(120, 100%, 40%);">+%post   usrp1 %service_add_post   osmo-trx-usrp1.service</span><br><span style="color: hsl(120, 100%, 40%);">+%preun  usrp1 %service_del_preun  osmo-trx-usrp1.service</span><br><span style="color: hsl(120, 100%, 40%);">+%postun usrp1 %service_del_postun osmo-trx-usrp1.service</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 README.md</span><br><span style="color: hsl(120, 100%, 40%);">+%doc %{_docdir}/%{name}/examples</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%files lms</span><br><span style="color: hsl(120, 100%, 40%);">+%{_bindir}/osmo-trx-lms</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-trx-lms.cfg</span><br><span style="color: hsl(120, 100%, 40%);">+%{_unitdir}/osmo-trx-lms.service</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%files uhd</span><br><span style="color: hsl(120, 100%, 40%);">+%{_bindir}/osmo-trx-uhd</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-trx-uhd.cfg</span><br><span style="color: hsl(120, 100%, 40%);">+%{_unitdir}/osmo-trx-uhd.service</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%files usrp1</span><br><span style="color: hsl(120, 100%, 40%);">+%{_bindir}/osmo-trx-usrp1</span><br><span style="color: hsl(120, 100%, 40%);">+%dir %{_datadir}/usrp</span><br><span style="color: hsl(120, 100%, 40%);">+%dir %{_datadir}/usrp/rev2</span><br><span style="color: hsl(120, 100%, 40%);">+%dir %{_datadir}/usrp/rev4</span><br><span style="color: hsl(120, 100%, 40%);">+%{_datadir}/usrp/rev2/std_inband.rbf</span><br><span style="color: hsl(120, 100%, 40%);">+%{_datadir}/usrp/rev4/std_inband.rbf</span><br><span style="color: hsl(120, 100%, 40%);">+%{_unitdir}/osmo-trx-usrp1.service</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-trx/+/18312">change 18312</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-trx/+/18312"/><meta itemprop="name" content="View Change"/></div></div>

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