]> git.pld-linux.org Git - packages/texlive.git/blobdiff - texlive.spec
- release 23 (by relup.sh)
[packages/texlive.git] / texlive.spec
index 2cb65897debcc8d28e9cd0e10ac26cfeaf6bb4d4..b7bc5ec18c14383e6a53644eae4a82b6a2c86886 100644 (file)
@@ -1,40 +1,27 @@
 # TODO:
-#
-# MAIN TODO (sort by importnce):
-# - texlive-format-pdflatex deps
-# - pl updates
-# - see uncategorized and *other* subpackages and split
-# - context: consider more splitting, check dependencies
-# - omega: consider more splitting, check dependencies
-# - tdphp: is it really useful?
-# - allow using Type1 fonts in others applications (symlink to
-#   /usr/share/fonts/Type1 ?)
-# - fix package removal:
-#   /usr/bin/texhash[77]: kpsewhich: not found
-# - drop ppc bconds once clisp is fixed on that architecture
-# - jadetex subpackage (from other-utils)
-# - maybe patch main config file (http://www.togaware.com/linux/survivor/TeX_Capacity.html)
-#
-# FHS TODO:
-# - merge rhconfig and texmfsysvar patches
-# - texmfsysvar patch: change fmtutil and web2cdir variables instead
-#   of creating texmfsys{config,var} variables?
-# - move config files to /etc
-# - merge all above with configure switch "--enable-fhs" and send it to TE
-#
-# TeXLive specific TODO:
-# - summary/description correcting (all languages)
-# - texk/web2c doesn't build (luatex option)
-# - %files latex-bibtex-revtex4
-# - Check CEF/cjk!
-# - texdoc: /usr/bin/env: texlua: No such file or directory
-# - tlmgr: "kpsewhich" is not exported by the TeXLive::TLUtils module
-#
+# - get rid of /etc/cron.daily depencency from base pkg, use /etc/tmpwatch.d instead
+# - cache in /var/lib? (move to /var/cache)
+# - dep loops:
+#error: LOOP:
+#error: removing kpathsea-20080816-5.x86_64 "Requires(post): /usr/bin/texhash" from tsort relations.
+#error:     kpathsea-20080816-5.x86_64               Requires(post): /usr/bin/texhash
+#error: removing texlive-20080816-5.x86_64 "Requires: texconfig = 1:20080816-5" from tsort relations.
+#error:     texlive-20080816-5.x86_64                Requires: texconfig = 1:20080816-5
+#error: removing texconfig-20080816-5.x86_64 "Requires: texlive-dvips = 1:20080816-5" from tsort relations.
+#error:     texconfig-20080816-5.x86_64              Requires: texlive-dvips = 1:20080816-5
+#error: removing texlive-dvips-20080816-5.x86_64 "Requires(auto): libkpathsea.so.4()(64bit)" from tsort relations.
+#error:     texlive-dvips-20080816-5.x86_64          Requires(auto): libkpathsea.so.4()(64bit)
+#Preparing...                ########################################### [100%]
+
 %include       /usr/lib/rpm/macros.perl
-#
 # Conditional build:
 %bcond_with    bootstrap       # bootstrap build
-#
+%bcond_without xindy           # do not build xindy packages
+
+%if %{with bootstrap}
+%undefine      with_xindy
+%endif
+
 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
@@ -45,7 +32,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.1
+Release:       23
 Epoch:         1
 License:       distributable
 Group:         Applications/Publishing/TeX
@@ -58,8 +45,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
@@ -88,11 +77,22 @@ 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
 URL:           http://www.tug.org/texlive/
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: bison
+%if %{with xindy}
 BuildRequires: clisp
+%endif
 BuildRequires: ed
 BuildRequires: expat-devel
 BuildRequires: ffcall-devel
@@ -114,20 +114,23 @@ 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: %{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}-metafont
 BuildRequires: %{name}-metapost
 BuildRequires: %{name}-mex
 BuildRequires: %{name}-omega
@@ -138,9 +141,7 @@ BuildRequires:      %{name}-plain
 BuildRequires: %{name}-tex-babel
 BuildRequires: %{name}-tex-physe
 BuildRequires: %{name}-xetex
