|
@@ -27,13 +27,15 @@
|
|
%define exec_upddeffont [ -x %{_sbindir}/update-defaultfont ] && %{_sbindir}/update-defaultfont 2> /dev/null
|
|
%define exec_upddeffont [ -x %{_sbindir}/update-defaultfont ] && %{_sbindir}/update-defaultfont 2> /dev/null
|
|
%define vartexfonts %{_var}/lib/texmf
|
|
%define vartexfonts %{_var}/lib/texmf
|
|
|
|
|
|
|
|
+# define zlib_version #(rpm -q --queryformat \%\\{version\\} zlib)
|
|
|
|
+
|
|
Autoreq: 0
|
|
Autoreq: 0
|
|
|
|
|
|
Summary: The TeX text formatting system
|
|
Summary: The TeX text formatting system
|
|
Summary(ja): TeX 文書整形システム
|
|
Summary(ja): TeX 文書整形システム
|
|
Name: texlive
|
|
Name: texlive
|
|
Version: 2009
|
|
Version: 2009
|
|
-Release: 9%{?_dist_release}
|
|
+Release: 10%{?_dist_release}
|
|
License: distributable
|
|
License: distributable
|
|
Group: Applications/Publishing
|
|
Group: Applications/Publishing
|
|
## The TeX Live is located on http://www.tug.org/texlive/
|
|
## The TeX Live is located on http://www.tug.org/texlive/
|
|
@@ -115,17 +117,36 @@ Patch51: http://sourceforge.jp/projects/eptex/wiki/FrontPage/attach/eptex-100420
|
|
#Patch90: texdoc-0.72-support-zipped-vine.patch
|
|
#Patch90: texdoc-0.72-support-zipped-vine.patch
|
|
|
|
|
|
## others
|
|
## others
|
|
|
|
+## libpoppler-0.12 from texlive-bin_2009-7.diff.gz
|
|
|
|
+Patch100: texlive-2009-pdftexdir-libpoppler-0.12.patch
|
|
|
|
+Patch101: texlive-2009-luatexdir-libpoppler-0.12.patch
|
|
|
|
+
|
|
|
|
+## security
|
|
|
|
+## from Debian
|
|
|
|
+#Patch1000: texlive-2009-CVE-2010-0739.patch
|
|
|
|
+Patch1001: texlive-2009-CVE-2010-0827.patch
|
|
|
|
+## this overrides the incomplete fix for CVE-2010-0793
|
|
|
|
+Patch1002: texlive-2009-CVE-2010-1440.patch
|
|
|
|
|
|
|
|
|
|
-Requires: coreutils ghostscript >= 8.63
|
|
+Requires: coreutils
|
|
-Requires: tmpwatch libpng
|
|
|
|
Requires: ed mktemp
|
|
Requires: ed mktemp
|
|
|
|
+Requires: tmpwatch
|
|
|
|
+Requires: zlib
|
|
|
|
+Requires: libpng
|
|
|
|
+Requires: gd
|
|
|
|
+Requires: ncurses
|
|
|
|
+Requires: libjpeg
|
|
|
|
+Requires: t1lib
|
|
|
|
+Requires: freetype2
|
|
Requires: openMotif
|
|
Requires: openMotif
|
|
Requires: poppler
|
|
Requires: poppler
|
|
Requires: openssl
|
|
Requires: openssl
|
|
Requires: libpaper
|
|
Requires: libpaper
|
|
|
|
+Requires: fontconfig
|
|
Requires: perl-Tk
|
|
Requires: perl-Tk
|
|
Requires: nkf
|
|
Requires: nkf
|
|
|
|
+Requires: ghostscript >= 8.63
|
|
Requires: libkpathsea = %{version}-%{release}
|
|
Requires: libkpathsea = %{version}-%{release}
|
|
Requires: libptexenc = %{version}-%{release}
|
|
Requires: libptexenc = %{version}-%{release}
|
|
%{!?with_firstbuild:Requires: texlive-common = %{version}}
|
|
%{!?with_firstbuild:Requires: texlive-common = %{version}}
|
|
@@ -145,7 +166,11 @@ BuildRequires: lzma
|
|
%endif
|
|
%endif
|
|
BuildRequires: unzip
|
|
BuildRequires: unzip
|
|
BuildRequires: bison flex
|
|
BuildRequires: bison flex
|
|
-BuildRequires: zlib-devel libpng-devel gd-devel ncurses-devel libjpeg-devel
|
|
+BuildRequires: zlib-devel
|
|
|
|
+BuildRequires: libpng-devel
|
|
|
|
+BuildRequires: gd-devel
|
|
|
|
+BuildRequires: ncurses-devel
|
|
|
|
+BuildRequires: libjpeg-devel
|
|
BuildRequires: t1lib-devel
|
|
BuildRequires: t1lib-devel
|
|
BuildRequires: XOrg-devel
|
|
BuildRequires: XOrg-devel
|
|
BuildRequires: freetype2-devel >= 2.1.10
|
|
BuildRequires: freetype2-devel >= 2.1.10
|
|
@@ -160,7 +185,7 @@ BuildRequires: t1utils
|
|
|
|
|
|
Provides: jadetex
|
|
Provides: jadetex
|
|
Obsoletes: jadetex <= 3.12-9
|
|
Obsoletes: jadetex <= 3.12-9
|
|
-Obsoletes: tetex <= 3.0
|
|
+Obsoletes: tetex <= 3.0-12
|
|
Obsoletes: dvipdfmx <= 20090522
|
|
Obsoletes: dvipdfmx <= 20090522
|
|
Obsoletes: xdvik <= 22.84.14, xdvik-motif <= 22.84.14
|
|
Obsoletes: xdvik <= 22.84.14, xdvik-motif <= 22.84.14
|
|
|
|
|
|
@@ -315,7 +340,7 @@ conf_option --with-system-ncurses
|
|
conf_option --with-system-zlib
|
|
conf_option --with-system-zlib
|
|
conf_option --with-system-pnglib
|
|
conf_option --with-system-pnglib
|
|
conf_option --with-system-t1lib
|
|
conf_option --with-system-t1lib
|
|
-conf_option --without-system-icu
|
|
+conf_option --with-system-xpdf
|
|
conf_option --with-system-freetype
|
|
conf_option --with-system-freetype
|
|
conf_option --with-system-freetype2
|
|
conf_option --with-system-freetype2
|
|
conf_option --with-freetype2-include=`freetype-config --cflags | sed -e 's/-I//' -e 's/ .*//'`
|
|
conf_option --with-freetype2-include=`freetype-config --cflags | sed -e 's/-I//' -e 's/ .*//'`
|
|
@@ -354,6 +379,19 @@ cd eptex-%{eptexver}
|
|
## texdoc
|
|
## texdoc
|
|
#%patch90 -p0 -b .orig
|
|
#%patch90 -p0 -b .orig
|
|
|
|
|
|
|
|
+## libpoppler-0.12
|
|
|
|
+(cd build/%{name}-%{texlivesrcver}-source
|
|
|
|
+%patch100 -p1 -b .xpdf
|
|
|
|
+%patch101 -p1 -b .xpdf
|
|
|
|
+)
|
|
|
|
+
|
|
|
|
+## apply security patches
|
|
|
|
+(cd build/%{name}-%{texlivesrcver}-source
|
|
|
|
+#%patch1000
|
|
|
|
+%patch1001 -p1 -b .security
|
|
|
|
+%patch1002 -p1 -b .security
|
|
|
|
+)
|
|
|
|
+
|
|
|
|
|
|
%build
|
|
%build
|
|
## NOTE:
|
|
## NOTE:
|
|
@@ -409,7 +447,7 @@ pushd ${PREF}/../Work
|
|
|
|
|
|
(cd ..
|
|
(cd ..
|
|
## Avoid pollution from internal libraries.
|
|
## Avoid pollution from internal libraries.
|
|
-%__rm -rf ./libs/{expat,freetype,freetype2,gd,jpeg,libpng,libttf,ncurses,type1,t1lib,zlib}
|
|
+%__rm -rf ./libs/{expat,freetype,freetype2,gd,jpeg,libpng,libttf,ncurses,type1,t1lib,unzip,xpdf,zlib}
|
|
|
|
|
|
## XXX Hacks to avoid accidental version clashs with system libraries.
|
|
## XXX Hacks to avoid accidental version clashs with system libraries.
|
|
hack_libs=(
|
|
hack_libs=(
|
|
@@ -419,6 +457,7 @@ hack_libs=(
|
|
freetype
|
|
freetype
|
|
freetype2
|
|
freetype2
|
|
gd
|
|
gd
|
|
|
|
+ xpdf
|
|
)
|
|
)
|
|
for i in "${hack_libs[@]}"; do
|
|
for i in "${hack_libs[@]}"; do
|
|
%__mkdir_p ./libs/${i}
|
|
%__mkdir_p ./libs/${i}
|
|
@@ -741,6 +780,15 @@ fi
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Fri Sep 24 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-10
|
|
|
|
+- applied some security patches from Debian
|
|
|
|
+ - texlive-2009-CVE-2010-0827.patch
|
|
|
|
+ - texlive-2009-CVE-2010-1440.patch
|
|
|
|
+- applied texlive-2009-pdftexdir-libpoppler-0.12.patch from Debian
|
|
|
|
+- applied texlive-2009-luatexdir-libpoppler-0.12.patch
|
|
|
|
+ based on texlive-2009-pdftexdir-libpoppler-0.12.patch
|
|
|
|
+- fixed some dependencies
|
|
|
|
+
|
|
* Mon Aug 09 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-9
|
|
* Mon Aug 09 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-9
|
|
- added BuildArch: noarch in %%package doc
|
|
- added BuildArch: noarch in %%package doc
|
|
- removed some comment-out sentences
|
|
- removed some comment-out sentences
|