From b8c1144cea6c2afe6011831c12d2c0758eb7fa6cc68d6fdee29b4f8804d5bfa1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Sun, 9 Oct 2011 06:59:25 +0000 Subject: [PATCH] Accepting request 87108 from home:saschpe Please add OBS-URL: https://build.opensuse.org/request/show/87108 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libupnp?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++ .gitignore | 1 + baselibs.conf | 1 + libupnp-1.6.13.tar.bz2 | 3 ++ libupnp6.changes | 5 +++ libupnp6.spec | 76 ++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 109 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 baselibs.conf create mode 100644 libupnp-1.6.13.tar.bz2 create mode 100644 libupnp6.changes create mode 100644 libupnp6.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/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..f351018 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1 @@ +libupnp6 diff --git a/libupnp-1.6.13.tar.bz2 b/libupnp-1.6.13.tar.bz2 new file mode 100644 index 0000000..0ad88d8 --- /dev/null +++ b/libupnp-1.6.13.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5c1dd7f4c13ab321685063e25b874e44bf31d6e170fe51ddae47abe4f41523ee +size 1191882 diff --git a/libupnp6.changes b/libupnp6.changes new file mode 100644 index 0000000..62f2788 --- /dev/null +++ b/libupnp6.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Sat Oct 8 10:26:59 UTC 2011 - saschpe@gmx.de + +- Initial version + diff --git a/libupnp6.spec b/libupnp6.spec new file mode 100644 index 0000000..ecd2a09 --- /dev/null +++ b/libupnp6.spec @@ -0,0 +1,76 @@ +# +# spec file for package minidlna +# +# Copyright (c) 2011, Sascha Peilicke +# +# 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: libupnp6 +Version: 1.6.13 +Release: 0 +Summary: Portable Universal Plug and Play (UPnP) SDK +Group: System/Libraries +License: BSD-3-Clause +URL: http://sourceforge.net/projects/pupnp/ +Source0: http://downloads.sourceforge.net/pupnp/libupnp-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +The portable Universal Plug and Play (UPnP) SDK provides support for building +UPnP-compliant control points, devices, and bridges on several operating +systems. + +%package -n libupnp-devel +Summary: Portable Universal Plug and Play (UPnP) SDK +Group: Development/Libraries/C and C++ +Provides: pkgconfig(libupnp) +Requires: %{name} = %{version} + +%description -n libupnp-devel +The portable Universal Plug and Play (UPnP) SDK provides support for building +UPnP-compliant control points, devices, and bridges on several operating +systems. + +%prep +%setup -n libupnp-%{version} + +%build +%configure --disable-static +make %{?_smp_mflags} + +%install +%makeinstall +find %{buildroot} -type f -name '*.la' -exec rm -f {} ';' + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc ChangeLog NEWS README TODO +%{_libdir}/libixml.so.* +%{_libdir}/libthreadutil.so.* +%{_libdir}/libupnp.so.* + +%files -n libupnp-devel +%defattr(-,root,root,-) +%{_libdir}/pkgconfig/libupnp.pc +%{_libdir}/libixml.so +%{_libdir}/libthreadutil.so +%{_libdir}/libupnp.so +%{_includedir}/upnp/ + +%changelog