]> git.pld-linux.org Git - packages/texlive.git/commitdiff
- got rid of bootstrap build conditional
authorwrobell <wrobell@pld-linux.org>
Tue, 11 Sep 2012 20:27:03 +0000 (21:27 +0100)
committerwrobell <wrobell@pld-linux.org>
Tue, 11 Sep 2012 20:27:03 +0000 (21:27 +0100)
texlive.spec

index f00485e265780b3407475d277256703a4eed3d9a..560b6546111605dbf32927260abe497657c91721 100644 (file)
 #   /var/lib/texmf/web2c/xelatex/xelatex.fmt
 
 # Conditional build:
-%bcond_without bootstrap       # bootstrap build
 %bcond_without xindy           # do not build xindy packages
 
-%if %{with bootstrap}
-%undefine      with_xindy
-%endif
-
 %include       /usr/lib/rpm/macros.perl
 
 %define                year    2012
@@ -107,30 +102,6 @@ BuildRequires:     sed >= 4.0
 BuildRequires: t1lib-devel >= 5.0.2
 BuildRequires: tar >= 1:1.22
 BuildRequires: texinfo
-%if %{without bootstrap}
-### BuildRequires:     %{name}-context
-### BuildRequires:     %{name}-csplain
-### BuildRequires:     %{name}-fonts-cmsuper
-### #BuildRequires:    %{name}-format-amstex
-### #BuildRequires:    %{name}-format-cslatex
-### BuildRequires:     %{name}-format-eplain
-### BuildRequires:     %{name}-format-mex
-### BuildRequires:     %{name}-format-pdflatex
-### BuildRequires:     %{name}-latex
-### BuildRequires:     %{name}-latex-cyrillic
-### BuildRequires:     %{name}-metapost
-### BuildRequires:     %{name}-mex
-### BuildRequires:     %{name}-omega
-### BuildRequires:     %{name}-other-utils
-### BuildRequires:     %{name}-pdftex
-### BuildRequires:     %{name}-phyzzx
-### BuildRequires:     %{name}-plain
-### BuildRequires:     %{name}-tex-babel
-### BuildRequires:     %{name}-tex-physe
-### BuildRequires:     %{name}-xetex
-### BuildRequires:     %{name}-xmltex
-# fill with future texlive BR. guesses ones for now
-%endif
 BuildRequires: unzip
 BuildRequires: xorg-lib-libICE-devel
 BuildRequires: xorg-lib-libXaw-devel
@@ -2150,6 +2121,9 @@ rm -rf $RPM_BUILD_ROOT%{texmfdist}/tex/generic/xecyr
 rm -rf $RPM_BUILD_ROOT%{_datadir}/xindy
 rm -rf $RPM_BUILD_ROOT%{_datadir}/doc
 
+TEXMFMAIN=$RPM_BUILD_ROOT%{texmf}; export TEXMFMAIN
+# problems? run: kpsewhich --show-path=ls-R
+mktexlsr $RPM_BUILD_ROOT%{texmf}
 # Create format files
 for format in \
        aleph \
@@ -2174,24 +2148,9 @@ for format in \
        xelatex; do
 # pdfxmltex \
 # xmltex; do
-
-%if %{with bootstrap}
-       install -d $RPM_BUILD_ROOT%{fmtdir}/${format}
-       touch $RPM_BUILD_ROOT%{fmtdir}/${format}/${format}.fmt
-       touch $RPM_BUILD_ROOT%{fmtdir}/pdftex/${format}.fmt
-%else
-#######
-#      fmtutil --fmtdir $RPM_BUILD_ROOT%{fmtdir} --byfmt=${format}
-#######
-%endif
+       fmtutil --fmtdir $RPM_BUILD_ROOT%{fmtdir} --byfmt=${format}
 done
 
-%if %{with bootstrap}
-touch $RPM_BUILD_ROOT%{fmtdir}/xetex/xelatex.fmt
-%endif
-# We don't need the log files
-rm -f $(find $RPM_BUILD_ROOT%{fmtdir} -name "*.log")
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
This page took 0.098792 seconds and 4 git commands to generate.