Author: cactus                       Date: Tue Aug 11 21:41:35 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- bcond without apidocs

---- Files affected:
packages/eggdbus:
   eggdbus.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/eggdbus/eggdbus.spec
diff -u packages/eggdbus/eggdbus.spec:1.3 packages/eggdbus/eggdbus.spec:1.4
--- packages/eggdbus/eggdbus.spec:1.3   Mon Jun 29 23:28:49 2009
+++ packages/eggdbus/eggdbus.spec       Tue Aug 11 23:41:30 2009
@@ -1,4 +1,8 @@
 # $Revision$, $Date$
+
+# Conditional build:
+%bcond_without apidocs                 # build without apidocs
+
 Summary:       Experimental D-Bus bindings for GObject
 Summary(pl.UTF-8):     Eksperymentalne wiązania D-Busa do GObject
 Name:          eggdbus
@@ -14,7 +18,7 @@
 BuildRequires: dbus-devel >= 1.0.0
 BuildRequires: dbus-glib-devel >= 0.73
 BuildRequires: glib2-devel >= 1:2.20.0
-BuildRequires: gtk-doc >= 1.3
+%{?with_apidocs:BuildRequires: gtk-doc >= 1.3}
 BuildRequires: libtool
 BuildRequires: libxslt-progs
 BuildRequires: pkgconfig
@@ -73,7 +77,7 @@
 %{__autoheader}
 %{__automake}
 %configure \
-       --enable-gtk-doc \
+       --%{!?with_apidocs:dis}%{?with_apidocs:en}able-gtk-doc \
        --with-html-dir=%{_gtkdocdir}
 
 %{__make}
@@ -111,9 +115,11 @@
 %defattr(644,root,root,755)
 %{_libdir}/libeggdbus-1.a
 
+%if %{with apidocs}
 %files apidocs
 %defattr(644,root,root,755)
 %{_gtkdocdir}/eggdbus
+%endif
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -121,6 +127,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2009/08/11 21:41:30  cactus
+- bcond without apidocs
+
 Revision 1.3  2009/06/29 21:28:49  megabajt
 - updated to 0.5
 - added -static and -apidocs subpackages
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/eggdbus/eggdbus.spec?r1=1.3&r2=1.4&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to