packages: xorg-lib-libX11/xorg-lib-libX11.spec - added docs bcond (ghostscr...

sls sls at pld-linux.org
Sat Oct 24 04:03:42 CEST 2009


Author: sls                          Date: Sat Oct 24 02:03:42 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added docs bcond (ghostscript requires libX11)

---- Files affected:
packages/xorg-lib-libX11:
   xorg-lib-libX11.spec (1.57 -> 1.58) 

---- Diffs:

================================================================
Index: packages/xorg-lib-libX11/xorg-lib-libX11.spec
diff -u packages/xorg-lib-libX11/xorg-lib-libX11.spec:1.57 packages/xorg-lib-libX11/xorg-lib-libX11.spec:1.58
--- packages/xorg-lib-libX11/xorg-lib-libX11.spec:1.57	Mon Oct 19 19:00:48 2009
+++ packages/xorg-lib-libX11/xorg-lib-libX11.spec	Sat Oct 24 04:03:36 2009
@@ -3,6 +3,7 @@
 # Conditional build:
 %bcond_without	static_libs	# don't build static library
 %bcond_without	xcb		# XCB for low-level protocol implementation
+%bcond_without	docs		# don't package devel docs (allows bootstrapping)
 #
 Summary:	Core X11 protocol client library
 Summary(pl.UTF-8):	Podstawowa biblioteka kliencka protokołu X11
@@ -19,9 +20,11 @@
 BuildRequires:	autoconf >= 2.60
 BuildRequires:	automake
 BuildRequires:	cpp
+%if %{with docs}
 # ps2pdf
 BuildRequires:	ghostscript
 BuildRequires:	groff
+%endif
 BuildRequires:	libtool
 BuildRequires:	pkgconfig >= 1:0.19
 BuildRequires:	xorg-lib-xtrans-devel
@@ -219,7 +222,7 @@
 %files devel
 %defattr(644,root,root,755)
 # PDF chosen - docs include pictures
-%doc specs/XIM/xim.pdf specs/i18n/{Framework,LocaleDB,Trans}.pdf specs/libX11/libX11.pdf
+%{?with_docs:%doc specs/XIM/xim.pdf specs/i18n/{Framework,LocaleDB,Trans}.pdf specs/libX11/libX11.pdf}
 %attr(755,root,root) %{_libdir}/libX11.so
 %{_libdir}/libX11.la
 %{_includedir}/X11/ImUtil.h
@@ -249,6 +252,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.58  2009/10/24 02:03:36  sls
+- added docs bcond (ghostscript requires libX11)
+
 Revision 1.57  2009/10/19 17:00:48  qboosh
 - package devel docs
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/xorg-lib-libX11/xorg-lib-libX11.spec?r1=1.57&r2=1.58&f=u



More information about the pld-cvs-commit mailing list