From d0371c1a27b9a52041e717d407f0e96fdd9c27408a3ab5adcb9953922639a423 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Fri, 20 Nov 2020 08:36:56 +0000 Subject: [PATCH] Accepting request 849398 from home:bobbie424242:upmpdcli fixed type in summary OBS-URL: https://build.opensuse.org/request/show/849398 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libupnpp?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++ .gitignore | 1 + libupnpp-0.20.0.tar.gz | 3 ++ libupnpp.changes | 9 +++++ libupnpp.spec | 76 ++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 112 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 libupnpp-0.20.0.tar.gz create mode 100644 libupnpp.changes create mode 100644 libupnpp.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/libupnpp-0.20.0.tar.gz b/libupnpp-0.20.0.tar.gz new file mode 100644 index 0000000..4561e2b --- /dev/null +++ b/libupnpp-0.20.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5c75eb5d2336baec27be2342b4d53086cdd4f56a7756398a055028cb4a1eb00e +size 476361 diff --git a/libupnpp.changes b/libupnpp.changes new file mode 100644 index 0000000..6b08aa1 --- /dev/null +++ b/libupnpp.changes @@ -0,0 +1,9 @@ +------------------------------------------------------------------- +Sun Nov 15 21:08:51 UTC 2020 - Michael Pujos + +- update to upstream version 0.20.0 + +------------------------------------------------------------------- +Fri Jan 24 17:57:19 UTC 2020 - Michael Pujos + +- Initial package for version 1.4.2 diff --git a/libupnpp.spec b/libupnpp.spec new file mode 100644 index 0000000..8902ecb --- /dev/null +++ b/libupnpp.spec @@ -0,0 +1,76 @@ +# +# spec file for package libupnpp +# +# 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 9 +Name: libupnpp +Version: 0.20.0 +Release: 0 +Summary: Library providing a higher level C++ API over libnpupnp or 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/libupnpp-%{version}.tar.gz +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: pkgconfig(expat) +BuildRequires: pkgconfig(libcurl) +BuildRequires: pkgconfig(libnpupnp) + +%description +Library providing a higher level C++ API over libnpupnp or libupnp + +%package -n %{name}%{so_ver} +Summary: Library providing a higher level C++ API over libnpupnp or libupnp +Group: System/Libraries + +%description -n %{name}%{so_ver} +Library providing a higher level C++ API over libnpupnp or 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 libupnpp-devel +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/pkgconfig/*.pc + +%changelog