- move mktexpk to texlive-utils (#435176)
- rename texlive-japanese to texlive-east-asian - move ghostscript Requires to dvipdfmx - remove trailing spaces from spec
This commit is contained in:
parent
deee68f5f9
commit
682410955b
168
texlive.spec
168
texlive.spec
@ -1,11 +1,11 @@
|
|||||||
# This spec file is based on texjive project created by Michael A. Peters.
|
# This spec file is based on texjive project created by Michael A. Peters.
|
||||||
# Adopted and modified for Fedora by Jindrich Novy.
|
# Adopted and modified for Fedora by Jindrich Novy.
|
||||||
%define f8_packaging 0
|
%define f8_packaging 0
|
||||||
|
|
||||||
%define texlive_ver 2007
|
%define texlive_ver 2007
|
||||||
%define ptex_src_ver 3.1.10
|
%define ptex_src_ver 3.1.10
|
||||||
%define pdvipsk_ver p1.7a
|
%define pdvipsk_ver p1.7a
|
||||||
%define mendexk_ver 2.6e
|
%define mendexk_ver 2.6e
|
||||||
%define dvipdfm_ver 0.13.2d
|
%define dvipdfm_ver 0.13.2d
|
||||||
%define dvipdfmx_ver 0
|
%define dvipdfmx_ver 0
|
||||||
%if %{f8_packaging}
|
%if %{f8_packaging}
|
||||||
@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
Name: texlive
|
Name: texlive
|
||||||
Version: %{texlive_ver}
|
Version: %{texlive_ver}
|
||||||
Release: 19%{?dist}
|
Release: 20%{?dist}
|
||||||
Summary: Binaries for the TeX formatting system
|
Summary: Binaries for the TeX formatting system
|
||||||
|
|
||||||
Group: Applications/Publishing
|
Group: Applications/Publishing
|
||||||
@ -59,76 +59,76 @@ Source1002: ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/mendex/mendexk%{mendexk_ver
|
|||||||
######
|
######
|
||||||
|
|
||||||
# and sane defaults to build against can be inserted via sed
|
# and sane defaults to build against can be inserted via sed
|
||||||
Patch5: texlive-2007-browser.patch
|
Patch5: texlive-2007-browser.patch
|
||||||
Patch9: texlive-teckit.patch
|
Patch9: texlive-teckit.patch
|
||||||
|
|
||||||
Patch21: texlive-more_paths.patch
|
Patch21: texlive-more_paths.patch
|
||||||
Patch22: texlive-fedora_paths.patch
|
Patch22: texlive-fedora_paths.patch
|
||||||
|
|
||||||
######
|
######
|
||||||
# TeX patches
|
# TeX patches
|
||||||
######
|
######
|
||||||
|
|
||||||
Patch10: texlive-2007-dvipdfm-security.patch
|
Patch10: texlive-2007-dvipdfm-security.patch
|
||||||
Patch11: texlive-2007-makej.patch
|
Patch11: texlive-2007-makej.patch
|
||||||
Patch12: texlive-2007-badscript.patch
|
Patch12: texlive-2007-badscript.patch
|
||||||
Patch17: texlive-2007-tmpcleanup.patch
|
Patch17: texlive-2007-tmpcleanup.patch
|
||||||
Patch19: texlive-2007-kpse-extensions.patch
|
Patch19: texlive-2007-kpse-extensions.patch
|
||||||
Patch20: texlive-CVE-2007-4033.patch
|
Patch20: texlive-CVE-2007-4033.patch
|
||||||
Patch25: texlive-dvipsoverflow.patch
|
Patch25: texlive-dvipsoverflow.patch
|
||||||
Patch26: texlive-dviljktemp.patch
|
Patch26: texlive-dviljktemp.patch
|
||||||
Patch27: texlive-poppler.patch
|
Patch27: texlive-poppler.patch
|
||||||
Patch28: texlive-man-notetex.patch
|
Patch28: texlive-man-notetex.patch
|
||||||
Patch29: texlive-man-context.patch
|
Patch29: texlive-man-context.patch
|
||||||
|
|
||||||
######
|
######
|
||||||
# mpeters contributed patches
|
# mpeters contributed patches
|
||||||
######
|
######
|
||||||
# fixes man pages to utf-8
|
# fixes man pages to utf-8
|
||||||
Patch41: texlive-2007-kuesterei-man.patch
|
Patch41: texlive-2007-kuesterei-man.patch
|
||||||
Patch42: texlive-2007-copyright-utf8-man.patch
|
Patch42: texlive-2007-copyright-utf8-man.patch
|
||||||
# use proper shellbang
|
# use proper shellbang
|
||||||
Patch43: texlive-2007-epstopdf-shellbang.patch
|
Patch43: texlive-2007-epstopdf-shellbang.patch
|
||||||
|
|
||||||
######
|
######
|
||||||
# Debian patches
|
# Debian patches
|
||||||
######
|
######
|
||||||
Patch100: texlive-Build_script.patch
|
Patch100: texlive-Build_script.patch
|
||||||
Patch101: texlive-mktexlsr_fixes.patch
|
Patch101: texlive-mktexlsr_fixes.patch
|
||||||
Patch102: texlive-fix_pkfix_invocation.patch
|
Patch102: texlive-fix_pkfix_invocation.patch
|
||||||
Patch104: texlive-12a_fix_thumbpdf_invocation.patch
|
Patch104: texlive-12a_fix_thumbpdf_invocation.patch
|
||||||
Patch105: texlive-12b_fix_a2ping_invocation.patch
|
Patch105: texlive-12b_fix_a2ping_invocation.patch
|
||||||
Patch106: texlive-12c_fix_pdfcrop_invocation.patch
|
Patch106: texlive-12c_fix_pdfcrop_invocation.patch
|
||||||
Patch107: texlive-12d_fix_ebong_invocation.patch
|
Patch107: texlive-12d_fix_ebong_invocation.patch
|
||||||
Patch108: texlive-12e_fix_vpe_invocation.patch
|
Patch108: texlive-12e_fix_vpe_invocation.patch
|
||||||
Patch109: texlive-texdoc.patch
|
Patch109: texlive-texdoc.patch
|
||||||
Patch114: texlive-dvips_fontbug_fix_upstream.patch
|
Patch114: texlive-dvips_fontbug_fix_upstream.patch
|
||||||
Patch115: texlive-maketexmf.patch
|
Patch115: texlive-maketexmf.patch
|
||||||
Patch117: texlive-fmtutil_keep_failedlog.patch
|
Patch117: texlive-fmtutil_keep_failedlog.patch
|
||||||
Patch119: texlive-checklib_fixes.patch
|
Patch119: texlive-checklib_fixes.patch
|
||||||
Patch120: texlive-dvipdfm_timezone.patch
|
Patch120: texlive-dvipdfm_timezone.patch
|
||||||
Patch123: texlive-fix_makempx_installation.patch
|
Patch123: texlive-fix_makempx_installation.patch
|
||||||
|
|
||||||
######
|
######
|
||||||
# Mandriva patches
|
# Mandriva patches
|
||||||
######
|
######
|
||||||
Patch202: texlive-pdftex.patch
|
Patch202: texlive-pdftex.patch
|
||||||
|
|
||||||
######
|
######
|
||||||
# Suse patches
|
# Suse patches
|
||||||
######
|
######
|
||||||
Patch300: texlive-source-icu.patch
|
Patch300: texlive-source-icu.patch
|
||||||
Patch301: texlive-source-t1lib.patch
|
Patch301: texlive-source-t1lib.patch
|
||||||
Patch302: texlive-source-warns.patch
|
Patch302: texlive-source-warns.patch
|
||||||
Patch303: texlive-source-x11r7.patch
|
Patch303: texlive-source-x11r7.patch
|
||||||
Patch306: texlive-source-CVE-2007-0650.patch
|
Patch306: texlive-source-CVE-2007-0650.patch
|
||||||
|
|
||||||
# 1000-: Japanese pTeX
|
# 1000-: Japanese pTeX
|
||||||
Patch1000: dvipsk-jpatch-pdvips.patch
|
Patch1000: dvipsk-jpatch-pdvips.patch
|
||||||
Patch1004: texlive-2007-jp-platex209.patch
|
Patch1004: texlive-2007-jp-platex209.patch
|
||||||
Patch1005: texlive-2007-pdvips.patch
|
Patch1005: texlive-2007-pdvips.patch
|
||||||
Patch1006: texlive-2007-ptex-3.1.10.patch
|
Patch1006: texlive-2007-ptex-3.1.10.patch
|
||||||
Patch1007: texlive-2007-fmtutil-ptex.patch
|
Patch1007: texlive-2007-fmtutil-ptex.patch
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
@ -250,13 +250,13 @@ Provides: tex(dvips)
|
|||||||
Requires: psutils
|
Requires: psutils
|
||||||
|
|
||||||
%description dvips
|
%description dvips
|
||||||
Dvips converts .dvi files, for example those produced by the TeX text
|
Dvips converts .dvi files, for example those produced by the TeX text
|
||||||
formatting system, to PostScript(TM) format.
|
formatting system, to PostScript(TM) format.
|
||||||
|
|
||||||
If you are installing texlive, so that you can use the TeX text
|
If you are installing texlive, so that you can use the TeX text
|
||||||
formatting system without direct PDF compilation, consider to install
|
formatting system without direct PDF compilation, consider to install
|
||||||
texlive-dvips. In addition, you will need to install texlive-latex
|
texlive-dvips. In addition, you will need to install texlive-latex
|
||||||
(a higher level formatting package which provides an easier-to-use
|
(a higher level formatting package which provides an easier-to-use
|
||||||
interface for TeX), and xdvi (for previewing .dvi files in X).
|
interface for TeX), and xdvi (for previewing .dvi files in X).
|
||||||
|
|
||||||
%package dviutils
|
%package dviutils
|
||||||
@ -280,6 +280,7 @@ Requires: texlive = %{version}-%{release}, texlive-dvips = %{version}-%{release}
|
|||||||
Requires: netpbm-progs
|
Requires: netpbm-progs
|
||||||
# make sure main and fonts package installed before running post
|
# make sure main and fonts package installed before running post
|
||||||
Requires(post): %{_bindir}/fmtutil %{_bindir}/fmtutil-sys
|
Requires(post): %{_bindir}/fmtutil %{_bindir}/fmtutil-sys
|
||||||
|
Requires(post): %{_bindir}/texconfig-sys /sbin/install-info
|
||||||
BuildRequires: ghostscript netpbm-progs
|
BuildRequires: ghostscript netpbm-progs
|
||||||
Obsoletes: tetex < 3.0-99
|
Obsoletes: tetex < 3.0-99
|
||||||
Obsoletes: tetex-latex < 3.0-99
|
Obsoletes: tetex-latex < 3.0-99
|
||||||
@ -296,18 +297,20 @@ compile LaTeX files directly to PDF format.
|
|||||||
|
|
||||||
The TeX documentation is located in the texlive-doc package.
|
The TeX documentation is located in the texlive-doc package.
|
||||||
|
|
||||||
%package japanese
|
%package east-asian
|
||||||
Summary: Japanese support for TeXLive
|
Summary: Support for East Asian languages in TeXLive
|
||||||
Group: Applications/Publishing
|
Group: Applications/Publishing
|
||||||
Requires: texlive = %{version}
|
Requires: texlive = %{version}
|
||||||
Requires: texlive-latex = %{version}
|
Requires: texlive-latex = %{version}
|
||||||
Requires: texlive-texmf-dvips = %{version}
|
Requires: texlive-texmf-dvips = %{version}
|
||||||
Requires: texlive-texmf-errata-japanese = %{version}
|
Requires: texlive-texmf-errata-east-asian = %{version}
|
||||||
|
Provides: texlive-japanese = %{version}-%{release}
|
||||||
Provides: tex(japanese)
|
Provides: tex(japanese)
|
||||||
|
Provides: tex(east-asian)
|
||||||
Requires: mendexk
|
Requires: mendexk
|
||||||
|
|
||||||
%description japanese
|
%description east-asian
|
||||||
Japanese support for TeXLive.
|
East Asian support for TeXLive.
|
||||||
|
|
||||||
%package context
|
%package context
|
||||||
Summary: ConTeXt is a document preparation system based on TeX
|
Summary: ConTeXt is a document preparation system based on TeX
|
||||||
@ -350,7 +353,7 @@ Group: Applications/Publishing
|
|||||||
#Source0: http://download.savannah.gnu.org/releases/dvipng/dvipng-%{dvipng_ver}.tar.gz
|
#Source0: http://download.savannah.gnu.org/releases/dvipng/dvipng-%{dvipng_ver}.tar.gz
|
||||||
|
|
||||||
%description -n dvipng
|
%description -n dvipng
|
||||||
This program makes PNG and/or GIF graphics from DVI files as obtained
|
This program makes PNG and/or GIF graphics from DVI files as obtained
|
||||||
from TeX and its relatives.
|
from TeX and its relatives.
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -387,6 +390,7 @@ Group: Applications/Publishing
|
|||||||
# for cmap files
|
# for cmap files
|
||||||
Requires: texlive-texmf-fonts = %{texlive_ver}
|
Requires: texlive-texmf-fonts = %{texlive_ver}
|
||||||
Provides: texlive-dvipdfmx
|
Provides: texlive-dvipdfmx
|
||||||
|
Requires: ghostscript
|
||||||
|
|
||||||
%description -n dvipdfmx
|
%description -n dvipdfmx
|
||||||
The dvipdfmx (formerly dvipdfm-cjk) project provides an eXtended version
|
The dvipdfmx (formerly dvipdfm-cjk) project provides an eXtended version
|
||||||
@ -541,32 +545,32 @@ popd
|
|||||||
--disable-a4 \
|
--disable-a4 \
|
||||||
%endif
|
%endif
|
||||||
--enable-shared=yes \
|
--enable-shared=yes \
|
||||||
--with-system-ncurses \
|
--with-system-ncurses \
|
||||||
--with-system-zlib \
|
--with-system-zlib \
|
||||||
--with-system-pnglib \
|
--with-system-pnglib \
|
||||||
--with-system-gd \
|
--with-system-gd \
|
||||||
--without-system-icu \
|
--without-system-icu \
|
||||||
--with-icu-include=%{_includedir}/unicode \
|
--with-icu-include=%{_includedir}/unicode \
|
||||||
--with-system-freetype \
|
--with-system-freetype \
|
||||||
--with-freetype-include=%{_includedir}/freetype \
|
--with-freetype-include=%{_includedir}/freetype \
|
||||||
--with-system-freetype2 \
|
--with-system-freetype2 \
|
||||||
--with-freetype2-include=%{_includedir}/freetype2 \
|
--with-freetype2-include=%{_includedir}/freetype2 \
|
||||||
--with-system-t1lib \
|
--with-system-t1lib \
|
||||||
--without-texlive \
|
--without-texlive \
|
||||||
--without-t1utils \
|
--without-t1utils \
|
||||||
--without-psutils \
|
--without-psutils \
|
||||||
--without-ps2eps \
|
--without-ps2eps \
|
||||||
--without-pdfopen \
|
--without-pdfopen \
|
||||||
--without-ttf2pk \
|
--without-ttf2pk \
|
||||||
--disable-multiplatform \
|
--disable-multiplatform \
|
||||||
--without-dialog --without-texinfo --without-texi2html \
|
--without-dialog --without-texinfo --without-texi2html \
|
||||||
--without-tex4htk \
|
--without-tex4htk \
|
||||||
--without-detex --without-dvi2tty \
|
--without-detex --without-dvi2tty \
|
||||||
%if %{disable_lcdf_typetools}
|
%if %{disable_lcdf_typetools}
|
||||||
--with-lcdf-typetools=no \
|
--with-lcdf-typetools=no \
|
||||||
%endif
|
%endif
|
||||||
--with-mf-x-toolkit=yes \
|
--with-mf-x-toolkit=yes \
|
||||||
--without-xdvik \
|
--without-xdvik \
|
||||||
--without-cxx-runtime-hack
|
--without-cxx-runtime-hack
|
||||||
|
|
||||||
# Remove everything except:
|
# Remove everything except:
|
||||||
@ -635,8 +639,8 @@ rm -rf __fedora_kpathsea
|
|||||||
mkdir -p __fedora_kpathsea/
|
mkdir -p __fedora_kpathsea/
|
||||||
mv %{buildroot}%{_texmf_main}/web2c/fmtutil.cnf __fedora_kpathsea/fmtutil.cnf-init
|
mv %{buildroot}%{_texmf_main}/web2c/fmtutil.cnf __fedora_kpathsea/fmtutil.cnf-init
|
||||||
|
|
||||||
# this file is different from the one in texmf-fonts, since it is
|
# this file is different from the one in texmf-fonts, since it is
|
||||||
# the one from kpathsea which isn't specific of texlive. It is only
|
# the one from kpathsea which isn't specific of texlive. It is only
|
||||||
# used during build and to set the kpathsea default paths, however.
|
# used during build and to set the kpathsea default paths, however.
|
||||||
# Kept as documentation together with paths.h since they describe
|
# Kept as documentation together with paths.h since they describe
|
||||||
# what the kpathsea default paths are
|
# what the kpathsea default paths are
|
||||||
@ -843,7 +847,6 @@ fi
|
|||||||
%{_bindir}/mktexfmt
|
%{_bindir}/mktexfmt
|
||||||
%{_bindir}/mktexlsr
|
%{_bindir}/mktexlsr
|
||||||
%{_bindir}/mktexmf
|
%{_bindir}/mktexmf
|
||||||
%{_bindir}/mktexpk
|
|
||||||
%{_bindir}/mktextfm
|
%{_bindir}/mktextfm
|
||||||
%{_bindir}/newer
|
%{_bindir}/newer
|
||||||
%{_bindir}/ofm2opl
|
%{_bindir}/ofm2opl
|
||||||
@ -931,7 +934,6 @@ fi
|
|||||||
%{_mandir}/man1/mktexfmt.1*
|
%{_mandir}/man1/mktexfmt.1*
|
||||||
%{_mandir}/man1/mktexlsr.1*
|
%{_mandir}/man1/mktexlsr.1*
|
||||||
%{_mandir}/man1/mktexmf.1*
|
%{_mandir}/man1/mktexmf.1*
|
||||||
%{_mandir}/man1/mktexpk.1*
|
|
||||||
%{_mandir}/man1/mktextfm.1*
|
%{_mandir}/man1/mktextfm.1*
|
||||||
%{_mandir}/man1/newer.1*
|
%{_mandir}/man1/newer.1*
|
||||||
%{_mandir}/man1/ofm2opl.1*
|
%{_mandir}/man1/ofm2opl.1*
|
||||||
@ -989,6 +991,7 @@ fi
|
|||||||
%{_bindir}/epstopdf
|
%{_bindir}/epstopdf
|
||||||
%{_bindir}/gsftopk
|
%{_bindir}/gsftopk
|
||||||
%{_bindir}/mf
|
%{_bindir}/mf
|
||||||
|
%{_bindir}/mktexpk
|
||||||
%{_bindir}/pdfcrop
|
%{_bindir}/pdfcrop
|
||||||
%{_bindir}/ps4pdf
|
%{_bindir}/ps4pdf
|
||||||
%{_bindir}/thumbpdf
|
%{_bindir}/thumbpdf
|
||||||
@ -996,6 +999,7 @@ fi
|
|||||||
%{_mandir}/man1/epstopdf.1*
|
%{_mandir}/man1/epstopdf.1*
|
||||||
%{_mandir}/man1/gsftopk.1*
|
%{_mandir}/man1/gsftopk.1*
|
||||||
%{_mandir}/man1/mf.1*
|
%{_mandir}/man1/mf.1*
|
||||||
|
%{_mandir}/man1/mktexpk.1*
|
||||||
%{_mandir}/man1/thumbpdf.1*
|
%{_mandir}/man1/thumbpdf.1*
|
||||||
|
|
||||||
%files xetex
|
%files xetex
|
||||||
@ -1132,7 +1136,7 @@ fi
|
|||||||
|
|
||||||
%files -n dvipdfmx
|
%files -n dvipdfmx
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc texk/dvipdfmx/AUTHORS texk/dvipdfmx/ChangeLog
|
%doc texk/dvipdfmx/AUTHORS texk/dvipdfmx/ChangeLog
|
||||||
%doc texk/dvipdfmx/COPYING texk/dvipdfmx/README
|
%doc texk/dvipdfmx/COPYING texk/dvipdfmx/README
|
||||||
%dir %{_texmf_conf}/dvipdfm/
|
%dir %{_texmf_conf}/dvipdfm/
|
||||||
%config(noreplace) %{_texmf_conf}/dvipdfm/cid-x.map
|
%config(noreplace) %{_texmf_conf}/dvipdfm/cid-x.map
|
||||||
@ -1140,7 +1144,7 @@ fi
|
|||||||
%{_bindir}/xdvipdfmx
|
%{_bindir}/xdvipdfmx
|
||||||
%{_texmf_main}/dvipdfm/
|
%{_texmf_main}/dvipdfm/
|
||||||
|
|
||||||
%files japanese
|
%files east-asian
|
||||||
%doc %{_texmf_main}/doc/pdvipsk/
|
%doc %{_texmf_main}/doc/pdvipsk/
|
||||||
%doc %{_texmf_main}/doc/ptex/
|
%doc %{_texmf_main}/doc/ptex/
|
||||||
%{_texmf_main}/fonts/map/pdvips/
|
%{_texmf_main}/fonts/map/pdvips/
|
||||||
@ -1219,6 +1223,12 @@ fi
|
|||||||
%{_mandir}/man1/texutil.1*
|
%{_mandir}/man1/texutil.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Feb 28 2008 Jindrich Novy <jnovy@redhat.com> - 2007-20
|
||||||
|
- move mktexpk to texlive-utils (#435176)
|
||||||
|
- rename texlive-japanese to texlive-east-asian
|
||||||
|
- move ghostscript Requires to dvipdfmx
|
||||||
|
- remove trailing spaces from spec
|
||||||
|
|
||||||
* Thu Feb 21 2008 Jindrich Novy <jnovy@redhat.com> - 2007-19
|
* Thu Feb 21 2008 Jindrich Novy <jnovy@redhat.com> - 2007-19
|
||||||
- remove dvipng, it's now packaged separately (#431356)
|
- remove dvipng, it's now packaged separately (#431356)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user