]> git.pld-linux.org Git - packages/gupnp.git/blobdiff - gupnp.spec
Update to 1.0.1
[packages/gupnp.git] / gupnp.spec
index f69fb7f28a1f738cfb1f41ba40d2dd1199506777..2d505886cc9e8c846b921cd102560fcc9c192cfb 100644 (file)
@@ -1,17 +1,17 @@
 #
 # Conditional build:
 %bcond_without vala    # Vala API
-#
+
 Summary:       UPnP library based on GObject and libsoup
 Summary(pl.UTF-8):     Biblioteka UPnP oparta na bibliotekach GObject i libsoup
 Name:          gupnp
-# note: 0.20.x is stable, 0.21.x unstable
-Version:       0.20.14
+# 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/gupnp/0.20/%{name}-%{version}.tar.xz
-# Source0-md5: 63346ef90ac5cd925c3a941f51d8bca6
+Source0:       http://ftp.gnome.org/pub/GNOME/sources/gupnp/1.0/%{name}-%{version}.tar.xz
+# Source0-md5: 09c2d0ac6dac7bd6a59bc7d7c0eb7d13
 URL:           http://gupnp.org/
 BuildRequires: autoconf >= 2.64
 BuildRequires: automake >= 1:1.11
@@ -19,7 +19,7 @@ BuildRequires:        docbook-dtd412-xml
 BuildRequires: docbook-dtd44-xml
 BuildRequires: glib2-devel >= 1:2.40.0
 BuildRequires: gobject-introspection-devel >= 1.36.0
-BuildRequires: gssdp-devel >= 0.13.0
+BuildRequires: gssdp-devel >= 0.14.15
 BuildRequires: gtk-doc >= 1.14
 BuildRequires: libsoup-devel >= 2.48.0
 BuildRequires: libtool >= 2:2.2
@@ -27,12 +27,13 @@ BuildRequires:      libuuid-devel >= 1.36
 BuildRequires: libxml2-devel >= 1:2.6.30
 BuildRequires: pkgconfig
 BuildRequires: rpm-pythonprov
+BuildRequires: sed >= 4.0
 BuildRequires: tar >= 1:1.22
 %{?with_vala:BuildRequires:    vala >= 2:0.20}
-%{?with_vala:BuildRequires:    vala-gssdp >= 0.13.0}
+%{?with_vala:BuildRequires:    vala-gssdp >= 0.14.15}
 BuildRequires: xz
 Requires:      glib2 >= 1:2.40.0
-Requires:      gssdp >= 0.13.0
+Requires:      gssdp >= 0.14.15
 Requires:      libsoup >= 2.48.0
 Requires:      libuuid >= 1.36
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -54,7 +55,7 @@ Summary(pl.UTF-8):    Pliki nagłówkowe gupnp
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
 Requires:      glib2-devel >= 1:2.40.0
-Requires:      gssdp-devel >= 0.13.0
+Requires:      gssdp-devel >= 0.14.15
 Requires:      libsoup-devel >= 2.48.0
 Requires:      libuuid-devel >= 1.36
 Requires:      libxml2-devel >= 1:2.6.30
@@ -84,6 +85,9 @@ Summary:      gupnp API documentation
 Summary(pl.UTF-8):     Dokumentacja API gupnp
 Group:         Documentation
 Requires:      gtk-doc-common
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description apidocs
 gupnp API documentation.
@@ -97,7 +101,10 @@ Summary(pl.UTF-8):  API języka Vala dla biblioteki gupnp
 Group:         Development/Libraries
 Requires:      %{name}-devel = %{version}-%{release}
 Requires:      vala >= 2:0.20
-Requires:      vala-gssdp >= 0.13.0
+Requires:      vala-gssdp >= 0.14.15
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description -n vala-gupnp
 Vala API for gupnp library.
@@ -108,6 +115,8 @@ API języka Vala dla biblioteki gupnp.
 %prep
 %setup -q
 
+%{__sed} -i -e '1s,/usr/bin/env python,%{__python},' tools/gupnp-binding-tool
+
 %build
 %{__gtkdocize}
 %{__libtoolize}
This page took 0.067555 seconds and 4 git commands to generate.