Change in libsmpp34[master]: contrib: import RPM spec

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Sat May 16 20:01:13 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/libsmpp34/+/18279 )

Change subject: contrib: import RPM spec
......................................................................

contrib: import RPM spec

Copy the RPM spec file from:
https://build.opensuse.org/project/show/home:mnhauke:osmocom:nightly

Related: OS#4550
Change-Id: Iacfa1f9a445abf7d6dc867c14c6237d9fc8750f7
---
A contrib/libsmpp34.spec
1 file changed, 89 insertions(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



diff --git a/contrib/libsmpp34.spec b/contrib/libsmpp34.spec
new file mode 100644
index 0000000..a6dd384
--- /dev/null
+++ b/contrib/libsmpp34.spec
@@ -0,0 +1,89 @@
+#
+# spec file for package libsmpp34
+#
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016, Martin Hauke <mardnh at gmx.de>
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
+
+%define sover 1
+Name:           libsmpp34
+Version:        1.14.0.1
+Release:        0
+Summary:        PDU SMPP packaging and unpackaging tool
+License:        GPL-2.0-or-later AND LGPL-2.1-or-later
+Group:          Development/Libraries/C and C++
+URL:            https://osmocom.org/projects/libsmpp34
+Source:         %{name}-%{version}.tar.xz
+BuildRequires:  autoconf >= 2.57
+BuildRequires:  libtool
+BuildRequires:  pkgconfig >= 0.20
+BuildRequires:  pkgconfig(libxml-2.0)
+
+%description
+The library provides the PDU handling of the SMPP-3.4 protocol.
+
+%package -n libsmpp34-%{sover}
+Summary:        SMPP-3.4 protocol library
+License:        LGPL-2.1-or-later
+Group:          System/Libraries
+
+%description -n libsmpp34-%{sover}
+This library provides the Protocol Data Unit (PDU) handling of the
+SMPP-3.4 protocol. SMPP (Short Message Peer-to-Peer) is a protocol
+providing a data communication interface for the transfer of short
+message data between External Short Messaging Entities, Routing
+Entitites and Message Centres.
+
+%package -n libsmpp34-%{sover}-devel
+Summary:        Development files for the SMPP-3.4 protocol library
+License:        GPL-2.0-or-later
+Group:          Development/Libraries/C and C++
+Requires:       libsmpp34-%{sover} = %{version}
+
+%description -n libsmpp34-%{sover}-devel
+The library provides the PDU handling of the SMPP-3.4 protocol.
+
+This subpackage contains libraries and header files for developing
+applications that want to make use of libsmpp34.
+
+%prep
+%setup -q
+
+%build
+echo "%{version}" >.tarball-version
+autoreconf -fi
+%configure --disable-static --includedir="%{_includedir}/%{name}"
+make %{?_smp_mflags}
+
+%install
+%make_install
+find %{buildroot} -type f -name "*.la" -delete -print
+
+%check
+make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)
+
+%post   -n libsmpp34-%{sover} -p /sbin/ldconfig
+%postun -n libsmpp34-%{sover} -p /sbin/ldconfig
+
+%files -n libsmpp34-%{sover}
+%{_libdir}/libsmpp34.so.%{sover}*
+
+%files -n libsmpp34-%{sover}-devel
+%license COPYING
+%doc ChangeLog
+%{_includedir}/%{name}/
+%{_libdir}/libsmpp34.so
+%{_libdir}/pkgconfig/*.pc
+
+%changelog

-- 
To view, visit https://gerrit.osmocom.org/c/libsmpp34/+/18279
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libsmpp34
Gerrit-Branch: master
Gerrit-Change-Id: Iacfa1f9a445abf7d6dc867c14c6237d9fc8750f7
Gerrit-Change-Number: 18279
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200516/27a26bff/attachment.htm>


More information about the gerrit-log mailing list