From 874bf676c7949963afce58562a9614eb0aecd2ed1b6d44c26c524a5a00afed97 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 29 Apr 2017 00:28:18 +0000 Subject: [PATCH] - Initial package (version 1.0.1.7) for build.opensuse.org OBS-URL: https://build.opensuse.org/package/show/network:telephony/libgtpnl?expand=0&rev=1 --- .gitattributes | 23 +++++++++++ .gitignore | 1 + _service | 13 +++++++ libgtpnl-1.0.1.7.tar.xz | 3 ++ libgtpnl.changes | 4 ++ libgtpnl.spec | 85 +++++++++++++++++++++++++++++++++++++++++ 6 files changed, 129 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 libgtpnl-1.0.1.7.tar.xz create mode 100644 libgtpnl.changes create mode 100644 libgtpnl.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..f4e9d43 --- /dev/null +++ b/_service @@ -0,0 +1,13 @@ + + + git + git://git.osmocom.org/libgtpnl + master + @PARENT_TAG@.@TAG_OFFSET@ + + + *.tar + xz + + + diff --git a/libgtpnl-1.0.1.7.tar.xz b/libgtpnl-1.0.1.7.tar.xz new file mode 100644 index 0000000..1cc6cad --- /dev/null +++ b/libgtpnl-1.0.1.7.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8d7a5c0fe248d3c1c7fc4a51259599c69b8d5569317415d29f30f31430360d4e +size 21720 diff --git a/libgtpnl.changes b/libgtpnl.changes new file mode 100644 index 0000000..b450457 --- /dev/null +++ b/libgtpnl.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sat Apr 29 00:26:35 UTC 2017 - jengelh@inai.de + +- Initial package (version 1.0.1.7) for build.opensuse.org diff --git a/libgtpnl.spec b/libgtpnl.spec new file mode 100644 index 0000000..2513825 --- /dev/null +++ b/libgtpnl.spec @@ -0,0 +1,85 @@ +# +# spec file for package libgtpnl +# +# Copyright (c) 2017 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.0.1.7 +Release: 0 +Summary: GPRS tunnel configuration library +License: GPL-2.0+ and LGPL-2.1+ +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: pkg-config +BuildRequires: pkgconfig(libmnl) >= 1.0.0 +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%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+ +Group: System/Libraries + +%description -n libgtpnl0 +libgtpnl wraps the genetlink-based GPRS tunnel configuration of the +Linux kernel into a C API. + +%package -n libgtpnl-devel +Summary: Development files for the GPRS tunnel config library +License: GPL-2.0+ and LGPL-2.1+ +Group: Development/Libraries/C and C++ +Requires: libgtpnl0 = %version + +%description -n libgtpnl-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 +autoreconf -fiv +%configure +make %{?_smp_mflags} + +%install +%make_install +rm -f "%buildroot/%_libdir"/*.la + +%post -n libgtpnl0 -p /sbin/ldconfig +%postun -n libgtpnl0 -p /sbin/ldconfig + +%files -n libgtpnl0 +%defattr(-,root,root) +%_libdir/libgtpnl.so.0* + +%files -n libgtpnl-devel +%defattr(-,root,root) +%doc COPYING +%_includedir/libgtpnl/ +%_libdir/libgtpnl.so +%_libdir/pkgconfig/*.pc + +%changelog