]> git.pld-linux.org Git - packages/texlive.git/blobdiff - texlive.spec
Release (by relup.sh)
[packages/texlive.git] / texlive.spec
index a00526eecec8e519b72096b8ca4e0e0439f2d737..d7843acaf2f7ee3ee3ddc3a46165f8ed69e0b65e 100644 (file)
 #error:     texlive-dvips-20080816-5.x86_64          Requires(auto): libkpathsea.so.4()(64bit)
 #Preparing...                ########################################### [100%]
 #
 #error:     texlive-dvips-20080816-5.x86_64          Requires(auto): libkpathsea.so.4()(64bit)
 #Preparing...                ########################################### [100%]
 #
-# unpackaged files:
-#   /usr/bin/repstopdf
-#   /usr/share/texmf-dist/scripts/pst-pdf/ps4pdf
-#   /var/lib/texmf/web2c/csplain/csplain.fmt
-#   /var/lib/texmf/web2c/etex/etex.fmt
-#   /var/lib/texmf/web2c/lambda/lambda.fmt
-#   /var/lib/texmf/web2c/lamed/lamed.fmt
-#   /var/lib/texmf/web2c/latex/latex.fmt
-#   /var/lib/texmf/web2c/mex/mex.fmt
-#   /var/lib/texmf/web2c/mllatex/mllatex.fmt
-#   /var/lib/texmf/web2c/mptopdf/mptopdf.fmt
-#   /var/lib/texmf/web2c/pdfcsplain/pdfcsplain.fmt
-#   /var/lib/texmf/web2c/pdfetex/pdfetex.fmt
-#   /var/lib/texmf/web2c/pdflatex/pdflatex.fmt
-#   /var/lib/texmf/web2c/pdftex/aleph.fmt
-#   /var/lib/texmf/web2c/pdftex/lambda.fmt
-#   /var/lib/texmf/web2c/pdftex/lamed.fmt
-#   /var/lib/texmf/web2c/pdftex/omega.fmt
-#   /var/lib/texmf/web2c/pdftex/tex.fmt
-#   /var/lib/texmf/web2c/pdftex/xelatex.fmt
-#   /var/lib/texmf/web2c/pdftex/xetex.fmt
-#   /var/lib/texmf/web2c/physe/physe.fmt
-#   /var/lib/texmf/web2c/phyzzx/phyzzx.fmt
-#   /var/lib/texmf/web2c/texsis/texsis.fmt
-#   /var/lib/texmf/web2c/xelatex/xelatex.fmt
-
 # Conditional build:
 # Conditional build:
-%bcond_without bootstrap       # bootstrap build
-%bcond_without xindy           # do not build xindy packages
-
-%if %{with bootstrap}
-%undefine      with_xindy
-%endif
+%bcond_with    xindy           # do not build xindy packages
 
 
-%include       /usr/lib/rpm/macros.perl
 
 
-%define                year    2010
-%define                monthday        0722
-%define                texmfversion 20091107
+%define                year    2014
+%define                monthday        0525
+%define                texmfversion 20140525
 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
 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
@@ -62,30 +30,25 @@ 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:       %{year}%{monthday}
 Summary(tr.UTF-8):     TeX dizgi sistemi ve MetaFont yazıtipi biçimlendiricisi
 Name:          texlive
 Version:       %{year}%{monthday}
-Release:       0.1
+Release:       
 Epoch:         1
 License:       distributable
 Group:         Applications/Publishing/TeX
 Source0:       ftp://tug.org/historic/systems/texlive/%{year}/%{name}-%{version}-source.tar.xz
 Epoch:         1
 License:       distributable
 Group:         Applications/Publishing/TeX
 Source0:       ftp://tug.org/historic/systems/texlive/%{year}/%{name}-%{version}-source.tar.xz
-# Source0-md5: 156fa34c56acb901fdc687b8d9860f1f
+# Source0-md5: 09ee265ff51637827559affc7304078c
 Source4:       %{name}.cron
 Source5:       xdvi.desktop
 Source6:       xdvi.png
 Source4:       %{name}.cron
 Source5:       xdvi.desktop
 Source6:       xdvi.png
-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:                icuinfo.patch
+# Source6-md5: 1e412b0d19d41353a7966bbeba70be8d
+Patch0:                format-security.patch
 URL:           http://www.tug.org/texlive/
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: bison
 %if %{with xindy}
 URL:           http://www.tug.org/texlive/
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: bison
 %if %{with xindy}
-BuildRequires: clisp
+#BuildRequires:        clisp
 %endif
 %endif
+BuildRequires: cairo-devel
 BuildRequires: ed
 BuildRequires: expat-devel
 BuildRequires: ffcall-devel
 BuildRequires: ed
 BuildRequires: expat-devel
 BuildRequires: ffcall-devel
@@ -94,12 +57,17 @@ BuildRequires:      fontconfig-devel
 BuildRequires: freetype-devel
 BuildRequires: freetype1-devel
 BuildRequires: gd-devel >= 2.0.33
 BuildRequires: freetype-devel
 BuildRequires: freetype1-devel
 BuildRequires: gd-devel >= 2.0.33
+BuildRequires: graphite2-devel
+BuildRequires: harfbuzz-devel
+BuildRequires: harfbuzz-icu-devel
 BuildRequires: libpng-devel >= 1.2.8
 BuildRequires: libtool
 # should this be somewhere in clisp?
 BuildRequires: libsigsegv
 BuildRequires: libstdc++-devel
 BuildRequires: ncurses-devel
 BuildRequires: libpng-devel >= 1.2.8
 BuildRequires: libtool
 # should this be somewhere in clisp?
 BuildRequires: libsigsegv
 BuildRequires: libstdc++-devel
 BuildRequires: ncurses-devel
+BuildRequires: poppler-devel >= 0.18
+BuildRequires: pango-devel
 BuildRequires: readline-devel
 BuildRequires: rpm-perlprov
 BuildRequires: rpm-pythonprov
 BuildRequires: readline-devel
 BuildRequires: rpm-perlprov
 BuildRequires: rpm-pythonprov
@@ -107,30 +75,6 @@ BuildRequires:      sed >= 4.0
 BuildRequires: t1lib-devel >= 5.0.2
 BuildRequires: tar >= 1:1.22
 BuildRequires: texinfo
 BuildRequires: t1lib-devel >= 5.0.2
 BuildRequires: tar >= 1:1.22
 BuildRequires: texinfo
-%if %{without bootstrap}
-BuildRequires: %{name}-context
-BuildRequires: %{name}-csplain
-BuildRequires: %{name}-fonts-cmsuper
-#BuildRequires:        %{name}-format-amstex
-#BuildRequires:        %{name}-format-cslatex
-BuildRequires: %{name}-format-eplain
-BuildRequires: %{name}-format-mex
-BuildRequires: %{name}-format-pdflatex
-BuildRequires: %{name}-latex
-BuildRequires: %{name}-latex-cyrillic
-BuildRequires: %{name}-metapost
-BuildRequires: %{name}-mex
-BuildRequires: %{name}-omega
-BuildRequires: %{name}-other-utils
-BuildRequires: %{name}-pdftex
-BuildRequires: %{name}-phyzzx
-BuildRequires: %{name}-plain
-BuildRequires: %{name}-tex-babel
-BuildRequires: %{name}-tex-physe
-BuildRequires: %{name}-xetex
-BuildRequires: %{name}-xmltex
-# fill with future texlive BR. guesses ones for now
-%endif
 BuildRequires: unzip
 BuildRequires: xorg-lib-libICE-devel
 BuildRequires: xorg-lib-libXaw-devel
 BuildRequires: unzip
 BuildRequires: xorg-lib-libICE-devel
 BuildRequires: xorg-lib-libXaw-devel
@@ -138,6 +82,7 @@ BuildRequires:       xorg-lib-libXext-devel
 BuildRequires: xorg-lib-libXmu-devel
 BuildRequires: xorg-lib-libXpm-devel
 BuildRequires: zlib-devel >= 1.2.1
 BuildRequires: xorg-lib-libXmu-devel
 BuildRequires: xorg-lib-libXpm-devel
 BuildRequires: zlib-devel >= 1.2.1
+BuildRequires: zziplib-devel >= 0.12
 Requires:      %{name}-dirs-fonts
 Requires:      %{name}-fonts-cm
 Requires:      %{name}-fonts-misc
 Requires:      %{name}-dirs-fonts
 Requires:      %{name}-fonts-cm
 Requires:      %{name}-fonts-misc
@@ -185,7 +130,6 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %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                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)'
 %define                skip_post_check_so libptexenc.so.1.1.1
 
 %define                _noautoreq 'perl(path_tre)'
 %define                skip_post_check_so libptexenc.so.1.1.1
@@ -338,7 +282,7 @@ Pliki nagłówkowe oraz dokumentacja biblioteki kpathsea.
 Bibliotecas, headers e outros componentes que podem ser utilizados
 para desenvolver aplicações TeX.
 
 Bibliotecas, headers e outros componentes que podem ser utilizados
 para desenvolver aplicações TeX.
 
-%package dvips
+%package dvips-basic
 Summary:       DVI to PostScript converter
 Summary(de.UTF-8):     dvi-Postscript-Konvertierungsprogramm
 Summary(es.UTF-8):     Convertidor dvi para postscript
 Summary:       DVI to PostScript converter
 Summary(de.UTF-8):     dvi-Postscript-Konvertierungsprogramm
 Summary(es.UTF-8):     Convertidor dvi para postscript
@@ -350,46 +294,43 @@ Summary(tr.UTF-8):        dvi'dan postscript'e dönüştürücü
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
-Requires:      %{name}-dvips-data >= %{texmfversion}
-Provides:      tetex-dvips = %{epoch}:%{version}-%{release}
-Obsoletes:     tetex-dvips
 
 
-%description dvips
+%description dvips-basic
 The program dvips takes a DVI file file[.dvi] produced by TeX (or by
 some other processor such as GFtoDVI) and converts it to PostScript,
 normally sending the result directly to the laserprinter.
 
 The program dvips takes a DVI file file[.dvi] produced by TeX (or by
 some other processor such as GFtoDVI) and converts it to PostScript,
 normally sending the result directly to the laserprinter.
 
-%description dvips -l de.UTF-8
+%description dvips-basic -l de.UTF-8
 Das dvips-Programm nimmt eine dvi-Datei ([.dvi]), die von TeX bzw.
 durch einen anderen Prozessor wie GFtoDVI) erzeugt wurde, und
 konvertiert diese in PostScript, wobei das Ergebnis in der Regel
 direkt an einen Laserdrucker gesandt wird.
 
 Das dvips-Programm nimmt eine dvi-Datei ([.dvi]), die von TeX bzw.
 durch einen anderen Prozessor wie GFtoDVI) erzeugt wurde, und
 konvertiert diese in PostScript, wobei das Ergebnis in der Regel
 direkt an einen Laserdrucker gesandt wird.
 
-%description dvips -l es.UTF-8
+%description dvips-basic -l es.UTF-8
 El programa dvips coge un archivo DVI (.dvi) producido por TeX (o por
 otro procesador como GFtoDVI) y lo convierte a PostScript, normalmente
 enviando el resultado directamente a la impresora láser.
 
 El programa dvips coge un archivo DVI (.dvi) producido por TeX (o por
 otro procesador como GFtoDVI) y lo convierte a PostScript, normalmente
 enviando el resultado directamente a la impresora láser.
 
-%description dvips -l fr.UTF-8
+%description dvips-basic -l fr.UTF-8
 Le programme dvips convertit les fichiers DVI en PostScript, en
 envoyant normalement le résultat directement sur une imprimante Laser.
 
 Le programme dvips convertit les fichiers DVI en PostScript, en
 envoyant normalement le résultat directement sur une imprimante Laser.
 
-%description dvips -l hu.UTF-8
+%description dvips-basic -l hu.UTF-8
 A dvips program egy TeX által készített DVI-fájlból PostScript
 állományt készít, amelyet a legtöbb esetben közvetlenül a
 lézernyomtatóra küldhetsz.
 
 A dvips program egy TeX által készített DVI-fájlból PostScript
 állományt készít, amelyet a legtöbb esetben közvetlenül a
 lézernyomtatóra küldhetsz.
 
-%description dvips -l pl.UTF-8
+%description dvips-basic -l pl.UTF-8
 Program dvips bierze plik DVI wygenerowany przez TeXa (lub jakiś inny
 program, jak na przykład GFtoDVI) i konwertuje go do PostScriptu.
 Domyślnie wynik jest wysyłany bezpośrednio do drukarki.
 
 Program dvips bierze plik DVI wygenerowany przez TeXa (lub jakiś inny
 program, jak na przykład GFtoDVI) i konwertuje go do PostScriptu.
 Domyślnie wynik jest wysyłany bezpośrednio do drukarki.
 
-%description dvips -l pt_BR.UTF-8
+%description dvips-basic -l pt_BR.UTF-8
 O programa dvips toma um arquivo DVI (.dvi) produzido pelo TeX (ou por
 outro processador como o GFtoDVI) e o converte para PostScript,
 normalmente enviando o resultado diretamente para a impressora laser.
 
 O programa dvips toma um arquivo DVI (.dvi) produzido pelo TeX (ou por
 outro processador como o GFtoDVI) e o converte para PostScript,
 normalmente enviando o resultado diretamente para a impressora laser.
 
