2009-07-08 04:36:51 +02:00
|
|
|
#
|
2011-05-03 09:14:50 +02:00
|
|
|
# spec file for package gssdp
|
2009-07-08 04:36:51 +02:00
|
|
|
#
|
2022-09-13 09:35:16 +02:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2009-07-08 04:36:51 +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-29 13:58:10 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2009-07-08 04:36:51 +02:00
|
|
|
#
|
|
|
|
|
2012-09-07 17:24:29 +02:00
|
|
|
|
2022-09-13 09:35:16 +02:00
|
|
|
%define soname 1_6-0
|
|
|
|
%define sover 1.6
|
2021-09-27 18:56:38 +02:00
|
|
|
%bcond_with sniffer
|
2009-07-08 04:36:51 +02:00
|
|
|
Name: gssdp
|
2022-09-19 18:23:58 +02:00
|
|
|
Version: 1.6.0
|
2011-12-21 05:30:26 +01:00
|
|
|
Release: 0
|
2009-07-08 04:36:51 +02:00
|
|
|
Summary: Library for resource discovery and announcement over SSDP
|
2018-03-05 14:51:19 +01:00
|
|
|
License: LGPL-2.0-or-later
|
2009-07-08 04:36:51 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2018-03-05 14:51:19 +01:00
|
|
|
URL: http://www.gupnp.org/
|
2022-09-19 18:23:58 +02:00
|
|
|
Source0: https://download.gnome.org/sources/gssdp/1.6/%{name}-%{version}.tar.xz
|
2014-10-17 09:20:27 +02:00
|
|
|
Source1: baselibs.conf
|
2022-09-13 09:35:16 +02:00
|
|
|
|
2021-09-27 08:25:02 +02:00
|
|
|
BuildRequires: meson >= 0.54.0
|
2018-03-05 14:51:19 +01:00
|
|
|
BuildRequires: pkgconfig
|
2022-09-13 09:35:16 +02:00
|
|
|
BuildRequires: pkgconfig(gi-docgen)
|
2020-01-05 22:02:39 +01:00
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.54
|
2013-03-13 23:52:27 +01:00
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
2021-09-27 18:56:38 +02:00
|
|
|
%if %{with sniffer}
|
|
|
|
BuildRequires: pkgconfig(gtk4)
|
|
|
|
%endif
|
2022-09-13 09:35:16 +02:00
|
|
|
BuildRequires: pkgconfig(libsoup-3.0)
|
2013-03-13 23:52:27 +01:00
|
|
|
BuildRequires: pkgconfig(vapigen)
|
2009-07-08 04:36:51 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
gssdp offers a GObject-based API for handling resource discovery and
|
|
|
|
announcement over SSDP.
|
|
|
|
|
|
|
|
%package utils
|
|
|
|
Summary: Utilities for resource discovery and announcement over SSDP
|
|
|
|
Group: Productivity/Networking/Other
|
|
|
|
|
|
|
|
%description utils
|
|
|
|
gssdp offers a GObject-based API for handling resource discovery and
|
|
|
|
announcement over SSDP.
|
|
|
|
|
|
|
|
This package contains a device sniffer.
|
|
|
|
|
2019-06-11 10:47:16 +02:00
|
|
|
%package -n libgssdp-%{soname}
|
2009-07-08 04:36:51 +02:00
|
|
|
Summary: Library for resource discovery and announcement over SSDP
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
2019-06-11 10:47:16 +02:00
|
|
|
%description -n libgssdp-%{soname}
|
2009-07-08 04:36:51 +02:00
|
|
|
gssdp offers a GObject-based API for handling resource discovery and
|
|
|
|
announcement over SSDP.
|
|
|
|
|
2011-12-12 17:04:06 +01:00
|
|
|
%package -n typelib-1_0-GSSDP-1_0
|
2016-06-23 10:23:27 +02:00
|
|
|
Summary: Lib for resource discovery and announcement over SSDP - Introspection bindings
|
2011-12-12 17:04:06 +01:00
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n typelib-1_0-GSSDP-1_0
|
|
|
|
gssdp offers a GObject-based API for handling resource discovery and
|
|
|
|
announcement over SSDP.
|
|
|
|
|
2011-12-21 05:30:26 +01:00
|
|
|
This package provides the GObject Introspection bindings for gssdp.
|
|
|
|
|
2022-09-13 09:35:16 +02:00
|
|
|
%package doc
|
|
|
|
Summary: Documentation for %{name}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
Documentation for %{name}.
|
|
|
|
|
2009-07-08 04:36:51 +02:00
|
|
|
%package -n libgssdp-devel
|
|
|
|
Summary: Library for resource discovery and announcement over SSDP - Development Files
|
|
|
|
Group: Development/Libraries/C and C++
|
2019-06-11 10:47:16 +02:00
|
|
|
Requires: libgssdp-%{soname} = %{version}
|
2011-12-12 17:04:06 +01:00
|
|
|
Requires: typelib-1_0-GSSDP-1_0 = %{version}
|
2009-07-08 04:36:51 +02:00
|
|
|
|
|
|
|
%description -n libgssdp-devel
|
|
|
|
gssdp offers a GObject-based API for handling resource discovery and
|
|
|
|
announcement over SSDP.
|
|
|
|
|
|
|
|
%prep
|
2019-01-29 13:58:10 +01:00
|
|
|
%autosetup -p1
|
2009-07-08 04:36:51 +02:00
|
|
|
|
|
|
|
%build
|
2019-01-29 13:58:10 +01:00
|
|
|
%meson \
|
|
|
|
-Dgtk_doc=true \
|
2021-09-27 18:56:38 +02:00
|
|
|
%if %{without sniffer}
|
|
|
|
-Dsniffer=false \
|
|
|
|
%endif
|
2019-01-29 13:58:10 +01:00
|
|
|
-Dintrospection=true \
|
|
|
|
-Dvapi=true \
|
|
|
|
-Dexamples=false \
|
|
|
|
%{nil}
|
|
|
|
%meson_build
|
2009-07-08 04:36:51 +02:00
|
|
|
|
|
|
|
%install
|
2019-01-29 13:58:10 +01:00
|
|
|
%meson_install
|
2022-09-13 09:35:16 +02:00
|
|
|
# Make default docdir ref openSUSE standard
|
|
|
|
mkdir -p %{buildroot}%{_docdir}/%{name}-%{sover}
|
|
|
|
# Move docs from upstream docdir to openSUSE docdir standard
|
|
|
|
mv %{buildroot}%{_datadir}/doc/%{name}-%{sover} %{buildroot}%{_docdir}
|
2019-01-29 13:58:10 +01:00
|
|
|
|
|
|
|
%check
|
2022-09-13 09:35:16 +02:00
|
|
|
#%%meson_test
|
2009-07-08 04:36:51 +02:00
|
|
|
|
2022-09-13 09:35:16 +02:00
|
|
|
%ldconfig_scriptlets -n libgssdp-%{soname}
|
2009-07-08 04:36:51 +02:00
|
|
|
|
2021-09-27 18:56:38 +02:00
|
|
|
%if %{with sniffer}
|
2009-07-08 04:36:51 +02:00
|
|
|
%files utils
|
|
|
|
%{_bindir}/*
|
2021-09-27 18:56:38 +02:00
|
|
|
%endif
|
2009-07-08 04:36:51 +02:00
|
|
|
|
2019-06-11 10:47:16 +02:00
|
|
|
%files -n libgssdp-%{soname}
|
2018-03-05 14:51:19 +01:00
|
|
|
%license COPYING
|
2021-09-27 08:25:02 +02:00
|
|
|
%doc AUTHORS NEWS
|
2009-07-08 04:36:51 +02:00
|
|
|
%{_libdir}/*.so.*
|
2011-12-12 17:04:06 +01:00
|
|
|
|
|
|
|
%files -n typelib-1_0-GSSDP-1_0
|
2019-06-11 10:47:16 +02:00
|
|
|
%{_libdir}/girepository-1.0/GSSDP-%{sover}.typelib
|
2009-07-08 04:36:51 +02:00
|
|
|
|
2022-09-13 09:35:16 +02:00
|
|
|
%files doc
|
|
|
|
%doc %{_docdir}/%{name}-%{sover}/
|
|
|
|
|
2009-07-08 04:36:51 +02:00
|
|
|
%files -n libgssdp-devel
|
2019-06-11 10:47:16 +02:00
|
|
|
%{_includedir}/%{name}-%{sover}/
|
2009-07-08 04:36:51 +02:00
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2019-06-11 10:47:16 +02:00
|
|
|
%{_datadir}/gir-1.0/GSSDP-%{sover}.gir
|
2012-09-07 17:24:29 +02:00
|
|
|
%dir %{_datadir}/vala/vapi
|
2019-06-11 10:47:16 +02:00
|
|
|
%{_datadir}/vala/vapi/gssdp-%{sover}.deps
|
|
|
|
%{_datadir}/vala/vapi/gssdp-%{sover}.vapi
|
2009-07-08 04:36:51 +02:00
|
|
|
|
|
|
|
%changelog
|