]> git.pld-linux.org Git - packages/gssdp.git/commitdiff
- updated to 0.12.2
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 2 Sep 2012 10:32:02 +0000 (12:32 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 2 Sep 2012 10:32:02 +0000 (12:32 +0200)
- vala binding is now built from this package

gssdp.spec

index c259294b7c18ad4654cf9a623d1dd9ca7ae2912d..b0bed3517225c17292c2af2b3559c0939daf7452 100644 (file)
@@ -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
This page took 0.273899 seconds and 4 git commands to generate.