]> git.pld-linux.org Git - packages/texlive.git/blobdiff - texlive.spec
- no clisp on x32 means no xindy there
[packages/texlive.git] / texlive.spec
index c21d218c7e805d398d1d1c1bfabacfd0dedb4c8a..21151309368c49f783b0ed0e2faa9c71eba4ecd9 100644 (file)
@@ -1,37 +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
-#
-# 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
-#
-# %%bcond_without      bootstrap
-#
+# 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
@@ -42,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:       4
+Release:       24
 Epoch:         1
 License:       distributable
 Group:         Applications/Publishing/TeX
@@ -55,8 +50,10 @@ Source5:     xdvi.desktop
 Source6:       xdvi.png
 Source10:      http://tug.ctan.org/get/macros/latex/contrib/floatflt.zip
 # Source10-md5:        5d9fe14d289aa81ebb6b4761169dd5f2
-Source11:      http://carme.pld-linux.org/~uzsolt/sources/texlive-fonts-larm.tar.bz2
+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
@@ -85,12 +82,21 @@ Source62:   http://sunsite2.icm.edu.pl/pub/tex/systems/texlive/tlnet/2008/tlpkg/Te
 # Source62-md5:        f0fa0f2fc7aacb1e9b40eb65891a24c8
 Patch0:                %{name}-am.patch
 Patch1:                %{name}-20080816-kpathsea-ar.patch
+Patch2:                %{name}-gcc44.patch
+Patch3:                %{name}-getline.patch
+Patch4:                %{name}-stdio.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
 URL:           http://www.tug.org/texlive/
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: bison
-%ifarch ppc
-%else
+%if %{with xindy}
 BuildRequires: clisp
 %endif
 BuildRequires: ed
@@ -107,21 +113,41 @@ BuildRequires:    libtool
 BuildRequires: libsigsegv
 BuildRequires: libstdc++-devel
 BuildRequires: ncurses-devel
+BuildRequires: readline-devel
 BuildRequires: rpm-perlprov
 BuildRequires: rpm-pythonprov
 BuildRequires: sed >= 4.0
 BuildRequires: t1lib-devel >= 5.0.2
 BuildRequires: texinfo
 %if %{with bootstrap}
+BuildRequires: texconfig
 BuildRequires: tetex-format-latex
 BuildRequires: tetex-format-pdflatex
+BuildRequires: tetex-format-plain
 BuildRequires: tetex-latex-cyrillic
 BuildRequires: tetex-tex-babel
 %else
-BuildRequires: texlive-fonts-cmsuper
-BuildRequires: texlive-format-pdflatex
-BuildRequires: texlive-latex-cyrillic
-BuildRequires: texlive-tex-babel
+BuildRequires: %{name}-context
+BuildRequires: %{name}-csplain
+BuildRequires: %{name}-fonts-cmsuper
+#BuildRequires:        %{name}-format-amstex
+#BuildRequires:        %{name}-format-cslatex
+BuildRequires: %{name}-format-eplain
+BuildRequires: %{name}-format-mex
+BuildRequires: %{name}-format-pdflatex
+BuildRequires: %{name}-latex
+BuildRequires: %{name}-latex-cyrillic
+BuildRequires: %{name}-metapost
+BuildRequires: %{name}-mex
+BuildRequires: %{name}-omega
+BuildRequires: %{name}-other-utils
+BuildRequires: %{name}-pdftex
+BuildRequires: %{name}-phyzzx
+BuildRequires: %{name}-plain
+BuildRequires: %{name}-tex-babel
+BuildRequires: %{name}-tex-physe
+BuildRequires: %{name}-xetex
+BuildRequires: %{name}-xmltex
 # fill with future texlive BR. guesses ones for now
 %endif
 BuildRequires: /usr/bin/latex
@@ -135,7 +161,6 @@ BuildRequires:      zlib-devel >= 1.2.1
 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}
@@ -145,7 +170,8 @@ Requires:   texconfig = %{epoch}:%{version}-%{release}
 Requires:      textutils
 Suggests:      tmpwatch
 Provides:      tetex = %{epoch}:%{version}-%{release}
-Provides:      tetex-format-pdfetex
+Provides:      tetex-format-pdfetex = %{epoch}:%{version}-%{release}
+Provides:      tetex-metafont
 Obsoletes:     tetex
 Obsoletes:     tetex-afm
 Obsoletes:     tetex-doc
@@ -161,31 +187,32 @@ Obsoletes:        tetex-format-pdfemex
 Obsoletes:     tetex-format-pdfetex
 Obsoletes:     tetex-latex-vnps
 Obsoletes:     tetex-latex-vnr
+Obsoletes:     tetex-metafont
 Obsoletes:     tetex-oxdvi
-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
@@ -244,9 +271,30 @@ 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
+
+%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.
@@ -254,6 +302,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.
@@ -261,6 +312,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.
@@ -268,6 +322,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.
@@ -275,6 +332,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.
@@ -282,6 +342,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.
@@ -289,6 +352,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.
@@ -296,6 +362,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.
@@ -303,6 +372,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.
@@ -310,6 +382,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.
@@ -317,6 +392,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.
@@ -324,6 +402,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.
@@ -331,6 +412,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.
@@ -338,6 +422,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.
@@ -345,6 +432,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.
@@ -352,6 +442,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.
@@ -359,6 +452,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.
@@ -366,6 +462,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.
@@ -373,6 +472,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.
@@ -380,6 +482,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.
@@ -387,6 +492,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.
@@ -394,6 +502,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.
@@ -401,6 +512,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.
@@ -408,6 +522,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.
@@ -420,6 +537,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.
@@ -641,6 +761,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.
@@ -654,6 +777,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.
@@ -667,6 +793,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.
@@ -679,6 +808,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.
@@ -688,6 +820,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.
@@ -711,6 +846,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
@@ -726,6 +864,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.
@@ -733,22 +874,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
@@ -756,7 +881,7 @@ Summary(pl.UTF-8):  Zestaw narzędzi MetaPost
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
-Obsoletes:     tetex-matapost
+Obsoletes:     tetex-metapost
 
 %description metapost
 MetaPost.