-BuildRequires: %{name}-xetex
 BuildRequires: %{name}-xmltex
-BuildRequires:         %{name}-context
 # fill with future texlive BR. guesses ones for now
 %endif
 BuildRequires: /usr/bin/latex
@@ -154,7 +155,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}
@@ -164,7 +164,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
@@ -180,31 +181,32 @@ Obsoletes:        tetex-format-pdfemex
 Obsoletes:     tetex-format-pdfetex
 Obsoletes:     tetex-latex-vnps
 Obsoletes:     tetex-latex-vnr
-Obsoletes:     tetex-oxdvi
+Obsoletes:     tetex-metafont
 Obsoletes:     tetex-oxdvi
 Obsoletes:     tetex-plain-dvips
-Obsoletes:     tetex-plain-dvips
-Obsoletes:     tetex-plain-mathtime
 Obsoletes:     tetex-plain-mathtime
 Obsoletes:     tetex-plain-misc
-Obsoletes:     tetex-plain-misc
-Obsoletes:     tetex-plain-plnfss
 Obsoletes:     tetex-plain-plnfss
 Obsoletes:     tetex-tex-hyphen
 Obsoletes:     tetex-tex-vietnam
+Obsoletes:     texlive-metafont
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                texmf   %{_datadir}/texmf
 %define                texmfdist %{texmf}-dist
 %define                texmfdoc %{texmf}-doc
 %define                fmtdir  /var/lib/texmf/web2c