-%description dvips -l tr.UTF-8
+%description dvips-basic -l tr.UTF-8
 dvips programı, dvi biçiminde bir girdi dosyası alır ve onu
 PostScript'e dönüştürür. Kaynak dosya TeX tarafından oluşturulmuş
 olabileceği gibi başka işleyiciler tarafından da (GFtoDVI gibi)
 dvips programı, dvi biçiminde bir girdi dosyası alır ve onu
 PostScript'e dönüştürür. Kaynak dosya TeX tarafından oluşturulmuş
 olabileceği gibi başka işleyiciler tarafından da (GFtoDVI gibi)
@@ -470,6 +411,7 @@ Summary(pl.UTF-8):  Generator hierarchicznych indeksów ogólnego przeznaczenia
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Group:         Applications/Publishing/TeX
 Requires(post,postun): %{_bindir}/texhash
 Requires:      %{name} = %{epoch}:%{version}-%{release}
+Requires:      %{name}-makeindex-data
 Provides:      tetex-makeindex
 Obsoletes:     tetex-makeindex
 Obsoletes:     tetex-rumakeindex
 Provides:      tetex-makeindex
 Obsoletes:     tetex-makeindex
 Obsoletes:     tetex-rumakeindex
@@ -572,7 +514,7 @@ Summary(hu.UTF-8):  TeX szövegszedő rendszer beállítása
 Summary(pl.UTF-8):     Konfigurator systemu składu TeX
 Group:         Applications/Publishing/TeX
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 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}-dvips-basic = %{epoch}:%{version}-%{release}
 Requires:      xdvi = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-texconfig
 
 Requires:      xdvi = %{epoch}:%{version}-%{release}
 Obsoletes:     tetex-texconfig
 
@@ -1184,7 +1126,7 @@ A TeX format for physicists.
 %description phyzzx -l hu.UTF-8
 TeX formátum fizikusoknak.
 
 %description phyzzx -l hu.UTF-8
 TeX formátum fizikusoknak.
 
-%package omega
+%package omega-basic
 Summary:       Extended unicode TeX
 Summary(pl.UTF-8):     Omega - TeX ze wsparciem dla unikodu
 Group:         Applications/Publishing/TeX
 Summary:       Extended unicode TeX
 Summary(pl.UTF-8):     Omega - TeX ze wsparciem dla unikodu
 Group:         Applications/Publishing/TeX
@@ -1195,12 +1137,12 @@ Requires:       %{name}-omega-data >= %{texmfversion}
 Requires:      %{name}-plain >= %{texmfversion}
 Obsoletes:     tetex-omega
 
 Requires:      %{name}-plain >= %{texmfversion}
 Obsoletes:     tetex-omega
 
-%description omega
+%description omega-basic
 Omega is a version of the TeX program modified for multilingual
 typesetting. It uses unicode, and has additional primitives for (among
 other things) bidirectional typesetting.
 
 Omega is a version of the TeX program modified for multilingual
 typesetting. It uses unicode, and has additional primitives for (among
 other things) bidirectional typesetting.
 
-%description omega -l pl.UTF-8
+%description omega-basic -l pl.UTF-8
 Omega to wersja TeXa zmodyfikowana dla potrzeb składu wielojęzycznego.
 Używa unikodu i ma dodatkowe prymitywy do (między innymi) składania
 tekstu pisanego w obu kierunkach.
 Omega to wersja TeXa zmodyfikowana dla potrzeb składu wielojęzycznego.
 Używa unikodu i ma dodatkowe prymitywy do (między innymi) składania
 tekstu pisanego w obu kierunkach.
@@ -1540,6 +1482,8 @@ Obsoletes:        tetex-latex-units
 Obsoletes:     tetex-mwcls
 Obsoletes:     tetex-revtex4
 
 Obsoletes:     tetex-mwcls
 Obsoletes:     tetex-revtex4
 
+%define                skip_post_check_so              libptexenc.so.1.2.0
+
 %description latex
 LaTeX is a front end for the TeX text formatting system. Easier to use
 than TeX, LaTeX is essentially a set of TeX macros which provide
 %description latex
 LaTeX is a front end for the TeX text formatting system. Easier to use
 than TeX, LaTeX is essentially a set of TeX macros which provide
@@ -1815,18 +1759,11 @@ language and as an extension to the typesetting engine itself.
 
 %prep
 %setup -q -n %{name}-%{version}-source
 
 %prep
 %setup -q -n %{name}-%{version}-source
-# %patch0 -p1
-# %patch1 -p1
-# %patch2 -p1
-# %patch3 -p1
-# %patch4 -p1
-# %patch5 -p1
-# %patch6 -p1
-%patch7 -p1
+%patch0 -p1
 
 %build
 # find . -name "config.sub" -exec cp /usr/share/automake/config.sub '{}' ';'
 
 %build
 # find . -name "config.sub" -exec cp /usr/share/automake/config.sub '{}' ';'
