[gtk-vnc] Add vala files to RPM spec



commit 227ce6fdb60978155e8e72cdef4a5a327cf77e3d
Author: Daniel P. Berrange <berrange redhat com>
Date:   Mon Oct 31 11:28:22 2011 +0000

    Add vala files to RPM spec

 gtk-vnc.spec.in |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/gtk-vnc.spec.in b/gtk-vnc.spec.in
index c827638..8829a5b 100644
--- a/gtk-vnc.spec.in
+++ b/gtk-vnc.spec.in
@@ -15,6 +15,10 @@
 %define with_gtk3 1
 %endif
 
+%if 0%{with_gtk3}
+%define with_vala 1
+%endif
+
 Summary: A GTK2 widget for VNC clients
 Name: gtk-vnc
 Version: @VERSION@
@@ -43,6 +47,9 @@ BuildRequires: firefox-devel
 %if %{with_gtk3}
 BuildRequires: gtk3-devel
 %endif
+%if %{with_vala}
+BuildRequires: vala-tools
+%endif
 
 %description
 gtk-vnc is a VNC viewer widget for GTK2. It is built using coroutines
@@ -238,6 +245,7 @@ rm -fr %{buildroot}
 %if %{with_gir}
 %{_libdir}/girepository-1.0/GVnc-1.0.typelib
 %endif
+%{_datadir}/vala/vapi/gvnc-1.0.vapi
 
 %files -n gvnc-devel
 %defattr(-, root, root)
@@ -266,6 +274,8 @@ rm -fr %{buildroot}
 %{_libdir}/libgtk-vnc-2.0.so.*
 %if %{with_gir}
 %{_libdir}/girepository-1.0/GtkVnc-2.0.typelib
+%{_datadir}/vala/vapi/gtk-vnc-2.0.deps
+%{_datadir}/vala/vapi/gtk-vnc-2.0.vapi
 %endif
 
 %files -n gtk-vnc2-devel



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]