[packages/gupnp-av] - updated to 0.12.0

qboosh qboosh at pld-linux.org
Sun Feb 24 09:33:25 CET 2013


commit 5cd7d546eb0e2e0dfe0d24b040614d6a0714ef97
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Feb 24 09:33:45 2013 +0100

    - updated to 0.12.0

 gupnp-av.spec | 42 +++++++++++++++++++++++++++++++++++-------
 1 file changed, 35 insertions(+), 7 deletions(-)
---
diff --git a/gupnp-av.spec b/gupnp-av.spec
index 2815305..c081d40 100644
--- a/gupnp-av.spec
+++ b/gupnp-av.spec
@@ -1,29 +1,33 @@
 #
 # Conditional build:
 %bcond_without	apidocs		# do not build and package API docs
+%bcond_without	vala		# Vala API
 #
 Summary:	Library for building UPnP A/V applications
 Summary(pl.UTF-8):	Biblioteka do budowania aplikacji UPnP A/V
 Name:		gupnp-av
-# note: 0.10.x is stable, 0.11.x unstable
-Version:	0.10.3
+# note: 0.12.x is stable, 0.13.x unstable
+Version:	0.12.0
 Release:	1
 License:	LGPL v2+
 Group:		Libraries
-Source0:	http://ftp.gnome.org/pub/GNOME/sources/gupnp-av/0.10/%{name}-%{version}.tar.xz
-# Source0-md5:	2c57e56b201765b2297946d8d99bd01c
+Source0:	http://ftp.gnome.org/pub/GNOME/sources/gupnp-av/0.12/%{name}-%{version}.tar.xz
+# Source0-md5:	9fa94f402296a1e92a6a26b8a4445a1d
 URL:		http://gupnp.org/
 BuildRequires:	autoconf >= 2.63
 BuildRequires:	automake >= 1:1.11
 BuildRequires:	docbook-dtd412-xml
+BuildRequires:	glib2-devel >= 2.0
 BuildRequires:	gobject-introspection-devel >= 0.10.0
 BuildRequires:	gtk-doc >= 1.10
-BuildRequires:	gupnp-devel >= 0.18.0
+BuildRequires:	gupnp-devel >= 0.19.0
 BuildRequires:	libtool >= 2:2.2
+BuildRequires:	libxml2-devel >= 2.0
 BuildRequires:	pkgconfig
 BuildRequires:	tar >= 1:1.22
+%{?with_vala:BuildRequires:	vala >= 2:0.14}
 BuildRequires:	xz
-Requires:	gupnp >= 0.18.0
+Requires:	gupnp >= 0.19.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -39,7 +43,9 @@ Summary:	Header files for gupnp-av library
 Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki gupnp-av
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
-Requires:	gupnp-devel >= 0.18.0
+Requires:	glib2-devel >= 2.0
+Requires:	gupnp-devel >= 0.19.0
+Requires:	libxml2-devel >= 2.0
 
 %description devel
 Header files for gupnp-av library.
@@ -71,6 +77,20 @@ API and internal documentation for gupnp-av library.
 %description apidocs -l pl.UTF-8
 Dokumentacja API biblioteki gupnp-av.
 
+%package -n vala-gupnp-av
+Summary:	Vala API for gupnp-av library
+Summary(pl.UTF-8):	API języka Vala dla biblioteki gupnp-av
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+Requires:	vala >= 2:0.14
+Requires:	vala-gupnp >= 0.19.0
+
+%description -n vala-gupnp-av
+Vala API for gupnp-av library.
+
+%description -n vala-gupnp-av -l pl.UTF-8
+API języka Vala dla biblioteki gupnp-av.
+
 %prep
 %setup -q
 
@@ -111,6 +131,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/libgupnp-av-1.0.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libgupnp-av-1.0.so.2
 %{_libdir}/girepository-1.0/GUPnPAV-1.0.typelib
+%{_datadir}/gupnp-av
 
 %files devel
 %defattr(644,root,root,755)
@@ -128,3 +149,10 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %{_gtkdocdir}/gupnp-av
 %endif
+
+%if %{with vala}
+%files -n vala-gupnp-av
+%defattr(644,root,root,755)
+%{_datadir}/vala/vapi/gupnp-av-1.0.deps
+%{_datadir}/vala/vapi/gupnp-av-1.0.vapi
+%endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gupnp-av.git/commitdiff/5cd7d546eb0e2e0dfe0d24b040614d6a0714ef97



More information about the pld-cvs-commit mailing list