-%define                texhash [ ! -x %{_bindir}/texhash ] || %{_bindir}/texhash 1>&2;
+%define                texhash umask 022; [ ! -x %{_bindir}/texhash ] || %{_bindir}/texhash 1>&2;
 %define                _localstatedir  /var/lib/texmf
 %define                fixinfodir [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 ;
 %define                fmtutil(f:) [ ! \\\( -f %{_localstatedir}/web2c/%{-f*}.fmt.rpmnew -o -f %{_localstatedir}/web2c/%{-f*}.efmt.rpmnew \\\) ] || %{_bindir}/fmtutil-sys --byfmt %{-f*} >/dev/null 2>/dev/null || echo "Regenerating %{-f*} failed. See %{_localstatedir}/web2c/%{-f*}.log for details" 1>&2 && exit 0 ;
 
 %define                _noautoreq 'perl(path_tre)'
 
+# this package is a complete mess, lets just live with it here
+# and concentrate on cleaning master
+%define                _duplicate_files_terminate_build        0
+
 %description
 TeXLive is an implementation of TeX for Linux or UNIX systems. TeX
 takes a text file and a set of formatting commands as input and
@@ -259,15 +261,34 @@ TeXbook' başlıklı kitabında anlatılmaktadır.
 Summary:       Other utilities
 Group:         Applications/Publishing/TeX
 Obsoletes:     tetex-format-cyrtexinfo
-Obsoletes:     jadetex
-Provides:      jadetex
 
 %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.
@@ -275,6 +296,9 @@ Other utilities documentation.
 %package doc
 Summary:       Documentation for TeX Live
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc
 Assorted useful documentation for TeX Live.
@@ -282,6 +306,9 @@ Assorted useful documentation for TeX Live.
 %package doc-bg
 Summary:       Bulgarian documentation for TeX Live
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc-bg
 Assorted useful Bulgarian documentation for TeX Live.
@@ -289,6 +316,9 @@ Assorted useful Bulgarian documentation for TeX Live.
 %package doc-cs
 Summary:       Czech documentation for TeX Live
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc-cs
 Assorted useful Czech documentation for TeX Live.
@@ -296,6 +326,9 @@ Assorted useful Czech documentation for TeX Live.
 %package doc-de
 Summary:       German documentation for TeX Live
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc-de
 Assorted useful German documentation for TeX Live.
@@ -303,6 +336,9 @@ Assorted useful German documentation for TeX Live.
 %package doc-el
 Summary:       Greek documentation for TeX Live
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc-el
 Assorted useful Greek documentation for TeX Live.
@@ -310,6 +346,9 @@ Assorted useful Greek documentation for TeX Live.
 %package doc-es
 Summary:       Spanish documentation for TeX Live
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc-es
 Assorted useful Spanish documentation for TeX Live.
@@ -317,6 +356,9 @@ Assorted useful Spanish documentation for TeX Live.
 %package doc-fi
 Summary:       Finnish documentation for TeX Live
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc-fi
 Assorted useful Finnish documentation for TeX Live.
@@ -324,6 +366,9 @@ Assorted useful Finnish documentation for TeX Live.
 %package doc-fr
 Summary:       French documentation for TeX Live
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc-fr
 Assorted useful French documentation for TeX Live.
@@ -331,6 +376,9 @@ Assorted useful French documentation for TeX Live.
 %package doc-it
 Summary:       Italian documentation for TeX Live
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc-it
 Assorted useful Italian documentation for TeX Live.
@@ -338,6 +386,9 @@ Assorted useful Italian documentation for TeX Live.
 %package doc-ja
 Summary:       Japanese documentation for TeX Live
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc-ja
 Assorted useful Japanese documentation for TeX Live.
@@ -345,6 +396,9 @@ Assorted useful Japanese documentation for TeX Live.
 %package doc-ko
 Summary:       Korean documentation for TeX Live
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc-ko
 Assorted useful Korean documentation for TeX Live.
@@ -352,6 +406,9 @@ Assorted useful Korean documentation for TeX Live.
 %package doc-mn
 Summary:       Mongolian documentation for TeX Live
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc-mn
 Assorted useful Mongolian documentation for TeX Live.
@@ -359,6 +416,9 @@ Assorted useful Mongolian documentation for TeX Live.
 %package doc-nl
 Summary:       Dutch documentation for TeX Live
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc-nl
 Assorted useful Dutch documentation for TeX Live.
@@ -366,6 +426,9 @@ Assorted useful Dutch documentation for TeX Live.
 %package doc-pl
 Summary:       Polish documentation for TeX Live
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc-pl
 Assorted useful Polish documentation for TeX Live.
@@ -373,6 +436,9 @@ Assorted useful Polish documentation for TeX Live.
 %package doc-pt
 Summary:       Portuguese documentation for TeX Live
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc-pt
 Assorted useful Portuguese documentation for TeX Live.
@@ -380,6 +446,9 @@ Assorted useful Portuguese documentation for TeX Live.
 %package doc-ru
 Summary:       Russian documentation for TeX Live
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc-ru
 Assorted useful Russian documentation for TeX Live.
@@ -387,6 +456,9 @@ Assorted useful Russian documentation for TeX Live.
 %package doc-sk
 Summary:       Slovak documentation for TeX Live
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc-sk
 Assorted useful Slovak documentation for TeX Live.
@@ -394,6 +466,9 @@ Assorted useful Slovak documentation for TeX Live.
 %package doc-sl
 Summary:       Slovenian documentation for TeX Live
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc-sl
 Assorted useful Slovenian documentation for TeX Live.
@@ -401,6 +476,9 @@ Assorted useful Slovenian documentation for TeX Live.
 %package doc-th
 Summary:       Thai documentation for TeX Live
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc-th
 Assorted useful Thai documentation for TeX Live.
@@ -408,6 +486,9 @@ Assorted useful Thai documentation for TeX Live.
 %package doc-tr
 Summary:       Turkish documentation for TeX Live
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc-tr
 Assorted useful Turkish documentation for TeX Live.
@@ -415,6 +496,9 @@ Assorted useful Turkish documentation for TeX Live.
 %package doc-uk
 Summary:       Ukrainian documentation for TeX Live
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc-uk
 Assorted useful Ukrainian documentation for TeX Live.
@@ -422,6 +506,9 @@ Assorted useful Ukrainian documentation for TeX Live.
 %package doc-vi
 Summary:       Vietnamese documentation for TeX Live
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc-vi
 Assorted useful Vietnamese documentation for TeX Live.
@@ -429,6 +516,9 @@ Assorted useful Vietnamese documentation for TeX Live.
 %package doc-zh_CN
 Summary:       Chinese documentation for TeX Live
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc-zh_CN
 Assorted useful Chinese documentation for TeX Live.
@@ -441,6 +531,9 @@ Group:              Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-doc-latex
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description doc-latex
 Basic LaTeX packages documentation.
@@ -662,6 +755,9 @@ Summary(hu.UTF-8):  Tömb adatstruktúra (La)TeX-hez
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description tex-arrayjob
 Array data structures for (La)TeX.
@@ -675,6 +771,9 @@ Summary(hu.UTF-8):  Pontok előállítása matematikai módban a font méret figy
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description tex-mathdots
 Commands to produce dots in math that respect font size.
@@ -688,6 +787,9 @@ Summary(hu.UTF-8):  Hasznos makrók gyűjteménye
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description tex-midnight
 A set of useful macro tools.
@@ -700,6 +802,9 @@ Summary:    Convert numbers into binary, octal and hexadecimal
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description tex-kastrup
 Convert numbers into binary, octal and hexadecimal.
@@ -709,6 +814,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.
@@ -732,6 +840,9 @@ Summary(hu.UTF-8):  Ezzel a csomaggal lehetőséged nyílik Devanagari szövegek
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description tex-velthuis
 This package provides support for typesetting texts in Devanagari
@@ -747,6 +858,9 @@ Summary(hu.UTF-8):  MIT-en fejlesztett makrócsomag
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description tex-ytex
 Macro package developed at MIT.
@@ -754,22 +868,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
@@ -777,7 +875,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.
@@ -794,6 +892,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.
@@ -808,6 +909,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.
@@ -854,7 +956,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
 
@@ -875,7 +976,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
 
@@ -1408,6 +1508,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
@@ -1424,7 +1525,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
@@ -1487,9 +1591,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.
@@ -1508,6 +1616,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.
@@ -1521,6 +1632,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.
@@ -1565,11 +1677,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.
@@ -1584,7 +1700,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
@@ -1648,8 +1764,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.
@@ -1663,7 +1782,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.
@@ -1677,6 +1796,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.
@@ -1692,8 +1812,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.
@@ -1707,6 +1830,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.
@@ -1724,8 +1848,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
@@ -1746,6 +1871,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.
@@ -1760,6 +1888,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.
@@ -1774,6 +1905,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.
@@ -1861,6 +1995,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.
@@ -1871,6 +2008,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.
@@ -1884,6 +2024,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.
@@ -1896,6 +2040,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.
@@ -1909,6 +2057,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.
@@ -1925,6 +2076,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
@@ -1946,6 +2100,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
@@ -1967,6 +2125,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.
@@ -1985,6 +2146,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
@@ -2012,6 +2176,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
@@ -2029,6 +2196,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.
@@ -2044,6 +2214,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.
@@ -2056,6 +2229,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.
@@ -2071,6 +2247,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.
@@ -2104,6 +2283,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.
@@ -2117,6 +2299,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).
@@ -2133,6 +2318,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.
@@ -2146,6 +2334,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
@@ -2167,6 +2359,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.
@@ -2182,6 +2377,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.
@@ -2197,6 +2395,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.
@@ -2212,6 +2413,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.
@@ -2226,6 +2430,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.
@@ -2239,6 +2446,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.
@@ -2252,6 +2462,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.
@@ -2265,6 +2478,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.
@@ -2280,6 +2496,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.
@@ -2294,6 +2513,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
@@ -2314,6 +2536,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.
@@ -2329,6 +2554,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
@@ -2350,6 +2578,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.
@@ -2365,6 +2596,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
@@ -2383,6 +2617,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.
@@ -2396,6 +2633,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.
@@ -2410,6 +2650,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
@@ -2427,6 +2670,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.
@@ -2440,6 +2686,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
@@ -2455,6 +2704,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.
@@ -2468,6 +2720,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.
@@ -2475,6 +2730,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")
@@ -2494,6 +2765,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.
@@ -2507,6 +2781,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.
@@ -2514,29 +2791,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.
@@ -2550,6 +2813,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.
@@ -2563,6 +2829,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.
@@ -2576,6 +2845,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).
@@ -2589,6 +2861,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.
@@ -2602,6 +2877,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).
@@ -2616,6 +2894,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
@@ -2644,6 +2927,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.
@@ -2657,6 +2943,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.
@@ -2675,6 +2965,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.
@@ -2685,6 +2978,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.
@@ -2700,6 +2996,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:
@@ -2813,6 +3112,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:
@@ -2856,6 +3158,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.
@@ -2868,11 +3173,9 @@ Summary: Mathematical packages
 Summary(hu.UTF-8):     Matematikai csomagok
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
-Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
-# gnuplottex needs gnuplot
-Requires:      gnuplot
 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}
