|
|
@@ -28,9 +28,7 @@
|
|
|
%define V_texmf 1.0.2
|
|
|
|
|
|
# package options
|
|
|
-%ifndef with_x11
|
|
|
-%define with_x11 %{l_test -p x11}
|
|
|
-%endif
|
|
|
+%option with_x11 %{l_test -p x11}
|
|
|
|
|
|
# package information
|
|
|
Name: tetex
|
|
|
@@ -42,7 +40,7 @@ Distribution: OpenPKG [BASE]
|
|
|
Group: Text
|
|
|
License: GPL
|
|
|
Version: %{V_src}
|
|
|
-Release: 20021216
|
|
|
+Release: 20021230
|
|
|
|
|
|
# list of sources
|
|
|
Source0: ftp://sunsite.informatik.rwth-aachen.de/pub/comp/tex/teTeX/1.0/distrib/sources/teTeX-src-%{V_src}.tar.gz
|
|
|
@@ -54,8 +52,8 @@ Patch0: tetex.patch
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
BuildRoot: %{l_buildroot}
|
|
|
-BuildPreReq: OpenPKG, openpkg >= 20021204, make, infozip, flex, bison
|
|
|
-PreReq: OpenPKG, openpkg >= 20021204
|
|
|
+BuildPreReq: OpenPKG, openpkg >= 20021230, make, infozip, flex, bison
|
|
|
+PreReq: OpenPKG, openpkg >= 20021230
|
|
|
%if "%{with_x11}" == "yes"
|
|
|
BuildPreReq: X11
|
|
|
PreReq: X11
|
|
|
@@ -72,8 +70,7 @@ AutoReqProv: no
|
|
|
xmltex (namespace-aware XML parser written in TeX) and Sebastian
|
|
|
Rahtz' PassiveTeX (XML-FO rendering engine).
|
|
|
|
|
|
- Options:
|
|
|
- --define 'with_x11 %{with_x11}'
|
|
|
+ %options
|
|
|
|
|
|
%prep
|
|
|
%setup -q -n teTeX-%{V_base}
|