From c8148eafc60680d32195cf29f3b5034b394478f1cc624e1470a6ceadabee511f Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 30 Jan 2012 13:10:30 +0000 Subject: [PATCH 1/3] Properly provide pkgconfig symbols OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libupnp?expand=0&rev=3 --- libupnp6.changes | 5 +++++ libupnp6.spec | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/libupnp6.changes b/libupnp6.changes index 62f2788..b3f5985 100644 --- a/libupnp6.changes +++ b/libupnp6.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jan 30 13:09:31 UTC 2012 - jengelh@medozas.de + +- Properly provide pkgconfig symbols + ------------------------------------------------------------------- Sat Oct 8 10:26:59 UTC 2011 - saschpe@gmx.de diff --git a/libupnp6.spec b/libupnp6.spec index ecd2a09..55d759d 100644 --- a/libupnp6.spec +++ b/libupnp6.spec @@ -1,6 +1,7 @@ # -# spec file for package minidlna +# spec file for package libupnp6 # +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2011, Sascha Peilicke # # All modifications and additions to the file contributed by third parties @@ -16,16 +17,16 @@ # - 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/ +Group: System/Libraries +Url: http://sourceforge.net/projects/pupnp/ Source0: http://downloads.sourceforge.net/pupnp/libupnp-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: pkgconfig %description The portable Universal Plug and Play (UPnP) SDK provides support for building @@ -35,7 +36,6 @@ 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 From 34a05d63f58c19db1953c13f400544cdb44a079780165dd883cd75ce86adfebe Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Sat, 25 Feb 2012 08:35:59 +0000 Subject: [PATCH 2/3] - sync package name with spec file name - Properly provide pkgconfig symbols - Initial version OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libupnp?expand=0&rev=4 --- libupnp6.changes => libupnp.changes | 5 +++++ libupnp6.spec => libupnp.spec | 23 +++++++++++++++++------ 2 files changed, 22 insertions(+), 6 deletions(-) rename libupnp6.changes => libupnp.changes (65%) rename libupnp6.spec => libupnp.spec (81%) diff --git a/libupnp6.changes b/libupnp.changes similarity index 65% rename from libupnp6.changes rename to libupnp.changes index b3f5985..08458fa 100644 --- a/libupnp6.changes +++ b/libupnp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Feb 25 08:35:41 UTC 2012 - coolo@suse.com + +- sync package name with spec file name + ------------------------------------------------------------------- Mon Jan 30 13:09:31 UTC 2012 - jengelh@medozas.de diff --git a/libupnp6.spec b/libupnp.spec similarity index 81% rename from libupnp6.spec rename to libupnp.spec index 55d759d..b95b8d4 100644 --- a/libupnp6.spec +++ b/libupnp.spec @@ -1,5 +1,5 @@ # -# spec file for package libupnp6 +# spec file for package libupnp # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2011, Sascha Peilicke @@ -17,7 +17,9 @@ # -Name: libupnp6 +%define lname libupnp6 + +Name: libupnp Version: 1.6.13 Release: 0 Summary: Portable Universal Plug and Play (UPnP) SDK @@ -33,6 +35,15 @@ 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 %lname +Summary: Portable Universal Plug and Play (UPnP) SDK +Group: System/Libraries + +%description -n %lname +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++ @@ -44,7 +55,7 @@ UPnP-compliant control points, devices, and bridges on several operating systems. %prep -%setup -n libupnp-%{version} +%setup %build %configure --disable-static @@ -54,11 +65,11 @@ make %{?_smp_mflags} %makeinstall find %{buildroot} -type f -name '*.la' -exec rm -f {} ';' -%post -p /sbin/ldconfig +%post -p /sbin/ldconfig -n %lname -%postun -p /sbin/ldconfig +%postun -p /sbin/ldconfig -n %lname -%files +%files -n %lname %defattr(-,root,root,-) %doc ChangeLog NEWS README TODO %{_libdir}/libixml.so.* From 4084a6c5f174cc5b2047a39f20338d0c442b22f286f57ad7f788878b608ab6f6 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Sat, 25 Feb 2012 08:36:21 +0000 Subject: [PATCH 3/3] OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libupnp?expand=0&rev=5 --- libupnp.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libupnp.spec b/libupnp.spec index b95b8d4..3adc95f 100644 --- a/libupnp.spec +++ b/libupnp.spec @@ -47,7 +47,7 @@ systems %package -n libupnp-devel Summary: Portable Universal Plug and Play (UPnP) SDK Group: Development/Libraries/C and C++ -Requires: %{name} = %{version} +Requires: %{lname} = %{version} %description -n libupnp-devel The portable Universal Plug and Play (UPnP) SDK provides support for building