forked from pool/gupnp
293231bd9a
checked in (request 47771) OBS-URL: https://build.opensuse.org/request/show/47771 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gupnp?expand=0&rev=18
111 lines
3.7 KiB
RPMSpec
111 lines
3.7 KiB
RPMSpec
#
|
|
# spec file for package gupnp (Version 0.13.5)
|
|
#
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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: gupnp
|
|
Version: 0.13.5
|
|
Release: 1
|
|
Summary: Implementation of the UPnP specification
|
|
License: LGPL v2 or later
|
|
Group: Development/Libraries/C and C++
|
|
Url: http://www.gupnp.org/
|
|
Source: %{name}-%{version}.tar.bz2
|
|
BuildRequires: gir-repository
|
|
BuildRequires: gobject-introspection-devel
|
|
BuildRequires: libsoup-devel
|
|
BuildRequires: libgssdp-devel
|
|
BuildRequires: libuuid-devel
|
|
BuildRequires: libxml2-devel
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
GUPnP implements the UPnP specification: resource announcement and
|
|
discovery, description, control, event notification, and presentation
|
|
(GUPnP includes basic web server functionality through libsoup). GUPnP
|
|
does not include helpers for construction or control of specific
|
|
standardized resources (e.g. MediaServer); this is left for higher level
|
|
libraries utilizing the GUPnP framework.
|
|
|
|
%package -n libgupnp-1_0-3
|
|
License: LGPL v2 or later
|
|
Summary: Implementation of the UPnP specification
|
|
Group: Development/Libraries/C and C++
|
|
Requires: gir-repository
|
|
|
|
%description -n libgupnp-1_0-3
|
|
GUPnP implements the UPnP specification: resource announcement and
|
|
discovery, description, control, event notification, and presentation
|
|
(GUPnP includes basic web server functionality through libsoup). GUPnP
|
|
does not include helpers for construction or control of specific
|
|
standardized resources (e.g. MediaServer); this is left for higher level
|
|
libraries utilizing the GUPnP framework.
|
|
|
|
%package -n libgupnp-devel
|
|
License: LGPL v2 or later
|
|
Summary: Implementation of the UPnP specification - Development Files
|
|
Group: Development/Libraries/C and C++
|
|
Requires: libgupnp-1_0-3 = %{version}
|
|
Requires: libsoup-devel
|
|
Requires: libgssdp-devel
|
|
Requires: libxml2-devel
|
|
|
|
%description -n libgupnp-devel
|
|
GUPnP implements the UPnP specification: resource announcement and
|
|
discovery, description, control, event notification, and presentation
|
|
(GUPnP includes basic web server functionality through libsoup). GUPnP
|
|
does not include helpers for construction or control of specific
|
|
standardized resources (e.g. MediaServer); this is left for higher level
|
|
libraries utilizing the GUPnP framework.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure --disable-static
|
|
%__make %{?jobs:-j%jobs}
|
|
|
|
%install
|
|
%makeinstall
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
%post -n libgupnp-1_0-3 -p /sbin/ldconfig
|
|
|
|
%postun -n libgupnp-1_0-3 -p /sbin/ldconfig
|
|
|
|
%files -n libgupnp-1_0-3
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS ChangeLog COPYING NEWS README
|
|
%{_libdir}/*.so.*
|
|
%{_libdir}/girepository-1.0/GUPnP-1.0.typelib
|
|
%{_datadir}/gir-1.0/GUPnP-1.0.gir
|
|
|
|
%files -n libgupnp-devel
|
|
%defattr(-,root,root)
|
|
%{_bindir}/gupnp-binding-tool
|
|
%{_includedir}/%{name}-1.0
|
|
%{_libdir}/*.so
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%dir %{_datadir}/gtk-doc
|
|
%dir %{_datadir}/gtk-doc/html
|
|
%{_datadir}/gtk-doc/html/%{name}
|
|
|
|
%changelog
|