2009-07-08 04:37:17 +02:00
|
|
|
#
|
2011-05-03 09:16:10 +02:00
|
|
|
# spec file for package gupnp
|
2009-07-08 04:37:17 +02:00
|
|
|
#
|
2022-01-10 12:31:16 +01:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2009-07-08 04:37:17 +02:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-05-31 17:13:01 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2009-07-08 04:37:17 +02:00
|
|
|
#
|
|
|
|
|
2012-03-21 12:05:07 +01:00
|
|
|
|
2019-06-11 10:47:26 +02:00
|
|
|
# When bumping soname, do not forget to bump in baselibs.conf too.
|
2021-11-11 13:43:35 +01:00
|
|
|
%define soname 1_2-1
|
2019-06-11 10:47:26 +02:00
|
|
|
%define sover 1.2
|
|
|
|
|
2009-07-08 04:37:17 +02:00
|
|
|
Name: gupnp
|
2022-01-10 12:31:16 +01:00
|
|
|
Version: 1.4.2
|
2011-12-21 05:30:05 +01:00
|
|
|
Release: 0
|
2009-07-08 04:37:17 +02:00
|
|
|
Summary: Implementation of the UPnP specification
|
2018-03-05 14:55:33 +01:00
|
|
|
License: LGPL-2.0-or-later
|
2009-07-08 04:37:17 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2018-03-05 14:55:33 +01:00
|
|
|
URL: http://www.gupnp.org/
|
2021-09-27 08:25:15 +02:00
|
|
|
Source0: https://download.gnome.org/sources/gupnp/1.4/%{name}-%{version}.tar.xz
|
2014-10-17 09:20:21 +02:00
|
|
|
Source1: baselibs.conf
|
2022-01-10 12:31:16 +01:00
|
|
|
# PATCH-FIX-UPSTREAM gupnp-build-man-pages.patch -- Build and install the manpage
|
|
|
|
Patch0: gupnp-build-man-pages.patch
|
|
|
|
|
2019-06-11 10:47:26 +02:00
|
|
|
BuildRequires: gtk-doc
|
2021-09-27 08:25:15 +02:00
|
|
|
BuildRequires: meson >= 0.54.0
|
2018-03-05 14:55:33 +01:00
|
|
|
BuildRequires: pkgconfig
|
2021-06-07 12:15:42 +02:00
|
|
|
BuildRequires: pkgconfig(gio-2.0) >= 2.66
|
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.66
|
|
|
|
BuildRequires: pkgconfig(gmodule-2.0) >= 2.66
|
|
|
|
BuildRequires: pkgconfig(gobject-2.0) >= 2.66
|
2013-03-13 23:50:42 +01:00
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.6.4
|
2021-09-27 08:25:15 +02:00
|
|
|
BuildRequires: pkgconfig(gssdp-1.2) >= 1.3.0
|
2019-06-11 10:47:26 +02:00
|
|
|
BuildRequires: pkgconfig(libsoup-2.4) >= 2.48.0
|
2013-03-13 23:50:42 +01:00
|
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
|
|
|
BuildRequires: pkgconfig(uuid)
|
|
|
|
BuildRequires: pkgconfig(vapigen)
|
2009-07-08 04:37:17 +02:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
2019-06-11 10:47:26 +02:00
|
|
|
%package -n libgupnp-%{soname}
|
2009-07-08 04:37:17 +02:00
|
|
|
Summary: Implementation of the UPnP specification
|
2016-11-23 11:30:26 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2021-11-11 13:44:41 +01:00
|
|
|
# libgupnp-1.2.so.1 was wrongly shipped for a while in libgupnp-1_2-0
|
2021-11-11 17:15:23 +01:00
|
|
|
Obsoletes: libgupnp-1_2-0
|
2009-07-08 04:37:17 +02:00
|
|
|
|
2019-06-11 10:47:26 +02:00
|
|
|
%description -n libgupnp-%{soname}
|
2009-07-08 04:37:17 +02:00
|
|
|
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.
|
|
|
|
|
2011-12-12 17:04:23 +01:00
|
|
|
%package -n typelib-1_0-GUPnP-1_0
|
2011-12-21 05:30:05 +01:00
|
|
|
Summary: Implementation of the UPnP specification -- Introspection bindings
|
2011-12-12 17:04:23 +01:00
|
|
|
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.
|
|
|
|
|
2011-12-21 05:30:05 +01:00
|
|
|
This package provides the GObject Introspection bindings for GUPnP.
|
|
|
|
|
2009-07-08 04:37:17 +02:00
|
|
|
%package -n libgupnp-devel
|
|
|
|
Summary: Implementation of the UPnP specification - Development Files
|
|
|
|
Group: Development/Libraries/C and C++
|
2019-06-11 10:47:26 +02:00
|
|
|
Requires: libgupnp-%{soname} = %{version}
|
2011-12-12 17:04:23 +01:00
|
|
|
Requires: typelib-1_0-GUPnP-1_0 = %{version}
|
2009-07-08 04:37:17 +02:00
|
|
|
|
|
|
|
%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
|
2019-06-11 10:47:26 +02:00
|
|
|
%autosetup -p1
|
2021-06-01 11:42:23 +02:00
|
|
|
sed -i 's|env python3|python3|' tools/gupnp-binding-tool-1.2
|
2009-07-08 04:37:17 +02:00
|
|
|
|
|
|
|
%build
|
2019-06-11 10:47:26 +02:00
|
|
|
%meson \
|
|
|
|
-Dcontext_manager=network-manager \
|
|
|
|
-Dintrospection=true \
|
|
|
|
-Dvapi=true \
|
|
|
|
-Dgtk_doc=true \
|
|
|
|
-Dexamples=false \
|
|
|
|
%{nil}
|
|
|
|
%meson_build
|
2009-07-08 04:37:17 +02:00
|
|
|
|
|
|
|
%install
|
2019-06-11 10:47:26 +02:00
|
|
|
%meson_install
|
2009-07-08 04:37:17 +02:00
|
|
|
|
2019-06-11 10:47:26 +02:00
|
|
|
%post -n libgupnp-%{soname} -p /sbin/ldconfig
|
|
|
|
%postun -n libgupnp-%{soname} -p /sbin/ldconfig
|
2009-07-08 04:37:17 +02:00
|
|
|
|
2019-06-11 10:47:26 +02:00
|
|
|
%files -n libgupnp-%{soname}
|
2018-03-05 14:55:33 +01:00
|
|
|
%license COPYING
|
2021-09-27 08:25:15 +02:00
|
|
|
%doc AUTHORS NEWS
|
2009-07-08 04:37:17 +02:00
|
|
|
%{_libdir}/*.so.*
|
2011-12-12 17:04:23 +01:00
|
|
|
|
|
|
|
%files -n typelib-1_0-GUPnP-1_0
|
2019-06-11 10:47:26 +02:00
|
|
|
%{_libdir}/girepository-1.0/GUPnP-%{sover}.typelib
|
2009-07-08 04:37:17 +02:00
|
|
|
|
|
|
|
%files -n libgupnp-devel
|
2020-01-05 22:02:49 +01:00
|
|
|
%{_mandir}/man1/gupnp-binding-tool-1.2.1%{?ext_man}
|
2019-06-11 10:47:26 +02:00
|
|
|
%{_bindir}/gupnp-binding-tool-%{sover}
|
|
|
|
%{_includedir}/%{name}-%{sover}
|
2009-07-08 04:37:17 +02:00
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2019-06-11 10:47:26 +02:00
|
|
|
%{_datadir}/gir-1.0/GUPnP-%{sover}.gir
|
2009-07-08 04:37:17 +02:00
|
|
|
%dir %{_datadir}/gtk-doc
|
|
|
|
%dir %{_datadir}/gtk-doc/html
|
|
|
|
%{_datadir}/gtk-doc/html/%{name}
|
2019-06-11 10:47:26 +02:00
|
|
|
%{_datadir}/vala/vapi/gupnp-%{sover}.deps
|
|
|
|
%{_datadir}/vala/vapi/gupnp-%{sover}.vapi
|
2009-07-08 04:37:17 +02:00
|
|
|
|
|
|
|
%changelog
|