@@ -773,6 +898,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.
@@ -787,6 +915,7 @@ Summary(pl.UTF-8):  Konwerter MetaPost do PDF
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-metapost = %{epoch}:%{version}-%{release}
+Obsoletes:     tetex-mptopdf
 
 %description mptopdf
 MetaPost to PDF converter.
@@ -833,7 +962,6 @@ 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
 
@@ -854,7 +982,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
 
@@ -1387,6 +1514,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
@@ -1403,7 +1531,10 @@ Summary: PostScript Utilities
 Summary(hu.UTF-8):     PostScript eszközök
 Summary(pl.UTF-8):     Narzędzia do PostScriptu
 Group:         Applications/Printing
+Provides:      psutils
 Obsoletes:     psutils
+Obsoletes:     texlive-epsutils
+Obsoletes:     texlive-filters
 
 %description psutils
 This archive contains some utilities for manipulating PostScript
@@ -1466,9 +1597,13 @@ Requires(post,postun):   %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Provides:      tetex-format-plain
 Provides:      tetex-plain
+Obsoletes:     tetex-cyrplain
+Obsoletes:     tetex-format-cyrplain
 Obsoletes:     tetex-format-plain
 Obsoletes:     tetex-plain
-Obsoletes:     tetex-cyrplain
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description plain
 Plain TeX format basic files.
@@ -1487,6 +1622,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.
@@ -1500,6 +1638,7 @@ Summary(pl.UTF-8):        Format MeX Plain
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      texlive-mex = %{epoch}:%{version}-%{release}
+Obsoletes:     tetex-format-mex
 
 %description format-mex
 MeX Plain Format.
@@ -1528,6 +1667,7 @@ Summary(pl.UTF-8):        Format MeX Plain z plikami źródłowymi kodowanymi UTF-8
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-mex = %{epoch}:%{version}-%{release}
+Obsoletes:     tetex-format-utf8mex
 
 %description format-utf8mex
 MeX Plain Format with UTF-8 encoded source files.
@@ -1543,11 +1683,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.
@@ -1562,7 +1706,7 @@ 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-ams
+Obsoletes:     tetex-format-amstex
 Obsoletes:     tetex-format-cyramstex
 
 %description format-amstex
@@ -1626,8 +1770,11 @@ Group:           Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-fonts-cs = %{epoch}:%{version}-%{release}
 Requires:      %{name}-plain = %{epoch}:%{version}-%{release}
-Obsoletes:     tetex-cslatex
 Provides:      tetex-cslatex
+Obsoletes:     tetex-cslatex
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description cslatex
 CSLaTeX format basic files.
@@ -1641,7 +1788,7 @@ Summary(pl.UTF-8):        Format CSLaTeX
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-cslatex = %{epoch}:%{version}-%{release}
-Obsoletes:     tetex-cslatex
+Obsoletes:     tetex-format-cslatex
 
 %description format-cslatex
 CSLaTeX format.
@@ -1655,6 +1802,7 @@ Summary(pl.UTF-8):        Format PDF CSLaTeX
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-cslatex = %{epoch}:%{version}-%{release}
+Obsoletes:     tetex-format-pdfcslatex
 
 %description format-pdfcslatex
 PDF CSLaTeX format.
@@ -1670,8 +1818,11 @@ Summary(pl.UTF-8):       Podstawowe pliki dla formatu EPlain
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-plain = %{epoch}:%{version}-%{release}
-Obsoletes:     tetex-etex
 Obsoletes:     tetex-eplain
+Obsoletes:     tetex-etex
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description eplain
 EPlain format basic files.
@@ -1685,6 +1836,7 @@ Summary(pl.UTF-8):        Format EPlain
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-eplain = %{epoch}:%{version}-%{release}
+Obsoletes:     tetex-format-eplain
 
 %description format-eplain
 EPlain format.
@@ -1702,8 +1854,9 @@ Requires(post,postun):    %{_bindir}/texhash
 Requires:      %{name} = %{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
@@ -1724,6 +1877,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.
@@ -1738,6 +1894,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.
@@ -1752,6 +1911,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.
@@ -1839,6 +2001,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.
@@ -1849,6 +2014,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.
@@ -1862,6 +2030,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.
@@ -1874,6 +2046,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.
@@ -1887,6 +2063,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.
@@ -1903,6 +2082,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
@@ -1924,6 +2106,10 @@ Group:           Applications/Publishing/TeX
 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
@@ -1945,6 +2131,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.
@@ -1963,6 +2152,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
@@ -1990,6 +2182,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
@@ -2007,6 +2202,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.
@@ -2022,6 +2220,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.
@@ -2034,6 +2235,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.
@@ -2049,6 +2253,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.
@@ -2082,6 +2289,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.
@@ -2095,6 +2305,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).
@@ -2111,6 +2324,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.
@@ -2124,6 +2340,10 @@ Summary(pl.UTF-8):       Duńskie warianty standardowych stylów BibTeXa
 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
@@ -2145,6 +2365,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.
@@ -2160,6 +2383,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.
@@ -2175,6 +2401,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.
@@ -2190,6 +2419,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.
@@ -2204,6 +2436,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.
@@ -2217,6 +2452,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.
@@ -2230,6 +2468,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.
@@ -2243,6 +2484,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.
@@ -2258,6 +2502,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.
@@ -2272,6 +2519,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
@@ -2292,6 +2542,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.
@@ -2307,6 +2560,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
@@ -2328,6 +2584,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.
@@ -2343,6 +2602,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
@@ -2361,6 +2623,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.
@@ -2374,6 +2639,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.
@@ -2388,6 +2656,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
@@ -2405,6 +2676,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.
@@ -2418,6 +2692,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
@@ -2433,6 +2710,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.
@@ -2446,6 +2726,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.
@@ -2453,6 +2736,22 @@ 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")
@@ -2472,6 +2771,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.
@@ -2485,6 +2787,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.
@@ -2492,29 +2797,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.
@@ -2528,6 +2819,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.
@@ -2541,6 +2835,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.
@@ -2554,6 +2851,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).
@@ -2567,6 +2867,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.
@@ -2580,6 +2883,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).
@@ -2594,6 +2900,11 @@ Group:           Applications/Publishing/TeX
 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
