use Tizen project configuration 50/28450/5
authorRonan Le Martret <ronan@fridu.net>
Tue, 7 Oct 2014 12:59:21 +0000 (14:59 +0200)
committerPatrick Ohly <patrick.ohly@intel.com>
Tue, 7 Oct 2014 15:15:32 +0000 (17:15 +0200)
 - introspection is define in Tizen prj configuration and should be not overwritting.
 - this fix do not change the package build

Change-Id: I7442abe797b80f39492e681546f39f85596bb6af
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
packaging/evolution-data-server.spec

index 7439cc3..d9522ce 100644 (file)
@@ -1,7 +1,8 @@
+%bcond_with introspection
+
 %define baseline 3.12
 
 %define USE_EVOLDAP 0
-%define with_introspection 1
 %define enable_goa no
 %define enable_uoa no
 %define enable_gtk no
@@ -44,7 +45,9 @@ BuildRequires:  pkgconfig(gcr-base-3) >= 3.4
 %if %{?enable_goa} != no
 BuildRequires:  pkgconfig(goa-1.0) >= 3.2
 %endif
+%if %{with introspection}
 BuildRequires:  pkgconfig(gobject-introspection-1.0)
+%endif
 %if %{?enable_gtk} != no
 BuildRequires:  pkgconfig(gtk+-3.0)
 %endif
@@ -120,7 +123,7 @@ and calendar in the GNOME Desktop.
 This package contains a shared system library to access address books.
 
 
-%if %{?with_introspection}
+%if %{with introspection}
 
 %package -n typelib-EBookContacts
 Summary:        Evolution Data Server - Address Book Backend Library, Introspection bindings
@@ -156,7 +159,7 @@ and calendar in the GNOME Desktop.
 This package contains a shared system library for address book backends.
 
 
-%if %{?with_introspection}
+%if %{with introspection}
 
 %package -n typelib-EBook
 Summary:        Evolution Data Server - Address Book Backend Library, Introspection bindings
@@ -193,7 +196,7 @@ and calendar in the GNOME Desktop.
 This package contains a shared system library.
 
 
-%if %{?with_introspection}
+%if %{with introspection}
 
 %package -n typelib-EDataServer
 Summary:        Evolution Data Server - Utilities Library, Introspection bindings
@@ -220,7 +223,7 @@ Requires:       libecal = %{version}
 Requires:       libedata-book = %{version}
 Requires:       libedata-cal = %{version}
 Requires:       libedataserver = %{version}
-%if %{?with_introspection}
+%if %{with introspection}
 Requires:       typelib-EBook = %{version}
 Requires:       typelib-EDataServer = %{version}
 %endif
@@ -357,7 +360,7 @@ mv evolution-data-server-%{_evo_version}.lang evolution-data-server.lang
 %{_libdir}/libebook-1.2.so.%{so_ebook}*
 
 
-%if %{?with_introspection}
+%if %{with introspection}
 %files -n typelib-EBook
 %defattr(-, root, root)
 %{_libdir}/girepository-1.0/EBook-1.2.typelib
@@ -369,7 +372,7 @@ mv evolution-data-server-%{_evo_version}.lang evolution-data-server.lang
 %{_libdir}/libebook-contacts-1.2.so.0*
 
 
-%if %{?with_introspection}
+%if %{with introspection}
 %files -n typelib-EBookContacts
 %defattr(-, root, root)
 %{_libdir}/girepository-1.0/EBookContacts-1.2.typelib
@@ -396,7 +399,7 @@ mv evolution-data-server-%{_evo_version}.lang evolution-data-server.lang
 %{_libdir}/libedataserver-1.2.so.%{so_edataserver}*
 
 
-%if %{?with_introspection}
+%if %{with introspection}
 %files -n typelib-EDataServer
 %defattr(-, root, root)
 %{_libdir}/girepository-1.0/EDataServer-1.2.typelib
@@ -408,7 +411,7 @@ mv evolution-data-server-%{_evo_version}.lang evolution-data-server.lang
 %{_includedir}/evolution-data-server/
 %{_libdir}/*.so
 %{_libdir}/pkgconfig/*.pc
-%if %{?with_introspection}
+%if %{with introspection}
 %{_datadir}/gir-1.0/*.gir
 %dir %{_datadir}/vala
 %dir %{_datadir}/vala/vapi