From 93484c4ef297074eee1397e129d89b5998eb5af780f0ef1bef726ebe50ab9d9e Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Fri, 20 Nov 2020 08:35:02 +0000 Subject: [PATCH] Accepting request 849396 from home:bobbie424242:upmpdcli Corrected summaries and descriptions OBS-URL: https://build.opensuse.org/request/show/849396 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libnpupnp?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++ .gitignore | 1 + libnpupnp-4.0.14.tar.gz | 3 ++ libnpupnp.changes | 4 +++ libnpupnp.spec | 76 +++++++++++++++++++++++++++++++++++++++++ 5 files changed, 107 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 libnpupnp-4.0.14.tar.gz create mode 100644 libnpupnp.changes create mode 100644 libnpupnp.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/libnpupnp-4.0.14.tar.gz b/libnpupnp-4.0.14.tar.gz new file mode 100644 index 0000000..59ae126 --- /dev/null +++ b/libnpupnp-4.0.14.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ea5f5bf388bf8c028a25630c58e9a42762fddd357e7e2581b192856e01aad044 +size 538629 diff --git a/libnpupnp.changes b/libnpupnp.changes new file mode 100644 index 0000000..d729b38 --- /dev/null +++ b/libnpupnp.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sun Nov 15 20:17:08 UTC 2020 - Michael Pujos + +- Initial version diff --git a/libnpupnp.spec b/libnpupnp.spec new file mode 100644 index 0000000..9b15171 --- /dev/null +++ b/libnpupnp.spec @@ -0,0 +1,76 @@ +# +# spec file for package libnpupnp +# +# Copyright (c) 2020 SUSE LLC +# +# 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 https://bugs.opensuse.org/ +# + + +%define so_ver 4 +Name: libnpupnp +Version: 4.0.14 +Release: 0 +Summary: A C++ base UPnP library, derived from Portable UPnP, a.k.a libupnp +License: GPL-2.0-or-later +Group: Development/Libraries/C and C++ +URL: https://www.lesbonscomptes.com/updmpdcli +Source0: https://www.lesbonscomptes.com/upmpdcli/downloads/libnpupnp-%{version}.tar.gz +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: pkgconfig(expat) +BuildRequires: pkgconfig(libcurl) +BuildRequires: pkgconfig(libmicrohttpd) + +%description +A C++ base UPnP library, derived from Portable UPnP, a.k.a libupnp + +%package -n %{name}%{so_ver} +Summary: A C++ base UPnP library, derived from Portable UPnP, a.k.a libupnp +Group: System/Libraries + +%description -n %{name}%{so_ver} +A C++ base UPnP library, derived from Portable UPnP, a.k.a libupnp + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries/C and C++ +Requires: %{name}%{so_ver} = %{version} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + +%prep +%autosetup + +%build +%configure --disable-static +%make_build + +%install +%make_install +find %{buildroot} -type f -name "*.la" -delete -print + +%post -p /sbin/ldconfig -n %{name}%{so_ver} +%postun -p /sbin/ldconfig -n %{name}%{so_ver} + +%files -n %{name}%{so_ver} +%license COPYING +%{_libdir}/*.so.* + +%files -n libnpupnp-devel +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/pkgconfig/*.pc + +%changelog