]> git.pld-linux.org Git - packages/xorg-lib-libX11.git/commitdiff
- added docs bcond (ghostscript requires libX11)
authorSzymon Siwek <sls@pld-linux.org>
Sat, 24 Oct 2009 02:03:36 +0000 (02:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    xorg-lib-libX11.spec -> 1.58

xorg-lib-libX11.spec

index 07f8bbb3befb1b11268a2947c5c03f554a50eb17..838fb585e7f57ca05fdc0dfcf8fd9203c74797ee 100644 (file)
@@ -2,6 +2,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
@@ -18,9 +19,11 @@ URL:         http://xorg.freedesktop.org/
 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
@@ -218,7 +221,7 @@ fi
 %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
This page took 0.168908 seconds and 4 git commands to generate.