# # spec file for package gupnp # # Copyright (c) 2019 SUSE LINUX 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 https://bugs.opensuse.org/ # Name: gupnp Version: 1.0.4 Release: 0 Summary: Implementation of the UPnP specification License: LGPL-2.0-or-later Group: Development/Libraries/C and C++ URL: http://www.gupnp.org/ Source: http://download.gnome.org/sources/gupnp/1.0/%{name}-%{version}.tar.xz Source1: baselibs.conf BuildRequires: pkgconfig # Needed for the GTest BuildRequires: pkgconfig(glib-2.0) >= 2.40.0 BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.6.4 BuildRequires: pkgconfig(gssdp-1.0) >= 0.14.15 BuildRequires: pkgconfig(libsoup-2.4) >= 2.28.2 BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(uuid) BuildRequires: pkgconfig(vapigen) %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-4 Summary: Implementation of the UPnP specification Group: Development/Libraries/C and C++ %description -n libgupnp-1_0-4 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 typelib-1_0-GUPnP-1_0 Summary: Implementation of the UPnP specification -- Introspection bindings Group: System/Libraries %description -n typelib-1_0-GUPnP-1_0 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. This package provides the GObject Introspection bindings for GUPnP. %package -n libgupnp-devel Summary: Implementation of the UPnP specification - Development Files Group: Development/Libraries/C and C++ Requires: libgupnp-1_0-4 = %{version} Requires: typelib-1_0-GUPnP-1_0 = %{version} %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 \ --with-context-manager=network-manager make %{?_smp_mflags} %install %make_install find %{buildroot} -type f -name "*.la" -delete -print %post -n libgupnp-1_0-4 -p /sbin/ldconfig %postun -n libgupnp-1_0-4 -p /sbin/ldconfig %files -n libgupnp-1_0-4 %license COPYING %doc AUTHORS NEWS README %{_libdir}/*.so.* %files -n typelib-1_0-GUPnP-1_0 %{_libdir}/girepository-1.0/GUPnP-1.0.typelib %files -n libgupnp-devel %{_bindir}/gupnp-binding-tool %{_includedir}/%{name}-1.0 %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %{_datadir}/gir-1.0/GUPnP-1.0.gir %dir %{_datadir}/gtk-doc %dir %{_datadir}/gtk-doc/html %{_datadir}/gtk-doc/html/%{name} %{_datadir}/vala/vapi/gupnp-1.0.deps %{_datadir}/vala/vapi/gupnp-1.0.vapi %changelog