@@ -2881,6 +3184,11 @@ 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:
@@ -2981,6 +3289,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:
@@ -3004,6 +3315,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:
@@ -3026,6 +3340,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:
@@ -3058,6 +3375,9 @@ Group:            Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name}-latex = %{epoch}:%{version}-%{release}
 Requires:      %{name}-xetex = %{epoch}:%{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description latex-biology
 This package contains:
@@ -3074,8 +3394,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:
@@ -3095,11 +3418,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:
@@ -3128,6 +3452,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:
@@ -3160,6 +3487,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:
@@ -3190,6 +3520,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
@@ -3213,6 +3547,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.
@@ -3227,6 +3564,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.
@@ -3243,6 +3583,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
@@ -3268,6 +3611,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'
@@ -3286,6 +3632,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.
@@ -3300,6 +3649,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.
@@ -3314,6 +3666,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.
@@ -3329,6 +3684,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.
@@ -3336,13 +3694,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.
@@ -3356,6 +3716,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.
@@ -3370,6 +3733,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.
@@ -3383,6 +3749,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.
@@ -3396,6 +3765,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.
@@ -3412,6 +3784,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.
@@ -3428,6 +3803,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.
@@ -3441,6 +3819,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.
@@ -3454,6 +3835,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:
@@ -3531,6 +3915,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.
@@ -3544,6 +3932,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.
@@ -3562,6 +3953,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
@@ -3577,6 +3971,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.
@@ -3590,6 +3987,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.
@@ -3597,13 +3997,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.
@@ -3617,6 +4019,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.
@@ -3630,6 +4035,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.
@@ -3643,6 +4051,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.
@@ -3650,13 +4061,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.
@@ -3670,6 +4083,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.
@@ -3683,6 +4099,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.
@@ -3696,6 +4115,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.
@@ -3709,6 +4131,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
@@ -3723,6 +4148,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.
@@ -3736,6 +4164,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.
@@ -3749,6 +4180,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.
@@ -3762,6 +4196,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.
@@ -3775,6 +4212,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.
@@ -3788,6 +4228,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.
@@ -3803,6 +4246,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.
@@ -3816,6 +4262,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.
@@ -3829,6 +4278,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
@@ -3843,6 +4295,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.
@@ -3867,6 +4322,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.
@@ -3880,6 +4338,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.
@@ -3892,6 +4353,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.
@@ -3907,6 +4371,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.
@@ -3920,6 +4387,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
@@ -3935,6 +4405,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.
@@ -3951,6 +4424,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
@@ -3978,6 +4454,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
@@ -4004,10 +4483,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
@@ -4043,6 +4523,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
@@ -4064,6 +4547,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.
@@ -4079,6 +4565,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).
@@ -4092,6 +4581,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.
@@ -4106,6 +4598,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.
@@ -4122,6 +4617,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.
@@ -4136,6 +4634,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.
@@ -4149,6 +4650,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.
@@ -4161,9 +4665,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
@@ -4191,6 +4699,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.
@@ -4204,6 +4715,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.
@@ -4219,6 +4733,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
@@ -4236,8 +4753,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
@@ -4254,6 +4774,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.
@@ -4268,6 +4791,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
@@ -4290,6 +4816,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
@@ -4308,6 +4837,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.
@@ -4318,7 +4850,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.
@@ -4333,7 +4870,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.
@@ -4352,6 +4893,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.
@@ -4365,6 +4910,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.
@@ -4381,6 +4929,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.
@@ -4392,6 +4943,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.
@@ -4402,6 +4956,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.
@@ -4417,6 +4974,9 @@ Requires: %{name}-dirs-fonts = %{epoch}:%{version}-%{release}
 Requires:      %{name}-latex-bibtex = %{epoch}:%{version}-%{release}
 Provides:      tetex-fonts-ams
 Obsoletes:     tetex-fonts-ams
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description fonts-ams
 AMS fonts.
