]> git.pld-linux.org Git - packages/elinks.git/commitdiff
- added without doc bcond
authorsparky <sparky@pld-linux.org>
Wed, 19 Apr 2006 14:21:38 +0000 (14:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    elinks.spec -> 1.129

elinks.spec

index b12520cd54548c5bcf8c6b362cea3ee4a7be95d5..019d1b53366b99aefcc6b4f475e75d5e2197ae29 100644 (file)
@@ -14,6 +14,7 @@
 %bcond_without lua             # Disable Lua scripting
 %bcond_without openssl         # Disable OpenSSL support
 %bcond_without perl            # Disable Perl scripting
+%bcond_without doc             # Don't build texi documentation
 # 
 %if %{with gnutls}
 %undefine      with_openssl
@@ -55,7 +56,7 @@ BuildRequires:        ncurses-devel >= 5.1
 %{?with_perl:BuildRequires:    perl-devel}
 %{?with_ruby:BuildRequires:    ruby-devel}
 BuildRequires: zlib-devel
-BuildRequires: tetex
+%{?with_doc:BuildRequires:     tetex}
 Provides:      webclient
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -125,9 +126,11 @@ keepalive.
 
 %{__make} V=1
 
+%if %{with doc}
 cd doc
 texi2html elinks-lua.texi
 cd ..
+%endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.139138 seconds and 4 git commands to generate.