2009-07-08 04:37:24 +02:00
|
|
|
#
|
2011-05-06 16:17:41 +02:00
|
|
|
# spec file for package gupnp-igd
|
2009-07-08 04:37:24 +02:00
|
|
|
#
|
2022-09-13 09:35:30 +02:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2009-07-08 04:37:24 +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-01-09 14:30:28 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2009-07-08 04:37:24 +02:00
|
|
|
#
|
|
|
|
|
2012-01-13 14:19:35 +01:00
|
|
|
|
2009-07-08 04:37:24 +02:00
|
|
|
Name: gupnp-igd
|
2020-10-19 14:38:41 +02:00
|
|
|
Version: 1.2.0
|
2011-12-23 16:21:25 +01:00
|
|
|
Release: 0
|
2009-07-08 04:37:24 +02:00
|
|
|
Summary: Library to handle UPnP IGD port mapping
|
2018-03-05 14:56:08 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2009-07-08 04:37:24 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2018-03-05 14:56:08 +01:00
|
|
|
URL: https://wiki.gnome.org/Projects/GUPnP
|
2020-10-19 14:38:41 +02:00
|
|
|
Source: http://download.gnome.org/sources/gupnp-igd/1.2/%{name}-%{version}.tar.xz
|
2014-10-17 09:20:33 +02:00
|
|
|
Source1: baselibs.conf
|
2022-09-13 09:35:30 +02:00
|
|
|
# PATCH-FIX-UPSTREAM 79a1e4cf8c256132978a1d8ab718c8ad132386de.patch -- Port to GUPnP 1.6 API
|
|
|
|
Patch0: 79a1e4cf8c256132978a1d8ab718c8ad132386de.patch
|
2019-01-09 14:30:28 +01:00
|
|
|
|
2020-10-19 14:38:41 +02:00
|
|
|
BuildRequires: gtk-doc
|
|
|
|
BuildRequires: meson
|
2017-02-28 22:41:32 +01:00
|
|
|
BuildRequires: pkgconfig
|
2016-01-05 19:00:50 +01:00
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.26
|
|
|
|
BuildRequires: pkgconfig(gobject-2.0) >= 2.26
|
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
2022-09-13 09:35:30 +02:00
|
|
|
BuildRequires: pkgconfig(gssdp-1.6)
|
2016-01-05 19:00:50 +01:00
|
|
|
BuildRequires: pkgconfig(gthread-2.0)
|
|
|
|
BuildRequires: pkgconfig(gtk-doc)
|
2022-09-13 09:35:30 +02:00
|
|
|
BuildRequires: pkgconfig(gupnp-1.6)
|
2009-07-08 04:37:24 +02:00
|
|
|
|
|
|
|
%description
|
2011-12-23 16:21:25 +01:00
|
|
|
GUPnP-IGD is a library to handle UPnP IGD port mapping. It is supposed
|
2009-07-08 04:37:24 +02:00
|
|
|
to have a very simple API.
|
|
|
|
|
2011-11-08 12:10:59 +01:00
|
|
|
%package -n libgupnp-igd-1_0-4
|
2009-07-08 04:37:24 +02:00
|
|
|
Summary: Library to handle UPnP IGD port mapping
|
2017-02-28 22:41:32 +01:00
|
|
|
# Obsoletes may be removed when Leap 42.3 is out of support.
|
2009-07-08 04:37:24 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2017-02-28 22:41:32 +01:00
|
|
|
Obsoletes: python-gupnp-igd
|
2009-07-08 04:37:24 +02:00
|
|
|
|
2011-11-08 12:10:59 +01:00
|
|
|
%description -n libgupnp-igd-1_0-4
|
2011-12-23 16:21:25 +01:00
|
|
|
GUPnP-IGD is a library to handle UPnP IGD port mapping. It is supposed
|
2009-07-08 04:37:24 +02:00
|
|
|
to have a very simple API.
|
|
|
|
|
2011-12-23 16:21:25 +01:00
|
|
|
%package -n typelib-1_0-GUPnPIgd-1_0
|
|
|
|
Summary: Library to handle UPnP IGD port mapping -- Introspection bindings
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
|
|
|
%description -n typelib-1_0-GUPnPIgd-1_0
|
|
|
|
GUPnP-IGD is a library to handle UPnP IGD port mapping. It is supposed
|
|
|
|
to have a very simple API.
|
|
|
|
|
|
|
|
This package provides the GObject Introspection bindings for GUPnP-IGD.
|
|
|
|
|
2009-07-08 04:37:24 +02:00
|
|
|
%package -n libgupnp-igd-devel
|
|
|
|
Summary: Library to handle UPnP IGD port mapping - Development Files
|
|
|
|
Group: Development/Libraries/C and C++
|
2011-11-08 12:10:59 +01:00
|
|
|
Requires: libgupnp-igd-1_0-4 = %{version}
|
2011-12-23 16:21:25 +01:00
|
|
|
Requires: typelib-1_0-GUPnPIgd-1_0 = %{version}
|
2009-07-08 04:37:24 +02:00
|
|
|
|
|
|
|
%description -n libgupnp-igd-devel
|
2011-12-23 16:21:25 +01:00
|
|
|
GUPnP-IGD is a library to handle UPnP IGD port mapping. It is supposed
|
2009-07-08 04:37:24 +02:00
|
|
|
to have a very simple API.
|
|
|
|
|
|
|
|
%prep
|
2019-01-09 14:30:28 +01:00
|
|
|
%autosetup -p1
|
2009-07-08 04:37:24 +02:00
|
|
|
|
|
|
|
%build
|
2020-10-19 14:38:41 +02:00
|
|
|
%meson \
|
|
|
|
-Dgtk_doc=true \
|
2019-01-09 14:30:28 +01:00
|
|
|
%{nil}
|
2020-10-19 14:38:41 +02:00
|
|
|
%meson_build
|
2009-07-08 04:37:24 +02:00
|
|
|
|
|
|
|
%install
|
2020-10-19 14:38:41 +02:00
|
|
|
%meson_install
|
|
|
|
|
|
|
|
%check
|
|
|
|
%meson_test
|
2009-07-08 04:37:24 +02:00
|
|
|
|
2022-09-13 09:35:30 +02:00
|
|
|
%ldconfig_scriptlets -n libgupnp-igd-1_0-4
|
2009-07-08 04:37:24 +02:00
|
|
|
|
2011-11-08 12:10:59 +01:00
|
|
|
%files -n libgupnp-igd-1_0-4
|
2018-03-05 14:56:08 +01:00
|
|
|
%license COPYING
|
|
|
|
%doc AUTHORS NEWS README
|
2009-07-08 04:37:24 +02:00
|
|
|
%{_libdir}/*.so.*
|
2011-12-23 16:21:25 +01:00
|
|
|
|
|
|
|
%files -n typelib-1_0-GUPnPIgd-1_0
|
2011-05-02 21:15:23 +02:00
|
|
|
%{_libdir}/girepository-1.0/GUPnPIgd-1.0.typelib
|
2009-07-08 04:37:24 +02:00
|
|
|
|
|
|
|
%files -n libgupnp-igd-devel
|
|
|
|
%{_includedir}/%{name}-1.0
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2011-05-02 21:16:32 +02:00
|
|
|
%{_datadir}/gir-1.0/GUPnPIgd-1.0.gir
|
2009-07-08 04:37:24 +02:00
|
|
|
%dir %{_datadir}/gtk-doc
|
|
|
|
%dir %{_datadir}/gtk-doc/html
|
|
|
|
%{_datadir}/gtk-doc/html/%{name}
|
|
|
|
|
|
|
|
%changelog
|