]> git.pld-linux.org Git - packages/gssdp.git/blobdiff - gssdp.spec
Update to 1.0.1
[packages/gssdp.git] / gssdp.spec
index 126ca25d3af96a205592a0fbf289e19cca32a9de..83d2054aade69f952dedbb766893f8eb01133b16 100644 (file)
@@ -1,33 +1,33 @@
 #
 # Conditional build:
-%bcond_with    vala    # Vala bindings
-#
+%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.12.x is stable, 0.13.x unstable
-Version:       0.12.2
+# 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.12/%{name}-%{version}.tar.xz
-# Source0-md5: 7805d3062706bdba4f088ce7e96a9293
+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: docbook-dtd412-xml
-BuildRequires: glib2-devel >= 1:2.22
-BuildRequires: gobject-introspection-devel >= 0.6.7
-BuildRequires: gtk+2-devel >= 2:2.12.0
-BuildRequires: gtk-doc >= 1.0
+BuildRequires: glib2-devel >= 1:2.32
+BuildRequires: gobject-introspection-devel >= 1.36.0
+BuildRequires: gtk+3-devel >= 3.0
+BuildRequires: gtk-doc >= 1.14
 BuildRequires: libsoup-devel >= 2.26.1
 BuildRequires: libtool >= 2:2.2
 BuildRequires: pkgconfig
 BuildRequires: tar >= 1:1.22
-%{?with_vala:BuildRequires:    vala >= 0.17}
+%{?with_vala:BuildRequires:    vala >= 2:0.20}
 BuildRequires: xz
-Requires:      glib2 >= 1:2.22
-Requires:      gtk+2 >= 2:2.12.0
+Requires:      glib2 >= 1:2.32
+Requires:      gtk+3 >= 3.0
 Requires:      libsoup >= 2.26.1
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -45,7 +45,7 @@ Summary:      Header files for GSSDP
 Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki GSSDP
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
-Requires:      glib2-devel >= 1:2.22
+Requires:      glib2-devel >= 1:2.32
 Requires:      libsoup-devel >= 2.26.1
 
 %description devel
@@ -71,6 +71,9 @@ Summary:      GSSDP API documentation
 Summary(pl.UTF-8):     Dokumentacja API GSSDP
 Group:         Documentation
 Requires:      gtk-doc-common
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description apidocs
 GSSDP API documentation.
@@ -83,7 +86,10 @@ Summary:     Vala binding for GSSDP library
 Summary(pl.UTF-8):     Wiązanie języka Vala do biblioteki GSSDP
 Group:         Development/Libraries
 Requires:      %{name}-devel = %{version}-%{release}
-Requires:      vala >= 0.14
+Requires:      vala >= 2:0.20
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description -n vala-gssdp
 Vala binding for GSSDP library.
@@ -94,12 +100,7 @@ Wiązanie języka Vala do biblioteki GSSDP.
 %prep
 %setup -q
 
-%if %{without vala}
-echo 'AC_DEFUN([VALA_PROG_VAPIGEN],[VAPIGEN=])' >> acinclude.m4
-%endif
-
 %build
-mkdir m4
 %{__gtkdocize}
 %{__libtoolize}
 %{__aclocal} -I m4
@@ -129,7 +130,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README
+%doc AUTHORS NEWS README
 %attr(755,root,root) %{_bindir}/gssdp-device-sniffer
 %attr(755,root,root) %{_libdir}/libgssdp-1.0.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libgssdp-1.0.so.3
This page took 0.172812 seconds and 4 git commands to generate.