<p>laforge <strong>submitted</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/simtrace2/+/18314">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: I47ae01afb38fb18c462bf73501b49d6dc5d9f57f<br>---<br>A host/contrib/simtrace2.spec<br>1 file changed, 103 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/host/contrib/simtrace2.spec b/host/contrib/simtrace2.spec</span><br><span>new file mode 100644</span><br><span>index 0000000..c1bb325</span><br><span>--- /dev/null</span><br><span>+++ b/host/contrib/simtrace2.spec</span><br><span>@@ -0,0 +1,103 @@</span><br><span style="color: hsl(120, 100%, 40%);">+#</span><br><span style="color: hsl(120, 100%, 40%);">+# spec file for package simtrace2</span><br><span style="color: hsl(120, 100%, 40%);">+#</span><br><span style="color: hsl(120, 100%, 40%);">+# Copyright (c) 2018, 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%);">+Name:           simtrace2</span><br><span style="color: hsl(120, 100%, 40%);">+Version:        0.7.0.57</span><br><span style="color: hsl(120, 100%, 40%);">+Release:        0</span><br><span style="color: hsl(120, 100%, 40%);">+Summary:        Osmocom SIMtrace host utility</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%);">+URL:            https://osmocom.org/projects/simtrace2/wiki</span><br><span style="color: hsl(120, 100%, 40%);">+Source:         %{name}-%{version}.tar.xz</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:  libtool</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  pkgconfig</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  pkgconfig(libosmocore)</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  pkgconfig(libosmosim)</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  pkgconfig(libpcsclite)</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(libosmousb) >= 0.0.0</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  pkgconfig(udev)</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%);">+Osmocom SIMtrace 2 is a software and hardware system for passively</span><br><span style="color: hsl(120, 100%, 40%);">+tracing SIM-ME communication between the SIM card and the mobile phone,</span><br><span style="color: hsl(120, 100%, 40%);">+and remote SIM operation.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+This package contains SIMtrace 2 host utility.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%package -n libosmo-simtrace2-0</span><br><span style="color: hsl(120, 100%, 40%);">+Summary:        Shared Library part of libosmo-simtrace2</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 libosmo-simtrace2-0</span><br><span style="color: hsl(120, 100%, 40%);">+This library contains core "driver" functionality to interface with the</span><br><span style="color: hsl(120, 100%, 40%);">+Osmocom SIMtrace2 (and compatible) USB device firmware.  It enables</span><br><span style="color: hsl(120, 100%, 40%);">+applications to implement SIM card / smart card tracing as well as</span><br><span style="color: hsl(120, 100%, 40%);">+SIM / smart card emulation functions.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%package -n libosmo-simtrace2-devel</span><br><span style="color: hsl(120, 100%, 40%);">+Summary:        Development files for the Osmocom SIMtrace2 library</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:       libosmo-simtrace2-0 = %{version}</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%description -n libosmo-simtrace2-devel</span><br><span style="color: hsl(120, 100%, 40%);">+Osmocom SIMtrace2 (and compatible) USB device firmware.  It enables</span><br><span style="color: hsl(120, 100%, 40%);">+applications to implement SIM card / smart card tracing as well as</span><br><span style="color: hsl(120, 100%, 40%);">+SIM / smart card emulation functions.</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 libosmo-simtrace2.</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%);">+cd host</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%);">+%configure --disable-static</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 -C host</span><br><span style="color: hsl(120, 100%, 40%);">+install -Dm0644 host/contrib/99-simtrace2.rules %{buildroot}/%{_udevrulesdir}/99-simtrace2.rules</span><br><span style="color: hsl(120, 100%, 40%);">+find %{buildroot} -type f -name "*.la" -delete -print</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%post   -n libosmo-simtrace2-0 -p /sbin/ldconfig</span><br><span style="color: hsl(120, 100%, 40%);">+%postun -n libosmo-simtrace2-0 -p /sbin/ldconfig</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%);">+%doc README.md</span><br><span style="color: hsl(120, 100%, 40%);">+%{_bindir}/simtrace2-remsim</span><br><span style="color: hsl(120, 100%, 40%);">+%{_bindir}/simtrace2-remsim-usb2udp</span><br><span style="color: hsl(120, 100%, 40%);">+%{_bindir}/simtrace2-list</span><br><span style="color: hsl(120, 100%, 40%);">+%{_bindir}/simtrace2-sniff</span><br><span style="color: hsl(120, 100%, 40%);">+%{_udevrulesdir}/99-simtrace2.rules</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%files -n libosmo-simtrace2-0</span><br><span style="color: hsl(120, 100%, 40%);">+%{_libdir}/libosmo-simtrace2.so.0*</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%files -n libosmo-simtrace2-devel</span><br><span style="color: hsl(120, 100%, 40%);">+%dir %{_includedir}/osmocom/</span><br><span style="color: hsl(120, 100%, 40%);">+%dir %{_includedir}/osmocom/simtrace2/</span><br><span style="color: hsl(120, 100%, 40%);">+%{_includedir}/osmocom/simtrace2/*.h</span><br><span style="color: hsl(120, 100%, 40%);">+%{_libdir}/libosmo-simtrace2.so</span><br><span style="color: hsl(120, 100%, 40%);">+%{_libdir}/pkgconfig/libosmo-simtrace2.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/simtrace2/+/18314">change 18314</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/simtrace2/+/18314"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: simtrace2 </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I47ae01afb38fb18c462bf73501b49d6dc5d9f57f </div>
<div style="display:none"> Gerrit-Change-Number: 18314 </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>