@@ -2622,6 +2933,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.
@@ -2635,6 +2949,10 @@ Summary(pl.UTF-8):       Numery linii dla paragrafów
 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.
@@ -2653,6 +2971,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.
@@ -2663,6 +2984,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.
@@ -2678,6 +3002,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:
@@ -2791,6 +3118,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:
@@ -2834,6 +3164,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.
@@ -2846,9 +3179,22 @@ Summary: Mathematical packages
 Summary(hu.UTF-8):     Matematikai csomagok
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
+Requires:      %{name}-fonts-bbm = %{epoch}:%{version}-%{release}
+Requires:      %{name}-fonts-stmaryrd = %{epoch}:%{version}-%{release}
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
+Requires:      %{name}-latex-ams = %{epoch}:%{version}-%{release}
+Requires:      %{name}-latex-carlisle = %{epoch}:%{version}-%{release}
+Requires:      %{name}-latex-psnfss = %{epoch}:%{version}-%{release}
+Requires:      %{name}-latex-pst-3dplot = %{epoch}:%{version}-%{release}
+Requires:      %{name}-latex-wasysym = %{epoch}:%{version}-%{release}
+Requires:      %{name}-tex-pstricks = %{epoch}:%{version}-%{release}
+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:
@@ -2891,6 +3237,7 @@ This package contains:
 - subdepth: unify maths subscript height.
 - subeqn: package for subequation numbering.
 - subeqnarray: equation array with sub numbering.
+- tree-dvips: trees and other linguists' macros.
 - trfsigns: typeset transform signs.
 - trsym: symbols for transformations.
 - ulsy: extra mathematical characters.
@@ -2937,6 +3284,7 @@ Ez a csomag a következőket tartalmazza:
 - subdepth: matematikai indexek méretének egységesítése
 - subeqn: alegyenletek sorszámozása
 - subeqnarray: egyenletek al-sorszámozása
+- tree-dvips: trees and other linguists' macros
 - trfsigns: transzformációs jelek szedése
 - trsym: szimbólumok transzformációkhoz
 - ulsy: extra matematikai karakterek
@@ -2947,6 +3295,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:
@@ -2970,6 +3321,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:
@@ -2992,6 +3346,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:
@@ -3013,7 +3370,7 @@ Ez a csomag a következőket tartalmazza:
 - feynmf: makrók és fontok Feynman (és más) diagramok készítésére
 - formula: fizikai egységek szedése
 - isotope: izotópok szedése
-- listofsymbols: szimbólumok listákának létrehozása és kezelése
+- listofsymbols: szimbólumok listájának létrehozása és kezelése
 - miller: miller indexek szedése
 - susy: Szuper-Szimmetria elmélettel kapcsolatos munkákhoz makrók
 
@@ -3023,6 +3380,10 @@ Summary(hu.UTF-8):       Biológiai csomagok
 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:
@@ -3039,8 +3400,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:
@@ -3060,11 +3424,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:
@@ -3093,6 +3458,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:
@@ -3125,6 +3493,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:
@@ -3155,6 +3526,10 @@ Summary(pl.UTF-8):       Interfejs do rozszerzeń mikrotypograficznych pdfTeXa
 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
@@ -3178,6 +3553,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.
@@ -3192,6 +3570,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.
@@ -3208,6 +3589,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
@@ -3233,6 +3617,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'
@@ -3251,6 +3638,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.
@@ -3265,6 +3655,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.
@@ -3279,6 +3672,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.
@@ -3294,6 +3690,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.
@@ -3301,13 +3700,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.
@@ -3321,6 +3722,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.
@@ -3335,6 +3739,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.
@@ -3348,6 +3755,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.
@@ -3361,6 +3771,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.
@@ -3377,6 +3790,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.
@@ -3393,6 +3809,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.
@@ -3406,6 +3825,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.
@@ -3419,6 +3841,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:
@@ -3496,6 +3921,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.
@@ -3509,6 +3938,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.
@@ -3527,6 +3959,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
@@ -3542,6 +3977,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.
@@ -3555,6 +3993,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.
@@ -3562,13 +4003,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.
@@ -3582,6 +4025,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.
@@ -3595,6 +4041,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.
@@ -3608,6 +4057,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.
@@ -3615,13 +4067,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.
@@ -3635,6 +4089,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.
@@ -3648,6 +4105,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.
@@ -3661,6 +4121,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.
@@ -3674,6 +4137,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
@@ -3688,6 +4154,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.
@@ -3701,6 +4170,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.
@@ -3714,6 +4186,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.
@@ -3727,6 +4202,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.
@@ -3740,6 +4218,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.
@@ -3753,6 +4234,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.
@@ -3768,6 +4252,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.
@@ -3781,6 +4268,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.
@@ -3794,6 +4284,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
@@ -3808,6 +4301,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.
@@ -3832,6 +4328,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.
@@ -3845,6 +4344,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.
@@ -3857,6 +4359,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.
@@ -3872,6 +4377,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.
@@ -3885,6 +4393,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
@@ -3900,6 +4411,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.
@@ -3916,6 +4430,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
@@ -3943,6 +4460,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
@@ -3969,10 +4489,11 @@ 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
@@ -4008,6 +4529,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
@@ -4029,6 +4553,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.
@@ -4044,6 +4571,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).
@@ -4057,6 +4587,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.
@@ -4071,6 +4604,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.
@@ -4087,6 +4623,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.
@@ -4101,6 +4640,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.
@@ -4114,6 +4656,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.
@@ -4126,9 +4671,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
@@ -4156,6 +4705,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.
@@ -4169,6 +4721,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.
@@ -4184,6 +4739,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
@@ -4201,8 +4759,11 @@ Summary(pl.UTF-8):       Różne pliki TeXowe służące do składu dokumentów w jęz
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
-Obsoletes:     tetex-tex-spanishb
 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