@@ -4430,6 +4990,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.
@@ -4444,6 +5007,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.
@@ -4455,6 +5021,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.
@@ -4465,6 +5034,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.
@@ -4478,6 +5050,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.
@@ -4490,7 +5065,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.
@@ -4504,6 +5082,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.
@@ -4517,6 +5098,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.
@@ -4531,6 +5115,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.
@@ -4544,6 +5131,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.
@@ -4556,6 +5146,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.
@@ -4571,6 +5164,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.
@@ -4585,6 +5182,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.
@@ -4598,6 +5198,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.
@@ -4611,6 +5214,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
@@ -4626,6 +5232,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.
@@ -4640,6 +5249,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.
@@ -4657,6 +5269,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,
@@ -4674,6 +5289,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
@@ -4695,6 +5313,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
@@ -4710,6 +5331,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.
@@ -4723,6 +5347,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
@@ -4739,8 +5366,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
@@ -4755,6 +5388,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.
@@ -4769,6 +5405,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.
@@ -4782,6 +5421,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).
@@ -4795,6 +5437,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
@@ -4824,6 +5469,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
@@ -4847,6 +5495,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.
@@ -4860,6 +5511,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.
@@ -4873,6 +5527,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.
@@ -4886,6 +5543,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.
@@ -4901,10 +5561,13 @@ 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.
@@ -4918,6 +5581,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.
@@ -4931,6 +5597,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.
@@ -4948,6 +5617,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.
@@ -4961,6 +5633,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
@@ -4981,6 +5656,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.
@@ -4994,6 +5672,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.
@@ -5005,6 +5686,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.
@@ -5015,6 +5699,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.
@@ -5028,6 +5715,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.
@@ -5041,6 +5731,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.
@@ -5054,6 +5747,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.
@@ -5065,6 +5761,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.
@@ -5076,6 +5775,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.
@@ -5089,6 +5791,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.
@@ -5102,6 +5807,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.
@@ -5115,6 +5823,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.
@@ -5129,6 +5840,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.
@@ -5140,6 +5854,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.
@@ -5150,6 +5867,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.
@@ -5163,6 +5883,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.
@@ -5177,6 +5900,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.
@@ -5190,6 +5916,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.
@@ -5216,6 +5945,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.
@@ -5230,6 +5962,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,
@@ -5247,6 +5982,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
@@ -5264,6 +6002,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
@@ -5326,6 +6067,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
@@ -5349,6 +6093,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.
@@ -5362,6 +6109,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.
@@ -5376,6 +6126,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.
@@ -5389,6 +6142,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.
@@ -5402,6 +6158,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.
@@ -5413,6 +6172,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.
@@ -5424,6 +6186,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.
@@ -5437,6 +6202,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.
@@ -5448,6 +6216,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.
@@ -5458,6 +6229,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.
@@ -5504,6 +6278,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.
@@ -5511,20 +6287,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
@@ -5557,9 +6319,11 @@ fonts.
 %package xmltex
 Summary:       TeX package for processing XML files
 Group:         Applications/Publishing/TeX
