]> git.pld-linux.org Git - packages/beecrypt.git/commitdiff
- new bcond: doc (don't build documentations)
authorspeedy <speedy@pld-linux.org>
Wed, 2 Feb 2005 09:12:15 +0000 (09:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    beecrypt.spec -> 1.49

beecrypt.spec

index 59c0890159f13231e13752a8b8c7cc190a418f99..7320868390427cfe296b027c38a4f26132851a34 100644 (file)
@@ -5,6 +5,7 @@
 %bcond_without javaglue        # build with Java support
 %bcond_with    javac           # use javac instead of gcj
 %bcond_without python          # don't build python module
+%bcond_without doc             # don't build documentation
 #
 Summary:       The BeeCrypt Cryptography Library
 Summary(pl):   Biblioteka kryptograficzna BeeCrypt
@@ -22,26 +23,34 @@ Patch2:             %{name}-ac_python.patch
 URL:           http://sourceforge.net/projects/beecrypt/
 BuildRequires: autoconf >= 2.50
 BuildRequires: automake
+%if %{with doc}
 BuildRequires: doxygen
+%endif
 %if %{with javaglue} && !%{with javac}
 BuildRequires: gcj
 %endif
+%if %{with doc}
 BuildRequires: ghostscript
 BuildRequires: graphviz
+%endif
 %if %{with javaglue} && %{with javac}
 BuildRequires: jdk
 %endif
 BuildRequires: libtool
+%if %{with javaglue} && !%{with javac}
 BuildRequires: libgcj-devel
+%endif
 %if %{with python}
 BuildRequires: python-devel
 BuildRequires: python-modules
 %endif
+%if %{with doc}
 BuildRequires: tetex-dvips
 BuildRequires: tetex-format-latex
 BuildRequires: tetex-latex-dstroke
 # note: this is incorrect place, it should be somewhere in tetex packages
 BuildRequires: tetex-metafont
+%endif
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                specflags_alpha          -mno-explicit-relocs 
@@ -177,7 +186,9 @@ Pythonie na u
 %{__make} -C python
 %endif
 
+%if %{with doc}
 doxygen
+%endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -231,9 +242,11 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/libbeecrypt_java.a
 %endif
 
+%if %{with doc}
 %files doc
 %defattr(644,root,root,755)
 %doc docs/html/*
+%endif 
 
 %if %{with python}
 %files -n python-beecrypt
This page took 0.055609 seconds and 4 git commands to generate.