@@ -4219,6 +4780,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.
@@ -4233,6 +4797,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
@@ -4255,6 +4822,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
@@ -4273,6 +4843,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.
@@ -4283,7 +4856,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-latex-urwvn
+Obsoletes:     tetex-latex-vietnam
 Obsoletes:     tetex-tex-vietnam
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-vietnam
 Vietnamese language support.
@@ -4298,7 +4876,11 @@ Group:           Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Requires:      %{name}-fonts-xypic = %{epoch}:%{version}-%{release}
+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.
@@ -4317,6 +4899,10 @@ Summary(pl.UTF-8):       Rozszerzenie do pakietu keyval
 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.
@@ -4330,6 +4916,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.
@@ -4346,6 +4935,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.
@@ -4357,6 +4949,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.
@@ -4367,6 +4962,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.
@@ -4379,8 +4977,12 @@ Summary: AMS fonts
 Summary(pl.UTF-8):     Fonty AMS
 Group:         Fonts
 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.
@@ -4394,6 +4996,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.
@@ -4408,6 +5013,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.
@@ -4419,6 +5027,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.
@@ -4429,6 +5040,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.
@@ -4442,6 +5056,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.
@@ -4454,7 +5071,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.
@@ -4468,6 +5088,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.
@@ -4481,6 +5104,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.
@@ -4495,6 +5121,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.
@@ -4508,6 +5137,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.
@@ -4520,6 +5152,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.
@@ -4535,6 +5170,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.
@@ -4549,6 +5188,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.
@@ -4562,6 +5204,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.
@@ -4575,6 +5220,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
@@ -4590,6 +5238,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.
@@ -4604,6 +5255,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.
@@ -4621,6 +5275,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,
@@ -4638,6 +5295,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
@@ -4659,6 +5319,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
@@ -4674,6 +5337,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.
@@ -4687,6 +5353,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
@@ -4703,8 +5372,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
@@ -4719,6 +5394,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.
@@ -4733,6 +5411,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.
@@ -4746,6 +5427,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).
@@ -4759,6 +5443,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
@@ -4788,6 +5475,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
@@ -4811,6 +5501,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.
@@ -4824,6 +5517,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.
@@ -4837,6 +5533,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.
@@ -4850,6 +5549,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.
@@ -4865,15 +5567,18 @@ Requires:       %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-fonts-cbgreek
 Obsoletes:     tetex-fonts-dstroke
 Obsoletes:     tetex-fonts-pazo
-Obsoletes:     tetex-qfonts
 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.
 
-%description fonts-omega -l hu.UTF-8
+%description fonts-other -l hu.UTF-8
 További betűtípusok.
 
 %package fonts-pl
@@ -4882,6 +5587,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.
@@ -4895,6 +5603,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.
@@ -4912,6 +5623,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.
@@ -4925,6 +5639,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
@@ -4945,6 +5662,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.
@@ -4958,6 +5678,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.
@@ -4969,6 +5692,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.
@@ -4979,6 +5705,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.
@@ -4992,6 +5721,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.
@@ -5005,6 +5737,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.
@@ -5018,6 +5753,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.
@@ -5029,6 +5767,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.
@@ -5040,6 +5781,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.
@@ -5053,6 +5797,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.
@@ -5066,6 +5813,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.
@@ -5079,6 +5829,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.
@@ -5093,6 +5846,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.
@@ -5104,6 +5860,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.
@@ -5114,6 +5873,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.
@@ -5127,6 +5889,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.
@@ -5141,6 +5906,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.
@@ -5154,6 +5922,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.
@@ -5180,6 +5951,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.
@@ -5194,6 +5968,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,
@@ -5211,6 +5988,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
@@ -5228,6 +6008,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
@@ -5290,6 +6073,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
@@ -5313,6 +6099,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.
@@ -5326,6 +6115,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.
@@ -5340,6 +6132,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.
@@ -5353,6 +6148,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.
@@ -5366,6 +6164,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.
@@ -5377,6 +6178,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.
@@ -5388,6 +6192,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.
@@ -5401,6 +6208,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.
@@ -5412,6 +6222,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.
@@ -5422,6 +6235,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.
@@ -5468,6 +6284,8 @@ Egy szűrő, amely .tex fájlokból szűri ki a TeX parancsokat.
 Summary:       Various DVI utils
 Summary(hu.UTF-8):     Vegyes DVI eszközök
 Group:         Applications/Publishing/TeX
+Provides:      dvi2tty
+Obsoletes:     dvi2tty
 
 %description dviutils
 This package contains various DVI utils.
@@ -5475,20 +6293,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
-
-%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
@@ -5522,6 +6326,10 @@ 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
 
 %description xmltex
 XMLTeX is a non-validating, namespace-aware XML parser written in TeX.
@@ -5533,6 +6341,15 @@ It allows TeX to directly process XML files.
 lzma -dc %{SOURCE0} | tar xf - -C ..
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
+%patch6 -p0
+%patch7 -p1
+%patch8 -p1
+%patch10 -p1
+%patch11 -p1
 CURDIR=$(pwd)
 
 cd utils/xindy/make-rules/alphabets
@@ -5558,15 +6375,16 @@ cd texk/kpathsea
 %{__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 ../..
 
-%configure \
-%if %{with bootstrap}
-       --without-xindy \
-%endif
-%ifarch ppc
-       --without-xindy \
+%ifarch ppc ppc64
+# clisp does not work properly on forge
+ulimit -s unlimited
 %endif
+
+%configure \
+       --with%{!?with_xindy:out}-xindy \
        --without-luatex \
        --disable-multiplatform \
        --disable-static \
@@ -5606,6 +6424,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}
@@ -5724,6 +6546,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
@@ -5733,15 +6557,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
@@ -5772,6 +6617,9 @@ install %{SOURCE4} $RPM_BUILD_ROOT/etc/cron.daily/texlive
 install %{SOURCE5} $RPM_BUILD_ROOT%{_desktopdir}
 install %{SOURCE6} $RPM_BUILD_ROOT%{_pixmapsdir}
 