-Obsoletes:     xmltex
-Provides:      xmltex
 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.
@@ -5571,6 +6335,14 @@ 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
 CURDIR=$(pwd)
 
 cd utils/xindy/make-rules/alphabets
@@ -5596,6 +6368,7 @@ 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 ../..
 
 %ifarch ppc ppc64
@@ -5604,9 +6377,7 @@ ulimit -s unlimited
 %endif
 
 %configure \
-%if %{with bootstrap}
-       --without-xindy \
-%endif
+       --with%{!?with_xindy:out}-xindy \
        --without-luatex \
        --disable-multiplatform \
        --disable-static \
@@ -5646,6 +6417,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}
@@ -5764,6 +6539,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
@@ -5773,15 +6550,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
@@ -5857,10 +6655,42 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/xindy
 rm -rf $RPM_BUILD_ROOT%{_datadir}/doc
 
 # Create format files
-# for format in latex pdftex pdfetex pdflatex; do
-#      fmtutil --byfmt=${format} --fmtdir=$RPM_BUILD_ROOT%{fmtdir}
-# done
-fmtutil --all --fmtdir=$RPM_BUILD_ROOT%{fmtdir}
+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
@@ -5875,20 +6705,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
@@ -5971,12 +6813,6 @@ fi
 %postun tex-ytex
 %texhash
 
