]> git.pld-linux.org Git - packages/texlive.git/blobdiff - texlive.spec
- fixed -luatex internal deps; release 31
[packages/texlive.git] / texlive.spec
index 535bf5c6052800304761a68beb9b816d01ff331c..c03e512d5ddb880447ac7fd7df0a218637e83d12 100644 (file)
@@ -1,39 +1,32 @@
 # TODO:
-#
-# MAIN TODO (sort by importnce):
-# - texlive-format-pdflatex deps
-# - pl updates
-# - see uncategorized and *other* subpackages and split
-# - context: consider more splitting, check dependencies
-# - omega: consider more splitting, check dependencies
-# - tdphp: is it really useful?
-# - allow using Type1 fonts in others applications (symlink to
-#   /usr/share/fonts/Type1 ?)
-# - fix package removal:
-#   /usr/bin/texhash[77]: kpsewhich: not found
-# - drop ppc bconds once clisp is fixed on that architecture
-# - jadetex subpackage (from other-utils)
-#
-# FHS TODO:
-# - merge rhconfig and texmfsysvar patches
-# - texmfsysvar patch: change fmtutil and web2cdir variables instead
-#   of creating texmfsys{config,var} variables?
-# - move config files to /etc
-# - merge all above with configure switch "--enable-fhs" and send it to TE
-#
-# TeXLive specific TODO:
-# - summary/description correcting (all languages)
-# - texk/web2c doesn't build (luatex option)
-# - %files latex-bibtex-revtex4
-# - Check CEF/cjk!
-# - texdoc: /usr/bin/env: texlua: No such file or directory
-# - tlmgr: "kpsewhich" is not exported by the TeXLive::TLUtils module
-#
+# - get rid of /etc/cron.daily depencency from base pkg, use /etc/tmpwatch.d instead
+# - cache in /var/lib? (move to /var/cache)
+# - dep loops:
+#error: LOOP:
+#error: removing kpathsea-20080816-5.x86_64 "Requires(post): /usr/bin/texhash" from tsort relations.
+#error:     kpathsea-20080816-5.x86_64               Requires(post): /usr/bin/texhash
+#error: removing texlive-20080816-5.x86_64 "Requires: texconfig = 1:20080816-5" from tsort relations.
+#error:     texlive-20080816-5.x86_64                Requires: texconfig = 1:20080816-5
+#error: removing texconfig-20080816-5.x86_64 "Requires: texlive-dvips = 1:20080816-5" from tsort relations.
+#error:     texconfig-20080816-5.x86_64              Requires: texlive-dvips = 1:20080816-5
+#error: removing texlive-dvips-20080816-5.x86_64 "Requires(auto): libkpathsea.so.4()(64bit)" from tsort relations.
+#error:     texlive-dvips-20080816-5.x86_64          Requires(auto): libkpathsea.so.4()(64bit)
+#Preparing...                ########################################### [100%]
+
 %include       /usr/lib/rpm/macros.perl
-#
 # Conditional build:
 %bcond_with    bootstrap       # bootstrap build
-#
+%bcond_without xindy           # do not build xindy packages
+
+%if %{with bootstrap}
+%undefine      with_xindy
+%endif
+
+%ifarch x32
+# no clisp on x32 as of 31-12-2014
+%undefine      with_xindy
+%endif
+
 Summary:       TeX typesetting system and MetaFont font formatter
 Summary(de.UTF-8):     TeX-Satzherstellungssystem und MetaFont-Formatierung
 Summary(es.UTF-8):     Sistema de typesetting TeX y formateador de fuentes MetaFont
@@ -44,7 +37,7 @@ Summary(pt_BR.UTF-8): Sistema de typesetting TeX e formatador de fontes MetaFont
 Summary(tr.UTF-8):     TeX dizgi sistemi ve MetaFont yazıtipi biçimlendiricisi
 Name:          texlive
 Version:       20080816
-Release:       5
+Release:       31
 Epoch:         1
 License:       distributable
 Group:         Applications/Publishing/TeX
@@ -59,6 +52,8 @@ Source10:     http://tug.ctan.org/get/macros/latex/contrib/floatflt.zip
 # Source10-md5:        5d9fe14d289aa81ebb6b4761169dd5f2
 Source11:      http://carme.pld-linux.org/~uzsolt/sources/%{name}-fonts-larm.tar.bz2
 # Source11-md5:        df2fcc66f0c2e90785ca6c9b27dacd34
+Source12:      http://www.ctan.org/get/macros/latex/contrib/foiltex.zip
+# Source12-md5:        0a6b4e64fb883a68d9b288bf3421db25
 Source50:      http://sunsite2.icm.edu.pl/pub/tex/systems/texlive/tlnet/2008/tlpkg/TeXLive/Splashscreen.pm
 # Source50-md5:        5cc49f49010f27fdb02dd7053797ba19
 Source51:      http://sunsite2.icm.edu.pl/pub/tex/systems/texlive/tlnet/2008/tlpkg/TeXLive/TLConfig.pm
@@ -88,11 +83,23 @@ Source62:   http://sunsite2.icm.edu.pl/pub/tex/systems/texlive/tlnet/2008/tlpkg/Te
 Patch0:                %{name}-am.patch
 Patch1:                %{name}-20080816-kpathsea-ar.patch
 Patch2:                %{name}-gcc44.patch
+Patch3:                %{name}-getline.patch
+Patch5:                %{name}-aclocal.patch
+Patch6:                %{name}-libpng.patch
+Patch7:                %{name}-libpng15.patch
+Patch8:                %{name}-extramembot.patch
+Patch9:                %{name}-5yr-old.patch
+Patch10:       format-security.patch
+Patch11:       %{name}-clisp.patch
+Patch12:       %{name}-system-libpng.patch
+Patch13:       %{name}-system-zzip.patch
 URL:           http://www.tug.org/texlive/
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: bison
+%if %{with xindy}
 BuildRequires: clisp
+%endif
 BuildRequires: ed
 BuildRequires: expat-devel
 BuildRequires: ffcall-devel
@@ -116,8 +123,10 @@ BuildRequires:     texinfo
 %if %{with bootstrap}
 BuildRequires: tetex-format-latex
 BuildRequires: tetex-format-pdflatex
+BuildRequires: tetex-format-plain
 BuildRequires: tetex-latex-cyrillic
 BuildRequires: tetex-tex-babel
+BuildRequires: texconfig
 %else
 BuildRequires: %{name}-context
 BuildRequires: %{name}-csplain
@@ -125,10 +134,10 @@ 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}-metafont
 BuildRequires: %{name}-metapost
 BuildRequires: %{name}-mex
 BuildRequires: %{name}-omega
@@ -139,7 +148,6 @@ BuildRequires:      %{name}-plain
 BuildRequires: %{name}-tex-babel
 BuildRequires: %{name}-tex-physe
 BuildRequires: %{name}-xetex
-BuildRequires: %{name}-xetex
 BuildRequires: %{name}-xmltex
 # fill with future texlive BR. guesses ones for now
 %endif
@@ -151,10 +159,10 @@ BuildRequires:    xorg-lib-libXext-devel
 BuildRequires: xorg-lib-libXmu-devel
 BuildRequires: xorg-lib-libXpm-devel
 BuildRequires: zlib-devel >= 1.2.1
+BuildRequires: zziplib-devel
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Requires:      %{name}-fonts-cm = %{epoch}:%{version}-%{release}
 Requires:      %{name}-fonts-misc = %{epoch}:%{version}-%{release}
-Requires:      %{name}-metafont = %{epoch}:%{version}-%{release}
 Requires:      awk
 Requires:      dialog
 Requires:      kpathsea = %{epoch}:%{version}-%{release}
@@ -165,6 +173,7 @@ Requires:   textutils
 Suggests:      tmpwatch
 Provides:      tetex = %{epoch}:%{version}-%{release}
 Provides:      tetex-format-pdfetex = %{epoch}:%{version}-%{release}
+Provides:      tetex-metafont
 Obsoletes:     tetex
 Obsoletes:     tetex-afm
 Obsoletes:     tetex-doc
@@ -180,31 +189,32 @@ Obsoletes:        tetex-format-pdfemex
 Obsoletes:     tetex-format-pdfetex
 Obsoletes:     tetex-latex-vnps
 Obsoletes:     tetex-latex-vnr
-Obsoletes:     tetex-oxdvi
+Obsoletes:     tetex-metafont
 Obsoletes:     tetex-oxdvi
 Obsoletes:     tetex-plain-dvips
-Obsoletes:     tetex-plain-dvips
-Obsoletes:     tetex-plain-mathtime
 Obsoletes:     tetex-plain-mathtime
 Obsoletes:     tetex-plain-misc
-Obsoletes:     tetex-plain-misc
-Obsoletes:     tetex-plain-plnfss
 Obsoletes:     tetex-plain-plnfss
 Obsoletes:     tetex-tex-hyphen
 Obsoletes:     tetex-tex-vietnam
+Obsoletes:     texlive-metafont
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                texmf   %{_datadir}/texmf
 %define                texmfdist %{texmf}-dist
 %define                texmfdoc %{texmf}-doc
 %define                fmtdir  /var/lib/texmf/web2c
