SPECS: gail.spec - apidocs bcond

adgor adgor at pld-linux.org
Sun Nov 13 13:42:34 CET 2005


Author: adgor                        Date: Sun Nov 13 12:42:34 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- apidocs bcond

---- Files affected:
SPECS:
   gail.spec (1.63 -> 1.64) 

---- Diffs:

================================================================
Index: SPECS/gail.spec
diff -u SPECS/gail.spec:1.63 SPECS/gail.spec:1.64
--- SPECS/gail.spec:1.63	Wed Oct  5 22:22:13 2005
+++ SPECS/gail.spec	Sun Nov 13 13:42:29 2005
@@ -1,4 +1,7 @@
 # $Revision$, $Date$
+
+%bcond_without apidocs		# disable gtk-doc
+
 Summary:	Accessibility implementation for GTK+ and GNOME libraries
 Summary(pl):	Implementacja ułatwiania pracy niepełnosprawnym dla GTK+ i GNOME
 Name:		gail
@@ -14,7 +17,8 @@
 BuildRequires:	automake
 BuildRequires:	gettext-devel
 BuildRequires:	gtk+2-devel >= 2:2.6.4
-BuildRequires:	gtk-doc >= 1.0
+%{?with_apidocs:BuildRequires:	gtk-doc >= 1.0}
+BuildRequires:	gtk-doc-automake
 BuildRequires:	libgnomecanvas-devel >= 2.6.1
 BuildRequires:	libtool
 BuildRequires:	pkgconfig
@@ -40,6 +44,7 @@
 Group:		X11/Development/Libraries
 Requires:	%{name} = %{version}-%{release}
 Requires:	atk-devel >= 1:1.9.1
+%{?with_apidocs:Requires:	gtk-doc-common}
 Requires:	gtk+2-devel >= 2:2.6.4
 Requires:	libgnomecanvas-devel >= 2.10.0
 
@@ -72,7 +77,7 @@
 %{__autoconf}
 %{__automake}
 %configure \
-	--enable-gtk-doc \
+	%{?with_apidocs:--enable-gtk-doc} \
 	--enable-static \
 	--with-html-dir=%{_gtkdocdir}
 %{__make}
@@ -104,7 +109,7 @@
 
 %files devel
 %defattr(644,root,root,755)
-%{_gtkdocdir}/*
+%{?with_apidocs:%{_gtkdocdir}/*}
 %{_includedir}/gail-1.0
 %attr(755,root,root) %{_libdir}/lib*.so
 %{_libdir}/lib*.la
@@ -120,6 +125,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.64  2005/11/13 12:42:29  adgor
+- apidocs bcond
+
 Revision 1.63  2005/10/05 20:22:13  blues
 - rel.2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gail.spec?r1=1.63&r2=1.64&f=u




More information about the pld-cvs-commit mailing list