forked from pool/libupnp
Accepting request 106864 from devel:libraries:c_c++
- sync package name with spec file name - Properly provide pkgconfig symbols - Initial version OBS-URL: https://build.opensuse.org/request/show/106864 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libupnp?expand=0&rev=4
This commit is contained in:
commit
7fdc00b65e
15
libupnp.changes
Normal file
15
libupnp.changes
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
||||||
|
|
||||||
|
- Properly provide pkgconfig symbols
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Oct 8 10:26:59 UTC 2011 - saschpe@gmx.de
|
||||||
|
|
||||||
|
- Initial version
|
||||||
|
|
@ -1,6 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package minidlna
|
# spec file for package libupnp
|
||||||
#
|
#
|
||||||
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# Copyright (c) 2011, Sascha Peilicke <saschpe@gmx.de>
|
# Copyright (c) 2011, Sascha Peilicke <saschpe@gmx.de>
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@ -16,27 +17,37 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define lname libupnp6
|
||||||
|
|
||||||
Name: libupnp6
|
Name: libupnp
|
||||||
Version: 1.6.13
|
Version: 1.6.13
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Portable Universal Plug and Play (UPnP) SDK
|
Summary: Portable Universal Plug and Play (UPnP) SDK
|
||||||
Group: System/Libraries
|
|
||||||
License: BSD-3-Clause
|
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
|
Source0: http://downloads.sourceforge.net/pupnp/libupnp-%{version}.tar.bz2
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The portable Universal Plug and Play (UPnP) SDK provides support for building
|
The portable Universal Plug and Play (UPnP) SDK provides support for building
|
||||||
UPnP-compliant control points, devices, and bridges on several operating
|
UPnP-compliant control points, devices, and bridges on several operating
|
||||||
systems.
|
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
|
%package -n libupnp-devel
|
||||||
Summary: Portable Universal Plug and Play (UPnP) SDK
|
Summary: Portable Universal Plug and Play (UPnP) SDK
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Provides: pkgconfig(libupnp)
|
Requires: %{lname} = %{version}
|
||||||
Requires: %{name} = %{version}
|
|
||||||
|
|
||||||
%description -n libupnp-devel
|
%description -n libupnp-devel
|
||||||
The portable Universal Plug and Play (UPnP) SDK provides support for building
|
The portable Universal Plug and Play (UPnP) SDK provides support for building
|
||||||
@ -44,7 +55,7 @@ UPnP-compliant control points, devices, and bridges on several operating
|
|||||||
systems.
|
systems.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n libupnp-%{version}
|
%setup
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static
|
%configure --disable-static
|
||||||
@ -54,11 +65,11 @@ make %{?_smp_mflags}
|
|||||||
%makeinstall
|
%makeinstall
|
||||||
find %{buildroot} -type f -name '*.la' -exec rm -f {} ';'
|
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,-)
|
%defattr(-,root,root,-)
|
||||||
%doc ChangeLog NEWS README TODO
|
%doc ChangeLog NEWS README TODO
|
||||||
%{_libdir}/libixml.so.*
|
%{_libdir}/libixml.so.*
|
@ -1,5 +0,0 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Sat Oct 8 10:26:59 UTC 2011 - saschpe@gmx.de
|
|
||||||
|
|
||||||
- Initial version
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user