-%post metafont
-%texhash
-
-%postun metafont
-%texhash
-
 %post metapost
 %texhash
 
@@ -6464,6 +7300,12 @@ fi
 %postun latex-float
 %texhash
 
+%post latex-foiltex
+%texhash
+
+%postun latex-foiltex
+%texhash
+
 %post latex-formlett
 %texhash
 
@@ -6482,12 +7324,6 @@ fi
 %postun latex-gbrief
 %texhash
 
-%post latex-jknappen
-%texhash
-
-%postun latex-jknappen
-%texhash
-
 %post latex-keystroke
 %texhash
 
@@ -7371,6 +8207,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
@@ -7438,12 +8280,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
@@ -7456,6 +8300,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
@@ -7510,6 +8355,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
@@ -7523,6 +8371,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
 
@@ -7551,6 +8400,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*
@@ -7579,6 +8434,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)
@@ -7598,7 +8455,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
@@ -7615,7 +8471,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
@@ -7661,12 +8516,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
@@ -7692,11 +8544,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
@@ -7718,7 +8583,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
@@ -7731,6 +8595,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
@@ -7755,9 +8620,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
@@ -7877,7 +8740,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
@@ -7908,7 +8770,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
@@ -8112,7 +8973,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
 
@@ -8131,6 +8992,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)
@@ -8141,26 +9003,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
@@ -8209,6 +9051,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)
@@ -8232,11 +9075,13 @@ fi
 %{texmf}/texconfig/v
 %{texmf}/texconfig/x
 
+%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
@@ -8427,6 +9272,7 @@ fi
 %files -n xindy-vietnamese
 %defattr(644,root,root,755)
 %{texmf}/xindy/lang/vietnamese/
+%endif
 
 %files -n xdvi
 %defattr(644,root,root,755)
@@ -8449,7 +9295,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
@@ -8457,6 +9303,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)
@@ -8467,6 +9314,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)
@@ -8513,6 +9361,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)
@@ -8535,6 +9385,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)
@@ -8544,14 +9395,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
 
@@ -8567,24 +9414,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)
@@ -8616,6 +9458,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)
@@ -8692,6 +9535,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*
@@ -9237,6 +10081,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)
@@ -9306,7 +10152,6 @@ fi
 
 %files latex-bbm
 %defattr(644,root,root,755)
-%doc %{texmfdist}/doc/fonts/bbm
 %{texmfdist}/tex/latex/bbm
 
 %files latex-bbold
@@ -9335,7 +10180,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
@@ -9356,7 +10200,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
@@ -9635,6 +10478,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
@@ -9652,11 +10500,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
@@ -9808,8 +10648,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
@@ -9874,7 +10712,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
@@ -10311,8 +11148,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
@@ -10619,8 +11454,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
@@ -11870,7 +12703,6 @@ fi
 %defattr(644,root,root,755)
 %doc %{texmfdist}/doc/generic/pst-3d
 %doc %{texmfdist}/doc/generic/pst-3dplot
-%{texmfdist}/dvips/pst-3dplot
 %{texmfdist}/source/generic/pst-3d
 %{texmfdist}/source/generic/pst-3dplot
 %{texmfdist}/tex/generic/pst-3d
 
 %files latex-pst-bar
 %defattr(644,root,root,755)