-%define                texhash [ ! -x %{_bindir}/texhash ] || %{_bindir}/texhash 1>&2;
+%define                texhash umask 022; [ ! -x %{_bindir}/texhash ] || %{_bindir}/texhash 1>&2;
 %define                _localstatedir  /var/lib/texmf
 %define                fixinfodir [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 ;
 %define                fmtutil(f:) [ ! \\\( -f %{_localstatedir}/web2c/%{-f*}.fmt.rpmnew -o -f %{_localstatedir}/web2c/%{-f*}.efmt.rpmnew \\\) ] || %{_bindir}/fmtutil-sys --byfmt %{-f*} >/dev/null 2>/dev/null || echo "Regenerating %{-f*} failed. See %{_localstatedir}/web2c/%{-f*}.log for details" 1>&2 && exit 0 ;
 
 %define                _noautoreq 'perl(path_tre)'
 
+# this package is a complete mess, lets just live with it here
+# and concentrate on cleaning master
+%define                _duplicate_files_terminate_build        0
+
 %description
 TeXLive is an implementation of TeX for Linux or UNIX systems. TeX
 takes a text file and a set of formatting commands as input and
@@ -258,16 +268,40 @@ TeXbook' başlıklı kitabında anlatılmaktadır.
 %package other-utils
 Summary:       Other utilities
 Group:         Applications/Publishing/TeX
-Provides:      jadetex = %{epoch}:%{version}-%{release}
-Obsoletes:     jadetex
+# contains texlua scripts
+Requires:      %{name}-luatex = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-format-cyrtexinfo
 
 %description other-utils
 Other utilities.
 
+%package jadetex
+Summary:       LaTeX macros for converting Jade TeX output into DVI/PS/PDF
+Summary(pl.UTF-8):     Makra LaTeXa do konwersji Jade TeXa do DVI/PS/PDF
+Group:         Applications/Publishing/TeX
+Requires:      %{name} = %{epoch}:%{version}-%{release}
+Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+Requires:      %{name}-pdftex = %{epoch}:%{version}-%{release}
+Provides:      jadetex = %{epoch}:%{version}-%{release}
+Obsoletes:     jadetex
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
+
+%description jadetex
+JadeTeX contains the additional LaTeX macros necessary for taking Jade
+TeX output files and processing them as LaTeX files.
+
+%description -l pl.UTF-8
+JadeTeX zawiera dodatkowe makra LaTeXa potrzebne do konwersji plików
+otrzymanych z Jade TeXa i przetworzenia ich jako plików LaTeXa.
+
 %package other-utils-doc
 Summary:       Other utilities documentation
 Group:         Applications/Publishing/TeX
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description other-utils-doc
 Other utilities documentation.
@@ -275,6 +309,9 @@ Other utilities documentation.
 %package doc
 Summary:       Documentation for TeX Live
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc
 Assorted useful documentation for TeX Live.
@@ -282,6 +319,9 @@ Assorted useful documentation for TeX Live.
 %package doc-bg
 Summary:       Bulgarian documentation for TeX Live
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc-bg
 Assorted useful Bulgarian documentation for TeX Live.
@@ -289,6 +329,9 @@ Assorted useful Bulgarian documentation for TeX Live.
 %package doc-cs
 Summary:       Czech documentation for TeX Live
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc-cs
 Assorted useful Czech documentation for TeX Live.
@@ -296,6 +339,9 @@ Assorted useful Czech documentation for TeX Live.
 %package doc-de
 Summary:       German documentation for TeX Live
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc-de
 Assorted useful German documentation for TeX Live.
@@ -303,6 +349,9 @@ Assorted useful German documentation for TeX Live.
 %package doc-el
 Summary:       Greek documentation for TeX Live
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc-el
 Assorted useful Greek documentation for TeX Live.
@@ -310,6 +359,9 @@ Assorted useful Greek documentation for TeX Live.
 %package doc-es
 Summary:       Spanish documentation for TeX Live
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc-es
 Assorted useful Spanish documentation for TeX Live.
@@ -317,6 +369,9 @@ Assorted useful Spanish documentation for TeX Live.
 %package doc-fi
 Summary:       Finnish documentation for TeX Live
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc-fi
 Assorted useful Finnish documentation for TeX Live.
@@ -324,6 +379,9 @@ Assorted useful Finnish documentation for TeX Live.
 %package doc-fr
 Summary:       French documentation for TeX Live
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc-fr
 Assorted useful French documentation for TeX Live.
@@ -331,6 +389,9 @@ Assorted useful French documentation for TeX Live.
 %package doc-it
 Summary:       Italian documentation for TeX Live
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc-it
 Assorted useful Italian documentation for TeX Live.
@@ -338,6 +399,9 @@ Assorted useful Italian documentation for TeX Live.
 %package doc-ja
 Summary:       Japanese documentation for TeX Live
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc-ja
 Assorted useful Japanese documentation for TeX Live.
@@ -345,6 +409,9 @@ Assorted useful Japanese documentation for TeX Live.
 %package doc-ko
 Summary:       Korean documentation for TeX Live
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc-ko
 Assorted useful Korean documentation for TeX Live.
@@ -352,6 +419,9 @@ Assorted useful Korean documentation for TeX Live.
 %package doc-mn
 Summary:       Mongolian documentation for TeX Live
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc-mn
 Assorted useful Mongolian documentation for TeX Live.
@@ -359,6 +429,9 @@ Assorted useful Mongolian documentation for TeX Live.
 %package doc-nl
 Summary:       Dutch documentation for TeX Live
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc-nl
 Assorted useful Dutch documentation for TeX Live.
@@ -366,6 +439,9 @@ Assorted useful Dutch documentation for TeX Live.
 %package doc-pl
 Summary:       Polish documentation for TeX Live
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc-pl
 Assorted useful Polish documentation for TeX Live.
@@ -373,6 +449,9 @@ Assorted useful Polish documentation for TeX Live.
 %package doc-pt
 Summary:       Portuguese documentation for TeX Live
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc-pt
 Assorted useful Portuguese documentation for TeX Live.
@@ -380,6 +459,9 @@ Assorted useful Portuguese documentation for TeX Live.
 %package doc-ru
 Summary:       Russian documentation for TeX Live
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc-ru
 Assorted useful Russian documentation for TeX Live.
@@ -387,6 +469,9 @@ Assorted useful Russian documentation for TeX Live.
 %package doc-sk
 Summary:       Slovak documentation for TeX Live
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc-sk
 Assorted useful Slovak documentation for TeX Live.
@@ -394,6 +479,9 @@ Assorted useful Slovak documentation for TeX Live.
 %package doc-sl
 Summary:       Slovenian documentation for TeX Live
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc-sl
 Assorted useful Slovenian documentation for TeX Live.
@@ -401,6 +489,9 @@ Assorted useful Slovenian documentation for TeX Live.
 %package doc-th
 Summary:       Thai documentation for TeX Live
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc-th
 Assorted useful Thai documentation for TeX Live.
@@ -408,6 +499,9 @@ Assorted useful Thai documentation for TeX Live.
 %package doc-tr
 Summary:       Turkish documentation for TeX Live
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc-tr
 Assorted useful Turkish documentation for TeX Live.
@@ -415,6 +509,9 @@ Assorted useful Turkish documentation for TeX Live.
 %package doc-uk
 Summary:       Ukrainian documentation for TeX Live
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc-uk
 Assorted useful Ukrainian documentation for TeX Live.
@@ -422,6 +519,9 @@ Assorted useful Ukrainian documentation for TeX Live.
 %package doc-vi
 Summary:       Vietnamese documentation for TeX Live
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc-vi
 Assorted useful Vietnamese documentation for TeX Live.
@@ -429,6 +529,9 @@ Assorted useful Vietnamese documentation for TeX Live.
 %package doc-zh_CN
 Summary:       Chinese documentation for TeX Live
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc-zh_CN
 Assorted useful Chinese documentation for TeX Live.
@@ -441,6 +544,9 @@ Group:              Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-doc-latex
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc-latex
 Basic LaTeX packages documentation.
@@ -662,6 +768,9 @@ Summary(hu.UTF-8):  Tömb adatstruktúra (La)TeX-hez
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description tex-arrayjob
 Array data structures for (La)TeX.
@@ -675,6 +784,9 @@ Summary(hu.UTF-8):  Pontok előállítása matematikai módban a font méret figy
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description tex-mathdots
 Commands to produce dots in math that respect font size.
@@ -688,6 +800,9 @@ Summary(hu.UTF-8):  Hasznos makrók gyűjteménye
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description tex-midnight
 A set of useful macro tools.
@@ -700,6 +815,9 @@ Summary:    Convert numbers into binary, octal and hexadecimal
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description tex-kastrup
 Convert numbers into binary, octal and hexadecimal.
@@ -709,6 +827,9 @@ Summary:    Olsak's Font System
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description tex-ofs
 Olsak's Font System.
@@ -719,6 +840,9 @@ Summary(hu.UTF-8):  PHYSE formátum
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description tex-physe
 The PHYSE format.
@@ -732,6 +856,9 @@ Summary(hu.UTF-8):  Ezzel a csomaggal lehetőséged nyílik Devanagari szövegek
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description tex-velthuis
 This package provides support for typesetting texts in Devanagari
@@ -747,6 +874,9 @@ Summary(hu.UTF-8):  MIT-en fejlesztett makrócsomag
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description tex-ytex
 Macro package developed at MIT.
@@ -754,22 +884,6 @@ Macro package developed at MIT.
 %description tex-ytex -l hu.UTF-8
 MIT-en fejlesztett makrócsomag.
 
-%package metafont
-Summary:       MetaFont
-Summary(hu.UTF-8):     MetaFont
-Summary(pl.UTF-8):     Zestaw narzędzi MetaFont
-Group:         Applications/Publishing/TeX
-Requires(post,postun): %{_bindir}/texhash
-Requires:      %{name} = %{epoch}:%{version}-%{release}
-Provides:      tetex-metafont
-Obsoletes:     tetex-metafont
-
-%description metafont
-MetaFont.
-
-%description metafont -l pl.UTF-8
-Zestaw narzędzi MetaFont.
-
 %package metapost
 Summary:       MetaPost
 Summary(hu.UTF-8):     MetaPost
@@ -794,6 +908,9 @@ Summary(hu.UTF-8):  Különböző MetaPost eszközök
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description metapost-other
 Various MetaPost utils.
@@ -809,6 +926,9 @@ Group:              Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-metapost = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-mptopdf
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description mptopdf
 MetaPost to PDF converter.
@@ -826,6 +946,9 @@ Group:              Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-texdoctk
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description texdoctk
 A Perl/Tk-based GUI for easy access to package documentation for TeX
@@ -855,9 +978,11 @@ Summary(pl.UTF-8): Konfigurator systemu składu TeX
 Group:         Applications/Publishing/TeX
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Requires:      %{name}-dvips = %{epoch}:%{version}-%{release}
-Requires:      %{name}-metafont = %{epoch}:%{version}-%{release}
 Requires:      xdvi = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-texconfig
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description -n texconfig
 TeX typesetting system configurator.
@@ -876,7 +1001,6 @@ Summary(tr.UTF-8): X11 öngörüntüleyici
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
-Requires:      %{name}-metafont = %{epoch}:%{version}-%{release}
 Suggests:      %{name}-dvips
 Obsoletes:     tetex-xdvi
 
@@ -1409,6 +1533,7 @@ Group:            Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Requires:      %{name}-fonts-type1-bluesky = %{epoch}:%{version}-%{release}
+Requires:      ghostscript
 Provides:      tetex-format-pdftex = %{epoch}:%{version}-%{release}
 Provides:      tetex-pdftex
 Obsoletes:     tetex-format-pdftex
@@ -1452,6 +1577,9 @@ Summary(hu.UTF-8):        TeX formátum fizikusoknak
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description phyzzx
 A TeX format for physicists.
@@ -1495,6 +1623,9 @@ Obsoletes:        tetex-cyrplain
 Obsoletes:     tetex-format-cyrplain
 Obsoletes:     tetex-format-plain
 Obsoletes:     tetex-plain
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description plain
 Plain TeX format basic files.
@@ -1513,6 +1644,9 @@ Requires: %{name} = %{epoch}:%{version}-%{release}
 Requires:      texlive-fonts-pl = %{epoch}:%{version}-%{release}
 Requires:      texlive-plain = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-mex
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description mex
 MeX Plain Format basic files.
@@ -1527,6 +1661,9 @@ Group:            Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      texlive-mex = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-format-mex
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description format-mex
 MeX Plain Format.
@@ -1542,6 +1679,9 @@ Requires(post,postun):    %{_bindir}/texhash
 Requires:      %{name}-mex = %{epoch}:%{version}-%{release}
 Requires:      %{name}-pdftex = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-format-pdfmex
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description format-pdfmex
 PDFMeX Plain Format.
@@ -1556,6 +1696,9 @@ Group:            Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-mex = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-format-utf8mex
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description format-utf8mex
 MeX Plain Format with UTF-8 encoded source files.
@@ -1571,11 +1714,15 @@ Summary(pl.UTF-8):      Podstawowe pliki makr AMS dla formatu Plain TeX
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-fonts-ams = %{epoch}:%{version}-%{release}
+Requires:      %{name}-format-amstex = %{epoch}:%{version}-%{release}
 Requires:      %{name}-plain = %{epoch}:%{version}-%{release}
 Provides:      tetex-ams
 Obsoletes:     tetex-ams
 Obsoletes:     tetex-amstex
 Obsoletes:     tetex-plain-amsfonts
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description amstex
 American Mathematical Society macros for Plain TeX basic files.
@@ -1590,8 +1737,11 @@ Summary(pl.UTF-8):       Makra AMS dla formatu Plain TeX
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-amstex = %{epoch}:%{version}-%{release}
-Obsoletes:     tetex-format-cyramstex
 Obsoletes:     tetex-format-amstex
+Obsoletes:     tetex-format-cyramstex
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description format-amstex
 American Mathematical Society macros for Plain TeX.
@@ -1610,6 +1760,9 @@ Requires: %{name}-fonts-cs = %{epoch}:%{version}-%{release}
 Requires:      %{name}-plain = %{epoch}:%{version}-%{release}
 Provides:      tetex-csplain
 Obsoletes:     tetex-csplain
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description csplain
 TeX CSPlain format basic files.
@@ -1624,6 +1777,9 @@ Group:            Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-csplain = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-format-csplain
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description format-csplain
 TeX CSPlain format.
@@ -1638,6 +1794,9 @@ Group:            Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-csplain = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-format-pdfcsplain
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description format-pdfcsplain
 PDFTeX CSPlain format.
@@ -1656,6 +1815,9 @@ Requires: %{name}-fonts-cs = %{epoch}:%{version}-%{release}
 Requires:      %{name}-plain = %{epoch}:%{version}-%{release}
 Provides:      tetex-cslatex
 Obsoletes:     tetex-cslatex
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description cslatex
 CSLaTeX format basic files.
@@ -1670,6 +1832,9 @@ Group:            Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-cslatex = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-format-cslatex
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description format-cslatex
 CSLaTeX format.
@@ -1684,6 +1849,9 @@ Group:            Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-cslatex = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-format-pdfcslatex
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description format-pdfcslatex
 PDF CSLaTeX format.
@@ -1701,6 +1869,9 @@ Requires(post,postun):    %{_bindir}/texhash
 Requires:      %{name}-plain = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-eplain
 Obsoletes:     tetex-etex
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description eplain
 EPlain format basic files.
@@ -1715,6 +1886,9 @@ Group:            Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-eplain = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-format-eplain
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description format-eplain
 EPlain format.
@@ -1730,10 +1904,13 @@ Summary(pl.UTF-8):      Podstawowe pliki pakietu makr ConTeXt
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
+# contains texlua scripts
+Requires:      %{name}-luatex = %{epoch}:%{version}-%{release}
 Provides:      tetex-context
 Obsoletes:     tetex-context
-
-%define                _noautoreq      'perl(path_tre)'
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description context
 A full featured, parameter driven macro package, which fully supports
@@ -1754,6 +1931,9 @@ Group:            Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-context = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-format-context-de
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description format-context-de
 German ConTeXt format.
@@ -1768,6 +1948,9 @@ Group:            Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-context = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-format-context-en
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description format-context-en
 English ConTeXt format.
@@ -1782,6 +1965,9 @@ Group:            Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-context = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-format-context-nl
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description format-context-nl
 Dutch ConTeXt format.
@@ -1869,6 +2055,9 @@ Summary:  Shade cells of tables and halign
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-colortab
 Shade cells of tables and halign.
@@ -1879,6 +2068,9 @@ Summary(hu.UTF-8):        A matematikai halmazok indexelésének általánosítása
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-12many
 Generalising mathematical index sets.
@@ -1892,6 +2084,10 @@ Summary(hu.UTF-8):       Az "abstract" környezet szedésének irányítása
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
+
 
 %description latex-abstract
 Control the typesetting of the abstract environment.
@@ -1904,6 +2100,10 @@ Summary: Utilities to derive new fonts from existing ones
 Summary(hu.UTF-8):     Eszközök új betűtípusok származtatására már létezőkből
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
+
 
 %description latex-accfonts
 Utilities to derive new fonts from existing ones.
@@ -1917,6 +2117,9 @@ Summary(hu.UTF-8):        BibTeX stílusok cím-adatbázis megvalósításához
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-adrconv
 BibTeX styles to implement an address database.
@@ -1933,6 +2136,9 @@ Requires: %{name}-fonts-ae = %{epoch}:%{version}-%{release}
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
 Provides:      tetex-latex-ae
 Obsoletes:     tetex-latex-ae
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-ae
 A set of virtual fonts which emulates T1 coded fonts using the
@@ -1955,6 +2161,9 @@ Requires(post,postun):    /usr/bin/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-algorith
 Obsoletes:     tetex-latex-algorithms
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-algorithms
 Defines a floating algorithm environment designed to work with the
@@ -1976,6 +2185,9 @@ Obsoletes:        tetex-latex-ams
 Obsoletes:     tetex-latex-amscls
 Obsoletes:     tetex-latex-amsfonts
 Obsoletes:     tetex-latex-amsmath
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-ams
 This package is the principal package in the AMS-LaTeX distribution.
@@ -1994,6 +2206,9 @@ Requires(post,postun):    %{_bindir}/texhash
 Requires:      %{name}-fonts-antp = %{epoch}:%{version}-%{release}
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-latex-antp
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-antp
 A replica of Antykwa Poltawskiego font in PostScript Type 1 format
@@ -2021,6 +2236,9 @@ Requires(post,postun):    %{_bindir}/texhash
 Requires:      %{name}-fonts-antt = %{epoch}:%{version}-%{release}
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-latex-antt
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-antt
 Antykwa Torunska is a serif font designed by the late Polish
@@ -2038,6 +2256,9 @@ Summary(hu.UTF-8):        Az appendixek nagyobb irányítása
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-appendix
 Extra control of appendices.
@@ -2053,6 +2274,9 @@ Requires(post,postun):    %{_bindir}/texhash
 Requires:      %{name}-fonts-bbm = %{epoch}:%{version}-%{release}
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-latex-bbm
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-bbm
 Blackboard variant fonts for Computer Modern, with LaTeX support.
@@ -2065,6 +2289,9 @@ Summary:  LateX package for drawing bar diagrams
 Summary(pl.UTF-8):     LaTeX csomag oszlopdiagramok rajzolására
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-bardiag
 LateX package for drawing bar diagrams.
@@ -2080,6 +2307,9 @@ Requires(post,postun):    %{_bindir}/texhash
 Requires:      %{name}-fonts-bbold = %{epoch}:%{version}-%{release}
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-latex-bbold
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-bbold
 A geometric sans serif blackboard bold font, for use in mathematics.
@@ -2113,6 +2343,9 @@ Group:            Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-latex-beamer
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-beamer
 A LaTeX class for producing presentations and slides.
@@ -2126,6 +2359,9 @@ Summary(hu.UTF-8):        Javier Bezos csomagjai (további matematikai eszközök)
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-bezos
 Packages by Javier Bezos (additional math tools).
@@ -2142,6 +2378,9 @@ Requires: %{name}-latex-ams = %{epoch}:%{version}-%{release}
 Requires:      %{name}-latex-bibtex = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-bibtex-ams
 Obsoletes:     tetex-latex-bibtex-ams
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-bibtex-ams
 BibTeX style files for American Mathematical Society publications.
@@ -2156,7 +2395,9 @@ Group:            Applications/Publishing/TeX
 Requires(post,postun): /usr/bin/texhash
 Requires:      %{name}-latex-bibtex = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-latex-bibtex-dk
-
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-bibtex-dk
 Dk-bib is a translation of the four standard BibTeX style files
@@ -2178,6 +2419,9 @@ Requires(post,postun):    %{_bindir}/texhash
 Requires:      %{name}-latex-bibtex = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-bibtex-plbib
 Obsoletes:     tetex-latex-bibtex-pl
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-bibtex-pl
 Polish bibliography management for LaTeX.
@@ -2193,6 +2437,9 @@ Requires(post,postun):    %{_bindir}/texhash
 Requires:      %{name}-latex-bibtex = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-bibtex-germbib
 Obsoletes:     tetex-latex-bibtex-german
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-bibtex-german
 German variants of standard BibTeX styles.
@@ -2208,6 +2455,9 @@ Requires(post,postun):    %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-bibtex-revtex4
 Obsoletes:     tetex-latex-bibtex-revtex4
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-bibtex-revtex4
 BibTeX styles for REVTeX4.
@@ -2223,6 +2473,9 @@ Requires(post,postun):    %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-bibtex-jurabib
 Obsoletes:     tetex-latex-bibtex-jurabib
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-bibtex-jurabib
 Extended BibTeX citation support for the humanities and legal texts.
@@ -2237,6 +2490,9 @@ Summary(hu.UTF-8):        Vegyes BibTeX stílusok
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex-bibtex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-bibtex-styles
 Various BibTeX styles.
@@ -2250,6 +2506,9 @@ Summary(hu.UTF-8):        Irodalomjegyzék-stílus a Biomedical Journal-hoz
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex-bibtex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-bibtex-vancouver
 Bibliographic style file for Biomedical Journals.
@@ -2263,6 +2522,9 @@ Summary(hu.UTF-8):        Nyomdai minőségű táblázatok LaTeX-ben
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-booktabs
 Publication quality tables in LaTeX.
@@ -2276,6 +2538,9 @@ Summary(hu.UTF-8):        Feliratok testreszabása úszó környezetekben
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-caption
 Customising captions in floating environments.
@@ -2291,6 +2556,9 @@ Requires(post,postun):    %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
 Provides:      tetex-latex-carlisle
 Obsoletes:     tetex-latex-carlisle
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-carlisle
 Miscellaneous small packages by David Carlisle.
@@ -2305,6 +2573,9 @@ Group:            Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-latex-ccfonts
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-ccfonts
 LaTeX font definition files for the Concrete fonts and a LaTeX package
@@ -2325,6 +2596,9 @@ Group:            Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-latex-cite
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-cite
 Supports compressed, sorted lists of numerical citations.
@@ -2340,6 +2614,9 @@ Requires(post,postun):    %{_bindir}/texhash
 Requires:      %{name}-fonts-cmbright = %{epoch}:%{version}-%{release}
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-latex-cmbright
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-cmbright
 A family of sans serif fonts for TeX and LaTeX, based on Donald
@@ -2361,6 +2638,9 @@ Summary(hu.UTF-8):        A szöveg részeinek beillesztése/kihagyása
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-comment
 Selectively include/excludes portions of text.
@@ -2376,6 +2656,9 @@ Requires(post,postun):    %{_bindir}/texhash
 Requires:      %{name}-fonts-concmath = %{epoch}:%{version}-%{release}
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-latex-concmath
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-concmath
 LaTeX package and font definition files to access the Concrete math
@@ -2394,6 +2677,9 @@ Summary(hu.UTF-8):        Önéletrajzok írása
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-currvita
 Typeset a curriculum vitae.
@@ -2407,6 +2693,9 @@ Summary(hu.UTF-8):        Görbék LaTeX picture környezetébe
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-curves
 Curves for LaTeX picture environment.
@@ -2421,6 +2710,9 @@ Group:            Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-latex-custom-bib
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-custom-bib
 Package generating customized BibTeX bibliography styles from a
@@ -2438,6 +2730,9 @@ Requires(post,postun):    %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
 Provides:      tetex-latex-cyrillic
 Obsoletes:     tetex-latex-cyrillic
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-cyrillic
 LaTeX Cyrillic support.
@@ -2451,6 +2746,9 @@ Summary(hu.UTF-8):        Egy csomag, amivel testreszabhatod a három alapvető listát
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-enumitem
 A package to customize the three basic lists (enumerate, itemize and
@@ -2466,6 +2764,9 @@ Summary(hu.UTF-8):        Különböző dokumentumosztályok vizsgák, feladatsorok sze
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-exams
 Various document classes to typeset exams.
@@ -2479,6 +2780,9 @@ Summary(hu.UTF-8):        Eszközök úszó objektuomok kezeléséhez
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-float
 Tools to manipulate float objects.
@@ -2486,12 +2790,31 @@ Tools to manipulate float objects.
 %description latex-float -l hu.UTF-8
 Eszközök úszó objektuomok kezeléséhez.
 
+%package latex-foiltex
+Summary:       The FoilTeX is a collection of LaTeX files for making foils
+Summary(hu.UTF-8):     A FoilTeX a LaTeX fájlok gyűjteménye fóliák készítéséhez
+Group:         Applications/Publishing/TeX
+Requires(post,postun): %{_bindir}/texhash
+Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
+
+%description latex-foiltex
+The FoilTeX is a collection of LaTeX files for making foils.
+
+%description latex-foiltex -l hu.UTF-8
+A FoilTeX a LaTeX fájlok gyűjteménye fóliák készítéséhez.
+
 %package latex-formlett
 Summary:       Letters to multiple recipients
 Summary(hu.UTF-8):     Levél több címzettnek ("körlevél")
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-formlett
 Letters to multiple recipients.
@@ -2505,6 +2828,9 @@ Summary(hu.UTF-8):        Kézzel kitöltendő űrlapok készítése
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-formular
 Create forms containing field for manual entry.
@@ -2518,6 +2844,9 @@ Summary(hu.UTF-8):        Levél dokumentumosztály
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-gbrief
 Letter document class.
@@ -2525,29 +2854,15 @@ Letter document class.
 %description latex-gbrief -l hu.UTF-8
 Levél dokumentumosztály.
 
-%package latex-jknappen
-Summary:       Miscellaneous packages by Joerg Knappen
-Summary(pl.UTF-8):     Różne pakiety autorstwa Joerga Knappena
-Group:         Applications/Publishing/TeX
-Requires(post,postun): %{_bindir}/texhash
-Requires:      %{name}-fonts-jknappen = %{epoch}:%{version}-%{release}
-Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
-Obsoletes:     tetex-latex-jknappen
-
-%description latex-jknappen
-Miscellaneous macros, mostly for making use of extra fonts, by Joerg
-Knappen, including sgmlcmpt.
-
-%description latex-jknappen -l pl.UTF-8
-Różne makra, głównie do używania dodatkowych fontów autorstwa Joerga
-Knappena. Zawiera sgmlcmpt.
-
 %package latex-keystroke
 Summary:       Graphical representation of keys on keyboard
 Summary(hu.UTF-8):     A billentyűk grafikus megjelenítése
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-keystroke
 Graphical representation of keys on keyboard.
@@ -2561,6 +2876,9 @@ Summary(hu.UTF-8):        Laborjegyzőkönyvek szedése
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-labbook
 Typeset laboratory journals.
@@ -2574,6 +2892,9 @@ Summary(hu.UTF-8):        Alfanumerikus LCD-szerű kijelzés
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-lcd
 Alphanumerical LCD-style displays.
@@ -2587,6 +2908,9 @@ Summary(hu.UTF-8):        Kis "kézikönyvek" készítése (brossúrák)
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-leaflet
 Create small handouts (flyers).
@@ -2600,6 +2924,9 @@ Summary(hu.UTF-8):        Bal és jobboldali alsó és felső indexek matematikai módb
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-leftidx
 Left and right subscripts and superscripts in math mode.
@@ -2613,6 +2940,9 @@ Summary(hu.UTF-8):        Lewis struktúrák készítése (kémia)
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-lewis
 Draw Lewis structures (chemistry).
@@ -2628,6 +2958,10 @@ Requires(post,postun):   /usr/bin/texhash
 Requires:      %{name}-fonts-lm = %{epoch}:%{version}-%{release}
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-latex-lm
+Obsoletes:     texlive-fonts-type1-lm
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-lm
 Latin Modern family of fonts, based on the Computer Modern fonts
@@ -2656,6 +2990,9 @@ Summary:  Reference last page for "Page N of M" type footers
 Summary(hu.UTF-8):     Az utolsó oldalra hivatkozás "N/M. oldal" típusú lábfejekhez
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-lastpage
 Reference last page for Page N of M type footers.
@@ -2670,6 +3007,9 @@ Group:            Applications/Publishing/TeX
 Requires(post,postun): /usr/bin/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-latex-lineno
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-lineno
 The LaTeX package lineno.sty provides line numbers on paragraphs.
@@ -2688,6 +3028,9 @@ Summary:  Support for the work of classicists
 Group:         Applications/Publishing/TeX
 Requires(post,postun): /usr/bin/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-metre
 Support for the work of classicists.
@@ -2698,6 +3041,9 @@ Summary(hu.UTF-8):        Játékok szedése
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-games
 Chess, chinese chess, crosswords, go, backgammon and more.
@@ -2713,6 +3059,9 @@ Requires(post,postun):    %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
 Provides:      tetex-latex-ltablex
 Obsoletes:     tetex-latex-ltablex
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-extend
 This package contains:
@@ -2826,6 +3175,9 @@ Summary(hu.UTF-8):        További effektek betűkhöz, szövegekhez,...
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-effects
 This package contains:
@@ -2869,6 +3221,9 @@ Ez a csomag a következőket tartalmazza:
 Summary:       Sources of latex-math
 Summary(hu.UTF-8):     A latex-math forrása
 Group:         Applications/Publishing/TeX
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-math-sources
 Sources of latex-math.
@@ -2894,6 +3249,9 @@ Requires: %{name}-tex-xkeyval = %{epoch}:%{version}-%{release}
 Requires:      %{name}-tex-xypic = %{epoch}:%{version}-%{release}
 # gnuplottex needs gnuplot
 Requires:      gnuplot
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-math
 This package contains:
@@ -2994,6 +3352,9 @@ Summary(hu.UTF-8):        Vegyes csomagok
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-misc
 This packages contains:
@@ -3017,6 +3378,9 @@ Summary(hu.UTF-8):        Zenei csomagok
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-music
 This package contains:
@@ -3039,6 +3403,9 @@ Requires: %{name}-latex = %{epoch}:%{version}-%{release}
 Suggests:      %{name}-latex-SIstyle
 Suggests:      %{name}-latex-SIunits
 Suggests:      %{name}-latex-siunitx
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-physics
 This package contains:
@@ -3071,6 +3438,9 @@ Group:            Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
 Requires:      %{name}-xetex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-biology
 This package contains:
@@ -3087,8 +3457,11 @@ Summary: Presentations in LaTeX
 Summary(hu.UTF-8):     Prezentációk LaTeX-ben
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
-Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
-Suggests:      %{name}-latex-prosper
+Requires:      %{name}-latex-foiltex = %{epoch}:%{version}-%{release}
+Suggests:      %{name}-latex-prosper = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-presentation
 This package contains:
@@ -3108,11 +3481,12 @@ Ez a csomag a következőket tartalmazza:
 Summary:       Chemical packages
 Summary(hu.UTF-8):     Kémiai csomagok
 Group:         Applications/Publishing/TeX
-Group:         Applications/Publishing/TeX
-Requires(post,postun): %{_bindir}/texhash
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
 Suggests:      %{name}-latex-lewis
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-chem
 This package contains:
@@ -3141,6 +3515,9 @@ Summary(hu.UTF-8):        Informatikai csomagok
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-informatic
 This package contains:
@@ -3173,6 +3550,9 @@ Summary(hu.UTF-8):        Különböző eszközök pdf output-hoz
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-pdftools
 This package contains:
@@ -3204,6 +3584,9 @@ Group:            Applications/Publishing/TeX
 Requires(post,postun): /usr/bin/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-latex-microtype
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-microtype
 The `microtype' package provides a LaTeX interface to pdfTeX's
@@ -3227,6 +3610,9 @@ Summary(hu.UTF-8):        Zenék szedése TeX-hel
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-musictex
 Typesetting music with TeX.
@@ -3241,6 +3627,9 @@ Group:            Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-latex-lucidabr
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-lucidabr
 Package to make Lucida Bright fonts usable with LaTeX.
@@ -3257,6 +3646,9 @@ Requires: %{name}-fonts-marvosym = %{epoch}:%{version}-%{release}
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
 Provides:      tetex-latex-marvosym
 Obsoletes:     tetex-latex-marvosym
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-marvosym
 Martin Vogel's Symbol (marvosym) font is a font containing: the Euro
@@ -3282,6 +3674,9 @@ Requires(post,postun):    %{_bindir}/texhash
 Requires:      %{name}-fonts-mflogo = %{epoch}:%{version}-%{release}
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-latex-mflogo
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-mflogo
 LaTeX package and font definition file to access the Knuthian `logo'
@@ -3300,6 +3695,9 @@ Group:            Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-latex-mfnfss
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-mfnfss
 Font description files to use extra fonts like yinit and ygoth.
@@ -3314,6 +3712,9 @@ Group:            Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-latex-minitoc
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-minitoc
 Produce a table of contents for each chapter.
@@ -3328,6 +3729,9 @@ Group:            Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-latex-mltex
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-mltex
 Support for MLTeX, the multilingual TeX extension from Michael J.
@@ -3343,6 +3747,9 @@ Summary(hu.UTF-8):        Többoszlopos számozott listák
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-multienum
 Multi-column enumerated lists.
@@ -3350,13 +3757,15 @@ Multi-column enumerated lists.
 %description latex-multienum -l hu.UTF-8
 Többoszlopos számozott listák.
 
-
 %package latex-moreverb
 Summary:       Extended verbatim
 Summary(hu.UTF-8):     Kiterjesztett verbatim
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-moreverb
 Extended verbatim.
@@ -3370,6 +3779,9 @@ Summary(hu.UTF-8):        Bővített tétel környezet
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-ntheorem
 Enhanced theorem environment.
@@ -3384,6 +3796,9 @@ Group:            Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-platex
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-other
 Other LaTeX packages.
@@ -3397,6 +3812,9 @@ Summary(hu.UTF-8):        Néhány további LaTeX csomag dokumentációja
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-other-doc
 Other LaTeX packages documentation.
@@ -3410,6 +3828,9 @@ Summary(hu.UTF-8):        Prezentáció készítése pdftex-hel
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-pdfslide
 Presentation slides using pdftex.
@@ -3426,6 +3847,9 @@ Requires(post,postun):    %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
 Requires:      %{name}-latex-xcolor = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-pgf
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-pgf
 A macro package for creating graphics directly in TeX and LaTeX.
@@ -3442,6 +3866,9 @@ Summary(hu.UTF-8):        Makrók polinomokkal való műveletekre
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-polynom
 Macros for manipulating polynomials.
@@ -3455,6 +3882,9 @@ Summary(hu.UTF-8):        Egyváltozós polinomok szedése
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-polynomial
 Typeset (univariate) polynomials.
@@ -3468,6 +3898,9 @@ Summary(hu.UTF-8):        További eszközök LaTeX programozásához
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-programming
 This package contains:
@@ -3545,6 +3978,10 @@ Summary(hu.UTF-8):       LaTeX osztály jó minőségű fóliák készítéséhez
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+Requires:      %{name}-xetex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-prosper
 LaTeX class for high quality slides.
@@ -3558,6 +3995,9 @@ Summary(hu.UTF-8):        LaTeX környezet algoritmusok bevitelére
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-pseudocode
 LaTeX enviroment for specifying algorithms in a natural way.
@@ -3576,6 +4016,9 @@ Provides: tetex-latex-psnfss
 Obsoletes:     tetex-latex-mathptm
 Obsoletes:     tetex-latex-mathptmx
 Obsoletes:     tetex-latex-psnfss
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-psnfss
 LaTeX font definition files, macros and font metrics for common
@@ -3591,6 +4034,9 @@ Summary(hu.UTF-8):        PSTricks csomag kétdimenziós görbék rajzolásához
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-tex-pstricks = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-pst-2dplot
 A PSTricks package for drawing 2D curves.
@@ -3604,6 +4050,9 @@ Summary(hu.UTF-8):        3D-s görbék és grafikonok PSTricks-szel
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-tex-pstricks = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-pst-3dplot
 Draw 3d curves and graphs using PSTricks.
@@ -3611,13 +4060,15 @@ Draw 3d curves and graphs using PSTricks.
 %description latex-pst-3dplot -l hu.UTF-8
 3D-s görbék és grafikonok PSTricks-szel.
 
-
 %package latex-pst-bar
 Summary:       Produces bar charts using pstricks
 Summary(hu.UTF-8):     Oszlopdiagramok pstricks-szel
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-tex-pstricks = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-pst-bar
 Produces bar charts using pstricks.
@@ -3631,6 +4082,9 @@ Summary(hu.UTF-8):        PSTricks csomag elektromos áramkörök rajzolásához
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-tex-pstricks = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-pst-circ
 PSTricks package for drawing electric circuits.
@@ -3644,6 +4098,9 @@ Summary(hu.UTF-8):        Diffrakciós képek különböző eszközökön
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-tex-pstricks = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-pst-diffraction
 Print diffraction patterns from various apertures.
@@ -3657,6 +4114,9 @@ Summary(hu.UTF-8):        Euklidészi geometria a pstricks használatával
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-tex-pstricks = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-pst-eucl
 Euclidian geometry with pstricks.
@@ -3664,13 +4124,15 @@ Euclidian geometry with pstricks.
 %description latex-pst-eucl -l hu.UTF-8
 Euklidészi geometria a pstricks használatával.
 
-
 %package latex-pst-fun
 Summary:       Draw "funny" objects with PSTricks
 Summary(hu.UTF-8):     "Vicces" rajzok PSTricks-szel
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-tex-pstricks = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-pst-fun
 Draw "funny" objects with PSTricks.
@@ -3684,6 +4146,9 @@ Summary(hu.UTF-8):        PSTricks csomag matematikai függvények ábrázolásához
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-tex-pstricks = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-pst-func
 PSTricks package for plotting mathematical functions.
@@ -3697,6 +4162,9 @@ Summary(hu.UTF-8):        Háromdimenziós dobozok PSTricks segítségével
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-tex-pstricks = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-pst-fr3d
 Draw 3-dimensional framed boxes using PSTricks.
@@ -3710,6 +4178,9 @@ Summary(hu.UTF-8):        Fraktálok rajzolása PSTricks segítségével
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-tex-pstricks = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-pst-fractal
 Draw fractal sets using PSTricks.
@@ -3723,6 +4194,9 @@ Summary(hu.UTF-8):        Infix kifejezések ábrázolása
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-tex-pstricks = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-pst-infixplot
 Using pstricks plotting capacities with infix expressions rather than
@@ -3737,6 +4211,9 @@ Summary(hu.UTF-8):        PostScript matematikai operátorok bővítése pstricks-szel
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-tex-pstricks = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-pst-math
 Enhancement of PostScript math operators to use with pstricks.
@@ -3750,6 +4227,9 @@ Summary(hu.UTF-8):        Háromdimenziós objektumok PSTricks-szel
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-tex-pstricks = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-pst-ob3d
 Three dimensional objects using PSTricks.
@@ -3763,6 +4243,9 @@ Summary(hu.UTF-8):        Optikai összeállítások rajzolása
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-tex-pstricks = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-pst-optexp
 Drawing optical experimental setups.
@@ -3776,6 +4259,9 @@ Summary(hu.UTF-8):        Optikai ábrák rajzolása
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-tex-pstricks = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-pst-optic
 Drawing optics diagrams.
@@ -3789,6 +4275,9 @@ Summary(hu.UTF-8):        Szöveg és karakter manipulációk PSTricks-szel
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-tex-pstricks = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-pst-text
 Text and character manipulation in PSTricks.
@@ -3802,6 +4291,9 @@ Summary(hu.UTF-8):        Néhány kategorizálatlan PSTricks csomag
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-tex-pstricks = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-pst-uncategorized
 Other uncategorized PSTricks packages.
@@ -3817,6 +4309,9 @@ Requires(post,postun):    %{_bindir}/texhash
 Requires:      %{name}-fonts-px = %{epoch}:%{version}-%{release}
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-latex-pxfonts
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-pxfonts
 PX fonts LaTeX support.
@@ -3830,6 +4325,9 @@ Summary(hu.UTF-8):        Csomag SI egységek, számok és szögek szedésére
 Group:         Applications/Publishing/TeX
 Requires(post,postun): /usr/bin/texhash
 Requires:      %{name}-latex-ams = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-SIstyle
 Package to typeset SI units, numbers and angles.
@@ -3843,6 +4341,9 @@ Summary(hu.UTF-8):        Az SIunits csomag a mennyiségek egységes írásában nyújt
 Group:         Applications/Publishing/TeX
 Requires(post,postun): /usr/bin/texhash
 Requires:      %{name}-latex-ams = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-SIunits
 The SIunits package can be used to standardise the use of units in
@@ -3857,6 +4358,9 @@ Summary(hu.UTF-8):        Egy minden részletre kiterjedő (SI) egységek kezelését v
 Group:         Applications/Publishing/TeX
 Requires(post,postun): /usr/bin/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-siunitx
 A comprehensive (SI) units package.
@@ -3868,6 +4372,9 @@ Egy minden részletre kiterjedő (SI) egységek kezelését végző csomag.
 Summary:       LaTeX sources
 Summary(hu.UTF-8):     LaTeX források
 Group:         Applications/Publishing/TeX
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-sources
 LaTeX sources.
@@ -3881,6 +4388,9 @@ Summary(hu.UTF-8):        Különböző LaTeX stílusok
 Group:         Applications/Publishing/TeX
 Requires(post,postun): /usr/bin/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-styles
 Various LaTeX styles.
@@ -3894,6 +4404,9 @@ Summary(hu.UTF-8):        LaTeX támogatás nem-angol nyelvekhez
 Group:         Applications/Publishing/TeX
 Requires(post,postun): /usr/bin/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-lang
 LaTeX support for non-english languages.
@@ -3906,6 +4419,9 @@ Summary:  Tabbing with accented letters
 Summary(hu.UTF-8):     Tabbing környezet ékezetes betűk használatával
 Group:         Applications/Publishing/TeX
 Requires(post,postun): /usr/bin/texhash
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-Tabbing
 Tabbing with accented letters.
@@ -3921,6 +4437,9 @@ Requires(post,postun):    %{_bindir}/texhash
 Requires:      %{name}-fonts-tx = %{epoch}:%{version}-%{release}
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-latex-txfonts
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-txfonts
 TX fonts LaTeX support.
@@ -3934,6 +4453,9 @@ Summary(hu.UTF-8):        Ez a csomag lehetővé teszi UTF-8 kódolást a LaTeX dokumen
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-ucs
 This package contains support for using UTF-8 as input encoding in
@@ -3949,6 +4471,9 @@ Group:            Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-latex-umlaute
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-umlaute
 An interface to inputenc for using alternate input encodings.
@@ -3965,6 +4490,9 @@ Requires: %{name}-fonts-wasy = %{epoch}:%{version}-%{release}
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
 Provides:      tetex-latex-wasysym
 Obsoletes:     tetex-latex-wasysym
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-wasysym
 Makes some additional characters available that come from the wasy
@@ -3992,6 +4520,9 @@ Summary(hu.UTF-8):        Hozzáférés színekhez, tónusokhoz, átmenetekhez, stb.
 Summary(pl.UTF-8):     Pozwala na dostęp do odcieni, gradientów itp.
 Group:         Applications/Publishing/TeX
 Obsoletes:     tetex-latex-xcolor
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-xcolor
 `xcolor' provides easy driver-independent access to several kinds of
@@ -4018,13 +4549,17 @@ Summary:        PDF LaTeX macro package
 Summary(pl.UTF-8):     Pakiet makr PDF LaTeX
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
+Requires:      %{name} = %{epoch}:%{version}-%{release}
 Requires:      %{name}-fonts-jknappen = %{epoch}:%{version}-%{release}
+Requires:      %{name}-fonts-type1-urw = %{epoch}:%{version}-%{release}
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
 Requires:      %{name}-latex-psnfss = %{epoch}:%{version}-%{release}
-Requires:      %{name}-metafont = %{epoch}:%{version}-%{release}
 Requires:      %{name}-pdftex = %{epoch}:%{version}-%{release}
 Provides:      tetex-format-pdflatex
 Obsoletes:     tetex-format-pdflatex
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description format-pdflatex
 LaTeX is a front end for the TeX text formatting system. Easier to use
@@ -4046,6 +4581,9 @@ Summary(hu.UTF-8):        Néhány szkript
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description scripts
 Various scripts.
@@ -4057,6 +4595,9 @@ Néhány szkript.
 Summary:       TeXLive manager
 Summary(hu.UTF-8):     TeXLive manager
 Group:         Applications/Publishing/TeX
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description tlmgr
 tlmgr manages an existing TeX Live installation, both packages and
@@ -4078,6 +4619,9 @@ Requires(post,postun):    %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Provides:      tetex-tex-babel
 Obsoletes:     tetex-tex-babel
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description tex-babel
 Multilingual support for TeX.
@@ -4093,6 +4637,9 @@ Requires(post,postun):    %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Provides:      tetex-tex-german
 Obsoletes:     tetex-tex-german
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description tex-german
 Supports the new German orthography (neue deutsche Rechtschreibung).
@@ -4106,6 +4653,9 @@ Summary(hu.UTF-8):        TeX makró képek/dobozok beszúrására bekezdésekbe
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description tex-insbox
 A TeX macro for inserting pictures/boxes into paragraphs.
@@ -4120,6 +4670,9 @@ Group:            Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-tex-mfpic
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description tex-mfpic
 Macros which generate Metafont or Metapost for drawing pictures.
@@ -4136,6 +4689,9 @@ Requires: %{name} = %{epoch}:%{version}-%{release}
 Provides:      tetex-tex-misc
 Obsoletes:     tetex-tex-eijkhout
 Obsoletes:     tetex-tex-misc
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description tex-misc
 Miscellaneous TeX macros.
@@ -4150,6 +4706,9 @@ Group:            Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-tex-pictex
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description tex-pictex
 Picture drawing macros for TeX and LaTeX.
@@ -4163,6 +4722,9 @@ Summary(hu.UTF-8):        TeX formátum fizikai kiadványokhoz
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description tex-psizzl
 A TeX format for physics papers.
@@ -4175,9 +4737,13 @@ Summary: PostScript macros for TeX
 Summary(pl.UTF-8):     Makra postscriptowe dla TeXa
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
+Requires:      %{name}-dvips = %{epoch}:%{version}-%{release}
 Requires:      %{name}-tex-misc = %{epoch}:%{version}-%{release}
 Provides:      tetex-tex-pstricks
 Obsoletes:     tetex-tex-pstricks
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description tex-pstricks
 An extensive collection of PostScript macros that is compatible with
@@ -4205,6 +4771,9 @@ Requires: %{name} = %{epoch}:%{version}-%{release}
 Requires:      %{name}-fonts-qpxqtx = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-tex-qpx
 Obsoletes:     tetex-tex-qtx
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description tex-qpxqtx
 QuasiTimes and TX fonts typesetting support.
@@ -4218,6 +4787,9 @@ Summary(hu.UTF-8):        Magyar elválasztás
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description tex-huhyphen
 Hungarian hyphenation.
@@ -4233,6 +4805,9 @@ Requires(post,postun):    %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Provides:      tetex-tex-ruhyphen
 Obsoletes:     tetex-tex-ruhyphen
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description tex-ruhyphen
 A collection of Russian hyphenation patterns supporting a number of
@@ -4252,6 +4827,9 @@ Requires(post,postun):    %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-tex-spanish
 Obsoletes:     tetex-tex-spanishb
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description tex-spanish
 Various TeX related files for typesetting documents written in
@@ -4268,6 +4846,9 @@ Group:            Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-tex-texdraw
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description tex-texdraw
 Graphical macros, using embedded PostScript.
@@ -4282,6 +4863,9 @@ Group:            Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-tex-thumbpdf
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description tex-thumbpdf
 Provides support, using Perl, for thumbnails in pdfTeX and
@@ -4304,6 +4888,9 @@ Requires(post,postun):    %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Provides:      tetex-tex-ukrhyph
 Obsoletes:     tetex-tex-ukrhyph
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description tex-ukrhyph
 This package allows the use of different hyphenation patterns for the
@@ -4322,6 +4909,9 @@ Summary:  Typeset tables of variations of functions
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-variations
 Typeset tables of variations of functions.
@@ -4332,9 +4922,12 @@ Summary(pl.UTF-8):       Wsparcie dla języka wietnamskiego
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
-Obsoletes:     tetex-tex-vietnam
-Obsoletes:     tetex-latex-vietnam
 Obsoletes:     tetex-latex-urwvn
+Obsoletes:     tetex-latex-vietnam
+Obsoletes:     tetex-tex-vietnam
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-vietnam
 Vietnamese language support.
@@ -4349,8 +4942,11 @@ Group:           Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Requires:      %{name}-fonts-xypic = %{epoch}:%{version}-%{release}
-Obsoletes:     tetex-xypic
 Obsoletes:     tetex-tex-xypic
+Obsoletes:     tetex-xypic
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description tex-xypic
 A package for typesetting a variety of graphs and diagrams with TeX.
@@ -4370,6 +4966,9 @@ Group:            Applications/Publishing/TeX
 Requires(post,postun): /usr/bin/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-tex-xkeyval
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description tex-xkeyval
 Extension to keyval package.
@@ -4383,6 +4982,9 @@ Summary(pl.UTF-8):        Katalogi fontów TeXa
 Group:         Fonts
 Provides:      tetex-dirs-fonts
 Obsoletes:     tetex-dirs-fonts
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description dirs-fonts
 TeX font directories.
@@ -4399,6 +5001,9 @@ Group:            Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Provides:      tetex-fonts-adobe
 Obsoletes:     tetex-fonts-adobe
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-adobe
 Adobe fonts.
@@ -4410,6 +5015,9 @@ Fonty Adobe.
 Summary:       Larm (cyrillic) fonts
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-larm
 Larm (cyrillic) fonts.
@@ -4420,6 +5028,9 @@ Summary(pl.UTF-8):        Wirtualne fonty do plików PDF z fontami CMR o kodowaniu T1
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-ae
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-ae
 Virtual fonts for PDF-files with T1 encoded CMR-fonts.
@@ -4435,6 +5046,9 @@ Requires: %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Requires:      %{name}-latex-bibtex = %{epoch}:%{version}-%{release}
 Provides:      tetex-fonts-ams
 Obsoletes:     tetex-fonts-ams
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-ams
 AMS fonts.
@@ -4448,6 +5062,9 @@ Summary(pl.UTF-8):        Antykwa Półtawskiego - rodzina tradycyjnych polskich czcion
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-antp
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-antp
 Antykwa Poltawskiego, a Type 1 family of Polish traditional type.
@@ -4462,6 +5079,9 @@ Summary(pl.UTF-8):        Antykwa Toruńska - rodzina tradycyjnych polskich czcionek ja
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-antt
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-antt
 Antykwa Torunska, a Type 1 family of a Polish traditional type.
@@ -4473,6 +5093,9 @@ Antykwa Toruńska - rodzina tradycyjnych polskich czcionek jako Type 1.
 Summary:       Arphic fonts
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-arphic
 Arphic fonts.
@@ -4483,6 +5106,9 @@ Summary(pl.UTF-8):        Tablicowy wariant fontów Computer Modern ze wsparciem dla La
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-bbm
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-bbm
 Blackboard variant fonts for Computer Modern, with LaTeX support.
@@ -4496,6 +5122,9 @@ Summary(pl.UTF-8):        Tablicowy tłusty font sans serif dla LaTeXa
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-bbold
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-bbold
 Sans serif blackboard bold for LaTeX.
@@ -4508,7 +5137,10 @@ Summary: Bitstream fonts
 Summary(pl.UTF-8):     Fonty Bitstream
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
-Obsoletes:     tetex-fonts-bitstrea
+Obsoletes:     tetex-fonts-bitstream
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-bitstream
 Bitstream fonts.
@@ -4522,6 +5154,9 @@ Summary(pl.UTF-8):        Polska wersja fontów Computer Concrete
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-cc-pl
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-cc-pl
 Polish version of Computer Concrete fonts.
@@ -4535,6 +5170,9 @@ Summary(pl.UTF-8):        Fonty Compugraphic
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-cg
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-cg
 Compugraphic fonts.
@@ -4549,6 +5187,9 @@ Group:            Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Provides:      tetex-fonts-cm
 Obsoletes:     tetex-fonts-cm
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-cm
 Computer Modern fonts.
@@ -4562,6 +5203,9 @@ Summary(pl.UTF-8):        Fonty CM Bright
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-cmbright
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-cmbright
 CM Bright fonts.
@@ -4574,6 +5218,9 @@ Summary:  CM Super fonts
 Summary(hu.UTF-8):     CM Super betűtípus
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-cmsuper
 CM Super fonts.
@@ -4589,6 +5236,10 @@ Group:           Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Provides:      tetex-fonts-cmcyr
 Obsoletes:     tetex-fonts-cmcyr
+Obsoletes:     texlive-fonts-type1-cmcyr
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-cmcyr
 Computer Modern fonts extended with Russian letters.
@@ -4603,6 +5254,9 @@ Group:            Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Provides:      tetex-fonts-cmextra
 Obsoletes:     tetex-fonts-cmextra
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-cmextra
 Extra Computer Modern fonts, from the American Mathematical Society.
@@ -4616,6 +5270,9 @@ Summary(pl.UTF-8):        Fonty matematyczne Concrete Math
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-concmath
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-concmath
 Concrete Math fonts.
@@ -4629,6 +5286,9 @@ Summary(pl.UTF-8):        Fonty Concrete Roman
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-concrete
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-concrete
 Concrete Roman fonts, designed by Donald E. Knuth, originally for use
@@ -4644,6 +5304,9 @@ Summary(pl.UTF-8):        Fonty MetaFont Computer Modern dla języków czeskiego i sło
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-cs
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-cs
 Czech/Slovak-tuned MetaFont Computer Modern fonts.
@@ -4658,6 +5321,9 @@ Summary(pl.UTF-8):        Źródła dla fontów European Concrete
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-ecc
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-ecc
 The MetaFont sources and tfm files of the European Concrete Fonts.
@@ -4675,6 +5341,9 @@ Summary(pl.UTF-8):        Symbol nowej europejskiej waluty Euro
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-eurosym
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-eurosym
 The new European currency symbol for the Euro implemented in Metafont,
@@ -4692,6 +5361,9 @@ Summary(pl.UTF-8):        Fonty Virtual Euler Math
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-eulervm
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-eulervm
 Euler-VM is a set of _virtual_ math fonts based on Euler and CM. This
@@ -4713,6 +5385,9 @@ Summary(pl.UTF-8):        Fonty podobne do EUSM, ale z dwoma dodatkowymi znakami
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-euxm
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-euxm
 Fonts like EUSM but with two more characters needed for Concrete Math
@@ -4728,6 +5403,9 @@ Summary(pl.UTF-8):        Początkowe fonty gotyckie i ornamentowe Yannisa Haralambousa
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-gothic
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-gothic
 Gothic and ornamental initial fonts by Yannis Haralambous.
@@ -4741,6 +5419,9 @@ Summary(pl.UTF-8):        Przekonwertowany font mflogo
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-hoekwater
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-hoekwater
 Fonts originally created in MetaFont, transformed to PostScript by
@@ -4757,8 +5438,14 @@ Summary: Miscellaneous packages by Joerg Knappen
 Summary(pl.UTF-8):     Różne pakiety autorstwa Joerga Knappena
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
+Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
 Provides:      tetex-fonts-jknappen
 Obsoletes:     tetex-fonts-jknappen
+Obsoletes:     tetex-latex-jknappen
+Obsoletes:     texlive-latex-jknappen
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-jknappen
 Miscellaneous macros, mostly for making use of extra fonts, by Joerg
@@ -4773,6 +5460,9 @@ Summary:  A complete set of fonts for text and mathematics
 Summary(hu.UTF-8):     Betűtípusok teljes készlete (matematikai) szövegekhez
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-kpfonts
 A complete set of fonts for text and mathematics.
@@ -4787,6 +5477,9 @@ Group:            Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Provides:      tetex-fonts-latex
 Obsoletes:     tetex-fonts-latex
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-latex
 Basic LaTeX fonts.
@@ -4800,6 +5493,9 @@ Summary(pl.UTF-8):        Fonty LH Olgi Lapko
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-lh
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-lh
 The lh fonts for the `T2'/X2 encodings (for cyrillic languages).
@@ -4813,6 +5509,9 @@ Summary(pl.UTF-8):        Fonty z rodziny Latin Modern
 Group:         Applications/Publishing/TeX
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-lm
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-lm
 Latin Modern family of fonts, based on the Computer Modern fonts
@@ -4842,6 +5541,9 @@ Summary(pl.UTF-8):        Font Symbol Martina Vogela (marvosym)
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-marvosym
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-marvosym
 Martin Vogel's Symbol (marvosym) font is a font containing: the Euro
@@ -4865,6 +5567,9 @@ Summary(pl.UTF-8):        Fonty logo
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-mflogo
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-mflogo
 Logo fonts.
@@ -4878,6 +5583,9 @@ Summary(pl.UTF-8):        Różne fonty
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-misc
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-misc
 Miscellaneous fonts.
@@ -4891,6 +5599,9 @@ Summary(pl.UTF-8):        Fonty Monotype
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-monotype
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-monotype
 Monotype fonts.
@@ -4904,6 +5615,9 @@ Summary(pl.UTF-8):        Fonty dla Omegi - TeXa ze wsparciem dla unikodu
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-omega
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-omega
 Fonts for Omega - extended unicode TeX.
@@ -4923,6 +5637,9 @@ Obsoletes:        tetex-fonts-type1-dstroke
 Obsoletes:     tetex-fonts-type1-qfonts
 Obsoletes:     tetex-fonts-type1-tt2001
 Obsoletes:     tetex-qfonts
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-other
 Other fonts.
@@ -4936,6 +5653,9 @@ Summary(pl.UTF-8):        Polskie fonty
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-pl
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-pl
 Polish fonts.
@@ -4949,6 +5669,9 @@ Summary(pl.UTF-8):        Fonty PX
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-px
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-px
 PX fonts.
@@ -4966,6 +5689,9 @@ Requires: %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Requires:      %{name}-fonts-tx = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-qpx
 Obsoletes:     tetex-fonts-qtx
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-qpxqtx
 Additional fonts for QTX package.
@@ -4979,6 +5705,9 @@ Summary(pl.UTF-8):        Fonty wielkich liter pisanych do składania dokumentów nauko
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-rsfs
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-rsfs
 Fonts of uppercase script letters for use as symbols in scientific and
@@ -4999,6 +5728,9 @@ Group:            Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Provides:      tetex-fonts-stmaryrd
 Obsoletes:     tetex-fonts-stmaryrd
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-stmaryrd
 St Mary Road symbols for functional programming.
@@ -5012,6 +5744,9 @@ Summary(pl.UTF-8):        Fonty TX
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-tx
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-tx
 TX fonts.
@@ -5023,6 +5758,9 @@ Fonty TX.
 Summary:       UHC fonts
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-uhc
 UHC fonts.
@@ -5033,6 +5771,9 @@ Summary(pl.UTF-8):        Fonty URW
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-urw
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-urw
 URW fonts.
@@ -5046,6 +5787,9 @@ Summary(pl.UTF-8):        Fonty URWVN
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-urwvn
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-urwvn
 URWVN fonts.
@@ -5059,6 +5803,9 @@ Summary(pl.UTF-8):        Fonty VNR
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-vnr
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-vnr
 VNR fonts.
@@ -5072,6 +5819,9 @@ Summary(hu.UTF-8):        urw35vf betűtípus
 Summary(pl.UTF-8):     Fonty urw35vf
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-urw35vf
 urw35vf fonts.
@@ -5083,6 +5833,9 @@ urw35vf betűtípus.
 Summary:       Wadalab fonts
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-wadalab
 Wadalab fonts.
@@ -5094,6 +5847,9 @@ Group:            Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Provides:      tetex-fonts-wasy
 Obsoletes:     tetex-fonts-wasy
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-wasy
 Waldis symbol fonts.
@@ -5107,6 +5863,9 @@ Summary(pl.UTF-8):        Fonty Xy-pic
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-xypic
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-xypic
 Xy-pic fonts.
@@ -5120,6 +5879,9 @@ Summary(pl.UTF-8):        Fonty European Modern od Y&Y
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-yandy
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-yandy
 European Modern fonts from Y&Y.
@@ -5133,6 +5895,9 @@ Summary(pl.UTF-8):        Antykwa Półtawskiego - rodzina tradycyjnych polskich czcion
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-type1-antp
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-type1-antp
 Antykwa Poltawskiego, a Type 1 family of Polish traditional type.
@@ -5147,6 +5912,9 @@ Summary(pl.UTF-8):        Antykwa Toruńska - rodzina tradycyjnych polskich czcionek ja
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-type1-antt
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-type1-antt
 Antykwa Torunska, a Type 1 family of a Polish traditional type.
@@ -5158,6 +5926,9 @@ Antykwa Toruńska - rodzina tradycyjnych polskich czcionek jako Type 1.
 Summary:       Type1 Arphic fonts
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-type1-arphic
 Type1 Arphic fonts.
@@ -5168,6 +5939,9 @@ Summary(pl.UTF-8):        Wolnodostępny zamiennik podstawowych fontów MathTime
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-type1-belleek
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-type1-belleek
 Free replacement for basic MathTime fonts.
@@ -5181,6 +5955,9 @@ Summary(pl.UTF-8):        Fonty Bitstream
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-type1-bitstrea
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-type1-bitstream
 Bitstream fonts.
@@ -5195,6 +5972,9 @@ Group:            Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Provides:      tetex-fonts-type1-bluesky
 Obsoletes:     tetex-fonts-type1-bluesky
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-type1-bluesky
 Computer Modern family fonts.
@@ -5208,6 +5988,9 @@ Summary(pl.UTF-8):        Polska wersja fontów Computer Concrete
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-type1-cc-pl
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-type1-cc-pl
 Polish version of Computer Concrete fonts.
@@ -5234,6 +6017,9 @@ Summary(pl.UTF-8):        Fonty MetaFont Computer Modern dla języków czeskiego i sło
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-type1-cs
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-type1-cs
 Czech/Slovak-tuned MetaFont Computer Modern fonts.
@@ -5248,6 +6034,9 @@ Summary(pl.UTF-8):        Symbol nowej europejskiej waluty Euro
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-type1-eurosym
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-type1-eurosym
 The new European currency symbol for the Euro implemented in Metafont,
@@ -5265,6 +6054,9 @@ Summary(pl.UTF-8):        Przekonwertowany font mflogo
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-type1-hoekwater
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-type1-hoekwater
 Fonts originally created in MetaFont, transformed to PostScript by
@@ -5282,6 +6074,9 @@ Summary(pl.UTF-8):        Fonty SC/OsF dla URW Palladio L
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-type1-fpl
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-type1-fpl
 The FPL Fonts provide a set of SC/OsF fonts for URW Palladio L which
@@ -5344,6 +6139,9 @@ Summary(pl.UTF-8):        Font Symbol Martina Vogela (marvosym)
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-type1-marvosym
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-type1-marvosym
 Martin Vogel's Symbol (marvosym) font is a font containing: the Euro
@@ -5367,6 +6165,9 @@ Summary(pl.UTF-8):        Fonty matematyczne Pazo Math
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-type1-mathpazo
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-type1-mathpazo
 Pazo Math fonts.
@@ -5380,6 +6181,9 @@ Summary(pl.UTF-8):        Fonty Type1 dla Omegi - TeXa ze wsparciem dla unikodu
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-type1-omega
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-type1-omega
 Type1 fonts for Omega - extended unicode TeX.
@@ -5394,6 +6198,9 @@ Group:            Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Requires:      %{name}-fonts-type1-bluesky = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-type1-pl
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-type1-pl
 Polish fonts.
@@ -5407,6 +6214,9 @@ Summary(pl.UTF-8):        Fonty PX
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-type1-px
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-type1-px
 PX fonts.
@@ -5420,6 +6230,9 @@ Summary(pl.UTF-8):        Fonty TX
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-type1-tx
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-type1-tx
 TX fonts.
@@ -5431,6 +6244,9 @@ Fonty TX.
 Summary:       Type1 UHC fonts
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-type1-uhc
 Type1 UHC fonts.
@@ -5442,6 +6258,9 @@ Group:            Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Provides:      tetex-fonts-type1-urw
 Obsoletes:     tetex-fonts-type1-urw
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-type1-urw
 URW fonts.
@@ -5455,6 +6274,9 @@ Summary(pl.UTF-8):        Fonty Type1 VNR
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-type1-vnr
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-type1-vnr
 Type1 VNR fonts.
@@ -5466,6 +6288,9 @@ Fonty Type1 VNR.
 Summary:       Type1 Wadalab fonts
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-type1-wadalab
 Type1 Wadalab fonts.
@@ -5476,6 +6301,9 @@ Summary(pl.UTF-8):        Fonty Xy-pic
 Group:         Fonts
 Requires:      %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-type1-xypic
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-type1-xypic
 Xy-pic fonts.
@@ -5523,7 +6351,7 @@ Summary:  Various DVI utils
 Summary(hu.UTF-8):     Vegyes DVI eszközök
 Group:         Applications/Publishing/TeX
 Provides:      dvi2tty
-Conflicts:     dvi2tty
+Obsoletes:     dvi2tty
 
 %description dviutils
 This package contains various DVI utils.
@@ -5531,21 +6359,6 @@ This package contains various DVI utils.
 %description dviutils -l hu.UTF-8
 Ez a csomag mindenféle DVI eszközt tartalmaz.
 
-%package epsutils
-Summary:       Various EPS utils
-Group:         Applications/Publishing/TeX
-Conflicts:     psutils
-
-%description epsutils
-Various EPS (Encapsulated PostScript) utils.
-
-%package filters
-Summary:       Various filters
-Group:         Applications/Publishing/TeX
-
-%description filters
-Various filters.
-
 %package uncategorized-utils
 Summary:       Uncategorized utils
 Group:         Applications/Publishing/TeX
@@ -5579,13 +6392,31 @@ fonts.
 Summary:       TeX package for processing XML files
 Group:         Applications/Publishing/TeX
 Requires(post,postun): /usr/bin/texhash
+Provides:      passivetex = 1.26
 Provides:      xmltex
+Obsoletes:     passivetex
 Obsoletes:     xmltex
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description xmltex
 XMLTeX is a non-validating, namespace-aware XML parser written in TeX.
 It allows TeX to directly process XML files.
 
+%package luatex
+Summary:       Extended version of pdfTeX using Lua as an embedded scripting language
+Summary(pl.UTF-8):     Rozszerzona wersja pdfTeXa wykorzystująca Lua jako wbudowany język skryptowy
+Group:         Applications/Publishing/TeX
+Requires(post,postun): /usr/bin/texhash
+
+%description luatex
+LuaTeX is an extended version of pdfTeX using Lua as an embedded
+scripting language.
+
+%description luatex -l pl.UTF-8
+LuaTeX to rozszerzona wersja pdfTeXa, wykorzystująca Lua jako
+wbudowany język skryptowy.
 
 %prep
 %setup -q -c -T -n %{name}-%{version}-source
@@ -5593,32 +6424,40 @@ lzma -dc %{SOURCE0} | tar xf - -C ..
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-CURDIR=$(pwd)
+%patch3 -p1
+%patch5 -p1
+%patch6 -p0
+%patch7 -p1
+%patch8 -p1
+%patch10 -p1
+%patch11 -p1
+%patch12 -p1
+%patch13 -p1
 
+CURDIR=$(pwd)
 cd utils/xindy/make-rules/alphabets
 tar xvf %{SOURCE11}
 cp $(find fonts -type f) .
 for i in larm?00.tfm; do ln -s $i $(echo $i | sed "s@larm\(.\).*@larm0\100.tfm@") ; done
 cd ${CURDIR}
 
+%build
+find . -name "config.sub" -exec cp /usr/share/automake/config.sub '{}' ';'
+%{__sed} -i 's@"extend/\(.*\)"@<\1>@' texk/ttf2pk/*.c
+%{__sed} -e 's@^TEXMFMAIN =.*@TEXMFMAIN = %{texmf}@' \
+       -e 's@^TEXMFDIST =.*@TEXMFDIST = %{texmfdist}@' \
+       -e 's@^TEXMFLOCAL =.*@TEXMFLOCAL = %{texmf}@' \
+       -e 's@^TEXMFSYSVAR =.*@TEXMFSYSVAR = %{_localstatedir}@' \
+       -e 's@^TEXMFSYSCONFIG =.*@TEXMFSYSCONFIG = %{_sysconfdir}/%{name}@' \
+       -e 's@^TEXMFVAR =.*@TEXMFVAR = %{_localstatedir}@' \
+       -e 's@^trie_size.*@trie_size = 1262000@' -i texk/kpathsea/texmf.cnf
+
 cd libs/teckit
 cat ax*.m4 > acinclude.m4
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
 %{__automake}
-
-%build
-find . -name "config.sub" -exec cp /usr/share/automake/config.sub '{}' ';'
-%{__sed} -i 's@"extend/\(.*\)"@<\1>@' texk/ttf2pk/*.c
-cd texk/kpathsea
-%{__sed} -i 's@^TEXMFMAIN =.*@TEXMFMAIN = %{texmf}@' texmf.cnf
-%{__sed} -i 's@^TEXMFDIST =.*@TEXMFDIST = %{texmfdist}@' texmf.cnf
-%{__sed} -i 's@^TEXMFLOCAL =.*@TEXMFLOCAL = %{texmf}@' texmf.cnf
-%{__sed} -i 's@^TEXMFSYSVAR =.*@TEXMFSYSVAR = %{_localstatedir}@' texmf.cnf
-%{__sed} -i 's@^TEXMFSYSCONFIG =.*@TEXMFSYSCONFIG = %{_sysconfdir}/%{name}@' texmf.cnf
-%{__sed} -i 's@^TEXMFVAR =.*@TEXMFVAR = %{_localstatedir}@' texmf.cnf
-%{__sed} -i 's@^trie_size.*@trie_size = 1262000@' texmf.cnf
 cd ../..
 
 %ifarch ppc ppc64
@@ -5626,11 +6465,11 @@ cd ../..
 ulimit -s unlimited
 %endif
 
-%configure \
-%if %{with bootstrap}
-       --without-xindy \
-%endif
-       --without-luatex \
+install -d build/utils/xindy/make-rules/alphabets
+for f in utils/xindy/make-rules/alphabets/larm????.* ; do ln -sf ../../../../../$f build/$f ; done
+cd build
+../%configure \
+       --with-xindy%{!?with_xindy:=no}\
        --disable-multiplatform \
        --disable-static \
        --enable-a4 \
@@ -5669,6 +6508,10 @@ install -d $RPM_BUILD_ROOT%{_datadir} \
        $RPM_BUILD_ROOT%{fmtdir}/pdftex
 
 lzma -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_datadir}
+
+# we don't care that our tex is more than 5 years old
+patch --directory=$RPM_BUILD_ROOT%{_datadir}/texlive-20080822-texmf -p1 < %{PATCH9}
+
 %{__mv} $RPM_BUILD_ROOT%{_datadir}/texlive-20080822-texmf/texmf $RPM_BUILD_ROOT%{texmf}
 %{__mv} $RPM_BUILD_ROOT%{_datadir}/texlive-20080822-texmf/texmf-dist $RPM_BUILD_ROOT%{texmfdist}
 %{__mv} $RPM_BUILD_ROOT%{_datadir}/texlive-20080822-texmf/texmf-doc $RPM_BUILD_ROOT%{texmfdoc}
@@ -5694,7 +6537,7 @@ install -d $RPM_BUILD_ROOT%{texmf}/fonts/opentype/public
 
 LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir}; export LD_LIBRARY_PATH
 
-%{__make} install \
+%{__make} -C build install \
        prefix=$RPM_BUILD_ROOT%{_prefix} \
        bindir=$RPM_BUILD_ROOT%{_bindir} \
        mandir=$RPM_BUILD_ROOT%{_mandir} \
@@ -5787,6 +6630,8 @@ install %{SOURCE60} $RPM_BUILD_ROOT%{perl_vendorlib}/TeXLive
 install %{SOURCE61} $RPM_BUILD_ROOT%{perl_vendorlib}/TeXLive
 install %{SOURCE62} $RPM_BUILD_ROOT%{perl_vendorlib}/TeXLive
 
+install -d $RPM_BUILD_ROOT%{texmf}/tex/latex/misc
+
 cd $RPM_BUILD_ROOT%{texmfdist}/tex/latex
 
 # floatflt
@@ -5796,15 +6641,36 @@ latex floatflt.ins
 %{__rm} *.log
 install -d $RPM_BUILD_ROOT%{texmfdist}/doc/latex/floatflt
 %{__mv} *.txt *.tex *.pdf README $RPM_BUILD_ROOT%{texmfdist}/doc/latex/floatflt
-cd $RPM_BUILD_ROOT%{texmfdist}
+cd ..
+
+# foiltex
+unzip %{SOURCE12}
+cd foiltex
+latex foiltex.ins
+%{__rm} *.log
+install -d $RPM_BUILD_ROOT%{texmfdist}/doc/latex/foiltex
+%{__mv} *.tex *.pdf README $RPM_BUILD_ROOT%{texmfdist}/doc/latex/foiltex
+cd ..
 
 # larm fonts
+cd $RPM_BUILD_ROOT%{texmfdist}
 tar xvf %{SOURCE11}
 cd fonts/tfm/la
 for i in larm?00.tfm; do ln -s $i $(echo $i | sed "s@larm\(.\).*@larm0\100.tfm@") ; done
 
+# wrong dvi in formlett, should be regenerate
+cd $RPM_BUILD_ROOT%{texmfdist}/doc/latex/formlett
+cp $RPM_BUILD_ROOT%{texmfdist}/tex/latex/formlett/formlett.sty .
+tex user_manual.tex
+yes | tex prog_manual.tex
+tex example1.tex
+tex example2.tex
+%{__rm} formlett.sty
+
 cd $CURDIR
 
+# some tex-files need xstring.tex and doc/latex isn't in kpathsea search path
+cp $RPM_BUILD_ROOT%{texmfdist}/doc/latex/xstring/xstring.tex $RPM_BUILD_ROOT%{texmfdist}/tex/latex/xstring
 
 #install %{SOURCE7} $RPM_BUILD_ROOT%{_bindir}
 #touch $RPM_BUILD_ROOT/etc/sysconfig/tetex-updmap/maps.lst
@@ -5826,7 +6692,7 @@ cd $CURDIR
 %{__rm} -r $RPM_BUILD_ROOT%{texmf}/doc/man
 %{__rm} -r $RPM_BUILD_ROOT%{texmfdoc}/source
 
-perl -pi \
+%{__perl} -pi \
        -e "s|$RPM_BUILD_ROOT||g;" \
        $RPM_BUILD_ROOT%{texmf}/web2c/texmf.cnf
 
@@ -5838,37 +6704,20 @@ install %{SOURCE6} $RPM_BUILD_ROOT%{_pixmapsdir}
 # not included in package
 rm -f $RPM_BUILD_ROOT%{_datadir}/texinfo/html/texi2html.html
 rm -f $RPM_BUILD_ROOT%{_infodir}/dir*
-rm -f $RPM_BUILD_ROOT%{_infodir}/dvipng*
-rm -f $RPM_BUILD_ROOT%{_mandir}/{README.*,hu/man1/readlink.1*}
-rm -f $RPM_BUILD_ROOT%{texmf}/doc/Makefile
-rm -f $RPM_BUILD_ROOT%{texmf}/doc/fonts/oldgerman/COPYING
-rm -f $RPM_BUILD_ROOT%{texmf}/doc/help/Catalogue-upd.sh
-rm -f $RPM_BUILD_ROOT%{texmf}/doc/help/faq/uktug-faq-upd.sh
-rm -f $RPM_BUILD_ROOT%{texmf}/doc/helpfile
-rm -f $RPM_BUILD_ROOT%{texmf}/doc/helpindex.html
-rm -f $RPM_BUILD_ROOT%{texmf}/doc/index.html
-rm -f $RPM_BUILD_ROOT%{texmf}/doc/index.php
-rm -f $RPM_BUILD_ROOT%{texmf}/doc/mkhtml*
-rm -f $RPM_BUILD_ROOT%{texmf}/doc/programs/texinfo.*
-rm -f $RPM_BUILD_ROOT%{texmf}/fonts/pk/ljfour/lh/lh-lcy/*.600pk
-rm -f $RPM_BUILD_ROOT%{texmf}/generic/config/pdftex-dvi.tex
-rm -f $RPM_BUILD_ROOT%{texmf}/release-tetex-{src,texmf}.txt
-rm -f $RPM_BUILD_ROOT%{texmf}/scripts/uniqleaf/uniqleaf.pl
-rm -f $RPM_BUILD_ROOT%{texmf}/tex/generic/pdftex/glyphtounicode.tex
-rm -rf $RPM_BUILD_ROOT%{_datadir}/lcdf-typetools
-rm -rf $RPM_BUILD_ROOT%{texmfdist}/doc/generic/pdf-trans
-rm -rf $RPM_BUILD_ROOT%{texmfdist}/source/generic/hyph-utf8
-rm -rf $RPM_BUILD_ROOT%{texmfdist}/source/generic/patch
-rm -rf $RPM_BUILD_ROOT%{texmfdist}/source/plain/plgraph
-rm -rf $RPM_BUILD_ROOT%{texmfdist}/tex/generic/pdf-trans
-rm -rf $RPM_BUILD_ROOT%{texmfdist}/tex/generic/xecyr
-rm -rf $RPM_BUILD_ROOT%{texmf}/cef5conv
-rm -rf $RPM_BUILD_ROOT%{texmf}/cefsconv
-rm -rf $RPM_BUILD_ROOT%{texmf}/chktex
-rm -rf $RPM_BUILD_ROOT%{texmf}/doc/cef5conv
-rm -rf $RPM_BUILD_ROOT%{texmf}/doc/cefsconv
-rm -rf $RPM_BUILD_ROOT%{texmf}/doc/chktex
-rm -rf $RPM_BUILD_ROOT%{texmf}/doc/gzip
+%{__rm} $RPM_BUILD_ROOT%{_infodir}/dvipng*
+%{__rm} $RPM_BUILD_ROOT%{texmf}/tex/generic/pdftex/glyphtounicode.tex
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/lcdf-typetools
+%{__rm} -r $RPM_BUILD_ROOT%{texmfdist}/doc/generic/pdf-trans
+%{__rm} -r $RPM_BUILD_ROOT%{texmfdist}/source/generic/hyph-utf8
+%{__rm} -r $RPM_BUILD_ROOT%{texmfdist}/source/generic/patch
+%{__rm} -r $RPM_BUILD_ROOT%{texmfdist}/source/plain/plgraph
+%{__rm} -r $RPM_BUILD_ROOT%{texmfdist}/tex/generic/pdf-trans
+%{__rm} -r $RPM_BUILD_ROOT%{texmfdist}/tex/generic/xecyr
+%{__rm} -r $RPM_BUILD_ROOT%{texmf}/chktex
+%{__rm} -r $RPM_BUILD_ROOT%{texmf}/doc/cef5conv
+%{__rm} -r $RPM_BUILD_ROOT%{texmf}/doc/cefsconv
+%{__rm} -r $RPM_BUILD_ROOT%{texmf}/doc/chktex
+%{__rm} -r $RPM_BUILD_ROOT%{texmf}/doc/gzip
 
 # move format logs to BUILD, so $RPM_BUILD_ROOT is not polluted
 # and we can still analyze them
@@ -5876,8 +6725,10 @@ rm -rf $RPM_BUILD_ROOT%{texmf}/doc/gzip
 # mv -fv $RPM_BUILD_ROOT%{fmtdir}/*.log format-logs
 
 # xindy files are in %%{texmf}
-rm -rf $RPM_BUILD_ROOT%{_datadir}/xindy
-rm -rf $RPM_BUILD_ROOT%{_datadir}/doc
+%if %{with xindy}
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/xindy
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}
+%endif
 
 # Create format files
 for format in \
@@ -5887,6 +6738,7 @@ for format in \
        lambda \
        lamed \
        latex \
+       mex \
        mllatex \
        mptopdf \
        omega \
@@ -5903,7 +6755,7 @@ for format in \
        xelatex \
        xmltex; do
 %if %{with bootstrap}
-       mkdir -p $RPM_BUILD_ROOT%{fmtdir}/${format}
+       install -d $RPM_BUILD_ROOT%{fmtdir}/${format}
        touch $RPM_BUILD_ROOT%{fmtdir}/${format}/${format}.fmt
        touch $RPM_BUILD_ROOT%{fmtdir}/pdftex/${format}.fmt
 %else
@@ -5913,8 +6765,43 @@ done
 %if %{with bootstrap}
 touch $RPM_BUILD_ROOT%{fmtdir}/xetex/xelatex.fmt
 %endif
+
+%{__sed} -i -e '1s,/usr/bin/env perl,%{__perl},' \
+       $RPM_BUILD_ROOT%{_bindir}/{extractres,fix{dlsr,fm,mac,psdit,psp,scribe,tp,wfw,wp,ww}ps,includeres,psmerge} \
+%if %{with xindy}
+       $RPM_BUILD_ROOT%{_bindir}/{texindy,xindy} \
+%endif
+       $RPM_BUILD_ROOT%{texmf}/scripts/tetex/{e2pall,texdoctk}.pl \
+       $RPM_BUILD_ROOT%{texmf}/scripts/texlive/{getnonfreefonts,tlmgr}.pl \
+       $RPM_BUILD_ROOT%{texmf}/scripts/texlive/tlmgrgui/{tlmgrgui,tlmgrgui-real}.pl \
+       $RPM_BUILD_ROOT%{texmf}/scripts/xindy/{texindy,xindy}.pl \
+       $RPM_BUILD_ROOT%{texmfdist}/doc/bibtex/bibhtml/bibhtml \
+       $RPM_BUILD_ROOT%{texmfdist}/doc/latex/urlbst/urlbst \
+       $RPM_BUILD_ROOT%{texmfdist}/doc/latex/register/reg_list.pl \
+       $RPM_BUILD_ROOT%{texmfdist}/scripts/glossaries/makeglossaries \
+       $RPM_BUILD_ROOT%{texmfdist}/scripts/mkjobtexmf/mkjobtexmf.pl \
+       $RPM_BUILD_ROOT%{texmfdist}/scripts/perltex/perltex.pl \
+       $RPM_BUILD_ROOT%{texmfdist}/scripts/tex4ht/mk4ht.pl \
+       $RPM_BUILD_ROOT%{texmfdist}/scripts/texcount/TeXcount.pl \
+       $RPM_BUILD_ROOT%{texmfdist}/source/latex/latex-tds/build.pl
+
+%{__sed} -i -e '1s,/usr/bin/env python,%{__python},' \
+       $RPM_BUILD_ROOT%{texmfdist}/doc/generic/enctex/unimap.py \
+       $RPM_BUILD_ROOT%{texmfdist}/scripts/bengali/ebong.py \
+       $RPM_BUILD_ROOT%{texmfdist}/scripts/dviasm/dviasm.py
+
+%{__sed} -i -e '1s,/usr/bin/env ruby,%{__ruby},' \
+       $RPM_BUILD_ROOT%{texmfdist}/scripts/context/ruby/{texmfstart,kpseserver,kpseclient}.rb \
+       $RPM_BUILD_ROOT%{texmfdist}/scripts/epspdf/{epspdf,epspdftk}.rb
+
+%{__sed} -i -e '1s,/usr/bin/env texlua,%{_bindir}/texlua,' \
+       $RPM_BUILD_ROOT%{texmf}/scripts/texlive/{rungs,test-tlpdb,texconf,texdoc}.tlu \
+       $RPM_BUILD_ROOT%{texmf}/scripts/texlive/gswin32/*.tlu \
+       $RPM_BUILD_ROOT%{texmfdist}/scripts/context/stubs/unix/{luatools,mtxrun} \
+       $RPM_BUILD_ROOT%{texmfdist}/scripts/ppower4/{ppower4,pdfthumb}.texlua
+
 # We don't need the log files
-rm -f $(find $RPM_BUILD_ROOT%{fmtdir} -name "*.log")
+find $RPM_BUILD_ROOT%{fmtdir} -name "*.log" | xargs -r %{__rm}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -5929,20 +6816,32 @@ if [ "$1" = "1" ]; then
        %texhash
 fi
 
+%post other-utils
+%texhash
+
+%postun other-utils
+%texhash
+
+%post jadetex
+%texhash
+
+%postun jadetex
+%texhash
+
 %post -n kpathsea
 /sbin/ldconfig
-%fixinfodir
 %texhash
 
 %postun -n kpathsea
 /sbin/ldconfig
-%fixinfodir
 %texhash
 
 %post -n kpathsea-devel
+%fixinfodir
 %texhash
 
 %postun -n kpathsea-devel
+%fixinfodir
 %texhash
 
 %post dvips
@@ -6025,12 +6924,6 @@ fi
 %postun tex-ytex
 %texhash
 
-%post metafont
-%texhash
-
-%postun metafont
-%texhash
-
 %post metapost
 %texhash
 
@@ -6518,6 +7411,12 @@ fi
 %postun latex-float
 %texhash
 
+%post latex-foiltex
+%texhash
+
+%postun latex-foiltex
+%texhash
+
 %post latex-formlett
 %texhash
 
@@ -6536,12 +7435,6 @@ fi
 %postun latex-gbrief
 %texhash
 
-%post latex-jknappen
-%texhash
-
-%postun latex-jknappen
-%texhash
-
 %post latex-keystroke
 %texhash
 
@@ -6968,6 +7861,12 @@ fi
 %postun latex-vietnam
 %texhash
 
+%post tex-xkeyval
+%texhash
+
+%postun tex-xkeyval
+%texhash
+
 %post tex-xypic
 %texhash
 
@@ -7394,6 +8293,12 @@ fi
 %postun xmltex
 %texhash
 
+%post luatex
+%texhash
+
+%postun luatex
+%texhash
+
 %files
 %defattr(644,root,root,755)
 # There isn't doc/fonts directory
@@ -7425,6 +8330,12 @@ fi
 %attr(755,root,root) %{_bindir}/kpsewhere
 %attr(755,root,root) %{_bindir}/mag
 %attr(755,root,root) %{_bindir}/makempx
+%attr(755,root,root) %{_bindir}/mf
+%attr(755,root,root) %{_bindir}/mf-nowin
+%attr(755,root,root) %{_bindir}/mft
+%attr(755,root,root) %{_bindir}/mktexmf
+%attr(755,root,root) %{_bindir}/mktexpk
+%attr(755,root,root) %{_bindir}/mktextfm
 %attr(755,root,root) %{_bindir}/mktexfmt
 %attr(755,root,root) %{_bindir}/mktexlsr
 %attr(755,root,root) %{_bindir}/newer
@@ -7499,6 +8410,7 @@ fi
 %dir %{texmfdist}/doc/generic/enctex
 %dir %{texmfdist}/doc/latex
 %dir %{texmfdist}/doc/latex/localloc
+%dir %{texmfdist}/mft
 %dir %{texmfdist}/tex
 %dir %{texmfdist}/tex/cslatex
 %dir %{texmfdist}/tex/cslatex/base
@@ -7529,6 +8441,7 @@ fi
 %dir %{texmf}/fonts/map/dvips/tetex
 %dir %{texmf}/fonts/map/dvips/updmap
 %dir %{texmf}/scripts
+%dir %{texmf}/scripts/texlive
 %dir %{texmf}/tex
 %dir %{texmf}/tex/generic
 %dir %{texmf}/tex/generic/config
@@ -7566,6 +8479,9 @@ fi
 %{texmf}/fonts/enc/dvips/tetex/f7b6d320.enc
 %{texmf}/fonts/map/dvips/tetex/ps2pk35.map
 
+%{texmfdist}/metafont
+%{texmfdist}/mft/base
+%{texmfdist}/source/metafont
 %{texmfdist}/tex/fontinst
 %{texmfdist}/tex/generic/dehyph-exptl/*
 %{texmfdist}/tex/generic/encodings
@@ -7579,6 +8495,7 @@ fi
 %{texmfdist}/tex/texinfo
 %{texmf}/tex/fontinst
 %{texmf}/tex/generic/hyphen
+%{texmf}/fmtutil/format.metafont.cnf
 %{texmf}/fonts/map/dvips/updmap/*
 %{texmf}/web2c/*.tcx
 
@@ -7607,6 +8524,12 @@ fi
 %{_mandir}/man1/mag.1*
 %{_mandir}/man1/makempx.1*
 %{_mandir}/man1/makempy.1*
+%{_mandir}/man1/mf.1*
+%{_mandir}/man1/mf-nowin.1*
+%{_mandir}/man1/mft.1*
+%{_mandir}/man1/mktexmf.1*
+%{_mandir}/man1/mktexpk.1*
+%{_mandir}/man1/mktextfm.1*
 %{_mandir}/man1/mktexfmt.1*
 %{_mandir}/man1/mktexlsr.1*
 %{_mandir}/man1/newer.1*
@@ -7640,7 +8563,6 @@ fi
 
 %files other-utils
 %defattr(644,root,root,755)
-%dir %{texmfdist}/scripts/mkjobtexmf
 %attr(755,root,root) %{_bindir}/bg5+latex
 %attr(755,root,root) %{_bindir}/bg5+pdflatex
 %attr(755,root,root) %{_bindir}/bg5conv
@@ -7656,12 +8578,10 @@ fi
 %attr(755,root,root) %{_bindir}/getnonfreefonts
 %attr(755,root,root) %{_bindir}/getnonfreefonts-sys
 %attr(755,root,root) %{_bindir}/hbf2gf
-%attr(755,root,root) %{_bindir}/jadetex
 %attr(755,root,root) %{_bindir}/lamed
 %attr(755,root,root) %{_bindir}/makeglossaries
 %attr(755,root,root) %{_bindir}/metafun
 %attr(755,root,root) %{_bindir}/mkjobtexmf
-%attr(755,root,root) %{texmfdist}/scripts/mkjobtexmf/mkjobtexmf.pl
 %attr(755,root,root) %{_bindir}/mllatex
 %attr(755,root,root) %{_bindir}/mltex
 %attr(755,root,root) %{_bindir}/mmafm
@@ -7673,10 +8593,9 @@ fi
 %attr(755,root,root) %{_bindir}/oxdvi
 %attr(755,root,root) %{_bindir}/pdfatfi
 %attr(755,root,root) %{_bindir}/pdfclose
-%attr(755,root,root) %{_bindir}/pdfjadetex
 %attr(755,root,root) %{_bindir}/pdfopen
 %attr(755,root,root) %{_bindir}/pdftosrc
-%{__perl}tex
+%attr(755,root,root) %{_bindir}/perltex
 %attr(755,root,root) %{_bindir}/physe
 %attr(755,root,root) %{_bindir}/pkfix
 %attr(755,root,root) %{_bindir}/rungs
@@ -7718,13 +8637,12 @@ fi
 %{_mandir}/man1/ttftotype42.1*
 %{_mandir}/man1/vlna.1*
 %{_mandir}/man5/synctex.5*
+%dir %{texmfdist}/scripts/mkjobtexmf
+%attr(755,root,root) %{texmfdist}/scripts/mkjobtexmf/mkjobtexmf.pl
 %{texmfdist}/source/startex
-%{texmfdist}/source/jadetex
-%{texmfdist}/tex/jadetex
 %{texmfdist}/tex/texsis
 %{texmfdist}/tex/startex
 %{texmf}/fmtutil/fmtutil-hdr.cnf
-%{texmf}/fmtutil/format.jadetex.cnf
 %{texmf}/fmtutil/format.cyrtex.cnf
 %{texmf}/fmtutil/format.cyrtexinfo.cnf
 %{texmf}/fmtutil/format.mltex.cnf
@@ -7732,7 +8650,7 @@ fi
 %{texmf}/fonts/enc/ttf2pk
 %{texmf}/fonts/map/ttf2pk
 %{texmfdist}/tex/generic/abbr
-%{texmfdist}/tex/generic/abstyles/
+%{texmfdist}/tex/generic/abstyles
 %{texmfdist}/tex/generic/barr
 %{texmfdist}/tex/generic/borceux
 %{texmfdist}/source/generic/borceux
@@ -7751,11 +8669,28 @@ fi
 %{texmf}/hbf2gf
 %{texmf}/fmtutil/format.texsis.cnf
 %{fmtdir}/pdftex/texsis.fmt
+# rungs and friends
+%dir %{texmf}/scripts/texlive/gswin32
+%attr(755,root,root) %{texmf}/scripts/texlive/psv.tlu
+%attr(755,root,root) %{texmf}/scripts/texlive/rungs.tlu
+%attr(755,root,root) %{texmf}/scripts/texlive/gswin32/*
+
+%files jadetex
+%defattr(644,root,root,755)
+%dir %{texmfdist}/doc/jadetex
+%doc %{texmfdist}/doc/jadetex/base
+%doc %{texmfdist}/source/jadetex/base/ChangeLog*
+%attr(755,root,root) %{_bindir}/jadetex
+%attr(755,root,root) %{_bindir}/pdfjadetex
+%dir %{texmfdist}/source/jadetex
+%dir %{texmfdist}/source/jadetex/base
+%{texmfdist}/source/jadetex/base/jadetex.*
+%{texmfdist}/tex/jadetex
+%{texmf}/fmtutil/format.jadetex.cnf
 
 %files other-utils-doc
 %defattr(644,root,root,755)
 %doc %{texmfdist}/doc/generic/abbr
-%doc %{texmfdist}/doc/jadetex
 %doc %{texmfdist}/doc/texsis
 %doc %{texmfdist}/doc/startex
 %doc %{texmfdist}/doc/generic/c-pascal
@@ -7777,7 +8712,6 @@ fi
 
 %files dirs-fonts
 %defattr(644,root,root,755)
-%dir %{texmfdist}/doc/latex/marvosym/mac/oztex/tex-font
 %dir %{texmfdist}/fonts
 %dir %{texmfdist}/fonts/afm
 %dir %{texmfdist}/fonts/afm/public
@@ -7935,7 +8869,6 @@ fi
 %doc %{texmfdist}/doc/latex/draftcopy
 %doc %{texmfdist}/doc/latex/eepic
 %doc %{texmfdist}/doc/latex/endfloat
-%doc %{texmfdist}/doc/latex/esint
 %doc %{texmfdist}/doc/latex/eso-pic
 %doc %{texmfdist}/doc/latex/euler
 %doc %{texmfdist}/doc/latex/eulervm
@@ -7966,7 +8899,6 @@ fi
 %doc %{texmfdist}/doc/latex/ms
 %doc %{texmfdist}/doc/latex/multibib
 %doc %{texmfdist}/doc/latex/mwcls
-%doc %{texmfdist}/doc/latex/natbib
 %doc %{texmfdist}/doc/latex/nomencl
 %doc %{texmfdist}/doc/latex/ntgclass
 %doc %{texmfdist}/doc/latex/oberdiek
@@ -8108,19 +9040,25 @@ fi
 
 %files tlmgr
 %defattr(644,root,root,755)
-%dir %{texmf}/scripts/texlive
-%dir %{texmf}/scripts/texlive/gswin32
+%attr(755,root,root) %{_bindir}/tlmgr
+%{perl_vendorlib}/TeXLive
 %dir %{texmf}/scripts/texlive/lua
 %dir %{texmf}/scripts/texlive/lua/texlive
 %dir %{texmf}/scripts/texlive/tlmgrgui
-%attr(755,root,root) %{texmf}/scripts/texlive/*.pl
-%attr(755,root,root) %{texmf}/scripts/texlive/*.tlu
-%attr(755,root,root) %{texmf}/scripts/texlive/gswin32/*
-%attr(755,root,root) %{texmf}/scripts/texlive/lua/texlive/*
+%attr(755,root,root) %{texmf}/scripts/texlive/getnonfreefonts.pl
+%attr(755,root,root) %{texmf}/scripts/texlive/tlmgr.pl
+%attr(755,root,root) %{texmf}/scripts/texlive/test-tlpdb.tlu
+%attr(755,root,root) %{texmf}/scripts/texlive/texconf.tlu
+%attr(755,root,root) %{texmf}/scripts/texlive/texdoc.tlu
+%attr(755,root,root) %{texmf}/scripts/texlive/lua/texlive/*.tlu
 %attr(755,root,root) %{texmf}/scripts/texlive/tlmgrgui/*.pl
-%attr(755,root,root) %{_bindir}/tlmgr
-%{perl_vendorlib}/TeXLive
-%{texmf}/scripts/texlive/tlmgrgui/lang
+%dir %{texmf}/scripts/texlive/tlmgrgui/lang
+%lang(cs) %{texmf}/scripts/texlive/tlmgrgui/lang/cs
+%lang(de) %{texmf}/scripts/texlive/tlmgrgui/lang/de
+%{texmf}/scripts/texlive/tlmgrgui/lang/en.sample
+%lang(fr) %{texmf}/scripts/texlive/tlmgrgui/lang/fr
+%lang(pl) %{texmf}/scripts/texlive/tlmgrgui/lang/pl
+%lang(vi) %{texmf}/scripts/texlive/tlmgrgui/lang/vi
 
 %files scripts
 %defattr(644,root,root,755)
@@ -8200,26 +9138,6 @@ fi
 %defattr(644,root,root,755)
 %{texmfdist}/tex/ytex
 
-%files metafont
-%defattr(644,root,root,755)
-%dir %{texmfdist}/mft
-%attr(755,root,root) %{_bindir}/mf
-%attr(755,root,root) %{_bindir}/mf-nowin
-%attr(755,root,root) %{_bindir}/mft
-%attr(755,root,root) %{_bindir}/mktexmf
-%attr(755,root,root) %{_bindir}/mktexpk
-%attr(755,root,root) %{_bindir}/mktextfm
-%{texmfdist}/metafont
-%{texmfdist}/mft/base
-%{texmfdist}/source/metafont
-%{texmf}/fmtutil/format.metafont.cnf
-%{_mandir}/man1/mf.1*
-%{_mandir}/man1/mf-nowin.1*
-%{_mandir}/man1/mft.1*
-%{_mandir}/man1/mktexmf.1*
-%{_mandir}/man1/mktexpk.1*
-%{_mandir}/man1/mktextfm.1*
-
 %files metapost
 %defattr(644,root,root,755)
 %dir %{texmfdist}/metapost
@@ -8292,17 +9210,18 @@ fi
 %{texmf}/texconfig/v
 %{texmf}/texconfig/x
 
-%if !%{with bootstrap}
+%if %{with xindy}
 %files -n xindy
 %defattr(644,root,root,755)
 %doc %{texmf}/doc/xindy
-%dir %{texmf}/xindy
-%dir %{texmf}/xindy/lang
-%attr(755,root,root) %{texmf}/scripts/xindy/*
 %attr(755,root,root) %{_bindir}/tex2xindy
 %attr(755,root,root) %{_bindir}/xindy
 %attr(755,root,root) %{_bindir}/texindy
 %{_libdir}/xindy
+%dir %{texmf}/scripts/xindy
+%dir %{texmf}/xindy
+%dir %{texmf}/xindy/lang
+%attr(755,root,root) %{texmf}/scripts/xindy/*
 %{texmf}/xindy/base
 %{texmf}/xindy/class
 %{texmf}/xindy/ord
@@ -8487,7 +9406,7 @@ fi
 
 %files -n xindy-vietnamese
 %defattr(644,root,root,755)
-%{texmf}/xindy/lang/vietnamese/
+%{texmf}/xindy/lang/vietnamese
 %endif
 
 %files -n xdvi
@@ -8502,6 +9421,7 @@ fi
 %files pdftex
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{texmf}/tex/generic/config/pdftexconfig.tex
+%config(noreplace) %verify(not md5 mtime size) %{texmf}/tex/generic/config/pdftex-dvi.tex
 %dir %{texmfdist}/doc/support
 %dir %{texmf}/fonts/map/pdftex
 %dir %{texmf}/scripts/epstopdf
@@ -8601,6 +9521,7 @@ fi
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/mex
 %{texmfdist}/tex/mex/config/mex.ini
+%{fmtdir}/pdftex/mex.fmt
 
 %files format-pdfmex
 %defattr(644,root,root,755)
@@ -8610,8 +9531,6 @@ fi
 %files format-utf8mex
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/utf8mex
-%dir %{texmfdist}/doc/mex
-%doc %{texmfdist}/doc/mex/utf8mex
 %{texmfdist}/tex/mex/utf8mex
 
 %files amstex
@@ -8631,14 +9550,7 @@ fi
 %files csplain
 %defattr(644,root,root,755)
 %dir %{texmfdist}/doc/cslatex
-%dir %{texmfdist}/doc/cslatex/base
-%doc %{texmfdist}/doc/cslatex/base/README-cspsfont
-%doc %{texmfdist}/doc/cslatex/base/cs-fonts.doc
-%doc %{texmfdist}/doc/cslatex/base/cscorr.tab
-%doc %{texmfdist}/doc/cslatex/base/csplain.doc
-%doc %{texmfdist}/doc/cslatex/base/parpozn.tex
-%doc %{texmfdist}/doc/cslatex/base/test8z.tex
-%doc %{texmfdist}/doc/cslatex/base/testlat.tex
+%doc %{texmfdist}/doc/cslatex/base
 %attr(755,root,root) %{_bindir}/csplain
 %{texmfdist}/tex/csplain
 %{texmf}/fmtutil/format.csplain.cnf
@@ -8687,7 +9599,6 @@ fi
 %files context
 %defattr(644,root,root,755)
 %doc %{texmfdist}/doc/context
-%doc %{texmfdist}/doc/luatex
 %attr(755,root,root) %{_bindir}/context
 %attr(755,root,root) %{_bindir}/ctxtools
 %attr(755,root,root) %{_bindir}/exatools
@@ -8731,7 +9642,6 @@ fi
 %{texmfdist}/tex/latex/context
 %{texmfdist}/bibtex/bst/context
 %{texmf}/fmtutil/format.context.cnf
-%{texmf}/fmtutil/format.luatex.cnf
 %{texmf}/web2c/context.cnf
 
 %files format-context-de
@@ -8759,6 +9669,7 @@ fi
 %dir %{texmfdist}/tex/latex/latexconfig
 %dir %{texmfdist}/tex/plain
 %dir %{texmf}/tex/latex
+%dir %{texmf}/tex/latex/misc
 %{_mandir}/man1/lacheck.1*
 %{_mandir}/man1/latex.1*
 %{_mandir}/man1/pslatex.1*
@@ -9123,10 +10034,8 @@ fi
 %{texmfdist}/tex/latex/koma-script
 %{texmfdist}/tex/latex/labels
 %{texmfdist}/tex/latex/latexconfig/latex.ini
-%{texmfdist}/tex/latex/latexconfig/lualatex.ini
 %{texmfdist}/tex/latex/latexconfig/mllatex.ini
 %{texmfdist}/tex/latex/latexconfig/pdflatex.ini
-%{texmfdist}/tex/latex/latexconfig/pdflualatex.ini
 %{texmfdist}/tex/latex/layouts
 %{texmfdist}/tex/latex/listings
 %{texmfdist}/tex/latex/ltabptch
@@ -9276,7 +10185,6 @@ fi
 %{texmfdist}/tex/latex/xdoc
 %{texmfdist}/tex/latex/xfor
 %{texmfdist}/tex/latex/xifthen
-%{texmfdist}/tex/latex/xkeyval
 %{texmfdist}/tex/latex/xmpincl
 %{texmfdist}/tex/latex/xnewcommand
 %{texmfdist}/tex/latex/xoptarg
@@ -9375,7 +10283,6 @@ fi
 
 %files latex-bbm
 %defattr(644,root,root,755)
-%doc %{texmfdist}/doc/fonts/bbm
 %{texmfdist}/tex/latex/bbm
 
 %files latex-bbold
@@ -9404,7 +10311,6 @@ fi
 %dir %{texmfdist}/doc/bibtex
 %dir %{texmf}/bibtex
 %doc %{texmfdist}/doc/bibtex/base
-%doc %{texmfdist}/doc/latex/adrconv
 %doc %{texmfdist}/doc/latex/bibtopic
 %doc %{texmfdist}/doc/latex/bibunits
 %doc %{texmfdist}/doc/latex/footbib
@@ -9425,7 +10331,6 @@ fi
 %{texmfdist}/source/latex/bibtopic
 %{texmfdist}/source/latex/bibunits
 %{texmfdist}/source/latex/footbib
-%{texmfdist}/tex/latex/adrconv
 %{texmfdist}/tex/latex/bibtopic
 %{texmfdist}/tex/latex/bibunits
 %{texmfdist}/tex/latex/footbib
@@ -9704,6 +10609,11 @@ fi
 %{texmfdist}/tex/latex/photo
 %{texmfdist}/tex/latex/topfloat
 
+%files latex-foiltex
+%defattr(644,root,root,755)
+%doc %{texmfdist}/doc/latex/foiltex
+%{texmfdist}/tex/latex/foiltex
+
 %files latex-formlett
 %defattr(644,root,root,755)
 %doc %{texmfdist}/doc/latex/formlett
@@ -9721,11 +10631,6 @@ fi
 %{texmfdist}/source/latex/g-brief
 %{texmfdist}/tex/latex/g-brief
 
-%files latex-jknappen
-%defattr(644,root,root,755)
-%doc %{texmfdist}/fonts/source/jknappen
-%{texmfdist}/fonts/tfm/jknappen
-
 %files latex-keystroke
 %defattr(644,root,root,755)
 %{texmfdist}/tex/latex/keystroke
 
 %files latex-lm
 %defattr(644,root,root,755)
-%doc %{texmfdist}/doc/fonts/lm
 %{texmfdist}/tex/latex/lm
 %{texmfdist}/fonts/afm/public/lm
 %{texmfdist}/fonts/enc/dvips/lm
 %{texmfdist}/fonts/map/dvips/lm
 %{texmfdist}/fonts/map/dvipdfm/lm
-%{texmfdist}/fonts/opentype/public/lm
-%{texmfdist}/fonts/tfm/public/lm
 %{texmfdist}/source/fonts/lm
 
 %files latex-lucidabr
@@ -9877,8 +10779,6 @@ fi
 %files latex-other-doc
 %defattr(644,root,root,755)
 %doc %{texmfdist}/doc/alatex
-%doc %{texmfdist}/doc/cslatex/base
-%doc %{texmfdist}/doc/generic/enctex
 %doc %{texmfdist}/doc/generic/wsuipa
 %doc %{texmfdist}/doc/latex/ANUfinalexam
 %doc %{texmfdist}/doc/latex/AkkTeX
@@ -9943,7 +10843,6 @@ fi
 %doc %{texmfdist}/doc/latex/chapterfolder
 %doc %{texmfdist}/doc/latex/china2e
 %doc %{texmfdist}/doc/latex/cite
-%doc %{texmfdist}/doc/latex/cjk
 %doc %{texmfdist}/doc/latex/classicthesis
 %doc %{texmfdist}/doc/latex/cleveref
 %doc %{texmfdist}/doc/latex/clock
@@ -11935,7 +12834,6 @@ fi
 %defattr(644,root,root,755)
 %doc %{texmfdist}/doc/generic/pst-3d
 %doc %{texmfdist}/doc/generic/pst-3dplot
-%{texmfdist}/dvips/pst-3dplot
 %{texmfdist}/source/generic/pst-3d
 %{texmfdist}/source/generic/pst-3dplot
 %{texmfdist}/tex/generic/pst-3d
 
 %files latex-pst-bar
 %defattr(644,root,root,755)
-%{texmfdist}/dvips/pst-bar
 %{texmfdist}/tex/generic/pst-bar
 %{texmfdist}/tex/latex/pst-bar
 
 %files latex-pst-circ
 %defattr(644,root,root,755)
 %doc %{texmfdist}/doc/generic/pst-circ
-%{texmfdist}/dvips/pst-circ
 %{texmfdist}/tex/generic/pst-circ
 %{texmfdist}/tex/latex/pst-circ
 
 %files latex-pst-fun
 %defattr(644,root,root,755)
 %doc %{texmfdist}/doc/generic/pst-fun
-%{texmfdist}/dvips/pst-fun
 %{texmfdist}/tex/generic/pst-fun
 %{texmfdist}/tex/latex/pst-fun
 
 %files latex-pst-func
 %defattr(644,root,root,755)
 %doc %{texmfdist}/doc/generic/pst-func
-%{texmfdist}/dvips/pst-func
 %{texmfdist}/tex/generic/pst-func
 %{texmfdist}/tex/latex/pst-func
 
 %files latex-pst-fractal
 %defattr(644,root,root,755)
 %doc %{texmfdist}/doc/generic/pst-fractal
-%{texmfdist}/dvips/pst-fractal
 %{texmfdist}/tex/generic/pst-fractal
 %{texmfdist}/tex/latex/pst-fractal
 
 %files latex-pst-math
 %defattr(644,root,root,755)
 %doc %{texmfdist}/doc/generic/pst-math
-%{texmfdist}/dvips/pst-math
 %{texmfdist}/tex/generic/pst-math
 %{texmfdist}/tex/latex/pst-math
 
@@ -12019,7 +12911,6 @@ fi
 %files latex-pst-optexp
 %defattr(644,root,root,755)
 %doc %{texmfdist}/doc/generic/pst-optexp
-%{texmfdist}/dvips/pst-optexp
 %{texmfdist}/tex/generic/pst-optexp
 %{texmfdist}/tex/latex/pst-optexp
 
@@ -12032,7 +12923,6 @@ fi
 %files latex-pst-text
 %defattr(644,root,root,755)
 %doc %{texmfdist}/doc/generic/pst-text
-%{texmfdist}/dvips/pst-text
 %{texmfdist}/tex/generic/pst-text
 %{texmfdist}/tex/latex/pst-text
 
 %doc %{texmfdist}/doc/generic/pst-vue3d
 %doc %{texmfdist}/doc/latex/auto-pst-pdf
 %doc %{texmfdist}/doc/latex/pst-pdf
-%{texmfdist}/dvips/pst-barcode
-%{texmfdist}/dvips/pst-blur
-%{texmfdist}/dvips/pst-coil
-%{texmfdist}/dvips/pst-cox
-%{texmfdist}/dvips/pst-eucl
-%{texmfdist}/dvips/pst-geo
-%{texmfdist}/dvips/pst-ghsb
-%{texmfdist}/dvips/pst-grad
-%{texmfdist}/dvips/pst-light3d
-%{texmfdist}/dvips/pst-slpe
-%{texmfdist}/dvips/pst-solides3d
-%{texmfdist}/dvips/pst-spectra
-%{texmfdist}/dvips/pst-vue3d
 %{texmfdist}/scripts/pst-pdf
 %{texmfdist}/source/generic/pst-barcode
 %{texmfdist}/source/generic/pst-blur
 
 %files latex-pxfonts
 %defattr(644,root,root,755)
-%doc %{texmfdist}/doc/fonts/pxfonts
 %{texmfdist}/tex/latex/pxfonts
 %{texmfdist}/fonts/type1/public/pxfonts
 %{texmfdist}/fonts/afm/public/pxfonts
-%{texmfdist}/fonts/tfm/public/pxfonts
 %{texmfdist}/fonts/vf/public/pxfonts
 %{texmfdist}/fonts/map/dvips/pxfonts
 
@@ -12210,7 +13085,6 @@ fi
 %{texmfdist}/fonts/type1/public/txfonts
 %{texmfdist}/fonts/afm/public/txfonts
 %{texmfdist}/fonts/enc/dvips/txfonts
-%{texmfdist}/fonts/tfm/public/txfonts
 %{texmfdist}/fonts/vf/public/txfonts
 %{texmfdist}/fonts/map/dvips/txfonts
 %{texmfdist}/tex/latex/txfonts
@@ -12239,7 +13113,6 @@ fi
 %files latex-xcolor
 %defattr(644,root,root,755)
 %doc %{texmfdist}/doc/latex/xcolor
-%{texmfdist}/dvips/xcolor
 %{texmfdist}/source/latex/xcolor
 
 %files format-pdflatex
@@ -12274,7 +13147,6 @@ fi
 %files tex-misc
 %defattr(644,root,root,755)
 %{texmfdist}/source/generic/tap
-%doc %{texmfdist}/doc/latex/localloc
 %doc %{texmfdist}/doc/generic/multido
 %doc %{texmfdist}/doc/generic/tap
 %doc %{texmfdist}/doc/generic/vrb
@@ -12299,7 +13171,6 @@ fi
 %defattr(644,root,root,755)
 %doc %{texmfdist}/doc/generic/pstricks
 %doc %{texmfdist}/doc/generic/pstricks-add
-%{texmfdist}/dvips/pstricks
 %{texmfdist}/tex/generic/pstricks
 %{texmfdist}/tex/latex/pstricks-add
 %{texmfdist}/source/generic/pstricks-add
@@ -12308,7 +13179,6 @@ fi
 %files tex-qpxqtx
 %defattr(644,root,root,755)
 %doc %{texmfdist}/doc/fonts/qpxqtx
-%{texmfdist}/fonts/tfm/public/qpxqtx
 %{texmfdist}/fonts/vf/public/qpxqtx
 %{texmfdist}/tex/generic/qpxqtx
 
 
 %files fonts-ams
 %defattr(644,root,root,755)
-%{texmfdist}/bibtex/bst/ams
-%{texmfdist}/bibtex/bib/ams
-%{texmfdist}/dvips/ams
 %{texmfdist}/fonts/source/public/ams
-%{texmfdist}/fonts/type1/bluesky/ams
-%{texmfdist}/fonts/afm/bluesky/ams
 %{texmfdist}/fonts/tfm/public/ams
 %{texmfdist}/fonts/map/dvips/ams
 
@@ -12418,7 +13283,6 @@ fi
 %{texmfdist}/fonts/map/dvips/antp
 %{texmfdist}/fonts/afm/public/antp
 %{texmfdist}/fonts/tfm/public/antp
-%{texmfdist}/dvips/antp
 
 %files fonts-antt
 %defattr(644,root,root,755)
@@ -12476,7 +13340,7 @@ fi
 %dir %{texmfdist}/fonts/map/dvips
 %dir %{texmfdist}/fonts/pk/ljfour/public
 %doc %{texmfdist}/doc/fonts/cm
-%{texmfdist}/dvips/cm
+%{texmfdist}/fonts/afm/bluesky/ams
 %{texmfdist}/fonts/afm/bluesky/cm
 %{texmfdist}/fonts/map/dvips/cm
 %{texmfdist}/fonts/pk/ljfour/public/cm
@@ -12485,7 +13349,6 @@ fi
 
 %files fonts-cmbright
 %defattr(644,root,root,755)
-%doc %{texmfdist}/doc/latex/cmbright
 %{texmfdist}/fonts/source/public/cmbright
 %{texmfdist}/fonts/tfm/public/cmbright
 %{texmfdist}/source/latex/cmbright
@@ -12517,7 +13380,6 @@ fi
 %files fonts-concmath
 %defattr(644,root,root,755)
 %doc %{texmfdist}/doc/fonts/concmath
-%doc %{texmfdist}/doc/latex/concmath
 %{texmfdist}/fonts/source/public/concmath
 %{texmfdist}/fonts/tfm/public/concmath
 %{texmfdist}/source/latex/concmath
@@ -12531,7 +13393,6 @@ fi
 
 %files fonts-cs
 %defattr(644,root,root,755)
-%{texmfdist}/dvips/cs
 %{texmfdist}/fonts/source/public/cs
 %{texmfdist}/fonts/enc/dvips/cs
 %{texmfdist}/fonts/tfm/public/cs
@@ -12554,7 +13415,6 @@ fi
 
 %files fonts-eulervm
 %defattr(644,root,root,755)
-%doc %{texmfdist}/doc/latex/eulervm
 %{texmfdist}/fonts/tfm/public/eulervm
 %{texmfdist}/fonts/vf/public/eulervm
 %{texmfdist}/source/latex/eulervm
@@ -12568,7 +13428,6 @@ fi
 %files fonts-gothic
 %defattr(644,root,root,755)
 %doc %{texmfdist}/doc/fonts/gothic
-%{texmfdist}/dvips/gothic
 %{texmfdist}/fonts/source/public/gothic
 %{texmfdist}/fonts/type1/public/gothic
 %{texmfdist}/fonts/afm/public/gothic
@@ -12605,7 +13464,6 @@ fi
 %dir %{texmfdist}/fonts/map/dvips/latex-fonts
 %dir %{texmfdist}/fonts/source/public/latex-fonts
 %dir %{texmfdist}/fonts/tfm/public/latex-fonts
-%dir %{texmfdist}/fonts/type1/bluesky/latex-fonts
 %doc %{texmfdist}/doc/latex/esint
 %{texmfdist}/fonts/afm/bluesky/latex-fonts/*
 %{texmfdist}/fonts/map/dvips/latex-fonts/*
@@ -12613,7 +13471,6 @@ fi
 %{texmfdist}/fonts/source/public/latex-fonts/*
 %{texmfdist}/fonts/tfm/public/esint
 %{texmfdist}/fonts/tfm/public/latex-fonts/*
-%{texmfdist}/fonts/type1/bluesky/latex-fonts/*
 %{texmfdist}/source/latex/esint
 %{texmfdist}/tex/latex/esint
 
@@ -12653,9 +13510,7 @@ fi
 
 %files fonts-mflogo
 %defattr(644,root,root,755)
-%doc %{texmfdist}/doc/latex/mflogo
 %{texmfdist}/fonts/source/public/mflogo
-%{texmfdist}/fonts/type1/hoekwater/mflogo
 %{texmfdist}/fonts/afm/hoekwater/mflogo
 %{texmfdist}/fonts/tfm/public/mflogo
 %{texmfdist}/fonts/map/dvips/mflogo
@@ -12664,7 +13519,6 @@ fi
 
 %files fonts-misc
 %defattr(644,root,root,755)
-%doc %{texmfdist}/doc/latex/marvosym/mac/oztex/tex-font/misc
 %{texmfdist}/fonts/source/public/misc
 %{texmfdist}/fonts/tfm/public/misc
 %{texmfdist}/fonts/misc
@@ -13491,7 +14345,7 @@ fi
 %{texmfdist}/fonts/tfm/public/velthuis
 %{texmfdist}/fonts/type1/public/velthuis
 
-%{texmfdist}/fonts/enc/dvips/vntex
+%{texmfdist}/fonts/enc/dvips/vntex/*
 
 %{texmfdist}/fonts/afm/vntex/vntopia
 %{texmfdist}/fonts/tfm/vntex/vntopia
@@ -13531,7 +14385,6 @@ fi
 
 %{texmfdist}/fonts/map/dvips/zapfding
 
-%{texmfdist}/dvips/zefonts
 %{texmfdist}/fonts/map/dvips/zefonts
 %{texmfdist}/fonts/tfm/public/zefonts
 %{texmfdist}/fonts/vf/public/zefonts
@@ -13541,8 +14394,6 @@ fi
 %dir %{texmfdist}/omega
 %dir %{texmfdist}/omega/ocp
 %dir %{texmfdist}/omega/otp
-%doc %{texmfdist}/doc/omega
-%{texmfdist}/dvips/omega
 %{texmfdist}/fonts/ofm/public/omega
 %{texmfdist}/fonts/type1/public/omega
 %{texmfdist}/fonts/afm/public/omega
@@ -13558,7 +14409,6 @@ fi
 %defattr(644,root,root,755)
 %doc %{texmfdist}/doc/fonts/pl
 %dir %{texmf}/scripts/texlive
-%{texmfdist}/dvips/pl
 %{texmfdist}/fonts/source/public/pl
 %{texmfdist}/fonts/type1/public/pl
 %{texmfdist}/fonts/afm/public/pl
@@ -13655,7 +14505,6 @@ fi
 
 %files fonts-type1-antp
 %defattr(644,root,root,755)
-%{texmfdist}/dvips/antp
 %{texmfdist}/fonts/type1/public/antp
 
 %files fonts-type1-antt
 %doc %{texmfdist}/doc/fonts/cc-pl
 %{texmfdist}/fonts/type1/public/cc-pl
 
-%files fonts-type1-cmcyr
-%defattr(644,root,root,755)
-%{texmfdist}/fonts/type1/public/cmcyr
-
 %files fonts-type1-cs
 %defattr(644,root,root,755)
 %{texmfdist}/fonts/type1/public/cs
 %{texmfdist}/fonts/type1/public/fpl
 %{texmfdist}/source/fonts/fpl
 
-%files fonts-type1-lm
-%defattr(644,root,root,755)
-%{texmfdist}/fonts/afm/public/lm
-%{texmfdist}/fonts/type1/public/lm
-
 %files fonts-type1-marvosym
 %defattr(644,root,root,755)
 %{texmfdist}/fonts/type1/public/marvosym
@@ -13763,7 +14603,7 @@ fi
 %defattr(644,root,root,755)
 %dir %{texmf}/tex/latex
 %attr(755,root,root) %{_bindir}/afm2pl
-%{_mandir}/man1/afm2pl*
+%{_mandir}/man1/afm2pl.1*
 %dir %{texmf}/fonts/lig
 %{texmf}/fonts/lig/afm2pl
 %{texmf}/tex/latex/afm2pl
@@ -13771,7 +14611,7 @@ fi
 %files bbox
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/bbox
-%{_mandir}/man1/bbox*
+%{_mandir}/man1/bbox.1*
 
 %files cefutils
 %defattr(644,root,root,755)
@@ -13786,7 +14626,7 @@ fi
 %files detex
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/detex
-%{_mandir}/man1/detex*
+%{_mandir}/man1/detex.1*
 
 %files dviutils
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/dviselect
 %attr(755,root,root) %{_bindir}/dvitodvi
 %attr(755,root,root) %{texmfdist}/scripts/dviasm/dviasm*
-%{_mandir}/man1/dt2dv*
-%{_mandir}/man1/dv2dt*
-%{_mandir}/man1/dvi2tty*
-%{_mandir}/man1/dvibook*
-%{_mandir}/man1/dviconcat*
-%{_mandir}/man1/dvidvi*
-%{_mandir}/man1/dvigif*
-%{_mandir}/man1/dvipos*
-%{_mandir}/man1/dviselect*
-%{_mandir}/man1/dvitodvi*
+%{_mandir}/man1/dt2dv.1*
+%{_mandir}/man1/dv2dt.1*
+%{_mandir}/man1/dvi2tty.1*
+%{_mandir}/man1/dvibook.1*
+%{_mandir}/man1/dviconcat.1*
+%{_mandir}/man1/dvidvi.1*
+%{_mandir}/man1/dvigif.1*
+%{_mandir}/man1/dvipos.1*
+%{_mandir}/man1/dviselect.1*
+%{_mandir}/man1/dvitodvi.1*
 %{texmf}/dvipdfmx
 %{texmf}/fonts/cmap/dvipdfmx
 %{texmf}/fonts/map/dvipdfmx
@@ -13829,7 +14669,7 @@ fi
 %attr(755,root,root) %{_bindir}/epspdf
 %attr(755,root,root) %{_bindir}/epspdftk
 %attr(755,root,root) %{_bindir}/extractres
-%attr(755,root,root) %{_bindir}/fix*
+%attr(755,root,root) %{_bindir}/fix*ps
 %attr(755,root,root) %{_bindir}/getafm
 %attr(755,root,root) %{_bindir}/includeres
 %attr(755,root,root) %{_bindir}/ps2eps
 %attr(755,root,root) %{_bindir}/pstops
 %attr(755,root,root) %{_bindir}/showchar
 %attr(755,root,root) %{texmf}/scripts/ps2eps/ps2eps*
-%{_mandir}/man1/epsffit*
-%{_mandir}/man1/extractres*
-%{_mandir}/man1/fix*
-%{_mandir}/man1/getafm*
-%{_mandir}/man1/includeres*
+%{_mandir}/man1/epsffit.1*
+%{_mandir}/man1/extractres.1*
+%{_mandir}/man1/fix*ps.1*
+%{_mandir}/man1/getafm.1*
+%{_mandir}/man1/includeres.1*
 %{_mandir}/man1/ps2eps.1*
-%{_mandir}/man1/psbook*
-%{_mandir}/man1/psmerge*
-%{_mandir}/man1/psnup*
-%{_mandir}/man1/psresize*
-%{_mandir}/man1/psselect*
-%{_mandir}/man1/pstops*
+%{_mandir}/man1/psbook.1*
+%{_mandir}/man1/psmerge.1*
+%{_mandir}/man1/psnup.1*
+%{_mandir}/man1/psresize.1*
+%{_mandir}/man1/psselect.1*
+%{_mandir}/man1/pstops.1*
 %{texmfdist}/scripts/epspdf
 %{texmf}/dvips/psutils
 
 %{texmf}/fmtutil/format.xmltex.cnf
 %{fmtdir}/pdftex/pdfxmltex.fmt
 %{fmtdir}/pdftex/xmltex.fmt
+
+%files luatex
+%defattr(644,root,root,755)
+%doc %{texmfdist}/doc/luatex
+%attr(755,root,root) %{_bindir}/lualatex
+%attr(755,root,root) %{_bindir}/luatex
+%attr(755,root,root) %{_bindir}/pdflualatex
+%attr(755,root,root) %{_bindir}/pdfluatex
+%attr(755,root,root) %{_bindir}/texlua
+%attr(755,root,root) %{_bindir}/texluac
+%{texmf}/fmtutil/format.luatex.cnf
+%{texmfdist}/tex/latex/latexconfig/lualatex.ini
+%{texmfdist}/tex/latex/latexconfig/pdflualatex.ini
This page took 0.442088 seconds and 4 git commands to generate.