-%{__sed} -i 's@"extend/\(.*\)"@<\1>@' texk/ttf2pk/*.c
+%{__sed} -i 's@"extend/\(.*\)"@<\1>@' texk/ttf2pk2/*.c
 cd texk/kpathsea
 %{__sed} -i 's@^TEXMFMAIN =.*@TEXMFMAIN = %{texmf}@' texmf.cnf
 %{__sed} -i 's@^TEXMFDIST =.*@TEXMFDIST = %{texmfdist}@' texmf.cnf
 cd texk/kpathsea
 %{__sed} -i 's@^TEXMFMAIN =.*@TEXMFMAIN = %{texmf}@' texmf.cnf
 %{__sed} -i 's@^TEXMFDIST =.*@TEXMFDIST = %{texmfdist}@' texmf.cnf
@@ -1845,7 +1782,7 @@ ulimit -s unlimited
 export CPPFLAGS="%{rpmcppflags} -DHAVE_PROTOTYPES"
 %configure \
        --prefix=%{_prefix} \
 export CPPFLAGS="%{rpmcppflags} -DHAVE_PROTOTYPES"
 %configure \
        --prefix=%{_prefix} \
-       --with%{!?with_xindy:out}-xindy \
+       %{__enable_disable xindy} \
        --enable-shared \
        --disable-native-texlive-build \
        --without-luatex \
        --enable-shared \
        --disable-native-texlive-build \
        --without-luatex \
@@ -1855,6 +1792,8 @@ export CPPFLAGS="%{rpmcppflags} -DHAVE_PROTOTYPES"
        --enable-gf \
        --enable-ipc \
        --enable-shared \
        --enable-gf \
        --enable-ipc \
        --enable-shared \
+       --enable-ttf2pk2 \
+       --disable-t1utils \
        --with-fontconfig \
        --with-fonts-dir=/var/cache/fonts \
        --with-ncurses \
        --with-fontconfig \
        --with-fonts-dir=/var/cache/fonts \
        --with-ncurses \
@@ -1866,10 +1805,18 @@ export CPPFLAGS="%{rpmcppflags} -DHAVE_PROTOTYPES"
        --with-system-pnglib \
        --with-system-t1lib \
        --with-system-zlib \
        --with-system-pnglib \
        --with-system-t1lib \
        --with-system-zlib \
+       --with-system-harfbuzz \
+       --with-system-icu \
+       --with-system-graphite2 \
+       --with-system-zziplib \
+       --with-system-poppler \
+       --with-system-cairo \
+       --with-system-pixman \
        --with-xdvi-x-toolkit=xaw \
        --without-dialog \
        --without-t1utils \
        --with-xdvi-x-toolkit=xaw \
        --without-dialog \
        --without-t1utils \
-       --without-texinfo
+       --without-texinfo \
+       --enable-build-in-source-tree
 %{__make}
 
 %install
 %{__make}
 
 %install
@@ -1883,31 +1830,6 @@ install -d $RPM_BUILD_ROOT%{_datadir} \
        $RPM_BUILD_ROOT/etc/sysconfig/tetex-updmap\
        $RPM_BUILD_ROOT%{_localstatedir}/fonts/map\
        $RPM_BUILD_ROOT%{fmtdir}/pdftex
        $RPM_BUILD_ROOT/etc/sysconfig/tetex-updmap\
        $RPM_BUILD_ROOT%{_localstatedir}/fonts/map\
        $RPM_BUILD_ROOT%{fmtdir}/pdftex
-#      $RPM_BUILD_ROOT%{texmfdist}/source/generic \
-#      $RPM_BUILD_ROOT%{texmfdist}/tex/generic \
-#      $RPM_BUILD_ROOT%{texmfdist}/tex/plain \
-#      $RPM_BUILD_ROOT%{texmf}/tex
-
-#    %{__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}
-#    %{__mv} $RPM_BUILD_ROOT%{texmfdist}/doc/generic/pgfplots/* $RPM_BUILD_ROOT%{texmfdist}/doc/latex/pgfplots
-#    rmdir $RPM_BUILD_ROOT%{texmfdist}/doc/generic/pgfplots
-#    # imho it is unneeded
-#    %{__rm} -r $RPM_BUILD_ROOT%{texmfdist}/doc/fonts/{ec,fc,utopia}
-#    %{__rm} -r $RPM_BUILD_ROOT%{texmf}/doc/cefconv
-#
-#    # This is an empty directory
-#    %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/texlive-20080822-texmf
-#    # Useless binary
-#    %{__rm} $RPM_BUILD_ROOT%{_datadir}/texmf-dist/doc/latex/splitindex/splitindex{.exe,-Linux-i386,-OpenBSD-i386}
-#
-# commented out because of following (non-fatal) error:
-# Can't open texmf/web2c/texmf.cnf: No such file or directory.
-#perl -pi \
-#      -e "s|\.\./\.\./texmf|$RPM_BUILD_ROOT%{texmf}|g;" \
-#      -e "s|/var/cache/fonts|$RPM_BUILD_ROOT/var/cache/fonts|g;" \
-#      texmf/web2c/texmf.cnf
 
 LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir}; export LD_LIBRARY_PATH
 PATH=$RPM_BUILD_ROOT%{_bindir}:$PATH; export PATH
 
 LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir}; export LD_LIBRARY_PATH
 PATH=$RPM_BUILD_ROOT%{_bindir}:$PATH; export PATH
@@ -1924,13 +1846,10 @@ PATH=$RPM_BUILD_ROOT%{_bindir}:$PATH; export PATH
        sbindir=$RPM_BUILD_ROOT%{_sbindir} \
        texmf=$RPM_BUILD_ROOT%{texmf} \
        texmfsysvar=$RPM_BUILD_ROOT%{_localstatedir} \
        sbindir=$RPM_BUILD_ROOT%{_sbindir} \
        texmf=$RPM_BUILD_ROOT%{texmf} \
        texmfsysvar=$RPM_BUILD_ROOT%{_localstatedir} \
-       texmfsysconfig=$RPM_BUILD_ROOT%{texmf}
-
-%{__mv} -f $RPM_BUILD_ROOT%{_prefix}/texmf* $RPM_BUILD_ROOT%{_datadir}
+       texmfsysconfig=$RPM_BUILD_ROOT%{texmf} \
+       encdir=$RPM_BUILD_ROOT%{texmfdist}/fonts/enc/dvips/base \
+       glyphlistdir=$RPM_BUILD_ROOT%{texmfdist}/fonts/map/glyphlist
 
 
-# requires wdiff but we don't have
-%{__rm} -rf $RPM_BUILD_ROOT%{texmfdist}/scripts/texdiff
-%{__rm} -rf $RPM_BUILD_ROOT%{_bindir}/texdiff
 %{__rm} -rf $RPM_BUILD_ROOT%{_bindir}/man
 
 install -d \
 %{__rm} -rf $RPM_BUILD_ROOT%{_bindir}/man
 
 install -d \
@@ -1984,23 +1903,18 @@ ln -sf ../share/texmf-dist/scripts/fontools/autoinst autoinst
 ln -sf ../share/texmf-dist/scripts/cachepic/cachepic.tlu cachepic
 ln -sf ../share/texmf-dist/scripts/fontools/cmap2enc cmap2enc
 ln -sf ../share/texmf-dist/scripts/epstopdf/epstopdf.pl epstopdf
 ln -sf ../share/texmf-dist/scripts/cachepic/cachepic.tlu cachepic
 ln -sf ../share/texmf-dist/scripts/fontools/cmap2enc cmap2enc
 ln -sf ../share/texmf-dist/scripts/epstopdf/epstopdf.pl epstopdf
-# ln -sf ../share/texmf-dist/scripts/context/stubs/unix/exatools exatools
 ln -sf ../share/texmf-dist/scripts/fig4latex/fig4latex fig4latex
 ln -sf ../share/texmf-dist/scripts/findhyph/findhyph findhyph
 ln -sf ../share/texmf-dist/scripts/fontools/font2afm font2afm
 ln -sf ../share/texmf-dist/scripts/fragmaster/fragmaster.pl fragmaster
 ln -sf ../share/texmf-dist/scripts/fig4latex/fig4latex fig4latex
 ln -sf ../share/texmf-dist/scripts/findhyph/findhyph findhyph
 ln -sf ../share/texmf-dist/scripts/fontools/font2afm font2afm
 ln -sf ../share/texmf-dist/scripts/fragmaster/fragmaster.pl fragmaster
-# ln -sf ../share/texmf-dist/scripts/texlive/getnonfreefonts.pl getnonfreefonts
-# ln -sf ../share/texmf-dist/scripts/texlive/getnonfreefonts.pl getnonfreefonts-sys
 ln -sf ../share/texmf-dist/scripts/latex2man/latex2man latex2man
 ln -sf ../share/texmf-dist/scripts/latexmk/latexmk.pl latexmk
 ln -sf ../share/texmf-dist/scripts/listings-ext/listings-ext.sh listings-ext.sh
 ln -sf ../share/texmf-dist/scripts/mkgrkindex/mkgrkindex mkgrkindex
 ln -sf ../share/texmf-dist/scripts/accfonts/mkt1font mkt1font
 ln -sf ../share/texmf-dist/scripts/latex2man/latex2man latex2man
 ln -sf ../share/texmf-dist/scripts/latexmk/latexmk.pl latexmk
 ln -sf ../share/texmf-dist/scripts/listings-ext/listings-ext.sh listings-ext.sh
 ln -sf ../share/texmf-dist/scripts/mkgrkindex/mkgrkindex mkgrkindex
 ln -sf ../share/texmf-dist/scripts/accfonts/mkt1font mkt1font
-# ln -sf ../share/texmf-dist/scripts/context/stubs/unix/mtxrun mtxrun
 ln -sf ../share/texmf-dist/scripts/fontools/ot2kpx ot2kpx
 ln -sf ../share/texmf-dist/scripts/pax/pdfannotextractor.pl pdfannotextractor
 ln -sf ../share/texmf-dist/scripts/ppower4/pdfthumb.texlua pdfthumb
 ln -sf ../share/texmf-dist/scripts/fontools/ot2kpx ot2kpx
 ln -sf ../share/texmf-dist/scripts/pax/pdfannotextractor.pl pdfannotextractor
 ln -sf ../share/texmf-dist/scripts/ppower4/pdfthumb.texlua pdfthumb
-# ln -sf ../share/texmf-dist/scripts/context/stubs/unix/pdftrimwhite pdftrimwhite
 ln -sf ../share/texmf-dist/scripts/perltex/perltex.pl perltex
 ln -sf ../share/texmf-dist/scripts/fontools/pfm2kpx pfm2kpx
 ln -sf ../share/texmf-dist/scripts/pkfix/pkfix.pl pkfix
 ln -sf ../share/texmf-dist/scripts/perltex/perltex.pl perltex
 ln -sf ../share/texmf-dist/scripts/fontools/pfm2kpx pfm2kpx
 ln -sf ../share/texmf-dist/scripts/pkfix/pkfix.pl pkfix
@@ -2013,25 +1927,18 @@ ln -sf ../share/texmf-dist/scripts/splitindex/perl/splitindex.pl splitindex
 ln -sf ../share/texmf-dist/scripts/svn-multi/svn-multi.pl svn-multi
 ln -sf ../share/texmf-dist/scripts/texcount/TeXcount.pl texcount
 ln -sf ../share/texmf-dist/scripts/texdirflatten/texdirflatten texdirflatten
 ln -sf ../share/texmf-dist/scripts/svn-multi/svn-multi.pl svn-multi
 ln -sf ../share/texmf-dist/scripts/texcount/TeXcount.pl texcount
 ln -sf ../share/texmf-dist/scripts/texdirflatten/texdirflatten texdirflatten
-# ln -sf ../share/texmf-dist/scripts/context/stubs/unix/texfind texfind
 ln -sf ../share/texmf-dist/scripts/texloganalyser/texloganalyser texloganalyser
 ln -sf ../share/texmf-dist/scripts/texloganalyser/texloganalyser texloganalyser
-# ln -sf ../share/texmf-dist/scripts/context/stubs/unix/texshow texshow
 ln -sf ../share/texmf-dist/scripts/ulqda/ulqda.pl ulqda
 ln -sf ../share/texmf-dist/scripts/accfonts/vpl2ovp vpl2ovp
 ln -sf ../share/texmf-dist/scripts/accfonts/vpl2vpl vpl2vpl
 
 ln -sf ../share/texmf-dist/scripts/ulqda/ulqda.pl ulqda
 ln -sf ../share/texmf-dist/scripts/accfonts/vpl2ovp vpl2ovp
 ln -sf ../share/texmf-dist/scripts/accfonts/vpl2vpl vpl2vpl
 
-ln -sf ../share/texmf/scripts/a2ping/a2ping.pl a2ping
-# ln -sf ../share/texmf-dist/scripts/context/stubs/unix/context context
-# ln -sf ../share/texmf-dist/scripts/context/stubs/unix/ctxtools ctxtools
+ln -sf ../share/texmf-dist/scripts/a2ping/a2ping.pl a2ping
 ln -sf ../share/texmf-dist/scripts/dviasm/dviasm.py dviasm
 ln -sf ../share/texmf-dist/scripts/dviasm/dviasm.py dviasm
-ln -sf ../share/texmf/scripts/tetex/e2pall.pl e2pall
+ln -sf ../share/texmf-dist/scripts/tetex/e2pall.pl e2pall
 ln -sf ../share/texmf-dist/scripts/bengali/ebong.py ebong
 ln -sf ../share/texmf-dist/scripts/epspdf/epspdf epspdf
 ln -sf ../share/texmf-dist/scripts/epspdf/epspdftk epspdftk
 ln -sf ../share/texmf-dist/scripts/epstopdf/epstopdf.pl epstopdf
 ln -sf ../share/texmf-dist/scripts/bengali/ebong.py ebong
 ln -sf ../share/texmf-dist/scripts/epspdf/epspdf epspdf
 ln -sf ../share/texmf-dist/scripts/epspdf/epspdftk epspdftk
 ln -sf ../share/texmf-dist/scripts/epstopdf/epstopdf.pl epstopdf
-# ln -sf ../share/texmf-dist/scripts/context/stubs/unix/exatools exatools
-# ln -sf ../share/texmf/scripts/getnonfreefonts/getnonfreefonts.pl getnonfreefonts
-# ln -sf ../share/texmf/scripts/getnonfreefonts/getnonfreefonts.pl getnonfreefonts-sys
 ln -sf ../share/texmf-dist/scripts/tex4ht/ht.sh ht
 ln -sf ../share/texmf-dist/scripts/tex4ht/htcontext.sh htcontext
 ln -sf ../share/texmf-dist/scripts/tex4ht/htlatex.sh htlatex
 ln -sf ../share/texmf-dist/scripts/tex4ht/ht.sh ht
 ln -sf ../share/texmf-dist/scripts/tex4ht/htcontext.sh htcontext
 ln -sf ../share/texmf-dist/scripts/tex4ht/htlatex.sh htlatex
@@ -2040,14 +1947,9 @@ ln -sf ../share/texmf-dist/scripts/tex4ht/httex.sh httex
 ln -sf ../share/texmf-dist/scripts/tex4ht/httexi.sh httexi
 ln -sf ../share/texmf-dist/scripts/tex4ht/htxelatex.sh htxelatex
 ln -sf ../share/texmf-dist/scripts/tex4ht/htxetex.sh htxetex
 ln -sf ../share/texmf-dist/scripts/tex4ht/httexi.sh httexi
 ln -sf ../share/texmf-dist/scripts/tex4ht/htxelatex.sh htxelatex
 ln -sf ../share/texmf-dist/scripts/tex4ht/htxetex.sh htxetex
-# ln -sf ../share/texmf-dist/scripts/context/lua/luatools.lua luatools
 ln -sf ../share/texmf-dist/scripts/glossaries/makeglossaries makeglossaries
 ln -sf ../share/texmf-dist/scripts/glossaries/makeglossaries makeglossaries
-# ln -sf ../share/texmf-dist/scripts/context/stubs/unix/makempy makempy
 ln -sf ../share/texmf-dist/scripts/tex4ht/mk4ht.pl mk4ht
 ln -sf ../share/texmf-dist/scripts/mkjobtexmf/mkjobtexmf.pl mkjobtexmf
 ln -sf ../share/texmf-dist/scripts/tex4ht/mk4ht.pl mk4ht
 ln -sf ../share/texmf-dist/scripts/mkjobtexmf/mkjobtexmf.pl mkjobtexmf
-# ln -sf ../share/texmf-dist/scripts/context/stubs/unix/mpstools mpstools
-# ln -sf ../share/texmf-dist/scripts/context/stubs/unix/mptopdf mptopdf
-# ln -sf ../share/texmf-dist/scripts/context/lua/mtxrun.lua mtxrun
 ln -sf ../share/texmf-dist/scripts/context/stubs/unix/mtxtools mtxtools
 ln -sf ../share/texmf-dist/scripts/oberdiek/pdfatfi.pl pdfatfi
 ln -sf ../share/texmf-dist/scripts/pdfcrop/pdfcrop.pl pdfcrop
 ln -sf ../share/texmf-dist/scripts/context/stubs/unix/mtxtools mtxtools
 ln -sf ../share/texmf-dist/scripts/oberdiek/pdfatfi.pl pdfatfi
 ln -sf ../share/texmf-dist/scripts/pdfcrop/pdfcrop.pl pdfcrop
@@ -2057,50 +1959,31 @@ ln -sf ../share/texmf-dist/scripts/context/stubs/unix/pdftrimwhite pdftrimwhite
 ln -sf ../share/texmf-dist/scripts/perltex/perltex perltex
 ln -sf ../share/texmf-dist/scripts/pkfix/pkfix.pl pkfix
 ln -sf ../share/texmf-dist/scripts/ppower4/ppower4.tlu ppower4
 ln -sf ../share/texmf-dist/scripts/perltex/perltex perltex
 ln -sf ../share/texmf-dist/scripts/pkfix/pkfix.pl pkfix
 ln -sf ../share/texmf-dist/scripts/ppower4/ppower4.tlu ppower4
-ln -sf ../share/texmf/scripts/ps2eps/ps2eps.pl ps2eps
+ln -sf ../share/texmf-dist/scripts/ps2eps/ps2eps.pl ps2eps
 ln -sf ../share/texmf-dist/scripts/pst-pdf/ps4pdf ps4pdf
 ln -sf ../share/texmf-dist/scripts/pst2pdf/pst2pdf.pl pst2pdf
 ln -sf ../share/texmf-dist/scripts/context/stubs/unix/pstopdf pstopdf
 ln -sf ../share/texmf-dist/scripts/context/stubs/unix/rlxtools rlxtools
 ln -sf ../share/texmf-dist/scripts/pst-pdf/ps4pdf ps4pdf
 ln -sf ../share/texmf-dist/scripts/pst2pdf/pst2pdf.pl pst2pdf
 ln -sf ../share/texmf-dist/scripts/context/stubs/unix/pstopdf pstopdf
 ln -sf ../share/texmf-dist/scripts/context/stubs/unix/rlxtools rlxtools
-ln -sf ../share/texmf/scripts/texlive/rungs.tlu rungs
+ln -sf ../share/texmf-dist/scripts/texlive/rungs.tlu rungs
 ln -sf ../share/texmf-dist/scripts/context/stubs/unix/runtools runtools
 ln -sf ../share/texmf-dist/scripts/context/stubs/unix/runtools runtools
-ln -sf ../share/texmf/scripts/simpdftex/simpdftex simpdftex
+ln -sf ../share/texmf-dist/scripts/simpdftex/simpdftex simpdftex
 ln -sf ../share/texmf-dist/scripts/texcount/texcount.pl texcount
 ln -sf ../share/texmf-dist/scripts/texcount/texcount.pl texcount
-ln -sf ../share/texmf/scripts/texdoc/texdoc.tlu texdoc
-ln -sf ../share/texmf/scripts/tetex/texdoctk.pl texdoctk
+ln -sf ../share/texmf-dist/scripts/texdoc/texdoc.tlu texdoc
+ln -sf ../share/texmf-dist/scripts/tetex/texdoctk.pl texdoctk
 ln -sf ../share/texmf-dist/scripts/context/stubs/unix/texexec texexec
 ln -sf ../share/texmf-dist/scripts/context/stubs/unix/texfind texfind
 ln -sf ../share/texmf-dist/scripts/context/stubs/unix/texfont texfont
 ln -sf ../share/texmf-dist/scripts/context/stubs/unix/texexec texexec
 ln -sf ../share/texmf-dist/scripts/context/stubs/unix/texfind texfind
 ln -sf ../share/texmf-dist/scripts/context/stubs/unix/texfont texfont
-# ln -sf ../share/texmf-dist/scripts/context/ruby/texmfstart.rb texmfstart
 ln -sf ../share/texmf-dist/scripts/context/stubs/unix/texshow texshow
 ln -sf ../share/texmf-dist/scripts/context/stubs/unix/textools textools
 ln -sf ../share/texmf-dist/scripts/context/stubs/unix/texutil texutil
 ln -sf ../share/texmf-dist/scripts/thumbpdf/thumbpdf.pl thumbpdf
 ln -sf ../share/texmf-dist/scripts/context/stubs/unix/texshow texshow
 ln -sf ../share/texmf-dist/scripts/context/stubs/unix/textools textools
 ln -sf ../share/texmf-dist/scripts/context/stubs/unix/texutil texutil
 ln -sf ../share/texmf-dist/scripts/thumbpdf/thumbpdf.pl thumbpdf
-ln -sf ../share/texmf/scripts/texlive/tlmgr.pl tlmgr
+ln -sf ../share/texmf-dist/scripts/texlive/tlmgr.pl tlmgr
 ln -sf ../share/texmf-dist/scripts/context/stubs/unix/tmftools tmftools
 ln -sf ../share/texmf-dist/scripts/vpe/vpe.pl vpe
 ln -sf ../share/texmf-dist/scripts/context/stubs/unix/xmltools xmltools
 
 cd $CURDIR
 
 ln -sf ../share/texmf-dist/scripts/context/stubs/unix/tmftools tmftools
 ln -sf ../share/texmf-dist/scripts/vpe/vpe.pl vpe
 ln -sf ../share/texmf-dist/scripts/context/stubs/unix/xmltools xmltools
 
 cd $CURDIR
 
-#install %{SOURCE7} $RPM_BUILD_ROOT%{_bindir}
-#touch $RPM_BUILD_ROOT/etc/sysconfig/tetex-updmap/maps.lst
-
-# %{__make} init \
-#      prefix=$RPM_BUILD_ROOT%{_prefix} \
-#      bindir=$RPM_BUILD_ROOT%{_bindir} \
-#      mandir=$RPM_BUILD_ROOT%{_mandir} \
-#      libdir=$RPM_BUILD_ROOT%{_libdir} \
-#      datadir=$RPM_BUILD_ROOT%{_datadir} \
-#      infodir=$RPM_BUILD_ROOT%{_infodir} \
-#      includedir=$RPM_BUILD_ROOT%{_includedir} \
-#      sbindir=$RPM_BUILD_ROOT%{_sbindir} \
-#      texmf=$RPM_BUILD_ROOT%{texmf}
-
-# We don't need it
-# %{__rm} -r $RPM_BUILD_ROOT%{texmf}/doc/man
-# %{__rm} -r $RPM_BUILD_ROOT%{texmfdoc}/source
-
 perl -pi \
        -e "s|$RPM_BUILD_ROOT||g;" \
        $RPM_BUILD_ROOT%{texmf}/web2c/texmf.cnf
 perl -pi \
        -e "s|$RPM_BUILD_ROOT||g;" \
        $RPM_BUILD_ROOT%{texmf}/web2c/texmf.cnf
@@ -2110,7 +1993,10 @@ install %{SOURCE4} $RPM_BUILD_ROOT/etc/cron.daily/texlive
 install %{SOURCE5} $RPM_BUILD_ROOT%{_desktopdir}
 install %{SOURCE6} $RPM_BUILD_ROOT%{_pixmapsdir}
 
 install %{SOURCE5} $RPM_BUILD_ROOT%{_desktopdir}
 install %{SOURCE6} $RPM_BUILD_ROOT%{_pixmapsdir}
 
+cp -a texk/texlive/linked_scripts/context/stubs/unix/ctxtools $RPM_BUILD_ROOT%{_bindir}
+
 # not included in package
 # not included in package
+#FIXME why not included????
 rm -f $RPM_BUILD_ROOT%{_datadir}/texinfo/html/texi2html.html
 rm -f $RPM_BUILD_ROOT%{_infodir}/dir*
 rm -f $RPM_BUILD_ROOT%{_infodir}/dvipng*
 rm -f $RPM_BUILD_ROOT%{_datadir}/texinfo/html/texi2html.html
 rm -f $RPM_BUILD_ROOT%{_infodir}/dir*
 rm -f $RPM_BUILD_ROOT%{_infodir}/dvipng*
@@ -2145,50 +2031,8 @@ rm -rf $RPM_BUILD_ROOT%{texmfdist}/tex/generic/xecyr
 # mv -fv $RPM_BUILD_ROOT%{fmtdir}/*.log format-logs
 
 # xindy files are in %%{texmf}
 # mv -fv $RPM_BUILD_ROOT%{fmtdir}/*.log format-logs
 
 # xindy files are in %%{texmf}
-rm -rf $RPM_BUILD_ROOT%{_datadir}/xindy
-rm -rf $RPM_BUILD_ROOT%{_datadir}/doc
-
-# Create format files
-for format in \
-       aleph \
-       csplain \
-       etex \
-       lambda \
-       lamed \
-       latex \
-       mex \
-       mllatex \
-       mptopdf \
-       omega \
-       pdfcsplain \
-       pdfetex \
-       pdflatex \
-       pdftex \
-       physe \
-       phyzzx \
-       tex \
-       texsis \
-       xetex \
-       xelatex; do
-# pdfxmltex \
-# xmltex; do
-
-%if %{with bootstrap}
-       install -d $RPM_BUILD_ROOT%{fmtdir}/${format}
-       touch $RPM_BUILD_ROOT%{fmtdir}/${format}/${format}.fmt
-       touch $RPM_BUILD_ROOT%{fmtdir}/pdftex/${format}.fmt
-%else
-#######
-#      fmtutil --fmtdir $RPM_BUILD_ROOT%{fmtdir} --byfmt=${format}
-#######
-%endif
-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")
+#rm -r $RPM_BUILD_ROOT%{_datadir}/xindy
+#rm -r $RPM_BUILD_ROOT%{_datadir}/doc
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -2231,11 +2075,11 @@ fi
 %fixinfodir
 %texhash
 
 %fixinfodir
 %texhash
 
-%post dvips
+%post dvips-basic
 %fixinfodir
 %texhash
 
 %fixinfodir
 %texhash
 
-%postun dvips
+%postun dvips-basic
 %fixinfodir
 %texhash
 
 %fixinfodir
 %texhash
 
@@ -2293,10 +2137,10 @@ fi
 %postun phyzzx
 %texhash
 
 %postun phyzzx
 %texhash
 
-%post omega
+%post omega-basic
 %texhash
 
 %texhash
 
-%postun omega
+%postun omega-basic
 %texhash
 
 %post plain
 %texhash
 
 %post plain
@@ -2464,17 +2308,26 @@ fi
 
 %files
 %defattr(644,root,root,755)
 
 %files
 %defattr(644,root,root,755)
+%dir %{texmfdist}/doc
+%dir %{texmfdist}/source
 
 # ***********
 # executables
 # ***********
 %attr(755,root,root) %{_bindir}/afm2tfm
 
 # ***********
 # executables
 # ***********
 %attr(755,root,root) %{_bindir}/afm2tfm
+%attr(755,root,root) %{_bindir}/afm2pl
 %attr(755,root,root) %{_bindir}/allcm
 %attr(755,root,root) %{_bindir}/allec
 %attr(755,root,root) %{_bindir}/allneeded
 %attr(755,root,root) %{_bindir}/allcm
 %attr(755,root,root) %{_bindir}/allec
 %attr(755,root,root) %{_bindir}/allneeded
-%attr(755,root,root) %{_bindir}/cweave
+%attr(755,root,root) %{_bindir}/arlatex
+%attr(755,root,root) %{_bindir}/bundledoc
 %attr(755,root,root) %{_bindir}/ctangle
 %attr(755,root,root) %{_bindir}/ctangle
+%attr(755,root,root) %{_bindir}/ctanify
+%attr(755,root,root) %{_bindir}/ctanupload
 %attr(755,root,root) %{_bindir}/ctie
 %attr(755,root,root) %{_bindir}/ctie
+%attr(755,root,root) %{_bindir}/cweave
+%attr(755,root,root) %{_bindir}/de-macro
+%attr(755,root,root) %{_bindir}/deweb
 %attr(755,root,root) %{_bindir}/dvipng
 %attr(755,root,root) %{_bindir}/ebb
 %attr(755,root,root) %{_bindir}/fmtutil
 %attr(755,root,root) %{_bindir}/dvipng
 %attr(755,root,root) %{_bindir}/ebb
 %attr(755,root,root) %{_bindir}/fmtutil
@@ -2484,6 +2337,9 @@ fi
 %attr(755,root,root) %{_bindir}/gftopk
 %attr(755,root,root) %{_bindir}/gftype
 %attr(755,root,root) %{_bindir}/gsftopk
 %attr(755,root,root) %{_bindir}/gftopk
 %attr(755,root,root) %{_bindir}/gftype
 %attr(755,root,root) %{_bindir}/gsftopk
+%attr(755,root,root) %{_bindir}/inimf
+%attr(755,root,root) %{_bindir}/initex
+%attr(755,root,root) %{_bindir}/installfont-tl
 %attr(755,root,root) %{_bindir}/kpseaccess
 %attr(755,root,root) %{_bindir}/kpsereadlink
 %attr(755,root,root) %{_bindir}/kpsewhere
 %attr(755,root,root) %{_bindir}/kpseaccess
 %attr(755,root,root) %{_bindir}/kpsereadlink
 %attr(755,root,root) %{_bindir}/kpsewhere
@@ -2519,18 +2375,35 @@ fi
 %attr(755,root,root) %{_bindir}/vftovp
 %attr(755,root,root) %{_bindir}/vptovf
 %attr(755,root,root) %{_bindir}/weave
 %attr(755,root,root) %{_bindir}/vftovp
 %attr(755,root,root) %{_bindir}/vptovf
 %attr(755,root,root) %{_bindir}/weave
-
-%attr(755,root,root) %{texmf}/web2c/mktexnam
-%attr(755,root,root) %{texmf}/web2c/mktexdir
-%attr(755,root,root) %{texmf}/web2c/mktexupd
+%dir %{texmfdist}/scripts
+%dir %{texmfdist}/scripts/installfont
+%dir %{texmfdist}/scripts/pst-pdf
+%dir %{texmfdist}/scripts/texlive
+%attr(755,root,root) %{texmfdist}/scripts/installfont/installfont-tl
+%attr(755,root,root) %{texmfdist}/scripts/pst-pdf/ps4pdf
+%attr(755,root,root) %{texmfdist}/scripts/texlive/allcm.sh
+%attr(755,root,root) %{texmfdist}/scripts/texlive/allneeded.sh
+%attr(755,root,root) %{texmfdist}/scripts/texlive/fmtutil-sys.sh
+%attr(755,root,root) %{texmfdist}/scripts/texlive/fmtutil.sh
+%attr(755,root,root) %{texmfdist}/scripts/texlive/fontinst.sh
+%attr(755,root,root) %{texmfdist}/scripts/texlive/kpsewhere.sh
+%attr(755,root,root) %{texmfdist}/scripts/texlive/ps2frag.sh
+%attr(755,root,root) %{texmfdist}/scripts/texlive/texlinks.sh
+%attr(755,root,root) %{texmfdist}/scripts/texlive/updmap-sys.sh
+
+
+%dir %{texmfdist}/web2c
+%attr(755,root,root) %{texmfdist}/web2c/mktexnam
+%attr(755,root,root) %{texmfdist}/web2c/mktexdir
+%attr(755,root,root) %{texmfdist}/web2c/mktexupd
 
 %config(noreplace,missingok) %verify(not md5 mtime size) %attr(750,root,root) /etc/cron.daily/texlive
 
 
 %config(noreplace,missingok) %verify(not md5 mtime size) %attr(750,root,root) /etc/cron.daily/texlive
 
-%config(noreplace) %verify(not md5 mtime size) %{texmf}/web2c/fmtutil.cnf
-%config(noreplace) %verify(not md5 mtime size) %{texmf}/web2c/mktex.opt
-%config(noreplace) %verify(not md5 mtime size) %{texmf}/web2c/mktexdir.opt
-%config(noreplace) %verify(not md5 mtime size) %{texmf}/web2c/mktexnam.opt
-%config(noreplace) %verify(not md5 mtime size) %{texmf}/web2c/texmf.cnf
+%config(noreplace) %verify(not md5 mtime size) %{texmfdist}/web2c/fmtutil.cnf
+%config(noreplace) %verify(not md5 mtime size) %{texmfdist}/web2c/mktex.opt
+%config(noreplace) %verify(not md5 mtime size) %{texmfdist}/web2c/mktexdir.opt
+%config(noreplace) %verify(not md5 mtime size) %{texmfdist}/web2c/mktexnam.opt
+%config(noreplace) %verify(not md5 mtime size) %{texmfdist}/web2c/texmf.cnf
 
 %attr(1777,root,root) /var/cache/fonts
 
 
 %attr(1777,root,root) /var/cache/fonts
 
@@ -2542,8 +2415,11 @@ fi
 %attr(1777,root,root) %dir %{_localstatedir}
 %attr(1777,root,root) %dir %{_localstatedir}/fonts
 %attr(1777,root,root) %dir %{_localstatedir}/fonts/map
 %attr(1777,root,root) %dir %{_localstatedir}
 %attr(1777,root,root) %dir %{_localstatedir}/fonts
 %attr(1777,root,root) %dir %{_localstatedir}/fonts/map
+%dir %{fmtdir}
+%dir %{texmfdist}
 
 %{_mandir}/man1/afm2tfm.1*
 
 %{_mandir}/man1/afm2tfm.1*
+%{_mandir}/man1/afm2pl.1*
 %{_mandir}/man1/allcm.1*
 %{_mandir}/man1/allec.1*
 %{_mandir}/man1/allneeded.1*
 %{_mandir}/man1/allcm.1*
 %{_mandir}/man1/allec.1*
 %{_mandir}/man1/allneeded.1*
@@ -2584,7 +2460,7 @@ fi
 %{_mandir}/man1/ps2pk.1*
 %{_mandir}/man1/tangle.1*
 %{_mandir}/man1/tex.1*
 %{_mandir}/man1/ps2pk.1*
 %{_mandir}/man1/tangle.1*
 %{_mandir}/man1/tex.1*
-%{_mandir}/man1/texexec.1*
+#%{_mandir}/man1/texexec.1*
 %{_mandir}/man1/texhash.1*
 %{_mandir}/man1/texlinks.1*
 %{_mandir}/man1/tftopl.1*
 %{_mandir}/man1/texhash.1*
 %{_mandir}/man1/texlinks.1*
 %{_mandir}/man1/tftopl.1*
@@ -2597,11 +2473,8 @@ fi
 %{_mandir}/man1/weave.1*
 %{_mandir}/man5/fmtutil.cnf.5*
 %{_mandir}/man5/updmap.cfg.5*
 %{_mandir}/man1/weave.1*
 %{_mandir}/man5/fmtutil.cnf.5*
 %{_mandir}/man5/updmap.cfg.5*
-%{fmtdir}/pdftex/pdfetex.fmt
 # %{fmtdir}/pdfetex
 # %{fmtdir}/pdfetex
-%dir %{fmtdir}/tex
-%{fmtdir}/tex/tex.fmt
-# %{fmtdir}/pdftex/tex.fmt
+#%dir %{fmtdir}/tex
 
 # %files jadetex
 # %defattr(644,root,root,755)
 
 # %files jadetex
 # %defattr(644,root,root,755)
@@ -2617,16 +2490,18 @@ fi
 
 %files cef-utils
 %defattr(644,root,root,755)
 
 %files cef-utils
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/cef*
-
-%files other-utils
-%defattr(644,root,root,755)
-%dir %{texmfdist}/scripts/mkjobtexmf
 %attr(755,root,root) %{_bindir}/bg5+latex
 %attr(755,root,root) %{_bindir}/bg5+pdflatex
 %attr(755,root,root) %{_bindir}/bg5conv
 %attr(755,root,root) %{_bindir}/bg5latex
 %attr(755,root,root) %{_bindir}/bg5pdflatex
 %attr(755,root,root) %{_bindir}/bg5+latex
 %attr(755,root,root) %{_bindir}/bg5+pdflatex
 %attr(755,root,root) %{_bindir}/bg5conv
 %attr(755,root,root) %{_bindir}/bg5latex
 %attr(755,root,root) %{_bindir}/bg5pdflatex
+%attr(755,root,root) %{_bindir}/cef*
+%{_mandir}/man1/bg5conv.1*
+%{_mandir}/man1/cef?conv.1*
+
+%files other-utils
+%defattr(644,root,root,755)
+%dir %{texmfdist}/scripts/mkjobtexmf
 %attr(755,root,root) %{_bindir}/bibtex8
 %attr(755,root,root) %{_bindir}/cfftot1
 %attr(755,root,root) %{_bindir}/ebong
 %attr(755,root,root) %{_bindir}/bibtex8
 %attr(755,root,root) %{_bindir}/cfftot1
 %attr(755,root,root) %{_bindir}/ebong
@@ -2647,6 +2522,20 @@ fi
 %dir %{texmfdist}/scripts/oberdiek
 %attr(755,root,root) %{texmfdist}/scripts/oberdiek/pdfatfi.pl
 %attr(755,root,root) %{_bindir}/pdfatfi
 %dir %{texmfdist}/scripts/oberdiek
 %attr(755,root,root) %{texmfdist}/scripts/oberdiek/pdfatfi.pl
 %attr(755,root,root) %{_bindir}/pdfatfi
+%attr(755,root,root) %{_bindir}/pdf180
+%attr(755,root,root) %{_bindir}/pdf270
+%attr(755,root,root) %{_bindir}/pdf90
+%attr(755,root,root) %{_bindir}/pdfbook
+%attr(755,root,root) %{_bindir}/pdfflip
+%attr(755,root,root) %{_bindir}/pdfjam
+%attr(755,root,root) %{_bindir}/pdfjam-pocketmod
+%attr(755,root,root) %{_bindir}/pdfjam-slides3up
+%attr(755,root,root) %{_bindir}/pdfjam-slides6up
+%attr(755,root,root) %{_bindir}/pdfjoin
+%attr(755,root,root) %{_bindir}/pdfnup
+%attr(755,root,root) %{_bindir}/pdfpun
+%dir %{texmfdist}/scripts/pdfjam
+%attr(755,root,root) %{texmfdist}/scripts/pdfjam/*
 %dir %{texmfdist}/scripts/pax
 %attr(755,root,root) %{texmfdist}/scripts/pax/pdfannotextractor.pl
 %attr(755,root,root) %{_bindir}/pdfannotextractor
 %dir %{texmfdist}/scripts/pax
 %attr(755,root,root) %{texmfdist}/scripts/pax/pdfannotextractor.pl
 %attr(755,root,root) %{_bindir}/pdfannotextractor
@@ -2660,17 +2549,16 @@ fi
 %dir %{texmfdist}/scripts/pkfix-helper
 %attr(755,root,root) %{texmfdist}/scripts/pkfix-helper/pkfix-helper
 %attr(755,root,root) %{_bindir}/pkfix-helper
 %dir %{texmfdist}/scripts/pkfix-helper
 %attr(755,root,root) %{texmfdist}/scripts/pkfix-helper/pkfix-helper
 %attr(755,root,root) %{_bindir}/pkfix-helper
+%attr(755,root,root) %{_bindir}/pmx2pdf
+%attr(755,root,root) %{_bindir}/ptex2pdf
+%dir %{texmfdist}/scripts/ptex2pdf
+%attr(755,root,root) %{texmfdist}/scripts/ptex2pdf/*
 %attr(755,root,root) %{_bindir}/teckit_compile
 %attr(755,root,root) %{_bindir}/simpdftex
 %attr(755,root,root) %{_bindir}/sjisconv
 %attr(755,root,root) %{_bindir}/sjislatex
 %attr(755,root,root) %{_bindir}/sjispdflatex
 %attr(755,root,root) %{_bindir}/synctex
 %attr(755,root,root) %{_bindir}/teckit_compile
 %attr(755,root,root) %{_bindir}/simpdftex
 %attr(755,root,root) %{_bindir}/sjisconv
 %attr(755,root,root) %{_bindir}/sjislatex
 %attr(755,root,root) %{_bindir}/sjispdflatex
 %attr(755,root,root) %{_bindir}/synctex
-%attr(755,root,root) %{_bindir}/t1dotlessj
-%attr(755,root,root) %{_bindir}/t1lint
-%attr(755,root,root) %{_bindir}/t1reencode
-%attr(755,root,root) %{_bindir}/t1testpage
-%attr(755,root,root) %{_bindir}/tcdialog
 %attr(755,root,root) %{_bindir}/texcount
 %attr(755,root,root) %{_bindir}/ttf2pk
 %attr(755,root,root) %{_bindir}/ttf2tfm
 %attr(755,root,root) %{_bindir}/texcount
 %attr(755,root,root) %{_bindir}/ttf2pk
 %attr(755,root,root) %{_bindir}/ttf2tfm
@@ -2680,33 +2568,31 @@ fi
 %attr(755,root,root) %{_bindir}/ulqda
 %attr(755,root,root) %{_bindir}/vlna
 %attr(755,root,root) %{_bindir}/vpe
 %attr(755,root,root) %{_bindir}/ulqda
 %attr(755,root,root) %{_bindir}/vlna
 %attr(755,root,root) %{_bindir}/vpe
+%{texmfdist}/fonts/sfd
 %{_mandir}/man1/cfftot1.1*
 %{_mandir}/man1/hbf2gf.1*
 %{_mandir}/man1/cfftot1.1*
 %{_mandir}/man1/hbf2gf.1*
-%{_mandir}/man1/mkjobtexmf.1*
+%{_mandir}/man1/mkjobtexmf.1*
 %{_mandir}/man1/mmafm.1*
 %{_mandir}/man1/mmpfb.1*
 %{_mandir}/man1/otfinfo.1*
 %{_mandir}/man1/otftotfm.1*
 %{_mandir}/man1/mmafm.1*
 %{_mandir}/man1/mmpfb.1*
 %{_mandir}/man1/otfinfo.1*
 %{_mandir}/man1/otftotfm.1*
+%{_mandir}/man1/pdfclose.1*
+%{_mandir}/man1/pdfopen.1*
 %{_mandir}/man1/pdftosrc.1*
 %{_mandir}/man1/synctex.1*
 %{_mandir}/man1/pdftosrc.1*
 %{_mandir}/man1/synctex.1*
-%{_mandir}/man1/t1dotlessj.1*
-%{_mandir}/man1/t1lint.1*
-%{_mandir}/man1/t1reencode.1*
-%{_mandir}/man1/t1testpage.1*
-%{_mandir}/man1/tcdialog.1*
 %{_mandir}/man1/ttf2pk.1*
 %{_mandir}/man1/ttf2tfm.1*
 %{_mandir}/man1/ttftotype42.1*
 %{_mandir}/man1/vlna.1*
 %{_mandir}/man5/synctex.5*
 %{_mandir}/man1/ttf2pk.1*
 %{_mandir}/man1/ttf2tfm.1*
 %{_mandir}/man1/ttftotype42.1*
 %{_mandir}/man1/vlna.1*
 %{_mandir}/man5/synctex.5*
-%{fmtdir}/pdftex/texsis.fmt
+#%{fmtdir}/pdftex/texsis.fmt
 # %{fmtdir}/texsis
 # %{fmtdir}/texsis
-
-
+%{texmfdist}/hbf2gf
+%{texmfdist}/ttf2pk
 
 %files font-utils
 %defattr(644,root,root,755)
 
 %files font-utils
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/afm*
+%attr(755,root,root) %{_bindir}/afm2afm
 %attr(755,root,root) %{_bindir}/autoinst
 %attr(755,root,root) %{_bindir}/cmap2enc
 %attr(755,root,root) %{_bindir}/font2afm
 %attr(755,root,root) %{_bindir}/autoinst
 %attr(755,root,root) %{_bindir}/cmap2enc
 %attr(755,root,root) %{_bindir}/font2afm
@@ -2724,7 +2610,6 @@ fi
 %attr(755,root,root) %{texmfdist}/scripts/fontools/*
 # %dir %{texmf}/scripts/getnonfreefonts
 # %attr(755,root,root) %{texmf}/scripts/getnonfreefonts/*
 %attr(755,root,root) %{texmfdist}/scripts/fontools/*
 # %dir %{texmf}/scripts/getnonfreefonts
 # %attr(755,root,root) %{texmf}/scripts/getnonfreefonts/*
-%{_mandir}/man1/afm2pl.1*
 # %{_mandir}/man1/getnonfreefonts-sys.1
 # %{_mandir}/man1/getnonfreefonts.1*
 %{_mandir}/man1/t1*.1*
 # %{_mandir}/man1/getnonfreefonts-sys.1
 # %{_mandir}/man1/getnonfreefonts.1*
 %{_mandir}/man1/t1*.1*
@@ -2739,6 +2624,7 @@ fi
 %attr(755,root,root) %{_bindir}/kpsewhich
 %attr(755,root,root) %{_bindir}/kpsexpand
 %attr(755,root,root) %{_libdir}/libkpathsea.so.*
 %attr(755,root,root) %{_bindir}/kpsewhich
 %attr(755,root,root) %{_bindir}/kpsexpand
 %attr(755,root,root) %{_libdir}/libkpathsea.so.*
+%attr(755,root,root) %{texmfdist}/scripts/texlive/kpsetool.sh
 %{_libdir}/libkpathsea.la
 %{_mandir}/man1/kpsexpand.1*
 %{_mandir}/man1/kpsepath.1*
 %{_libdir}/libkpathsea.la
 %{_mandir}/man1/kpsexpand.1*
 %{_mandir}/man1/kpsepath.1*
@@ -2752,15 +2638,8 @@ fi
 %{_includedir}/kpathsea
 %{_infodir}/kpathsea.info*
 
 %{_includedir}/kpathsea
 %{_infodir}/kpathsea.info*
 
-%files dvips
+%files dvips-basic
 %defattr(644,root,root,755)
 %defattr(644,root,root,755)
-# %dir %{texmfdist}/fonts/map/dvips/cmex
-# %dir %{texmf}/dvipdfm
-%dir %{texmf}/fonts/map/dvipdfm
-# %dir %{texmf}/fonts/map/dvips
-# %dir %{texmf}/fonts/map/dvips/tetex
-# %doc %{texmf}/doc/dvips
-# %doc %{texmf}/doc/dvipdfm
 # dvi2fax requires ghostscript
 %attr(755,root,root) %{_bindir}/dvi2fax
 %attr(755,root,root) %{_bindir}/dvicopy
 # dvi2fax requires ghostscript
 %attr(755,root,root) %{_bindir}/dvi2fax
 %attr(755,root,root) %{_bindir}/dvicopy
@@ -2769,30 +2648,22 @@ fi
 %attr(755,root,root) %{_bindir}/dvips
 %attr(755,root,root) %{_bindir}/dvired
 %attr(755,root,root) %{_bindir}/dvitomp
 %attr(755,root,root) %{_bindir}/dvips
 %attr(755,root,root) %{_bindir}/dvired
 %attr(755,root,root) %{_bindir}/dvitomp
+%attr(755,root,root) %{_bindir}/dvisvgm
 %attr(755,root,root) %{_bindir}/dvitype
 %{_infodir}/dvips.info*
 %{_mandir}/man1/dvi2fax.1*
 %{_mandir}/man1/dvicopy.1*
 %attr(755,root,root) %{_bindir}/dvitype
 %{_infodir}/dvips.info*
 %{_mandir}/man1/dvi2fax.1*
 %{_mandir}/man1/dvicopy.1*
-# %{_mandir}/man1/dvipdfm.1*
 %{_mandir}/man1/dvips.1*
 %{_mandir}/man1/dvired.1*
 %{_mandir}/man1/dvitomp.1*
 %{_mandir}/man1/dvitype.1*
 %{_mandir}/man1/dvips.1*
 %{_mandir}/man1/dvired.1*
 %{_mandir}/man1/dvitomp.1*
 %{_mandir}/man1/dvitype.1*
-%{texmf}/dvips/base
-# %{texmf}/dvips/config
-# %{texmf}/dvips/getafm
-%{texmf}/dvips/gsftopk
+%dir %{texmfdist}/dvips
+%{texmfdist}/dvips/base
+%{texmfdist}/dvips/config
+%{texmfdist}/dvips/gsftopk
 %{texmfdist}/fonts/enc/dvips/base
 %{texmfdist}/fonts/enc/dvips/base
-# %{texmfdist}/fonts/map/dvips/allrunes
-# %{texmfdist}/fonts/map/dvips/cmex/ttcmex.map
-# %{texmfdist}/tex/generic/dvips
-# %{texmfdist}/dvips
-# %{texmf}/dvipdfm/config
-# %{texmf}/dvips/tetex/config.*
-# %{texmf}/fonts/enc/dvips/tetex/mtex.enc
-# %{texmf}/fonts/enc/dvips/afm2pl
-# %{texmf}/fonts/map/dvipdfm/updmap
-%{texmf}/fonts/map/dvipdfm/dvipdfmx
+%attr(755,root,root) %{texmfdist}/scripts/texlive/dvi2fax.sh
+%attr(755,root,root) %{texmfdist}/scripts/texlive/dvired.sh
 
 %files dvilj
 %defattr(644,root,root,755)
 
 %files dvilj
 %defattr(644,root,root,755)
@@ -2817,8 +2688,8 @@ fi
 %attr(755,root,root) %{_bindir}/rumakeindex
 %attr(755,root,root) %{_bindir}/splitindex
 %dir %{texmfdist}/scripts/splitindex
 %attr(755,root,root) %{_bindir}/rumakeindex
 %attr(755,root,root) %{_bindir}/splitindex
 %dir %{texmfdist}/scripts/splitindex
-%dir %{texmfdist}/scripts/splitindex/perl
-%attr(755,root,root) %{texmfdist}/scripts/splitindex/perl/splitindex.pl
+%attr(755,root,root) %{texmfdist}/scripts/splitindex/splitindex.pl
+%attr(755,root,root) %{texmfdist}/scripts/texlive/rumakeindex.sh
 %dir %{texmfdist}/scripts/mkgrkindex
 %attr(755,root,root) %{texmfdist}/scripts/mkgrkindex/mkgrkindex
 %{_mandir}/man1/makeindex.1*
 %dir %{texmfdist}/scripts/mkgrkindex
 %attr(755,root,root) %{texmfdist}/scripts/mkgrkindex/mkgrkindex
 %{_mandir}/man1/makeindex.1*
@@ -2827,22 +2698,18 @@ fi
 
 %files tlmgr
 %defattr(644,root,root,755)
 
 %files tlmgr
 %defattr(644,root,root,755)
-%dir %{texmf}/scripts/texlive
-%attr(755,root,root) %{texmf}/scripts/texlive/*.pl
+%dir %{texmfdist}/scripts/texlive
+
+#FIXME: this 2 file are probably in wrong subpackage
+%attr(755,root,root) %{texmfdist}/scripts/texlive/e2pall.pl
+#%attr(755,root,root) %{texmfdist}/scripts/texlive/udpmap.pl
+
+%attr(755,root,root) %{texmfdist}/scripts/texlive/tlmgr.pl
 %attr(755,root,root) %{_bindir}/tlmgr
 %attr(755,root,root) %{_bindir}/tlmgr
-# %dir %{texmf}/scripts/texlive/gswin32
-# %dir %{texmf}/scripts/texlive/lua
-# %dir %{texmf}/scripts/texlive/lua/texlive
-# %dir %{texmf}/scripts/texlive/tlmgrgui
-# %attr(755,root,root) %{texmf}/scripts/texlive/*.pl
-# %attr(755,root,root) %{texmf}/scripts/texlive/gswin32/*
-# %attr(755,root,root) %{texmf}/scripts/texlive/lua/texlive/*
-# %attr(755,root,root) %{texmf}/scripts/texlive/tlmgrgui/*.pl
-# %{texmf}/scripts/texlive/tlmgrgui/lang
 
 %files scripts
 %defattr(644,root,root,755)
 
 %files scripts
 %defattr(644,root,root,755)
-%dir %{texmfdist}/scripts/bengali
+%dir %{texmfdist}/scripts/bengali
 %dir %{texmfdist}/scripts/glossaries
 %dir %{texmfdist}/scripts/perltex
 # %dir %{texmfdist}/scripts/pgfplots
 %dir %{texmfdist}/scripts/glossaries
 %dir %{texmfdist}/scripts/perltex
 # %dir %{texmfdist}/scripts/pgfplots
@@ -2850,11 +2717,11 @@ fi
 # %dir %{texmfdist}/scripts/shipunov
 %dir %{texmfdist}/scripts/texcount
 %dir %{texmfdist}/scripts/vpe
 # %dir %{texmfdist}/scripts/shipunov
 %dir %{texmfdist}/scripts/texcount
 %dir %{texmfdist}/scripts/vpe
-%dir %{texmf}/scripts/a2ping
+%dir %{texmfdist}/scripts/a2ping
 # %dir %{texmf}/scripts/pkfix
 # %dir %{texmf}/scripts/pkfix
-%dir %{texmf}/scripts/simpdftex
-%dir %{texmf}/scripts/tetex
-%attr(755,root,root) %{texmfdist}/scripts/bengali/*
+%dir %{texmfdist}/scripts/simpdftex
+#%dir %{texmf}/scripts/tetex
+%attr(755,root,root) %{texmfdist}/scripts/bengali/*
 %attr(755,root,root) %{texmfdist}/scripts/glossaries/*
 %attr(755,root,root) %{texmfdist}/scripts/perltex/perltex*
 # %attr(755,root,root) %{texmfdist}/scripts/pgfplots/*
 %attr(755,root,root) %{texmfdist}/scripts/glossaries/*
 %attr(755,root,root) %{texmfdist}/scripts/perltex/perltex*
 # %attr(755,root,root) %{texmfdist}/scripts/pgfplots/*
@@ -2862,10 +2729,10 @@ fi
 # %attr(755,root,root) %{texmfdist}/scripts/shipunov/*
 %attr(755,root,root) %{texmfdist}/scripts/texcount/*
 %attr(755,root,root) %{texmfdist}/scripts/vpe/vpe.pl
 # %attr(755,root,root) %{texmfdist}/scripts/shipunov/*
 %attr(755,root,root) %{texmfdist}/scripts/texcount/*
 %attr(755,root,root) %{texmfdist}/scripts/vpe/vpe.pl
-%attr(755,root,root) %{texmf}/scripts/a2ping/a2ping*
+%attr(755,root,root) %{texmfdist}/scripts/a2ping/a2ping*
 # %attr(755,root,root) %{texmf}/scripts/pkfix/pkfix*
 # %attr(755,root,root) %{texmf}/scripts/pkfix/pkfix*
-%attr(755,root,root) %{texmf}/scripts/simpdftex/simpdftex*
-%attr(755,root,root) %{texmf}/scripts/tetex/*
+%attr(755,root,root) %{texmfdist}/scripts/simpdftex/simpdftex*
+#%attr(755,root,root) %{texmf}/scripts/tetex/*
 %attr(755,root,root) %{_bindir}/a2ping
 %attr(755,root,root) %{_bindir}/e2pall
 %dir %{texmfdist}/scripts/findhyph
 %attr(755,root,root) %{_bindir}/a2ping
 %attr(755,root,root) %{_bindir}/e2pall
 %dir %{texmfdist}/scripts/findhyph
@@ -2901,9 +2768,9 @@ fi
 %files mptopdf
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/mptopdf
 %files mptopdf
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/mptopdf
-%{_mandir}/man1/mptopdf.1*
+#%{_mandir}/man1/mptopdf.1*
 # %{texmfdist}/tex/mptopdf
 # %{texmfdist}/tex/mptopdf
-%{fmtdir}/pdftex/mptopdf.fmt
+#%{fmtdir}/pdftex/mptopdf.fmt
 # %{fmtdir}/mptopdf
 
 %files texdoctk
 # %{fmtdir}/mptopdf
 
 %files texdoctk
@@ -2914,19 +2781,17 @@ fi
 
 %files -n texconfig
 %defattr(644,root,root,755)
 
 %files -n texconfig
 %defattr(644,root,root,755)
-%dir %{texmf}/texconfig
-%doc %{texmf}/texconfig/README
+%dir %{texmfdist}/texconfig
 %attr(755,root,root) %{_bindir}/texconfig
 %attr(755,root,root) %{_bindir}/texconfig-dialog
 %attr(755,root,root) %{_bindir}/texconfig-sys
 %attr(755,root,root) %{_bindir}/texconfig
 %attr(755,root,root) %{_bindir}/texconfig-dialog
 %attr(755,root,root) %{_bindir}/texconfig-sys
-%attr(755,root,root) %{texmf}/texconfig/tcfmgr
+%attr(755,root,root) %{texmfdist}/texconfig/tcfmgr
+%attr(755,root,root) %{texmfdist}/scripts/texlive/texconfig-dialog.sh
+%attr(755,root,root) %{texmfdist}/scripts/texlive/texconfig-sys.sh
+%attr(755,root,root) %{texmfdist}/scripts/texlive/texconfig.sh
 %{_mandir}/man1/texconfig.1*
 %{_mandir}/man1/texconfig-sys.1*
 %{_mandir}/man1/texconfig.1*
 %{_mandir}/man1/texconfig-sys.1*
-%{texmf}/texconfig/g
-%{texmf}/texconfig/generic
-%{texmf}/texconfig/tcfmgr.map
-%{texmf}/texconfig/v
-%{texmf}/texconfig/x
+%{texmfdist}/texconfig/tcfmgr.map
 
 %if %{with xindy}
 %files -n xindy
 
 %if %{with xindy}
 %files -n xindy
@@ -3134,15 +2999,9 @@ fi
 %{_mandir}/man1/xdvi.1*
 %{_desktopdir}/xdvi.desktop
 %{_pixmapsdir}/xdvi.png
 %{_mandir}/man1/xdvi.1*
 %{_desktopdir}/xdvi.desktop
 %{_pixmapsdir}/xdvi.png
-%{texmf}/xdvi
 
 %files pdftex
 %defattr(644,root,root,755)
 
 %files pdftex
 %defattr(644,root,root,755)
-# %config(noreplace) %verify(not md5 mtime size) %{texmf}/tex/generic/config/pdftexconfig.tex
-# %dir %{texmfdist}/doc/support
-# %dir %{texmf}/fonts/map/pdftex
-# %doc %{texmfdist}/doc/pdftex
-# %doc %{texmfdist}/doc/support/pdfcrop
 %dir %{texmfdist}/scripts/pdfcrop
 %attr(755,root,root) %{texmfdist}/scripts/pdfcrop/pdfcrop.pl
 %attr(755,root,root) %{_bindir}/pdfcrop
 %dir %{texmfdist}/scripts/pdfcrop
 %attr(755,root,root) %{texmfdist}/scripts/pdfcrop/pdfcrop.pl
 %attr(755,root,root) %{_bindir}/pdfcrop
@@ -3150,42 +3009,16 @@ fi
 %attr(755,root,root) %{_bindir}/pdftex
 %attr(755,root,root) %{_bindir}/tpic2pdftex
 %dir %{fmtdir}/pdftex
 %attr(755,root,root) %{_bindir}/pdftex
 %attr(755,root,root) %{_bindir}/tpic2pdftex
 %dir %{fmtdir}/pdftex
-# %{_mandir}/man1/epstopdf.1*
 %{_mandir}/man1/pdftex.1*
 %{_mandir}/man1/tpic2pdftex.1*
 %{_mandir}/man1/pdftex.1*
 %{_mandir}/man1/tpic2pdftex.1*
-# %{texmfdist}/fonts/enc/pdftex
-# %{texmfdist}/fonts/map/pdftex
-# %{texmf}/fmtutil/format.pdftex.cnf
-# %{texmf}/fonts/map/pdftex/updmap
-%{fmtdir}/pdftex/pdftex.fmt
-
-%files phyzzx
-%defattr(644,root,root,755)
-# %attr(755,root,root) %{_bindir}/phyzzx
-# %dir %{texmfdist}/doc/phyzzx
-# %dir %{texmfdist}/tex/phyzzx
-# %doc %{texmfdist}/doc/phyzzx/base
-# %{texmfdist}/tex/phyzzx/base
-# %{texmfdist}/tex/phyzzx/config
-# %{texmf}/fmtutil/format.phyzzx.cnf
-%{fmtdir}/pdftex/phyzzx.fmt
-# %{fmtdir}/phyzzx
-
-%files omega
-%defattr(644,root,root,755)
-# %doc %{texmfdist}/doc/aleph
-# %doc %{texmfdist}/doc/omega
-# %doc %{texmfdist}/doc/lambda
-# %dir %{texmfdist}/omega
-# %dir %{texmfdist}/dvips/omega
+
+%files omega-basic
+%defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/aleph
 %attr(755,root,root) %{_bindir}/aleph
-# %attr(755,root,root) %{_bindir}/lambda
 %attr(755,root,root) %{_bindir}/mkocp
 %attr(755,root,root) %{_bindir}/mkofm
 %attr(755,root,root) %{_bindir}/odvicopy
 %attr(755,root,root) %{_bindir}/mkocp
 %attr(755,root,root) %{_bindir}/mkofm
 %attr(755,root,root) %{_bindir}/odvicopy
-# %attr(755,root,root) %{_bindir}/odvips
 %attr(755,root,root) %{_bindir}/odvitype
 %attr(755,root,root) %{_bindir}/odvitype
-# %attr(755,root,root) %{_bindir}/omega
 %attr(755,root,root) %{_bindir}/omfonts
 %attr(755,root,root) %{_bindir}/opl2ofm
 %attr(755,root,root) %{_bindir}/otangle
 %attr(755,root,root) %{_bindir}/omfonts
 %attr(755,root,root) %{_bindir}/opl2ofm
 %attr(755,root,root) %{_bindir}/otangle
@@ -3193,23 +3026,10 @@ fi
 %attr(755,root,root) %{_bindir}/outocp
 %attr(755,root,root) %{_bindir}/ovf2ovp
 %attr(755,root,root) %{_bindir}/ovp2ovf
 %attr(755,root,root) %{_bindir}/outocp
 %attr(755,root,root) %{_bindir}/ovf2ovp
 %attr(755,root,root) %{_bindir}/ovp2ovf
-# %{texmfdist}/dvips/omega/config.omega
-# %{texmfdist}/dvips/omega/omega.cfg
-# %{texmfdist}/fonts/map/dvips/omega
-# %{texmfdist}/tex/generic/omegahyph
-# %{texmfdist}/omega/ocp
-# %{texmfdist}/omega/otp
-# %{texmfdist}/tex/lambda
-# %{texmfdist}/source/lambda
-# %{texmf}/fmtutil/format.omega.cnf
-# %{texmf}/fmtutil/format.aleph.cnf
 %{_mandir}/man1/aleph.1*
 %{_mandir}/man1/aleph.1*
-# %{_mandir}/man1/lambda.1*
 %{_mandir}/man1/mkocp.1*
 %{_mandir}/man1/mkofm.1*
 %{_mandir}/man1/mkocp.1*
 %{_mandir}/man1/mkofm.1*
-# %{_mandir}/man1/omega.1*
 %{_mandir}/man1/odvicopy.1*
 %{_mandir}/man1/odvicopy.1*
-# %{_mandir}/man1/odvips.1*
 %{_mandir}/man1/odvitype.1*
 %{_mandir}/man1/ofm2opl.1*
 %{_mandir}/man1/opl2ofm.1*
 %{_mandir}/man1/odvitype.1*
 %{_mandir}/man1/ofm2opl.1*
 %{_mandir}/man1/opl2ofm.1*
@@ -3217,73 +3037,13 @@ fi
 %{_mandir}/man1/outocp.1*
 %{_mandir}/man1/ovf2ovp.1*
 %{_mandir}/man1/ovp2ovf.1*
 %{_mandir}/man1/outocp.1*
 %{_mandir}/man1/ovf2ovp.1*
 %{_mandir}/man1/ovp2ovf.1*
-%{fmtdir}/aleph
-%{fmtdir}/omega
-# %{fmtdir}/lambda
-# %{fmtdir}/lamed
-# %{fmtdir}/pdftex/aleph.fmt
-# %{fmtdir}/pdftex/lambda.fmt
-# %{fmtdir}/pdftex/lamed.fmt
-# %{fmtdir}/pdftex/omega.fmt
-
-%files format-mex
-%defattr(644,root,root,755)
-# %attr(755,root,root) %{_bindir}/mex
-# %{texmfdist}/tex/mex/config/mex.ini
-%{fmtdir}/pdftex/mex.fmt
-# %{fmtdir}/mex
-
-%files format-amstex
-%defattr(644,root,root,755)
-# %attr(755,root,root) %{_bindir}/amstex
-# %doc %{texmfdist}/doc/amstex
-# %{texmfdist}/tex/amstex
-# %{texmf}/fmtutil/format.amstex.cnf
-# %{texmf}/fmtutil/format.cyramstex.cnf
-%{_mandir}/man1/amstex.1*
-
-# %files csplain
-# %defattr(644,root,root,755)
-# %dir %{texmfdist}/doc/cslatex
-# %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
-# %{fmtdir}/csplain
-
-%files format-pdfcsplain
-%defattr(644,root,root,755)
-# %attr(755,root,root) %{_bindir}/pdfcsplain
-%{fmtdir}/pdftex/pdfcsplain.fmt
-# %{fmtdir}/pdfcsplain
-
-%files format-eplain
-%defattr(644,root,root,755)
-# %attr(755,root,root) %{_bindir}/eplain
-# %attr(755,root,root) %{_bindir}/etex
-%{_mandir}/man1/eplain.1*
-# %{_mandir}/man1/etex.1*
-# %{texmf}/fmtutil/format.eplain.cnf
-%{fmtdir}/pdftex/etex.fmt
-# %{fmtdir}/etex
 
 %files context
 %defattr(644,root,root,755)
 %dir %{texmfdist}/scripts/context
 
 %files context
 %defattr(644,root,root,755)
 %dir %{texmfdist}/scripts/context
-# %dir %{texmfdist}/scripts/context/ruby
-# %dir %{texmfdist}/scripts/context/stubs
-# %dir %{texmfdist}/scripts/context/stubs/unix
-# %attr(755,root,root) %{texmfdist}/scripts/context/stubs/unix/*
 %attr(755,root,root) %{_bindir}/context
 %attr(755,root,root) %{_bindir}/ctxtools
 %attr(755,root,root) %{_bindir}/context
 %attr(755,root,root) %{_bindir}/ctxtools
-# %attr(755,root,root) %{_bindir}/exatools
-%attr(755,root,root) %{_bindir}/luatools
-# %attr(755,root,root) %{_bindir}/makempy
-# %attr(755,root,root) %{_bindir}/mpstools
+%attr(755,root,root) %{_bindir}/convbkmk
 %attr(755,root,root) %{_bindir}/mtxrun
 %attr(755,root,root) %{_bindir}/mtxtools
 %attr(755,root,root) %{_bindir}/pdftools
 %attr(755,root,root) %{_bindir}/mtxrun
 %attr(755,root,root) %{_bindir}/mtxtools
 %attr(755,root,root) %{_bindir}/pdftools
@@ -3294,44 +3054,35 @@ fi
 %attr(755,root,root) %{_bindir}/texexec
 %attr(755,root,root) %{_bindir}/texfind
 %attr(755,root,root) %{_bindir}/texfont
 %attr(755,root,root) %{_bindir}/texexec
 %attr(755,root,root) %{_bindir}/texfind
 %attr(755,root,root) %{_bindir}/texfont
-# %attr(755,root,root) %{texmfdist}/scripts/context/ruby/texmfstart.rb
 %attr(755,root,root) %{_bindir}/texmfstart
 %attr(755,root,root) %{_bindir}/texshow
 %attr(755,root,root) %{_bindir}/textools
 %attr(755,root,root) %{_bindir}/texutil
 %attr(755,root,root) %{_bindir}/tmftools
 %attr(755,root,root) %{_bindir}/xmltools
 %attr(755,root,root) %{_bindir}/texmfstart
 %attr(755,root,root) %{_bindir}/texshow
 %attr(755,root,root) %{_bindir}/textools
 %attr(755,root,root) %{_bindir}/texutil
 %attr(755,root,root) %{_bindir}/tmftools
 %attr(755,root,root) %{_bindir}/xmltools
-%{_mandir}/man1/ctxtools.1*
-# %{_mandir}/man1/pdftools.1*
-%{_mandir}/man1/pstopdf.1*
-# %{_mandir}/man1/texfind.1*
-# %{_mandir}/man1/texfont.1*
-%{_mandir}/man1/texmfstart.1*
-# %{_mandir}/man1/textools.1*
-# %{_mandir}/man1/texutil.1*
-# %{texmfdist}/context
-# %{texmfdist}/fonts/enc/dvips/context
-# %{texmfdist}/metapost/context
-# %{texmfdist}/tex/context
-# %exclude %{texmfdist}/tex/context/config/cont-de.ini
-# %exclude %{texmfdist}/tex/context/config/cont-en.ini
-# %exclude %{texmfdist}/tex/context/config/cont-nl.ini
-# %exclude %{texmfdist}/tex/context/config/cont-uk.ini
-# %{texmfdist}/tex/generic/context
-# %{texmfdist}/tex/latex/context
-# %{texmfdist}/bibtex/bst/context
-# %{texmf}/fmtutil/format.context.cnf
-# %{texmf}/fmtutil/format.luatex.cnf
-# %{texmf}/web2c/context.cnf
 
 %files latex
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/lacheck
 %attr(755,root,root) %{_bindir}/latex
 
 %files latex
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/lacheck
 %attr(755,root,root) %{_bindir}/latex
+%attr(755,root,root) %{_bindir}/latexfileversion
+%dir %{texmfdist}/scripts/latexfileversion
+%attr(755,root,root) %{texmfdist}/scripts/latexfileversion/latexfileversion
+%attr(755,root,root) %{_bindir}/latexdiff-vc
+%dir %{texmfdist}/scripts/latexdiff
+%attr(755,root,root) %{texmfdist}/scripts/latexdiff/latexdiff-vc.pl
+%attr(755,root,root) %{_bindir}/latexdiff
+%attr(755,root,root) %{texmfdist}/scripts/latexdiff/latexdiff.pl
+%attr(755,root,root) %{_bindir}/latexrevise
+%attr(755,root,root) %{texmfdist}/scripts/latexdiff/latexrevise.pl
+
 %attr(755,root,root) %{_bindir}/pslatex
 %attr(755,root,root) %{_bindir}/pslatex
+%attr(755,root,root) %{texmfdist}/scripts/texlive/pslatex.sh
 
 
+# make new spec for latexmk (http://users.phys.psu.edu/~collins/software/latexmk-jcc/)
 %dir %{texmfdist}/scripts/latexmk
 %attr(755,root,root) %{texmfdist}/scripts/latexmk/latexmk.pl
 %dir %{texmfdist}/scripts/latexmk
 %attr(755,root,root) %{texmfdist}/scripts/latexmk/latexmk.pl
+
 %attr(755,root,root) %{_bindir}/latexmk
 %dir %{texmfdist}/scripts/latex2man
 %attr(755,root,root) %{texmfdist}/scripts/latex2man/latex2man
 %attr(755,root,root) %{_bindir}/latexmk
 %dir %{texmfdist}/scripts/latex2man
 %attr(755,root,root) %{texmfdist}/scripts/latex2man/latex2man
@@ -3348,50 +3099,39 @@ fi
 %{_mandir}/man1/lacheck.1*
 %{_mandir}/man1/latex.1*
 %{_mandir}/man1/pslatex.1*
 %{_mandir}/man1/lacheck.1*
 %{_mandir}/man1/latex.1*
 %{_mandir}/man1/pslatex.1*
-%{fmtdir}/pdftex/latex.fmt
-%{fmtdir}/pdftex/mllatex.fmt
 
 %files latex-bibtex
 %defattr(644,root,root,755)
 
 %files latex-bibtex
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/listbib
 %dir %{texmfdist}/bibtex
 %dir %{texmfdist}/bibtex
-# %dir %{texmfdist}/bibtex/bib
-# %dir %{texmfdist}/bibtex/bst
 %dir %{texmfdist}/bibtex/csf
 %dir %{texmfdist}/bibtex/csf
-# %dir %{texmfdist}/doc/bibtex
-# %dir %{texmf}/bibtex
-# %doc %{texmfdist}/doc/bibtex/base
-# %doc %{texmfdist}/doc/latex/bibtopic
-# %doc %{texmfdist}/doc/latex/bibunits
-# %doc %{texmfdist}/doc/latex/footbib
-# %doc %{texmfdist}/doc/latex/natbib
-%doc %{texmf}/doc/bibtex8
+%doc %{texmfdist}/doc/bibtex8
 %{_mandir}/man1/bibtex.1*
 %{_mandir}/man1/rubibtex.1*
 
 %{_mandir}/man1/bibtex.1*
 %{_mandir}/man1/rubibtex.1*
 
+%attr(755,root,root) %{_bindir}/authorindex
+#%attr(755,root,root) %{_bindir}/biber
+%attr(755,root,root) %{_bindir}/bibexport
 %attr(755,root,root) %{_bindir}/bibtex
 %attr(755,root,root) %{_bindir}/bibtex
+%attr(755,root,root) %{_bindir}/bibtexu
+%attr(755,root,root) %{_bindir}/checkcites
 %attr(755,root,root) %{_bindir}/rubibtex
 %attr(755,root,root) %{_bindir}/rubibtex
+%attr(755,root,root) %{texmfdist}/scripts/texlive/rubibtex.sh
 %{texmfdist}/bibtex/csf/base
  
 %files latex-presentation-bin
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/ppower4
 %attr(755,root,root) %{_bindir}/pdfthumb
 %{texmfdist}/bibtex/csf/base
  
 %files latex-presentation-bin
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/ppower4
 %attr(755,root,root) %{_bindir}/pdfthumb
-%dir %{texmfdist}/scripts/ppower4
-%attr(755,root,root) %{texmfdist}/scripts/ppower4/*
 
 %files format-pdflatex
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/pdflatex
 
 %files format-pdflatex
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/pdflatex
-# %{fmtdir}/pdflatex
-%{fmtdir}/pdftex/pdflatex.fmt
 %{_mandir}/man1/pdflatex.1*
  
 %files tex-thumbpdf
 %defattr(644,root,root,755)
 %{_mandir}/man1/pdflatex.1*
  
 %files tex-thumbpdf
 %defattr(644,root,root,755)
-# %doc %{texmfdist}/doc/generic/thumbpdf
 %attr(755,root,root) %{_bindir}/thumbpdf
 %attr(755,root,root) %{_bindir}/thumbpdf
-%{_mandir}/man1/thumbpdf.1*
-# %{texmfdist}/tex/generic/thumbpdf
 %{texmfdist}/scripts/thumbpdf
 
 %files fonts-other
 %{texmfdist}/scripts/thumbpdf
 
 %files fonts-other
@@ -3411,8 +3151,6 @@ fi
 %files dviutils
 %defattr(644,root,root,755)
 %dir %{texmfdist}/scripts/dviasm
 %files dviutils
 %defattr(644,root,root,755)
 %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}/disdvi
 %attr(755,root,root) %{_bindir}/dt2dv
 %attr(755,root,root) %{_bindir}/dv2dt
@@ -3427,6 +3165,8 @@ fi
 %attr(755,root,root) %{_bindir}/dviselect
 %attr(755,root,root) %{_bindir}/dvitodvi
 %attr(755,root,root) %{texmfdist}/scripts/dviasm/dviasm*
 %attr(755,root,root) %{_bindir}/dviselect
 %attr(755,root,root) %{_bindir}/dvitodvi
 %attr(755,root,root) %{texmfdist}/scripts/dviasm/dviasm*
+%ghost /usr/lib64/libptexenc.so.1
+%attr(755,root,root) /usr/lib64/libptexenc.so.1.3.2
 %{_mandir}/man1/dt2dv*
 %{_mandir}/man1/dv2dt*
 %{_mandir}/man1/dvi2tty*
 %{_mandir}/man1/dt2dv*
 %{_mandir}/man1/dv2dt*
 %{_mandir}/man1/dvi2tty*
@@ -3437,14 +3177,12 @@ fi
 %{_mandir}/man1/dvipos*
 %{_mandir}/man1/dviselect*
 %{_mandir}/man1/dvitodvi*
 %{_mandir}/man1/dvipos*
 %{_mandir}/man1/dviselect*
 %{_mandir}/man1/dvitodvi*
-%{texmf}/dvipdfmx
-%{texmf}/fonts/cmap/dvipdfmx
-# %{texmf}/fonts/map/dvipdfmx
+%{texmfdist}/dvipdfmx
+%{texmfdist}/fonts/cmap/dvipdfmx
+%{texmfdist}/fonts/map/dvipdfmx
 
 %files psutils
 %defattr(644,root,root,755)
 
 %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}/epsffit
 %attr(755,root,root) %{_bindir}/epspdf
 %attr(755,root,root) %{_bindir}/epspdftk
@@ -3452,39 +3190,43 @@ fi
 %dir %{texmfdist}/scripts/fragmaster
 %attr(755,root,root) %{texmfdist}/scripts/fragmaster/fragmaster.pl
 %attr(755,root,root) %{_bindir}/fragmaster
 %dir %{texmfdist}/scripts/fragmaster
 %attr(755,root,root) %{texmfdist}/scripts/fragmaster/fragmaster.pl
 %attr(755,root,root) %{_bindir}/fragmaster
-%attr(755,root,root) %{_bindir}/fix*
-%attr(755,root,root) %{_bindir}/getafm
+#%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}/includeres
 %attr(755,root,root) %{_bindir}/ps2eps
 %attr(755,root,root) %{_bindir}/psbook
-%attr(755,root,root) %{_bindir}/psmerge
+%attr(755,root,root) %{_bindir}/psjoin
+%dir %{texmfdist}/scripts/psutils
+%attr(755,root,root) %{texmfdist}/scripts/psutils/*
+#%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}/pst2pdf
 %attr(755,root,root) %{_bindir}/pstops
 %attr(755,root,root) %{_bindir}/psnup
 %attr(755,root,root) %{_bindir}/psresize
 %attr(755,root,root) %{_bindir}/psselect
 %attr(755,root,root) %{_bindir}/pst2pdf
 %attr(755,root,root) %{_bindir}/pstops
-%attr(755,root,root) %{_bindir}/showchar
+#%attr(755,root,root) %{_bindir}/showchar
 %dir %{texmfdist}/scripts/epstopdf
 %attr(755,root,root) %{texmfdist}/scripts/epstopdf/epstopdf.pl
 %attr(755,root,root) %{_bindir}/epstopdf
 %dir %{texmfdist}/scripts/purifyeps
 %attr(755,root,root) %{texmfdist}/scripts/purifyeps/purifyeps
 %attr(755,root,root) %{_bindir}/purifyeps
 %dir %{texmfdist}/scripts/epstopdf
 %attr(755,root,root) %{texmfdist}/scripts/epstopdf/epstopdf.pl
 %attr(755,root,root) %{_bindir}/epstopdf
 %dir %{texmfdist}/scripts/purifyeps
 %attr(755,root,root) %{texmfdist}/scripts/purifyeps/purifyeps
 %attr(755,root,root) %{_bindir}/purifyeps
-# %attr(755,root,root) %{texmf}/scripts/ps2eps/ps2eps*
+%attr(755,root,root) %{texmfdist}/scripts/ps2eps/ps2eps*
 %{_mandir}/man1/epsffit*
 %{_mandir}/man1/extractres*
 %{_mandir}/man1/epsffit*
 %{_mandir}/man1/extractres*
-%{_mandir}/man1/fix*
-%{_mandir}/man1/getafm*
+#%{_mandir}/man1/fix*
+#%{_mandir}/man1/getafm*
 %{_mandir}/man1/includeres*
 %{_mandir}/man1/ps2eps.1*
 %{_mandir}/man1/psbook*
 %{_mandir}/man1/includeres*
 %{_mandir}/man1/ps2eps.1*
 %{_mandir}/man1/psbook*
-%{_mandir}/man1/psmerge*
+%{_mandir}/man1/psjoin*
+#%{_mandir}/man1/psmerge*
 %{_mandir}/man1/psnup*
 %{_mandir}/man1/psresize*
 %{_mandir}/man1/psselect*
 %{_mandir}/man1/pstops*
 %{_mandir}/man1/psnup*
 %{_mandir}/man1/psresize*
 %{_mandir}/man1/psselect*
 %{_mandir}/man1/pstops*
+%{_mandir}/man1/psutils*
 %{texmfdist}/scripts/epspdf
 %{texmfdist}/scripts/epspdf
-# %{texmf}/dvips/psutils
 
 %files uncategorized-utils
 %defattr(644,root,root,755)
 
 %files uncategorized-utils
 %defattr(644,root,root,755)
@@ -3493,7 +3235,6 @@ fi
 %files tex4ht
 %defattr(644,root,root,755)
 %dir %{texmfdist}/scripts/tex4ht
 %files tex4ht
 %defattr(644,root,root,755)
 %dir %{texmfdist}/scripts/tex4ht
-# %doc %{texmfdist}/doc/generic/tex4ht
 %attr(755,root,root) %{_bindir}/ht
 %attr(755,root,root) %{_bindir}/htcontext
 %attr(755,root,root) %{_bindir}/htlatex
 %attr(755,root,root) %{_bindir}/ht
 %attr(755,root,root) %{_bindir}/htcontext
 %attr(755,root,root) %{_bindir}/htlatex
@@ -3514,60 +3255,25 @@ fi
 %attr(755,root,root) %{texmfdist}/scripts/tex4ht/htxelatex.sh
 %attr(755,root,root) %{texmfdist}/scripts/tex4ht/htxetex.sh
 %attr(755,root,root) %{texmfdist}/scripts/tex4ht/mk4ht.pl
 %attr(755,root,root) %{texmfdist}/scripts/tex4ht/htxelatex.sh
 %attr(755,root,root) %{texmfdist}/scripts/tex4ht/htxetex.sh
 %attr(755,root,root) %{texmfdist}/scripts/tex4ht/mk4ht.pl
-# %{texmfdist}/tex/generic/tex4ht
-# %{texmfdist}/tex4ht
-# %{texmf}/scripts/tex4ht
 
 %files xetex
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/xdvipdfmx
 %attr(755,root,root) %{_bindir}/xelatex
 %attr(755,root,root) %{_bindir}/xetex
 
 %files xetex
 %defattr(644,root,root,755)
 %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
-# %doc %{texmfdist}/doc/xetex
-# %{texmfdist}/scripts/xetex
-# %{texmfdist}/tex/generic/ifxetex
-# %{texmfdist}/tex/generic/xetexconfig
-# %{texmfdist}/tex/latex/latexconfig/xelatex.ini
-# %{texmfdist}/tex/plain/config/xetex.ini
-# %{texmfdist}/tex/xelatex
-# %{texmfdist}/tex/xetex
-# %{texmf}/fmtutil/format.xetex.cnf
-%{fmtdir}/xetex/xetex.fmt
-%{fmtdir}/xetex/xelatex.fmt
-# %{fmtdir}/pdftex/xelatex.fmt
-# %{fmtdir}/pdftex/xetex.fmt
-# %{fmtdir}/xelatex
-
-%files xmltex
-%defattr(644,root,root,755)
-# %attr(755,root,root) %{_bindir}/pdfxmltex
-# %attr(755,root,root) %{_bindir}/xmltex
-# %doc %{texmfdist}/doc/xmltex
-# %{texmfdist}/source/xmltex
-# %{texmfdist}/tex/xmltex
-# %{texmf}/fmtutil/format.xmltex.cnf
-# %{fmtdir}/pdftex/pdfxmltex.fmt
-# %{fmtdir}/pdftex/xmltex.fmt
-# %{fmtdir}/pdfxmltex
-# %{fmtdir}/xmltex
 
 %files luatex
 
 %files luatex
-# %dir %{texmfdist}/scripts/context/lua
+%defattr(755,root,root,644)
 %attr(755,root,root) %{_bindir}/luatex
 %attr(755,root,root) %{_bindir}/luatex
-# %attr(755,root,root) %{_bindir}/luatangle
 %attr(755,root,root) %{_bindir}/texlua
 %attr(755,root,root) %{_bindir}/texluac
 %attr(755,root,root) %{texmfdist}/scripts/cachepic/cachepic.tlu
 %attr(755,root,root) %{_bindir}/cachepic
 %attr(755,root,root) %{_bindir}/texlua
 %attr(755,root,root) %{_bindir}/texluac
 %attr(755,root,root) %{texmfdist}/scripts/cachepic/cachepic.tlu
 %attr(755,root,root) %{_bindir}/cachepic
-# %attr(755,root,root) %{texmfdist}/scripts/context/lua/*
 %attr(755,root,root) %{_bindir}/luatools
 %attr(755,root,root) %{_bindir}/luatools
-%attr(755,root,root) %{_bindir}/mtxrun
-%attr(755,root,root) %{texmf}/scripts/texlive/rungs.tlu
+%attr(755,root,root) %{texmfdist}/scripts/texlive/rungs.tlu
 %attr(755,root,root) %{_bindir}/rungs
 %attr(755,root,root) %{_bindir}/texdoc
 %attr(755,root,root) %{_bindir}/rungs
 %attr(755,root,root) %{_bindir}/texdoc
-%attr(755,root,root) %{texmf}/scripts/texdoc/texdoc.tlu
+%attr(755,root,root) %{texmfdist}/scripts/texdoc/texdoc.tlu
 %{_mandir}/man1/luatex.1*
 %{_mandir}/man1/luatex.1*
+%{_mandir}/man1/texlua.1*
+%{_mandir}/man1/texluac.1*
This page took 0.1118 seconds and 4 git commands to generate.