-%{texmfdist}/dvips/pst-bar
 %{texmfdist}/tex/generic/pst-bar
 %{texmfdist}/tex/latex/pst-bar
 
 %files latex-pst-circ
 %defattr(644,root,root,755)
 %doc %{texmfdist}/doc/generic/pst-circ
-%{texmfdist}/dvips/pst-circ
 %{texmfdist}/tex/generic/pst-circ
 %{texmfdist}/tex/latex/pst-circ
 
 %files latex-pst-fun
 %defattr(644,root,root,755)
 %doc %{texmfdist}/doc/generic/pst-fun
-%{texmfdist}/dvips/pst-fun
 %{texmfdist}/tex/generic/pst-fun
 %{texmfdist}/tex/latex/pst-fun
 
 %files latex-pst-func
 %defattr(644,root,root,755)
 %doc %{texmfdist}/doc/generic/pst-func
-%{texmfdist}/dvips/pst-func
 %{texmfdist}/tex/generic/pst-func
 %{texmfdist}/tex/latex/pst-func
 
 %files latex-pst-fractal
 %defattr(644,root,root,755)
 %doc %{texmfdist}/doc/generic/pst-fractal
-%{texmfdist}/dvips/pst-fractal
 %{texmfdist}/tex/generic/pst-fractal
 %{texmfdist}/tex/latex/pst-fractal
 
 %files latex-pst-math
 %defattr(644,root,root,755)
 %doc %{texmfdist}/doc/generic/pst-math
-%{texmfdist}/dvips/pst-math
 %{texmfdist}/tex/generic/pst-math
 %{texmfdist}/tex/latex/pst-math
 
@@ -11954,7 +12780,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
 
@@ -11967,7 +12792,6 @@ fi
 %files latex-pst-text
 %defattr(644,root,root,755)
 %doc %{texmfdist}/doc/generic/pst-text
-%{texmfdist}/dvips/pst-text
 %{texmfdist}/tex/generic/pst-text
 %{texmfdist}/tex/latex/pst-text
 
 %doc %{texmfdist}/doc/generic/pst-vue3d
 %doc %{texmfdist}/doc/latex/auto-pst-pdf
 %doc %{texmfdist}/doc/latex/pst-pdf
-%{texmfdist}/dvips/pst-barcode
-%{texmfdist}/dvips/pst-blur
-%{texmfdist}/dvips/pst-coil
-%{texmfdist}/dvips/pst-cox
-%{texmfdist}/dvips/pst-eucl
-%{texmfdist}/dvips/pst-geo
-%{texmfdist}/dvips/pst-ghsb
-%{texmfdist}/dvips/pst-grad
-%{texmfdist}/dvips/pst-light3d
-%{texmfdist}/dvips/pst-slpe
-%{texmfdist}/dvips/pst-solides3d
-%{texmfdist}/dvips/pst-spectra
-%{texmfdist}/dvips/pst-vue3d
 %{texmfdist}/scripts/pst-pdf
 %{texmfdist}/source/generic/pst-barcode
 %{texmfdist}/source/generic/pst-blur
@@ -12101,7 +12912,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
 
@@ -12146,7 +12954,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
@@ -12209,7 +13016,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
@@ -12234,7 +13040,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
@@ -12243,7 +13048,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
 
@@ -12353,7 +13152,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)
@@ -12411,7 +13209,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
@@ -12420,7 +13217,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
@@ -12452,7 +13248,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
@@ -12466,7 +13261,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
@@ -12489,7 +13283,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
@@ -12503,7 +13296,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
@@ -12540,7 +13332,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/*
@@ -12548,7 +13339,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
 
@@ -12588,9 +13378,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
@@ -12599,7 +13387,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
@@ -13426,7 +14213,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
@@ -13466,7 +14253,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
@@ -13476,8 +14262,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
@@ -13493,7 +14277,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
@@ -13590,7 +14373,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
@@ -13728,6 +14501,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)
@@ -13835,6 +14602,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
@@ -13847,6 +14615,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)
@@ -13856,3 +14626,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.194365 seconds and 4 git commands to generate.