SPECS: libwnck.spec - apidocs bcond

adgor adgor at pld-linux.org
Sun Nov 20 15:24:44 CET 2005


Author: adgor                        Date: Sun Nov 20 14:24:44 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- apidocs bcond

---- Files affected:
SPECS:
   libwnck.spec (1.49 -> 1.50) 

---- Diffs:

================================================================
Index: SPECS/libwnck.spec
diff -u SPECS/libwnck.spec:1.49 SPECS/libwnck.spec:1.50
--- SPECS/libwnck.spec:1.49	Tue Oct  4 20:17:12 2005
+++ SPECS/libwnck.spec	Sun Nov 20 15:24:38 2005
@@ -1,4 +1,7 @@
 # $Revision$, $Date$
+
+%bcond_without	apidocs		# disable gtk-doc
+
 Summary:	General Window Manager interfacing for GNOME utilities
 Summary(pl):	Interfejs General Window Manager dla narzędzi GNOME
 Name:		libwnck
@@ -11,7 +14,8 @@
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	gtk+2-devel >= 2:2.8.0
-BuildRequires:	gtk-doc >= 1.0
+%{?with_apidocs:BuildRequires:	gtk-doc >= 1.0}
+BuildRequires:	gtk-doc-automake
 BuildRequires:	libtool
 BuildRequires:	pkgconfig
 BuildRequires:	startup-notification-devel >= 0.8
@@ -31,6 +35,7 @@
 Group:		X11/Development/Libraries
 Requires:	%{name} = %{version}-%{release}
 Requires:	gtk+2-devel >= 2:2.8.0
+Requires:	gtk-doc-common
 Requires:	startup-notification-devel >= 0.8
 
 %description devel
@@ -60,7 +65,7 @@
 %{__autoconf}
 %{__automake}
 %configure \
-	--enable-gtk-doc \
+	%{?with_apidocs:--enable-gtk-doc} \
 	--with-html-dir=%{_gtkdocdir}
 %{__make}
 
@@ -103,6 +108,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.50  2005/11/20 14:24:38  adgor
+- apidocs bcond
+
 Revision 1.49  2005/10/04 18:17:12  freetz
 - 2.12.1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libwnck.spec?r1=1.49&r2=1.50&f=u




More information about the pld-cvs-commit mailing list