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
|
|
|
#
|
2023-03-20 13:49:44 +01:00
|
|
|
# Copyright (c) 2023 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
|
2023-04-14 13:01:03 +02:00
|
|
|
Version: 1.6.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
|
2023-04-14 13:01:03 +02:00
|
|
|
Source: https://download.gnome.org/sources/gupnp-igd/1.6/%{name}-%{version}.tar.xz
|
2014-10-17 09:20:33 +02:00
|
|
|
Source1: baselibs.conf
|
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.
|
|
|
|
|
2023-04-14 13:01:03 +02:00
|
|
|
%package -n libgupnp-igd-1_6-0
|
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
|
|
|
|
2023-04-14 13:01:03 +02:00
|
|
|
%description -n libgupnp-igd-1_6-0
|
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.
|
|
|
|
|
2023-04-14 13:01:03 +02:00
|
|
|
%package -n typelib-1_0-GUPnPIgd-1_6
|
2011-12-23 16:21:25 +01:00
|
|
|
Summary: Library to handle UPnP IGD port mapping -- Introspection bindings
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
2023-04-14 13:01:03 +02:00
|
|
|
%description -n typelib-1_0-GUPnPIgd-1_6
|
2011-12-23 16:21:25 +01:00
|
|
|
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++
|
2023-04-14 13:01:03 +02:00
|
|
|
Requires: libgupnp-igd-1_6-0 = %{version}
|
|
|
|
Requires: typelib-1_0-GUPnPIgd-1_6 = %{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
|
|
|
|
2023-04-14 13:01:03 +02:00
|
|
|
%ldconfig_scriptlets -n libgupnp-igd-1_6-0
|
2009-07-08 04:37:24 +02:00
|
|
|
|
2023-04-14 13:01:03 +02:00
|
|
|
%files -n libgupnp-igd-1_6-0
|
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
|
|
|
|
2023-04-14 13:01:03 +02:00
|
|
|
%files -n typelib-1_0-GUPnPIgd-1_6
|
|
|
|
%{_libdir}/girepository-1.0/GUPnPIgd-1.6.typelib
|
2009-07-08 04:37:24 +02:00
|
|
|
|
|
|
|
%files -n libgupnp-igd-devel
|
2023-04-14 13:01:03 +02:00
|
|
|
%{_includedir}/%{name}-1.6
|
2009-07-08 04:37:24 +02:00
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2023-04-14 13:01:03 +02:00
|
|
|
%{_datadir}/gir-1.0/GUPnPIgd-1.6.gir
|
2009-07-08 04:37:24 +02:00
|
|
|
%dir %{_datadir}/gtk-doc
|
|
|
|
%dir %{_datadir}/gtk-doc/html
|
|
|
|
%{_datadir}/gtk-doc/html/%{name}
|
|
|
|
|
|
|
|
%changelog
|