Change in libgtpnl[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/.

osmith gerrit-no-reply at lists.osmocom.org
Fri May 15 11:55:54 UTC 2020


osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/libgtpnl/+/18269 )


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: I3c9c989972cd223a46d28955edbfe4c69b7a7afb
---
A contrib/libgtpnl.spec
1 file changed, 86 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libgtpnl refs/changes/69/18269/1

diff --git a/contrib/libgtpnl.spec b/contrib/libgtpnl.spec
new file mode 100644
index 0000000..e067596
--- /dev/null
+++ b/contrib/libgtpnl.spec
@@ -0,0 +1,86 @@
+#
+# spec file for package libgtpnl
+#
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+#
+# 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/
+#
+
+
+Name:           libgtpnl
+Version:        1.2.1.0
+Release:        0
+Summary:        GPRS tunnel configuration library
+License:        GPL-2.0-or-later AND LGPL-2.1-or-later
+Group:          Development/Libraries/C and C++
+URL:            https://osmocom.org/projects/linux-kernel-gtp-u/wiki
+Source:         %{name}-%{version}.tar.xz
+BuildRequires:  libtool >= 2
+BuildRequires:  pkgconfig
+BuildRequires:  xz
+BuildRequires:  pkgconfig(libmnl) >= 1.0.0
+
+%description
+libgtpnl wraps the genetlink-based GPRS tunnel configuration of the
+Linux kernel into a C API.
+
+%package -n libgtpnl0
+Summary:        GPRS tunnel configuration library
+License:        LGPL-2.1-or-later
+Group:          System/Libraries
+
+%description -n libgtpnl0
+libgtpnl wraps the genetlink-based GPRS tunnel configuration of the
+Linux kernel into a C API.
+
+%package devel
+Summary:        Development files for the GPRS tunnel config library
+License:        GPL-2.0-or-later AND LGPL-2.1-or-later
+Group:          Development/Libraries/C and C++
+Requires:       libgtpnl0 = %{version}
+
+%description devel
+libgtpnl wraps the genetlink-based GPRS tunnel configuration of the
+Linux kernel into a C API.
+
+This subpackage contains libraries and header files for developing
+applications that want to make use of libgtpnl.
+
+%prep
+%setup -q
+
+%build
+echo "%{version}" >.tarball-version
+autoreconf -fi
+%configure --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 libgtpnl0 -p /sbin/ldconfig
+%postun -n libgtpnl0 -p /sbin/ldconfig
+
+%files -n libgtpnl0
+%{_libdir}/libgtpnl.so.0*
+
+%files devel
+%license COPYING
+%{_includedir}/libgtpnl/
+%{_libdir}/libgtpnl.so
+%{_libdir}/pkgconfig/*.pc
+
+%changelog

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

Gerrit-Project: libgtpnl
Gerrit-Branch: master
Gerrit-Change-Id: I3c9c989972cd223a46d28955edbfe4c69b7a7afb
Gerrit-Change-Number: 18269
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200515/d880aa57/attachment.htm>


More information about the gerrit-log mailing list