From 34a05d63f58c19db1953c13f400544cdb44a079780165dd883cd75ce86adfebe Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Sat, 25 Feb 2012 08:35:59 +0000 Subject: [PATCH] - 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.*