<p>laforge <strong>submitted</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/libsmpp34/+/18279">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: Iacfa1f9a445abf7d6dc867c14c6237d9fc8750f7<br>---<br>A contrib/libsmpp34.spec<br>1 file changed, 89 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/contrib/libsmpp34.spec b/contrib/libsmpp34.spec</span><br><span>new file mode 100644</span><br><span>index 0000000..a6dd384</span><br><span>--- /dev/null</span><br><span>+++ b/contrib/libsmpp34.spec</span><br><span>@@ -0,0 +1,89 @@</span><br><span style="color: hsl(120, 100%, 40%);">+#</span><br><span style="color: hsl(120, 100%, 40%);">+# spec file for package libsmpp34</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%);">+# Copyright (c) 2016, 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%);">+%define sover 1</span><br><span style="color: hsl(120, 100%, 40%);">+Name:           libsmpp34</span><br><span style="color: hsl(120, 100%, 40%);">+Version:        1.14.0.1</span><br><span style="color: hsl(120, 100%, 40%);">+Release:        0</span><br><span style="color: hsl(120, 100%, 40%);">+Summary:        PDU SMPP packaging and unpackaging tool</span><br><span style="color: hsl(120, 100%, 40%);">+License:        GPL-2.0-or-later AND LGPL-2.1-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%);">+URL:            https://osmocom.org/projects/libsmpp34</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 >= 2.57</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(libxml-2.0)</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%);">+The library provides the PDU handling of the SMPP-3.4 protocol.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%package -n libsmpp34-%{sover}</span><br><span style="color: hsl(120, 100%, 40%);">+Summary:        SMPP-3.4 protocol library</span><br><span style="color: hsl(120, 100%, 40%);">+License:        LGPL-2.1-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 libsmpp34-%{sover}</span><br><span style="color: hsl(120, 100%, 40%);">+This library provides the Protocol Data Unit (PDU) handling of the</span><br><span style="color: hsl(120, 100%, 40%);">+SMPP-3.4 protocol. SMPP (Short Message Peer-to-Peer) is a protocol</span><br><span style="color: hsl(120, 100%, 40%);">+providing a data communication interface for the transfer of short</span><br><span style="color: hsl(120, 100%, 40%);">+message data between External Short Messaging Entities, Routing</span><br><span style="color: hsl(120, 100%, 40%);">+Entitites and Message Centres.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%package -n libsmpp34-%{sover}-devel</span><br><span style="color: hsl(120, 100%, 40%);">+Summary:        Development files for the SMPP-3.4 protocol 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:       libsmpp34-%{sover} = %{version}</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%description -n libsmpp34-%{sover}-devel</span><br><span style="color: hsl(120, 100%, 40%);">+The library provides the PDU handling of the SMPP-3.4 protocol.</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 libsmpp34.</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 --disable-static --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%);">+%make_install</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%);">+%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 libsmpp34-%{sover} -p /sbin/ldconfig</span><br><span style="color: hsl(120, 100%, 40%);">+%postun -n libsmpp34-%{sover} -p /sbin/ldconfig</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%files -n libsmpp34-%{sover}</span><br><span style="color: hsl(120, 100%, 40%);">+%{_libdir}/libsmpp34.so.%{sover}*</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%files -n libsmpp34-%{sover}-devel</span><br><span style="color: hsl(120, 100%, 40%);">+%license COPYING</span><br><span style="color: hsl(120, 100%, 40%);">+%doc ChangeLog</span><br><span style="color: hsl(120, 100%, 40%);">+%{_includedir}/%{name}/</span><br><span style="color: hsl(120, 100%, 40%);">+%{_libdir}/libsmpp34.so</span><br><span style="color: hsl(120, 100%, 40%);">+%{_libdir}/pkgconfig/*.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/libsmpp34/+/18279">change 18279</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/libsmpp34/+/18279"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libsmpp34 </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Iacfa1f9a445abf7d6dc867c14c6237d9fc8750f7 </div>
<div style="display:none"> Gerrit-Change-Number: 18279 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </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>