[packages/gssdp] - updated to 0.12.2 - vala binding is now built from this package

qboosh qboosh at pld-linux.org
Sun Sep 2 12:31:46 CEST 2012


commit 7c02d3df837b1aed7697ef006b3f38b50c94252c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Sep 2 12:32:02 2012 +0200

    - updated to 0.12.2
    - vala binding is now built from this package

 gssdp.spec | 33 +++++++++++++++++++++++++++++++--
 1 file changed, 31 insertions(+), 2 deletions(-)
---
diff --git a/gssdp.spec b/gssdp.spec
index c259294..b0bed35 100644
--- a/gssdp.spec
+++ b/gssdp.spec
@@ -1,13 +1,17 @@
+#
+# 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.12.x is stable, 0.13.x unstable
-Version:	0.12.1
+Version:	0.12.2
 Release:	1
 License:	LGPL v2+
 Group:		Libraries
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/gssdp/0.12/%{name}-%{version}.tar.xz
-# Source0-md5:	e7ac04abe7349a89d13d0ab4ee7d2e1b
+# Source0-md5:	7805d3062706bdba4f088ce7e96a9293
 URL:		http://gupnp.org/
 BuildRequires:	autoconf >= 2.64
 BuildRequires:	automake >= 1:1.11
@@ -20,6 +24,7 @@ BuildRequires:	libsoup-devel >= 2.26.1
 BuildRequires:	libtool >= 2:2.2
 BuildRequires:	pkgconfig
 BuildRequires:	tar >= 1:1.22
+%{?with_vala:BuildRequires:	vala >= 0.14}
 BuildRequires:	xz
 Requires:	glib2 >= 1:2.22
 Requires:	gtk+2 >= 2:2.12.0
@@ -73,9 +78,26 @@ GSSDP API documentation.
 %description apidocs -l pl.UTF-8
 Dokumentacja API GSSDP.
 
+%package -n vala-gssdp
+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
+
+%description -n vala-gssdp
+Vala binding for GSSDP library.
+
+%description -n vala-gssdp -l pl.UTF-8
+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}
@@ -128,3 +150,10 @@ rm -rf $RPM_BUILD_ROOT
 %files apidocs
 %defattr(644,root,root,755)
 %{_gtkdocdir}/gssdp
+
+%if %{with vala}
+%files -n vala-gssdp
+%defattr(644,root,root,755)
+%{_datadir}/vala/vapi/gssdp-1.0.deps
+%{_datadir}/vala/vapi/gssdp-1.0.vapi
+%endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gssdp.git/commitdiff/7c02d3df837b1aed7697ef006b3f38b50c94252c



More information about the pld-cvs-commit mailing list