#
# Conditional build:
%bcond_without vala # Vala bindings
-#
+
Summary: GObject-based SSDP (Simple Service Discovery Protocol) library
Summary(pl.UTF-8): Biblioteka SSDP (Simple Service Discovery Protocol) oparta na GObject
Name: gssdp
-# note: 0.14.x is stable, 0.15.x unstable
-Version: 0.14.3
+# note: 1.0.x is stable, 1.1.x unstable
+Version: 1.0.1
Release: 1
License: LGPL v2+
Group: Libraries
-Source0: http://ftp.gnome.org/pub/GNOME/sources/gssdp/0.14/%{name}-%{version}.tar.xz
-# Source0-md5: 9133b4fbf29fe15426c6d3e70938eef3
+Source0: http://ftp.gnome.org/pub/GNOME/sources/gssdp/1.0/%{name}-%{version}.tar.xz
+# Source0-md5: 5d5cc05b7ab7985ef51f0d3feeca92e1
URL: http://gupnp.org/
BuildRequires: autoconf >= 2.64
BuildRequires: automake >= 1:1.11
BuildRequires: glib2-devel >= 1:2.32
BuildRequires: gobject-introspection-devel >= 1.36.0
BuildRequires: gtk+3-devel >= 3.0
-BuildRequires: gtk-doc >= 1.0
+BuildRequires: gtk-doc >= 1.14
BuildRequires: libsoup-devel >= 2.26.1
BuildRequires: libtool >= 2:2.2
BuildRequires: pkgconfig
Summary(pl.UTF-8): Dokumentacja API GSSDP
Group: Documentation
Requires: gtk-doc-common
+%if "%{_rpmversion}" >= "5"
+BuildArch: noarch
+%endif
%description apidocs
GSSDP API documentation.
Group: Development/Libraries
Requires: %{name}-devel = %{version}-%{release}
Requires: vala >= 2:0.20
+%if "%{_rpmversion}" >= "5"
+BuildArch: noarch
+%endif
%description -n vala-gssdp
Vala binding for GSSDP library.