+# crashes file/libmagick
+rm -f $RPM_BUILD_ROOT%{_datadir}/texmf-dist/doc/latex/jeopardy/example/aleq.jpg
+
 # not included in package
 rm -f $RPM_BUILD_ROOT%{_datadir}/texinfo/html/texi2html.html
 rm -f $RPM_BUILD_ROOT%{_infodir}/dir*
@@ -5816,6 +6664,44 @@ rm -rf $RPM_BUILD_ROOT%{texmf}/doc/gzip
 rm -rf $RPM_BUILD_ROOT%{_datadir}/xindy
 rm -rf $RPM_BUILD_ROOT%{_datadir}/doc
 
+# Create format files
+for format in \
+       aleph \
+       csplain \
+       etex \
+       lambda \
+       lamed \
+       latex \
+       mex \
+       mllatex \
+       mptopdf \
+       omega \
+       pdfcsplain \
+       pdfetex \
+       pdflatex \
+       pdftex \
+       pdfxmltex \
+       physe \
+       phyzzx \
+       tex \
+       texsis \
+       xetex \
+       xelatex \
+       xmltex; do
+%if %{with bootstrap}
+       install -d $RPM_BUILD_ROOT%{fmtdir}/${format}
+       touch $RPM_BUILD_ROOT%{fmtdir}/${format}/${format}.fmt
+       touch $RPM_BUILD_ROOT%{fmtdir}/pdftex/${format}.fmt
+%else
+       fmtutil --fmtdir $RPM_BUILD_ROOT%{fmtdir} --byfmt=${format}
+%endif
+done
+%if %{with bootstrap}
+touch $RPM_BUILD_ROOT%{fmtdir}/xetex/xelatex.fmt
+%endif
+# We don't need the log files
+rm -f $(find $RPM_BUILD_ROOT%{fmtdir} -name "*.log")
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -5829,20 +6715,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
@@ -5925,12 +6823,6 @@ fi
 %postun tex-ytex
 %texhash
 
-%post metafont
-%texhash
-
-%postun metafont
-%texhash
-
 %post metapost
 %texhash
 
@@ -6418,6 +7310,12 @@ fi
 %postun latex-float
 %texhash
 
+%post latex-foiltex
+%texhash
+
+%postun latex-foiltex
+%texhash
+
 %post latex-formlett
 %texhash
 
@@ -6436,12 +7334,6 @@ fi
 %postun latex-gbrief
 %texhash
 
-%post latex-jknappen
-%texhash
-
-%postun latex-jknappen
-%texhash
-
 %post latex-keystroke
 %texhash
 
@@ -7325,6 +8217,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
@@ -7392,12 +8290,14 @@ fi
 %attr(1777,root,root) %dir %{_localstatedir}/fonts/map
 %attr(1777,root,root) %dir %{fmtdir}
 
+%dir %{fmtdir}/tex
 %dir %{texmfdist}
 %dir %{texmfdist}/doc
 %dir %{texmfdist}/doc/generic
 %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
@@ -7410,6 +8310,7 @@ fi
 %dir %{texmfdist}/tex/latex/base
 %dir %{texmfdist}/scripts
 %dir %{texmfdist}/source
+%dir %{texmfdist}/source/latex
 %dir %{texmfdist}/source/generic
 %dir %{texmf}
 %dir %{texmf}/doc
@@ -7464,6 +8365,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
@@ -7477,6 +8381,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
 
@@ -7505,6 +8410,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*
@@ -7533,6 +8444,8 @@ fi
 %{_mandir}/man1/weave.1*
 %{_mandir}/man5/fmtutil.cnf.5*
 %{_mandir}/man5/updmap.cfg.5*
+%{fmtdir}/pdftex/pdfetex.fmt
+%{fmtdir}/tex/tex.fmt
 
 %files other-utils
 %defattr(644,root,root,755)
@@ -7552,7 +8465,6 @@ 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
@@ -7569,7 +8481,6 @@ 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
@@ -7615,12 +8526,9 @@ fi
 %{_mandir}/man1/vlna.1*
 %{_mandir}/man5/synctex.5*
 %{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
@@ -7646,11 +8554,24 @@ fi
 %{texmfdist}/source/generic/mkjobtexmf
 %{texmf}/hbf2gf
 %{texmf}/fmtutil/format.texsis.cnf
+%{fmtdir}/pdftex/texsis.fmt
+
+%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
@@ -7672,7 +8593,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
@@ -7685,6 +8605,7 @@ fi
 %dir %{texmfdist}/fonts/map/dvips
 %dir %{texmfdist}/fonts/map/dvips/vntex
 %dir %{texmfdist}/fonts/map/fontname
+%dir %{texmfdist}/fonts/map/public
 %dir %{texmfdist}/fonts/map/vtex
 %dir %{texmfdist}/fonts/ofm
 %dir %{texmfdist}/fonts/ofm/public
@@ -7709,9 +8630,7 @@ fi
 %dir %{texmfdist}/fonts/vf
 %dir %{texmfdist}/fonts/vf/public
 %dir %{texmfdist}/fonts/vf/vntex
-%dir %{texmfdist}/source
 %dir %{texmfdist}/source/fonts
-%dir %{texmfdist}/source/latex
 %dir %{texmf}/fonts
 %dir %{texmf}/fonts/opentype
 %dir %{texmf}/fonts/opentype/public
@@ -7831,7 +8750,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
@@ -7862,7 +8780,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
@@ -7877,7 +8794,6 @@ fi
 %doc %{texmfdist}/doc/latex/preview
 %doc %{texmfdist}/doc/latex/program
 %doc %{texmfdist}/doc/latex/psfrag
-%doc %{texmfdist}/doc/latex/revtex
 %doc %{texmfdist}/doc/latex/rotating
 %doc %{texmfdist}/doc/latex/rotfloat
 %doc %{texmfdist}/doc/latex/scale
@@ -8067,7 +8983,7 @@ fi
 
 %files tex-kastrup
 %defattr(644,root,root,755)
-%doc %{texmfdist}/doc/generic/kastrup/binhex.pdf
+%doc %{texmfdist}/doc/generic/kastrup
 %{texmfdist}/source/generic/kastrup
 %{texmfdist}/tex/generic/kastrup
 
@@ -8086,6 +9002,7 @@ fi
 %defattr(644,root,root,755)
 %{texmfdist}/tex/physe
 %{texmf}/fmtutil/format.physe.cnf
+%{fmtdir}/pdftex/physe.fmt
 
 %files tex-velthuis
 %defattr(644,root,root,755)
@@ -8096,26 +9013,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
@@ -8164,6 +9061,7 @@ fi
 %attr(755,root,root) %{_bindir}/mptopdf
 %{_mandir}/man1/mptopdf.1*
 %{texmfdist}/tex/mptopdf
+%{fmtdir}/pdftex/mptopdf.fmt
 
 %files texdoctk
 %defattr(644,root,root,755)
@@ -8187,14 +9085,13 @@ fi
 %{texmf}/texconfig/v
 %{texmf}/texconfig/x
 
-%ifarch ppc
-# Don't builded xindy
-%else
+%if %{with xindy}
 %files -n xindy
 %defattr(644,root,root,755)
 %doc %{texmf}/doc/xindy
 %dir %{texmf}/xindy
 %dir %{texmf}/xindy/lang
+%dir %{texmf}/scripts/xindy
 %attr(755,root,root) %{texmf}/scripts/xindy/*
 %attr(755,root,root) %{_bindir}/tex2xindy
 %attr(755,root,root) %{_bindir}/xindy
@@ -8408,7 +9305,7 @@ fi
 %attr(755,root,root) %{_bindir}/pdfcrop
 %attr(755,root,root) %{_bindir}/pdftex
 %attr(755,root,root) %{texmf}/scripts/epstopdf/epstopdf*
-%attr(1777,root,root) %dir %{fmtdir}/pdftex
+%dir %{fmtdir}/pdftex
 %{_mandir}/man1/epstopdf.1*
 %{_mandir}/man1/pdftex.1*
 %{texmfdist}/fonts/enc/pdftex
@@ -8416,6 +9313,7 @@ fi
 %{texmfdist}/scripts/pdfcrop
 %{texmf}/fmtutil/format.pdftex.cnf
 %{texmf}/fonts/map/pdftex/updmap
+%{fmtdir}/pdftex/pdftex.fmt
 
 %files phyzzx
 %defattr(644,root,root,755)
@@ -8426,6 +9324,7 @@ fi
 %{texmfdist}/tex/phyzzx/base
 %{texmfdist}/tex/phyzzx/config
 %{texmf}/fmtutil/format.phyzzx.cnf
+%{fmtdir}/pdftex/phyzzx.fmt
 
 %files omega
 %defattr(644,root,root,755)
@@ -8472,6 +9371,8 @@ fi
 %{_mandir}/man1/outocp.1*
 %{_mandir}/man1/ovf2ovp.1*
 %{_mandir}/man1/ovp2ovf.1*
+%{fmtdir}/aleph
+%{fmtdir}/omega
 
 %files plain
 %defattr(644,root,root,755)
@@ -8494,6 +9395,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)
@@ -8503,14 +9405,10 @@ 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
 %defattr(644,root,root,755)
-%dir %{texmfdist}/tex/amstex
-%{texmfdist}/tex/amstex/base
 %{texmfdist}/tex/amstex/config
 %{texmfdist}/tex/plain/amsfonts
 
@@ -8526,24 +9424,19 @@ 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
 
 %files format-csplain
 %defattr(644,root,root,755)
+%{fmtdir}/pdftex/csplain.fmt
 
 %files format-pdfcsplain
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/pdfcsplain
+%{fmtdir}/pdftex/pdfcsplain.fmt
 
 %files cslatex
 %defattr(644,root,root,755)
@@ -8575,6 +9468,7 @@ fi
 %{_mandir}/man1/eplain.1*
 %{_mandir}/man1/etex.1*
 %{texmf}/fmtutil/format.eplain.cnf
+%{fmtdir}/pdftex/etex.fmt
 
 %files context
 %defattr(644,root,root,755)
@@ -8651,6 +9545,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*
@@ -9196,6 +10091,8 @@ fi
 %{texmfdist}/tex/plain/etex
 %{texmf}/tex/latex/config
 %{texmf}/tex/latex/dvipdfm
+%{fmtdir}/pdftex/latex.fmt
+%{fmtdir}/pdftex/mllatex.fmt
 
 %files latex-12many
 %defattr(644,root,root,755)
@@ -9265,7 +10162,6 @@ fi
 
 %files latex-bbm
 %defattr(644,root,root,755)
-%doc %{texmfdist}/doc/fonts/bbm
 %{texmfdist}/tex/latex/bbm
 
 %files latex-bbold
@@ -9294,7 +10190,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
@@ -9315,7 +10210,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
@@ -9341,7 +10235,8 @@ fi
 %files latex-bibtex-revtex4
 %defattr(644,root,root,755)
 %dir %{texmfdist}/source/latex/revtex
-%doc %{texmfdist}/doc/latex/revtex/revtex4.pdf
+%dir %{texmfdist}/doc/latex
+%doc %{texmfdist}/doc/latex/revtex
 %{texmfdist}/source/latex/revtex/revtex4.dtx
 %{texmfdist}/source/latex/revtex/revtex4.ins
 %{texmfdist}/tex/latex/revtex/revtex4.cls
@@ -9593,6 +10488,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
@@ -9610,11 +10510,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
@@ -9766,8 +10658,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
@@ -9832,7 +10722,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
@@ -10219,7 +11108,6 @@ fi
 %doc %{texmfdist}/doc/latex/toptesi
 %doc %{texmfdist}/doc/latex/trajan
 %doc %{texmfdist}/doc/latex/translator
-%doc %{texmfdist}/doc/latex/tree-dvips
 %doc %{texmfdist}/doc/latex/trivfloat
 %doc %{texmfdist}/doc/latex/turnstile
 %doc %{texmfdist}/doc/latex/twoup
@@ -10270,8 +11158,6 @@ fi
 
 %files latex-math-sources
 %defattr(644,root,root,755)
-%dir %{texmfdist}/source
-%dir %{texmfdist}/source/latex
 %{texmfdist}/source/latex/bez123
 %{texmfdist}/source/latex/binomexp
 %{texmfdist}/source/latex/cmll
@@ -10303,6 +11189,7 @@ fi
 
 %files latex-math
 %defattr(644,root,root,755)
+%doc %{texmfdist}/doc/fonts/eco
 %doc %{texmfdist}/doc/latex/bez123
 %doc %{texmfdist}/doc/latex/binomexp
 %doc %{texmfdist}/doc/latex/cmll
 %{texmfdist}/fonts/source/public/trsym
 %{texmfdist}/fonts/source/public/ulsy
 %{texmfdist}/fonts/tfm/public/cmll
+%{texmfdist}/fonts/tfm/public/eco
 %{texmfdist}/fonts/tfm/public/esvect
 %{texmfdist}/fonts/tfm/public/trsym
 %{texmfdist}/fonts/tfm/public/ulsy
 %{texmfdist}/fonts/type1/public/cmll
 %{texmfdist}/fonts/type1/public/esvect
+%{texmfdist}/fonts/vf/public/eco
+%{texmfdist}/source/fonts/eco
 %{texmfdist}/source/latex/makeplot
 %{texmfdist}/source/latex/mfpic4ode
 %{texmfdist}/source/latex/semantic
@@ -10406,6 +11296,9 @@ fi
 %{texmfdist}/tex/latex/trfsigns
 %{texmfdist}/tex/latex/trsym
 %{texmfdist}/tex/latex/ulsy
+%doc %{texmfdist}/doc/latex/tree-dvips
+%{texmfdist}/source/latex/tree-dvips
+%{texmfdist}/tex/latex/tree-dvips
 
 %files latex-physics
 %defattr(644,root,root,755)
@@ -10434,6 +11327,8 @@ fi
 %{texmfdist}/tex/latex/listofsymbols
 %{texmfdist}/tex/latex/miller
 %{texmfdist}/tex/latex/susy
+%{texmfdist}/fonts/source/public/circ
+%{texmfdist}/fonts/tfm/public/circ
 
 %files latex-chem
 %defattr(644,root,root,755)
@@ -10569,8 +11464,6 @@ fi
 
 %files latex-sources
 %defattr(644,root,root,755)
-%dir %{texmfdist}/source
-%dir %{texmfdist}/source/latex
 %{texmfdist}/source/latex/acronym
 %{texmfdist}/source/latex/adrlist
 %{texmfdist}/source/latex/altfont
@@ -11751,9 +12644,6 @@ fi
 %{texmfdist}/tex/latex/trajan
 # Provide an open platform for packages to be localized.
 %{texmfdist}/tex/latex/translator
-# Trees and other linguists' macros.
-%{texmfdist}/source/latex/tree-dvips
-%{texmfdist}/tex/latex/tree-dvips
 # Quick float definitions in LaTeX.
 %{texmfdist}/source/latex/trivfloat
 %{texmfdist}/tex/latex/trivfloat
 
 %files latex-pst-3dplot
 %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
 %{texmfdist}/tex/generic/pst-3dplot
+%{texmfdist}/tex/latex/pst-3d
 %{texmfdist}/tex/latex/pst-3dplot
 
 %files latex-pst-bar
 %defattr(644,root,root,755)
-%doc %{texmfdist}/doc/generic/pst-3dplot
-%{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
 
@@ -11903,7 +12790,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
 
 %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
 
 %files latex-pst-uncategorized
 %defattr(644,root,root,755)
-%doc %{texmfdist}/doc/generic/pst-3d
 %doc %{texmfdist}/doc/generic/pst-asr
 %doc %{texmfdist}/doc/generic/pst-bar
 %doc %{texmfdist}/doc/generic/pst-barcode
 %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-3d
-%{texmfdist}/source/generic/pst-3dplot
 %{texmfdist}/source/generic/pst-barcode
 %{texmfdist}/source/generic/pst-blur
 %{texmfdist}/source/generic/pst-circ
@@ -11995,7 +12864,6 @@ fi
 %{texmfdist}/source/latex/pst-gr3d
 %{texmfdist}/source/latex/pst-pdf
 %{texmfdist}/source/latex/pst-poly
-%{texmfdist}/tex/generic/pst-3d
 %{texmfdist}/tex/generic/pst-asr
 %{texmfdist}/tex/generic/pst-barcode
 %{texmfdist}/tex/generic/pst-blur
@@ -12021,7 +12889,6 @@ fi
 %{texmfdist}/tex/generic/pst-spectra
 %{texmfdist}/tex/generic/pst-stru
 %{texmfdist}/tex/generic/pst-vue3d
-%{texmfdist}/tex/latex/pst-3d
 %{texmfdist}/tex/latex/pst-asr
 %{texmfdist}/tex/latex/pst-barcode
 %{texmfdist}/tex/latex/pst-blur
@@ -12055,7 +12922,6 @@ fi
 %files latex-psnfss
 %defattr(644,root,root,755)
 %doc %{texmfdist}/doc/latex/psnfss
-%dir %{texmfdist}/source/latex
 %{texmfdist}/fonts/map/dvips/psnfss
 %{texmfdist}/source/latex/psnfss
 %{texmfdist}/source/latex/latex-tds
 
 %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
 
@@ -12100,7 +12964,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
 %files latex-xcolor
 %defattr(644,root,root,755)
 %doc %{texmfdist}/doc/latex/xcolor
-%{texmfdist}/dvips/xcolor
 %{texmfdist}/source/latex/xcolor
 
 %files format-pdflatex
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/pdflatex
+%{fmtdir}/pdftex/pdflatex.fmt
 %{_mandir}/man1/pdflatex.1*
 
 %files tex-babel
@@ -12163,7 +13026,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
@@ -12188,7 +13050,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
@@ -12197,7 +13058,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
 
@@ -12307,7 +13162,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)
@@ -12365,7 +13219,6 @@ fi
 %dir %{texmfdist}/fonts/map/dvips
 %dir %{texmfdist}/fonts/pk/ljfour/public
 %doc %{texmfdist}/doc/fonts/cm
-%{texmfdist}/dvips/cm
 %{texmfdist}/fonts/afm/bluesky/cm
 %{texmfdist}/fonts/map/dvips/cm
 %{texmfdist}/fonts/pk/ljfour/public/cm
@@ -12374,7 +13227,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
@@ -12406,7 +13258,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
@@ -12420,7 +13271,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
@@ -12443,7 +13293,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
@@ -12457,7 +13306,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
@@ -12494,7 +13342,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/*
@@ -12502,7 +13349,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
 
@@ -12542,9 +13388,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
@@ -12553,7 +13397,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
@@ -12753,9 +13596,6 @@ fi
 %{texmfdist}/fonts/source/public/china2e
 %{texmfdist}/fonts/tfm/public/china2e
 
-%{texmfdist}/fonts/source/public/circ
-%{texmfdist}/fonts/tfm/public/circ
-
 %doc %{texmfdist}/doc/fonts/cirth
 %{texmfdist}/fonts/source/public/cirth
 %{texmfdist}/fonts/tfm/public/cirth
 %{texmfdist}/fonts/source/public/ean
 %{texmfdist}/fonts/tfm/public/ean
 
-%doc %{texmfdist}/doc/fonts/eco
-%{texmfdist}/fonts/tfm/public/eco
-%{texmfdist}/fonts/vf/public/eco
-%{texmfdist}/source/fonts/eco
-
 %doc %{texmfdist}/doc/fonts/eiad
 %{texmfdist}/fonts/source/public/eiad
 %{texmfdist}/fonts/tfm/public/eiad
@@ -13388,7 +14223,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
@@ -13428,7 +14263,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
@@ -13438,8 +14272,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
@@ -13455,7 +14287,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
@@ -13552,7 +14383,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
@@ -13690,6 +14511,7 @@ fi
 %dir %{texmfdist}/scripts/dviasm
 %dir %{texmf}/fonts/cmap
 %doc %{texmf}/fonts/cmap/README
+%attr(755,root,root) %{_bindir}/disdvi
 %attr(755,root,root) %{_bindir}/dt2dv
 %attr(755,root,root) %{_bindir}/dv2dt
 %attr(755,root,root) %{_bindir}/dvi2tty
 %{texmf}/fonts/cmap/dvipdfmx
 %{texmf}/fonts/map/dvipdfmx
 
-%files epsutils
+%files psutils
 %defattr(644,root,root,755)
+%dir %{texmf}/scripts/ps2eps
+%doc %{texmfdist}/doc/epspdf
 %attr(755,root,root) %{_bindir}/epsffit
 %attr(755,root,root) %{_bindir}/epspdf
 %attr(755,root,root) %{_bindir}/epspdftk
-%attr(755,root,root) %{_bindir}/pst2pdf
-%doc %{texmfdist}/doc/epspdf
-%{_mandir}/man1/epsffit*
-%{texmfdist}/scripts/epspdf
-
-%files filters
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/fix*
-%{_mandir}/man1/fix*
-
-%files psutils
-%defattr(644,root,root,755)
-%dir %{texmf}/scripts/ps2eps
 %attr(755,root,root) %{_bindir}/extractres
+%attr(755,root,root) %{_bindir}/fix*
 %attr(755,root,root) %{_bindir}/getafm
 %attr(755,root,root) %{_bindir}/includeres
+%attr(755,root,root) %{_bindir}/ps2eps
 %attr(755,root,root) %{_bindir}/psbook
 %attr(755,root,root) %{_bindir}/psmerge
 %attr(755,root,root) %{_bindir}/psnup
 %attr(755,root,root) %{_bindir}/psresize
 %attr(755,root,root) %{_bindir}/psselect
-%attr(755,root,root) %{_bindir}/ps2eps
+%attr(755,root,root) %{_bindir}/pst2pdf
 %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/ps2eps.1*
 %{_mandir}/man1/psbook*
 %{_mandir}/man1/psmerge*
 %{_mandir}/man1/psnup*
 %{_mandir}/man1/psresize*
 %{_mandir}/man1/psselect*
 %{_mandir}/man1/pstops*
-%{_mandir}/man1/ps2eps.1*
+%{texmfdist}/scripts/epspdf
 %{texmf}/dvips/psutils
 
 %files uncategorized-utils
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/devnag
-%attr(755,root,root) %{_bindir}/disdvi
 
 %files tex4ht
 %defattr(644,root,root,755)
@@ -13797,6 +14612,7 @@ fi
 %attr(755,root,root) %{_bindir}/xdvipdfmx
 %attr(755,root,root) %{_bindir}/xelatex
 %attr(755,root,root) %{_bindir}/xetex
+%dir %{fmtdir}/xetex
 %doc %{texmfdist}/doc/generic/ifxetex
 %doc %{texmfdist}/doc/generic/xetex-pstricks
 %doc %{texmfdist}/doc/xelatex
@@ -13809,6 +14625,8 @@ fi
 %{texmfdist}/tex/xelatex
 %{texmfdist}/tex/xetex
 %{texmf}/fmtutil/format.xetex.cnf
+%{fmtdir}/xetex/xetex.fmt
+%{fmtdir}/xetex/xelatex.fmt
 
 %files xmltex
 %defattr(644,root,root,755)
@@ -13818,3 +14636,5 @@ fi
 %{texmfdist}/source/xmltex
 %{texmfdist}/tex/xmltex
 %{texmf}/fmtutil/format.xmltex.cnf
+%{fmtdir}/pdftex/pdfxmltex.fmt
+%{fmtdir}/pdftex/xmltex.fmt
This page took 0.196233 seconds and 4 git commands to generate.