texlive-vl.spec 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957
  1. ## -*- coding: utf-8-unix -*-
  2. %bcond_with firstbuild
  3. %define enable_sharedlib 1
  4. %if %{?_dist_release} == "vl5"
  5. %define enable_sharedlib 0
  6. %endif
  7. %define with_babel 1
  8. %define ptexlivever 20100711
  9. %define texlivesrcver 20091107
  10. %define texlivever 20091107
  11. ## we provides e-pTeX and upTeX
  12. %define with_uptex 0
  13. %define with_eptex 1
  14. %define uptexver 0.30
  15. %define uptex_fontver 0.30
  16. %define eptexver 100420
  17. %define tex_destdir %{_datadir}
  18. %define texmf %{tex_destdir}/texmf
  19. %define texlive_src %{tex_destdir}/texlive-sources
  20. %define build_tex_destdir %{buildroot}%{tex_destdir}
  21. %define build_texmf %{buildroot}%{texmf}
  22. %define exec_mktexlsr [ -x %{_bindir}/texconfig-sys ] && PATH=%{_bindir}:$PATH %{_bindir}/texconfig-sys rehash
  23. %define exec_texhash [ -x %{_bindir}/texhash ] && PATH=%{_bindir}:$PATH %{_bindir}/texhash
  24. %define exec_updmap [ -x %{_bindir}/updmap-sys ] && PATH=%{_bindir}:$PATH %{_bindir}/updmap-sys --nostop
  25. %define exec_fmtutil [ -x %{_bindir}/fmtutil-sys ] && PATH=%{_bindir}:$PATH %{_bindir}/fmtutil-sys --all >/dev/null
  26. %define exec_upddeffont [ -x %{_sbindir}/update-defaultfont ] && %{_sbindir}/update-defaultfont 2> /dev/null
  27. %define vartexfonts %{_var}/lib/texmf/fonts
  28. Autoreq: 0
  29. Summary: The TeX text formatting system
  30. Summary(ja): TeX 文書整形システム
  31. Name: texlive
  32. Version: 2009
  33. Release: 19%{?_dist_release}
  34. License: distributable
  35. Group: Applications/Publishing
  36. ## The TeX Live is located on http://www.tug.org/texlive/
  37. ## e-pTeX: http://eptex.sourceforge.jp/
  38. ## upTeX: http://homepage3.nifty.com/ttk/comp/tex/uptex.html
  39. URL: http://tutimura.ath.cx/ptexlive/
  40. ## original TeX Live sources
  41. Source: http://tutimura.ath.cx/~nob/tex/ptexlive/ptexlive-%{ptexlivever}.tar.gz
  42. ##Source1: ftp://tug.org/historic/systems/texlive/2009/%{name}-%{texlivesrcver}-source.tar.xz
  43. ##Source2: ftp://tug.org/historic/systems/texlive/2009/%{name}-%{texlivever}-texmf.tar.xz
  44. ##Source3: ftp://tug.org/historic/systems/texlive/2009/%{name}-%{texlivever}-extra.tar.xz
  45. ##Source4: ftp://tug.org/historic/systems/texlive/2009/%{name}-%{texlivever}-bin.tar.xz
  46. ##Source5: ftp://tug.org/historic/systems/texlive/2009/tlnet/install-tl-unx.tar.gz
  47. ## pxdvi
  48. Source10: pxdvi.desktop
  49. ## dvipdfmx
  50. #Source20:
  51. ## texdoc
  52. ## http://github.com/mpg/texdoc
  53. ## Downloaded mpg-texdoc-0.72-0-gfdb7657.tar.gz
  54. ## Renamed this archive:
  55. # $ tar zxf mpg-texdoc-0.72-0-gfdb7657.tar.gz
  56. # $ mv mpg-texdoc-b66e1e3 texdoc-0.72
  57. # $ tar zcf texdoc-0.72.tar.gz texdoc-0.72
  58. #Source90: texdoc-%{texdocver}.tar.gz
  59. ## Japanese ptex
  60. # ## Babel
  61. # ## See [texqa:37398] http://oku.edu.mie-u.ac.jp/~okumura/texfaq/qa/37398.html
  62. # Source40: http://www.ctan.org/tex-archive/obsolete/systems/win32/fptex/0.7/collection/tex-langother.zip
  63. # Source41: http://www.ctan.org/tex-archive/obsolete/systems/win32/fptex/0.7/package/texlive-base.zip
  64. ## e-pTeX, upTeX
  65. Source50: http://homepage3.nifty.com/ttk/comp/tex/uptex-%{uptexver}.tar.gz
  66. Source51: http://homepage3.nifty.com/ttk/comp/tex/uptex_font-%{uptex_fontver}.tar.gz
  67. Source52: http://sourceforge.jp/projects/eptex/downloads/43841/eptex-%{eptexver}.tar.bz2
  68. ## etc...
  69. Source100: texlive.cron
  70. Source101: dvi-to-ps.fpi
  71. Source102: http://auemath.aichi-edu.ac.jp/~khotta/ghost/disk1/jtygm.sty
  72. Source103: ps-morisawa.map
  73. Source104: ps-morisawa-noEmbed.map
  74. # ## do not provide any perl deps (#516350)
  75. # %define __perl_provides %{nil}
  76. ######
  77. # TeX patches
  78. ######
  79. ## vine
  80. Patch0: ptexlive-%{ptexlivever}-vine.patch
  81. Patch1: texlive-%{texlivesrcver}-set-selfautodir.patch
  82. ##Patch1: texlive-2009-texmfcnf-selfautodir-vine.patch
  83. Patch2: texlive-%{texlivesrcver}-texmfcnf-vine.patch
  84. ## (p)xdvik
  85. Patch10: ptexlive-%{ptexlivever}-pxdvik-vine.patch
  86. Patch11: texlive-%{texlivesrcver}-xdvik-vine.patch
  87. ## dvipdfmx
  88. Patch20: ptexlive-%{ptexlivever}-dvipdfmx-vine.patch
  89. ## e-pTeX + upTeX
  90. Patch50: eptex-100420-vine.patch
  91. Patch51: http://sourceforge.jp/projects/eptex/wiki/FrontPage/attach/eptex-100420-patch1.diff
  92. ## texdoc
  93. #Patch90: texdoc-0.72-support-zipped-vine.patch
  94. ## others
  95. ## libpoppler-0.12 from texlive-bin_2009-7.diff.gz
  96. Patch100: texlive-2009-pdftexdir-libpoppler-0.12.patch
  97. Patch101: texlive-2009-luatexdir-libpoppler-0.12.patch
  98. ## security
  99. ## from Debian
  100. #Patch1000: texlive-2009-CVE-2010-0739.patch
  101. Patch1001: texlive-2009-CVE-2010-0827.patch
  102. ## this overrides the incomplete fix for CVE-2010-0793
  103. Patch1002: texlive-2009-CVE-2010-1440.patch
  104. Requires: coreutils
  105. Requires: ed mktemp
  106. Requires: tmpwatch
  107. Requires: zlib
  108. Requires: libpng
  109. Requires: gd
  110. Requires: ncurses
  111. Requires: libjpeg
  112. Requires: t1lib
  113. Requires: freetype2
  114. Requires: openMotif
  115. Requires: poppler
  116. Requires: openssl
  117. Requires: libpaper
  118. Requires: fontconfig
  119. Requires: perl-Tk perl-Tk-TableMatrix
  120. Requires: nkf
  121. Requires: ghostscript >= 8.63
  122. %if %{?_dist_release} == "vl6"
  123. Requires: libkpathsea = %{version}-%{release}
  124. Requires: libptexenc = %{version}-%{release}
  125. %endif
  126. #%{!?with_firstbuild:Requires: texlive-common = %{version}}
  127. %if %{?_dist_release} == "vl6"
  128. %{!?with_firstbuild:Requires: jvf >= 2.0-5}
  129. %endif
  130. %if %{?_dist_release} == "vl5"
  131. %{!?with_firstbuild:Requires: texlive-jvf >= 2.0-5}
  132. %endif
  133. Requires: fontconfig >= 2.6.0-2
  134. Requires(post,postun): fontconfig >= 2.6.0-2
  135. Requires(post): ed mktemp
  136. Requires(post): vutils >= 2.0.5
  137. %{!?with_firstbuild:BuildRequires: texlive-common = %{version}}
  138. BuildRequires: texlive-sources = %{version}
  139. BuildRequires: xz
  140. BuildRequires: unzip
  141. BuildRequires: bison flex
  142. BuildRequires: zlib-devel
  143. BuildRequires: libpng-devel
  144. BuildRequires: gd-devel
  145. BuildRequires: ncurses-devel
  146. BuildRequires: libjpeg-devel
  147. BuildRequires: t1lib-devel
  148. BuildRequires: XOrg-devel
  149. BuildRequires: freetype2-devel >= 2.1.10
  150. BuildRequires: autoconf >= 2.63
  151. BuildRequires: openMotif-devel
  152. BuildRequires: poppler-devel
  153. BuildRequires: openssl-devel
  154. BuildRequires: libpaper-devel
  155. BuildRequires: fontconfig-devel
  156. BuildRequires: nkf
  157. #BuildRequires: t1utils
  158. Buildroot: %{_tmppath}/%{name}-%{version}-root
  159. Vendor: Project Vine
  160. Distribution: Vine Linux
  161. Packager: munepi
  162. %description
  163. The TeX Live software distribution offers a complete TeX system for a
  164. variety of Unix, Macintosh, Windows and other platforms. It
  165. encompasses programs for editing, typesetting, previewing and printing
  166. of TeX documents in many different languages, and a large collection
  167. of TeX macros and font libraries.
  168. The distribution includes extensive general documentation about TeX,
  169. as well as the documentation for the included software packages.
  170. This package provides a Japanese TeX environment
  171. based on ptexlive-%{ptexlivever}.
  172. %description -l ja
  173. TeX Live ソフトウェアディストリビューションは、
  174. さまざまな Unix, Macintosh, Windows、および
  175. 他のプラットホームに対して完全な TeX システムを提供します。
  176. 多くの異なった言語を含む TeX ドキュメントの
  177. 編集、組版、閲覧、印刷するためのプログラム、
  178. そして、TeX マクロやフォントライブラリの大きなコレクションを
  179. 同梱しています。
  180. このディストリビューションは
  181. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  182. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  183. このパッケージは ptexlive-%{ptexlivever} を元にした
  184. 日本語 TeX 環境を提供します。
  185. %package doc
  186. Summary: TeX Live: Documentation files of %{name}
  187. Group: Applications/Publishing
  188. Requires: %{name} = %{version}-%{release}
  189. %if %{?_dist_release} != "vl5"
  190. BuildArch: noarch
  191. %endif
  192. %description doc
  193. This package contains documentation files of %{name}.
  194. %if %{enable_sharedlib}
  195. %package -n libkpathsea
  196. Summary: path search library for the TeX Live
  197. Summary(ja): TeX Live 用パス検索ライブラリ
  198. Group: System Environment/Libraries
  199. %description -n libkpathsea
  200. This package includes runtime part of the Kpathsea library.
  201. %package -n libkpathsea-devel
  202. Summary: path search libary and header files for the TeX Live
  203. Summary(ja): TeX Live 用パス検索ライブラリとヘッダファイル
  204. Group: Development/Libraries
  205. Requires: libkpathsea = %{version}-%{release}
  206. %description -n libkpathsea-devel
  207. This package includes static library and header files of the Kpathsea library.
  208. %package -n libptexenc
  209. Summary: Kanji code convert library for Japanese pTeX
  210. Summary(ja): 日本語 pTeX 用漢字コード変換ライブラリ
  211. Group: System Environment/Libraries
  212. Requires: libkpathsea = %{version}-%{release}
  213. %description -n libptexenc
  214. This package includes runtime part of the ptexenc library.
  215. %package -n libptexenc-devel
  216. Summary: Kanji code convert library and header files for Japanese pTeX
  217. Summary(ja): 日本語 pTeX 用漢字コード変換ライブラリとヘッダファイル
  218. Group: Development/Libraries
  219. Requires: libptexenc = %{version}-%{release}
  220. %description -n libptexenc-devel
  221. This package includes header files of the ptexenc library.
  222. %endif
  223. %prep
  224. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  225. #% setup -q -n ptexlive-%{ptexlivever} -a 90
  226. %setup -q -n ptexlive-%{ptexlivever}
  227. ## extract texlive-source
  228. %__tar Jxf %{texlive_src}/source/%{name}-%{texlivesrcver}-source.tar.xz || exit 1
  229. ## move texlive-source to build/
  230. %__mkdir_p build && \
  231. %__mv %{name}-%{texlivesrcver}-source build/ || exit 1
  232. ## apply ptexlive
  233. %patch0 -p1 -b .orig
  234. ## fix $SELFAUTODIR to /usr/share
  235. %patch1 -p1 -b .orig
  236. %__cat <<EOF > ptexlive.cfg
  237. #KANJI_CODE=EUC
  238. KANJI_CODE=UTF8
  239. TEXLIVE_VERSION=2009
  240. ISO_DIR=%{texlive_src}
  241. TEXLIVE_DIR=%{texlive_src}
  242. ##SRC_DIR=%{_sourcedir}
  243. SRC_TAR=%{SOURCE0}
  244. ##PREFIX=%{tex_destdir}
  245. PREFIX=$(pwd)/Vine
  246. TMP_PREFIX=$(pwd)/build
  247. TEXSRC_EXTRACTED=$(pwd)/build/%{name}-%{texlivesrcver}-source
  248. ##SRC_TAR=%{SOURCE1}
  249. ##TEXMFDIST=$(pwd)/build/%{name}-%{texlivesrcver}-source/inst/texmf-dist
  250. TEXMFDIST=%{texlive_src}/texmf-dist
  251. XDVI=echo
  252. PSPDF=echo
  253. conf_option --enable-luatex
  254. conf_option --enable-xetex
  255. conf_option --enable-xdv2pdf
  256. conf_option --enable-xdvipdfmx
  257. conf_option --with-xdvi-x-toolkit=motif
  258. # conf_option --without-x
  259. # conf_option --disable-xdvik
  260. # conf_option --disable-oxdvik
  261. # conf_option --disable-pxdvik
  262. conf_option --with-system-ncurses
  263. conf_option --with-system-zlib
  264. conf_option --with-system-pnglib
  265. conf_option --with-system-t1lib
  266. conf_option --with-system-xpdf
  267. conf_option --with-system-freetype
  268. conf_option --with-system-freetype2
  269. conf_option --with-freetype2-include=`freetype-config --cflags | sed -e 's/-I//' -e 's/ .*//'`
  270. conf_option --with-system-gd
  271. EOF
  272. ## For vl5, libkpathsea and libptexenc libraries are static link
  273. %if %{enable_sharedlib}
  274. %__cat <<EOF >> ptexlive.cfg
  275. conf_option --enable-shared
  276. EOF
  277. %endif
  278. %__cat <<EOF >> ptexlive.cfg
  279. conf_option --enable-kanji-iconv
  280. conf_option --disable-multiplatform
  281. make_option %{?_smp_mflags}
  282. EOF
  283. ## exec 2extract-src.sh
  284. %__make x
  285. ## texmf.cnf for Vine Linux
  286. %patch2 -p1 -b .orig
  287. ## (p)xdvik for Vine Linux
  288. %patch10 -p1 -b .orig
  289. %patch11 -p1 -b .orig
  290. ## dvipdfmx for Vine Linux
  291. %patch20 -p1 -b .orig
  292. ## eptex
  293. (cd ..
  294. %__tar jxf %{SOURCE52}
  295. cd eptex-%{eptexver}
  296. %patch50 -p1 -b .orig
  297. %patch51 -p1 -b .orig
  298. ## apply eptex: exec almost 0eptex.sh
  299. %if %with_eptex
  300. ./0eptex.sh
  301. %endif
  302. )
  303. ## texdoc
  304. #%patch90 -p0 -b .orig
  305. ## libpoppler-0.12
  306. %if %{?_dist_release} != "vl5"
  307. (cd build/%{name}-%{texlivesrcver}-source
  308. %patch100 -p1 -b .xpdf
  309. %patch101 -p1 -b .xpdf
  310. )
  311. %endif
  312. ## apply security patches
  313. (cd build/%{name}-%{texlivesrcver}-source
  314. #%patch1000
  315. %patch1001 -p1 -b .security
  316. %patch1002 -p1 -b .security
  317. )
  318. %build
  319. ## NOTE:
  320. ## In this setion,
  321. ## execute almostly 3make-install.sh
  322. set -x
  323. unset TEXINPUTS || :
  324. unset HOME || :
  325. . ./common.sh
  326. export CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" LANG=C
  327. ##%__make c
  328. PREF=${TEXSRC_EXTRACTED}/inst
  329. %__mkdir_p ${PREF}/texmf
  330. %__mkdir_p ${PREF}/../Work
  331. pushd ${PREF}/../Work
  332. ../configure --host=%{_host} --build=%{_build} \
  333. --prefix=${PREF} \
  334. --datadir=${PREF} \
  335. \
  336. --disable-native-texlive-build \
  337. --enable-multiplatform \
  338. --disable-omfonts \
  339. --enable-compiler-warnings=max \
  340. --without-cxx-runtime-hack \
  341. --enable-kanji=$KANJI_CODE \
  342. --with-ptexenc=$KANJI_CODE \
  343. --disable-all-pkgs \
  344. --enable-web2c \
  345. --disable-luatex \
  346. --disable-xetex \
  347. --enable-mf \
  348. --enable-mf-nowin \
  349. --enable-mp \
  350. --enable-web-progs \
  351. --enable-dvipdfmx \
  352. --enable-dvipsk \
  353. --enable-pdvipsk \
  354. --enable-gsftopk \
  355. --enable-makeindexk \
  356. --enable-makejvf \
  357. --enable-mendexk \
  358. --enable-ps2pkm \
  359. --enable-xdvik \
  360. --enable-pxdvik \
  361. --enable-tetex \
  362. --enable-texlive \
  363. $CONF_OPTION
  364. (cd ..
  365. ## Avoid pollution from internal libraries.
  366. %__rm -rf ./libs/{expat,freetype,freetype2,gd,jpeg,libpng,libttf,ncurses,type1,t1lib,unzip,xpdf,zlib}
  367. ## XXX Hacks to avoid accidental version clashs with system libraries.
  368. hack_libs=(
  369. zlib
  370. libpng
  371. t1lib
  372. freetype
  373. freetype2
  374. gd
  375. xpdf
  376. )
  377. for i in "${hack_libs[@]}"; do
  378. %__mkdir_p ./libs/${i}
  379. touch ./libs/${i}/configure
  380. done
  381. )
  382. %__make world $MAKE_OPTION %{?_smp_mflags}
  383. popd
  384. %install
  385. ## prepare %%install session
  386. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  387. set -x
  388. unset TEXINPUTS || :
  389. unset HOME || :
  390. . ./common.sh
  391. PREF=${TEXSRC_EXTRACTED}/inst
  392. pushd ${PREF}/../Work
  393. ## the following two lines are useful for
  394. ## "rpmbuild -ba --short-circuit ~/rpm/SPECS/texlive-vl.spec"
  395. %__rm -rf ${PREF}
  396. %__make world $MAKE_OPTION
  397. popd
  398. ## execute almostly 4extract-texmf.sh
  399. %__mv ${PREF}/texmf-dist ${PREF}/texmf-dist.install || exit # never use
  400. %__mv ${PREF}/texmf ${PREF}/texmf.install || exit
  401. %__cp -r %{texlive_src}/texmf ${PREF}/ || exit
  402. %__cp -rf ${PREF}/texmf.install/* ${PREF}/texmf/ || exit
  403. ## copy almost compatible TeX system of teTeX-3.0
  404. ## NOTE: The size of texmf-dist is about 2GB below:
  405. # 890M doc
  406. # 660M fonts
  407. # 103M source
  408. #
  409. # 68M tex/latex
  410. # 46M tex/generic
  411. # 27M tex/context
  412. ##%__ln_s -f %{texlive_src}/texmf-dist ${PREF}/
  413. %__mkdir_p ${PREF}/texmf-dist
  414. ##!! [FAKE] copy all directries except doc, fonts, source, tex4ht in texmf-dist
  415. (cd %{texlive_src}/texmf-dist
  416. %__cp -r README metapost scripts bibtex dvips makeindex mft \
  417. tlpkg context metafont tex omega vtex \
  418. ${PREF}/texmf-dist/
  419. )
  420. ## copy some fonts (almost tetex + tetex-extra)
  421. ## NOTE: this part is in texlive-common since texlive-8vl6
  422. #### customize updmap.cfg for each font's map files
  423. %{!?with_firstbuild: \
  424. %__sed -i -e "s,^\(Map\|MixedMap\),#! \1,g" ${PREF}/texmf/web2c/updmap.cfg}
  425. %{!?with_firstbuild: \
  426. %__sed -i -e "s,Map[[:blank:]]*euler.map,Map euler.map," ${PREF}/texmf/web2c/updmap.cfg}
  427. ## make some fundamental texmf trees
  428. %__mkdir_p ${PREF}/texmf-config
  429. %__mkdir_p ${PREF}/texmf-var
  430. %__mkdir_p ${PREF}/texmf-local
  431. ## NOTE: need texmf-dist/tex/latex/ltxmisc url.sty
  432. ./4extract-texmf.sh %{?with_firstbuild: || :}%{!?with_firstbuild: || exit 1}
  433. ## post 0eptex.sh
  434. %if %with_eptex
  435. (cd ../eptex-%{eptexver}
  436. ## copying distfiles
  437. echo "[copying] eptex.src"
  438. %__mkdir -p ${TEXMF}/ptex/plain/base
  439. %__cp eptex.src ${TEXMF}/ptex/plain/base/ || exit 1
  440. echo "[copying] eptexdefs.lib"
  441. cp eptexdefs.lib $TEXMF/ptex/plain/base/ || exit 1
  442. echo "[copying] language.def"
  443. %__mkdir -p ${TEXMF}/ptex/generic/config
  444. %__cp language.def ${TEXMF}/ptex/generic/config/ || exit 1
  445. )
  446. %endif
  447. ##!! DO NOT execute 5macro.sh
  448. # ./5macro.sh clean default utf %{?with_firstbuild: || :}%{!?with_firstbuild: || exit 1}
  449. # ./5macro.sh otf %{?with_firstbuild: || :}%{!?with_firstbuild: || exit 1}
  450. ## execute 6babel.sh
  451. %if %with_babel
  452. # %__unzip -o -d babel %{SOURCE40}
  453. # %__unzip -o -d babel %{SOURCE41}
  454. # %__install -m0644 \
  455. # babel/texmf/tex/generic/hyphen/cathyph.tex \
  456. # babel/texmf/tex/generic/hyphen/cyhyph.tex \
  457. # ${TEXMF}/tex/generic/hyphen/ || exit 1
  458. %{!?with_firstbuild: ../eptex-%{eptexver}/6babel.sh || exit 1}
  459. ## check 6babel.sh
  460. %{!?with_firstbuild: [ -f ${PREF}/texmf/doc/japanese/sample.tex ] || exit 1}
  461. %endif
  462. # ## update texdoc
  463. # cd texdoc-%{texdocver} || exit 1
  464. # %__rm -rf ${PREF}/texmf/texdoc || exit 1
  465. # %__mkdir_p ${PREF}/texmf/texdoc
  466. # %__cp -fa texdoc.cnf ${PREF}/texmf/texdoc/ || exit 1
  467. # %__rm -rf ${PREF}/texmf/scripts/texdoc || exit 1
  468. # %__rm -f script/*.orig || exit 1
  469. # %__cp -ra script ${PREF}/texmf/scripts/texdoc || exit 1
  470. # %__chmod 755 ${PREF}/texmf/scripts/texdoc/* || exit 1
  471. # %__rm -rf ${PREF}/texmf/doc/texdoc || exit 1
  472. # %__cp -ra doc ${PREF}/texmf/doc/texdoc || exit 1
  473. # %__cp -a News Todo ${PREF}/texmf/doc/texdoc/ || exit 1
  474. # cd -
  475. # # TODO:
  476. # # %{!?with_firstbuild: \
  477. # # cd ${PREF}/texmf/doc/texdoc && %__make || exit 1}
  478. ## install
  479. %__mkdir_p %{buildroot}%{_prefix}
  480. (cd ${PREF}
  481. %__rm -f bin/man
  482. %__cp -r bin %{buildroot}%{_bindir}
  483. %__cp -r lib %{buildroot}%{_libdir}
  484. %__cp -r include %{buildroot}%{_includedir}
  485. ##NOTE: use man, info files from texlive-sources
  486. %__rm -rf texmf/doc/info
  487. %__rm -rf texmf/doc/man
  488. %__mkdir_p %{build_tex_destdir}
  489. ## NOTE: texmf-dist is contained in texlive-common package
  490. ##%__cp -r texmf{,-dist,-config,-var,-local} %{build_tex_destdir}/ || exit 1
  491. %__cp -r texmf{,-config,-var,-local} %{build_tex_destdir}/ || exit 1
  492. )
  493. %__mkdir_p %{build_texmf}/fonts/truetype
  494. %__mkdir_p %{build_texmf}/fonts/opentype
  495. ## dvipdfmx: our map file
  496. %__mkdir_p %{build_texmf}/fonts/map/dvipdfmx
  497. touch %{build_texmf}/fonts/map/dvipdfmx/vine.map
  498. ## delete useless files (conflict with jvf package)
  499. # rm -rf %{build_texmf}/fonts/vf/ptex
  500. # rm -rf %{build_texmf}/fonts/tfm/ptex/*[a-zA-Z].tfm
  501. %__rm %{build_texmf}/fonts/vf/ptex/{min,tmin,goth,tgoth}{5,6,7,8,9,10}.vf || exit 1
  502. ## install jtygm.sty
  503. %__install -m0644 %{SOURCE102} %{build_texmf}/ptex/platex/base/ || exit 1
  504. ## morisawa map files remaped PS Kanji (CIDFont) Name
  505. %__install -m 0644 %{SOURCE103} %{SOURCE104} \
  506. %{buildroot}%{texmf}/fonts/map/dvipdfm/ptexlive/
  507. ## remove asymptote directries, which provides asymptote package
  508. find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
  509. # find %{buildroot} -name "Makefile" | xargs %__rm -f
  510. # ## remove xindy
  511. # find %{buildroot} -regex ".*xindy.*" | xargs %__rm -rf
  512. # ## remove tex4ht
  513. # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
  514. ## relocate binaries to %{_bindir} and fix relative symlinks
  515. pushd %{buildroot}%{_bindir}
  516. for i in `find . -type l`; do
  517. if [ "`readlink $i | grep '..' | wc -l`" == "1" ]; then
  518. l=`readlink $i | sed s,../,../share/,`
  519. %__ln_s -f $l $i
  520. fi
  521. done
  522. popd
  523. ## if the real file of a symlink on /usr/bin is contained
  524. ## in texlive-collection-*, remove its symlink
  525. del_symlnks=(
  526. texlive-collection-binextra,/usr/bin/dviasm,/usr/share/texmf-dist/scripts/dviasm/dviasm.py
  527. texlive-collection-binextra,/usr/bin/findhyph,/usr/share/texmf-dist/scripts/findhyph/findhyph
  528. texlive-collection-binextra,/usr/bin/fragmaster,/usr/share/texmf-dist/scripts/fragmaster/fragmaster.pl
  529. texlive-collection-binextra,/usr/bin/latex2man,/usr/share/texmf-dist/scripts/latex2man/latex2man
  530. texlive-collection-binextra,/usr/bin/latexmk,/usr/share/texmf-dist/scripts/latexmk/latexmk.pl
  531. texlive-collection-binextra,/usr/bin/listings-ext.sh,/usr/share/texmf-dist/scripts/listings-ext/listings-ext.sh
  532. texlive-collection-binextra,/usr/bin/mkjobtexmf,/usr/share/texmf-dist/scripts/mkjobtexmf/mkjobtexmf.pl
  533. texlive-collection-binextra,/usr/bin/pdfcrop,/usr/share/texmf-dist/scripts/pdfcrop/pdfcrop.pl
  534. texlive-collection-binextra,/usr/bin/pkfix,/usr/share/texmf-dist/scripts/pkfix/pkfix.pl
  535. texlive-collection-binextra,/usr/bin/pkfix-helper,/usr/share/texmf-dist/scripts/pkfix-helper/pkfix-helper
  536. texlive-collection-binextra,/usr/bin/purifyeps,/usr/share/texmf-dist/scripts/purifyeps/purifyeps
  537. texlive-collection-binextra,/usr/bin/texcount,/usr/share/texmf-dist/scripts/texcount/texcount.pl
  538. texlive-collection-binextra,/usr/bin/texdiff,/usr/share/texmf-dist/scripts/texdiff/texdiff
  539. texlive-collection-binextra,/usr/bin/texdirflatten,/usr/share/texmf-dist/scripts/texdirflatten/texdirflatten
  540. texlive-collection-binextra,/usr/bin/texloganalyser,/usr/share/texmf-dist/scripts/texloganalyser/texloganalyser
  541. texlive-collection-context,/usr/bin/context,/usr/share/texmf-dist/scripts/context/stubs/unix/context
  542. texlive-collection-context,/usr/bin/ctxtools,/usr/share/texmf-dist/scripts/context/stubs/unix/ctxtools
  543. texlive-collection-context,/usr/bin/luatools,/usr/share/texmf-dist/scripts/context/lua/luatools.lua
  544. texlive-collection-context,/usr/bin/makempy,/usr/share/texmf-dist/scripts/context/stubs/unix/makempy
  545. texlive-collection-context,/usr/bin/mpstools,/usr/share/texmf-dist/scripts/context/stubs/unix/mpstools
  546. texlive-collection-context,/usr/bin/mptopdf,/usr/share/texmf-dist/scripts/context/stubs/unix/mptopdf
  547. texlive-collection-context,/usr/bin/mtxrun,/usr/share/texmf-dist/scripts/context/lua/mtxrun.lua
  548. texlive-collection-context,/usr/bin/mtxtools,/usr/share/texmf-dist/scripts/context/stubs/unix/mtxtools
  549. texlive-collection-context,/usr/bin/pdftools,/usr/share/texmf-dist/scripts/context/stubs/unix/pdftools
  550. texlive-collection-context,/usr/bin/pstopdf,/usr/share/texmf-dist/scripts/context/stubs/unix/pstopdf
  551. texlive-collection-context,/usr/bin/rlxtools,/usr/share/texmf-dist/scripts/context/stubs/unix/rlxtools
  552. texlive-collection-context,/usr/bin/runtools,/usr/share/texmf-dist/scripts/context/stubs/unix/runtools
  553. texlive-collection-context,/usr/bin/texexec,/usr/share/texmf-dist/scripts/context/stubs/unix/texexec
  554. texlive-collection-context,/usr/bin/texfont,/usr/share/texmf-dist/scripts/context/stubs/unix/texfont
  555. texlive-collection-context,/usr/bin/texmfstart,/usr/share/texmf-dist/scripts/context/ruby/texmfstart.rb
  556. texlive-collection-context,/usr/bin/textools,/usr/share/texmf-dist/scripts/context/stubs/unix/textools
  557. texlive-collection-context,/usr/bin/texutil,/usr/share/texmf-dist/scripts/context/stubs/unix/texutil
  558. texlive-collection-context,/usr/bin/tmftools,/usr/share/texmf-dist/scripts/context/stubs/unix/tmftools
  559. texlive-collection-context,/usr/bin/xmltools,/usr/share/texmf-dist/scripts/context/stubs/unix/xmltools
  560. texlive-collection-fontutils,/usr/bin/afm2afm,/usr/share/texmf-dist/scripts/fontools/afm2afm
  561. texlive-collection-fontutils,/usr/bin/autoinst,/usr/share/texmf-dist/scripts/fontools/autoinst
  562. texlive-collection-fontutils,/usr/bin/cmap2enc,/usr/share/texmf-dist/scripts/fontools/cmap2enc
  563. texlive-collection-fontutils,/usr/bin/epstopdf,/usr/share/texmf-dist/scripts/epstopdf/epstopdf.pl
  564. texlive-collection-fontutils,/usr/bin/font2afm,/usr/share/texmf-dist/scripts/fontools/font2afm
  565. texlive-collection-fontutils,/usr/bin/mkt1font,/usr/share/texmf-dist/scripts/accfonts/mkt1font
  566. texlive-collection-fontutils,/usr/bin/ot2kpx,/usr/share/texmf-dist/scripts/fontools/ot2kpx
  567. texlive-collection-fontutils,/usr/bin/pfm2kpx,/usr/share/texmf-dist/scripts/fontools/pfm2kpx
  568. texlive-collection-fontutils,/usr/bin/showglyphs,/usr/share/texmf-dist/scripts/fontools/showglyphs
  569. texlive-collection-fontutils,/usr/bin/vpl2ovp,/usr/share/texmf-dist/scripts/accfonts/vpl2ovp
  570. texlive-collection-fontutils,/usr/bin/vpl2vpl,/usr/share/texmf-dist/scripts/accfonts/vpl2vpl
  571. texlive-collection-langgreek,/usr/bin/mkgrkindex,/usr/share/texmf-dist/scripts/mkgrkindex/mkgrkindex
  572. texlive-collection-langindic,/usr/bin/ebong,/usr/share/texmf-dist/scripts/bengali/ebong.py
  573. texlive-collection-latex,/usr/bin/pdfatfi,/usr/share/texmf-dist/scripts/oberdiek/pdfatfi.pl
  574. texlive-collection-latexextra,/usr/bin/makeglossaries,/usr/share/texmf-dist/scripts/glossaries/makeglossaries
  575. texlive-collection-latexextra,/usr/bin/pdfannotextractor,/usr/share/texmf-dist/scripts/pax/pdfannotextractor.pl
  576. texlive-collection-latexextra,/usr/bin/pdfthumb,/usr/share/texmf-dist/scripts/ppower4/pdfthumb.tlu
  577. texlive-collection-latexextra,/usr/bin/perltex,/usr/share/texmf-dist/scripts/perltex/perltex
  578. texlive-collection-latexextra,/usr/bin/ppower4,/usr/share/texmf-dist/scripts/ppower4/ppower4.tlu
  579. texlive-collection-latexextra,/usr/bin/ps4pdf,/usr/share/texmf-dist/scripts/pst-pdf/ps4pdf
  580. texlive-collection-latexextra,/usr/bin/splitindex,/usr/share/texmf-dist/scripts/splitindex/perl/splitindex.pl
  581. texlive-collection-latexextra,/usr/bin/svn-multi,/usr/share/texmf-dist/scripts/svn-multi/svn-multi.pl
  582. texlive-collection-latexextra,/usr/bin/vpe,/usr/share/texmf-dist/scripts/vpe/vpe.pl
  583. texlive-collection-latexrecommended,/usr/bin/thumbpdf,/usr/share/texmf-dist/scripts/thumbpdf/thumbpdf.pl
  584. texlive-collection-pictures,/usr/bin/cachepic,/usr/share/texmf-dist/scripts/cachepic/cachepic.tlu
  585. texlive-collection-pictures,/usr/bin/epspdf,/usr/share/texmf-dist/scripts/epspdf/epspdf
  586. texlive-collection-pictures,/usr/bin/epspdftk,/usr/share/texmf-dist/scripts/epspdf/epspdftk
  587. texlive-collection-pictures,/usr/bin/fig4latex,/usr/share/texmf-dist/scripts/fig4latex/fig4latex
  588. texlive-collection-pstricks,/usr/bin/pst2pdf,/usr/share/texmf-dist/scripts/pst2pdf/pst2pdf.pl
  589. texlive-collection-science,/usr/bin/ulqda,/usr/share/texmf-dist/scripts/ulqda/ulqda.pl
  590. )
  591. for i in ${del_symlnks[@]}; do
  592. %__rm -f %{buildroot}$(echo $i | cut -f 2 -d",") || exit 1
  593. done
  594. # ## compress pdf files in texmf/doc
  595. # find %{build_tex_destdir}/texmf/doc -name "*.pdf" -exec xz {} \;
  596. ## compress info files
  597. %__rm -f %{buildroot}%{_infodir}/dir
  598. %__gzip -9nf %{buildroot}%{_infodir}/*info* ||:
  599. ## desktop things
  600. %__mkdir_p %{buildroot}%{_datadir}/applications
  601. %__install -c %{SOURCE10} %{buildroot}%{_datadir}/applications/pxdvi.desktop
  602. # for created fonts
  603. %__mkdir_p %{buildroot}%{vartexfonts}
  604. %__mkdir_p %{buildroot}%{_sysconfdir}/cron.daily
  605. %__install -m 755 %{SOURCE100} %{buildroot}%{_sysconfdir}/cron.daily/
  606. ## set executable bit for the library
  607. %if %{enable_sharedlib}
  608. %__chmod a+x %{buildroot}%{_libdir}/libkpathsea.so.*.*
  609. %__chmod a+x %{buildroot}%{_libdir}/libptexenc.so.*.*
  610. %endif
  611. ## remove unpackaging files
  612. find %{buildroot} | %__grep -e "\\.\(la\|a\)$" | xargs %__rm -f
  613. find %{buildroot} | %__grep -e "\\.\(diff\|patch\)$" | xargs %__rm -f
  614. ### Files list
  615. find %{buildroot} -type f -or -type l | \
  616. %__sed -e "s|%{buildroot}||g" | \
  617. %__grep -v -e "^%{_sysconfdir}" -e ".patch$" -e "\.diff$" -e "\.orig$" | \
  618. %__grep -v "%{_includedir}" | \
  619. %__grep -v "%{_libdir}" | \
  620. %__grep -v "%{_infodir}" | \
  621. %__sed -e "s|.*\.\(cnf\|cfg\)$|%config(noreplace) &|" \
  622. -e "s|.*ls-R$|%ghost &|" \
  623. -e "s|^.*/updmap$|%config &|" \
  624. -e "s|%{texmf}*/dvips/config/\(psfonts.*\|ps2pk.*\|pdftex.*\|dvipdfm.*\|.*35\)\.map$|%ghost &|" \
  625. -e "s|%{texmf}*/web2c/.*\.\(fmt\|efmt\|log\|base\|mem\|oft\)$|%config &|" \
  626. -e "s|%{texmf}*/dvips/config/config\.\(generic\|pdf\|ps\|www\)$|%config &|" \
  627. -e "s|%{texmf}*/tex/generic/config/.*|%config &|" \
  628. -e "s|%{texmf}*/pdftex/config/pdftex.cfg$|%config &|" \
  629. -e "s|%{texmf}*/xdvi/vfontmap$|%config &|" \
  630. -e "s|%{texmf}*/xdvi/XDvi|%config &|" \
  631. -e "s|%{_mandir}/.*|&*|" \
  632. > filelist.full
  633. find %{buildroot}%{texmf} -type d | \
  634. %__sed -e "s|^%{buildroot}|%dir |" \
  635. -e "s|$|/|" >> filelist.full
  636. ## subpackages
  637. %__grep "/texmf/doc/" filelist.full > filelist.doc
  638. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  639. %__mv -f filelist.tmp filelist.full
  640. %clean
  641. %__rm -rf %{buildroot}
  642. %post
  643. ## dvipdfmx
  644. ## Create our own cid-x.map
  645. ( %{exec_upddeffont} ) ||:
  646. %{exec_texhash}
  647. %{exec_updmap} --enable KanjiMap vine.map >/dev/null 2>&1
  648. # echo -n " "
  649. # echo -n "Running updmap ... " && %{exec_updmap} >/dev/null 2>&1 && echo "done."
  650. # echo -n " "
  651. # echo -n "Running fmtutil ... " && %{exec_fmtutil} && echo "done."
  652. %preun
  653. if [ "$1" = 0 ]; then
  654. %__rm -rf %{vartexfonts}
  655. ## dvipdfmx
  656. for i in %{texmf}/fonts/truetype/*
  657. do
  658. if [ -L "$i" ]; then
  659. %__rm -f "$i"
  660. fi
  661. done
  662. fi
  663. %if %{enable_sharedlib}
  664. %post -n libkpathsea
  665. /sbin/ldconfig
  666. # /sbin/install-info %{_infodir}/kpathsea.info.* %{_infodir}/dir
  667. %preun -n libkpathsea
  668. # if [ "$1" = 0 ]; then
  669. # /sbin/install-info --delete %{_infodir}/kpathsea.info.* %{_infodir}/dir
  670. # fi
  671. %postun -n libkpathsea
  672. /sbin/ldconfig
  673. %post -n libptexenc
  674. /sbin/ldconfig
  675. %postun -n libptexenc
  676. /sbin/ldconfig
  677. %endif
  678. %triggerpostun -- texlive < 2009-17vl6
  679. %__mkdir_p %{vartexfonts}
  680. %__chmod -R 1777 %{vartexfonts}/..
  681. %triggerin -- ghostscript
  682. %__rm -f %{texmf}/fonts/cmap/ghostscript
  683. if [ -d "%{_datadir}/ghostscript/$(gs --version| cut -d . -f 1-2)/Resource/CMap" ] ; then
  684. %__ln_s %{_datadir}/ghostscript/$(gs --version| cut -d . -f 1-2)/Resource/CMap %{texmf}/fonts/cmap/ghostscript
  685. elif [ -d "%{_datadir}/ghostscript/Resource/CMap" ] ; then
  686. %__ln_s %{_datadir}/ghostscript/Resource/CMap %{texmf}/fonts/cmap/ghostscript
  687. fi
  688. %{exec_texhash}
  689. %files -f filelist.full
  690. %defattr(-,root,root)
  691. %attr(1777,root,root) %dir %{vartexfonts}
  692. %config %{_sysconfdir}/cron.daily/texlive.cron
  693. %files doc -f filelist.doc
  694. %defattr(-,root,root)
  695. %if %{enable_sharedlib}
  696. %files -n libkpathsea
  697. %defattr(-,root,root)
  698. %{_libdir}/libkpathsea.so.*
  699. # %{_infodir}/kpathsea.info*
  700. %files -n libkpathsea-devel
  701. %defattr(-,root,root)
  702. %{_libdir}/libkpathsea.so
  703. %dir %{_includedir}/kpathsea
  704. %{_includedir}/kpathsea/*
  705. %files -n libptexenc
  706. %defattr(-,root,root)
  707. %{_libdir}/libptexenc.so.*
  708. %files -n libptexenc-devel
  709. %defattr(-,root,root)
  710. %{_libdir}/libptexenc.so
  711. %dir %{_includedir}/ptexenc
  712. %{_includedir}/ptexenc/*
  713. %endif
  714. %changelog
  715. * Sun May 22 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-19
  716. - dropped Requires: texlive-common
  717. - added perl-Tk-TableMatrix
  718. - supported texdoctk
  719. - removed broken symbolic links in /usr/bin
  720. - for each these symbolic links, the package of its real file/path
  721. should be its owner.
  722. * Thu May 19 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-18
  723. - added %%triggerpostun -- texlive < 2009-17vl6
  724. - make the directory VARTEXFONTS
  725. * Tue May 10 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-17
  726. - fixed %%dir VARTEXFONTS around in %%files
  727. - dropped BuildRequires: t1utils
  728. * Tue Apr 26 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-16
  729. - updated texlive-20091107-texmfcnf-vine.patch, texlive.cron
  730. - changed VARTEXFONTS to /var/lib/texmf/fonts
  731. * Mon Apr 25 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-15
  732. - fixed updmap.cfg
  733. * Sun Mar 27 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-14
  734. - dropped Requires: texlive-macros
  735. * Sat Jan 15 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-13
  736. - updated ptexlive-20100711-pxdvik-vine.patch
  737. and added texlive-20091107-xdvik-vine.patch
  738. - fixed to adjust X resources in texmf/xdvi/XDvi for (p)xdvi
  739. * Sat Jan 08 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-12
  740. - supported Vine Linux 5
  741. - for vl5, changed a requirement of Japanese VF package
  742. - added Requires: texlive-jvf = 2009 (vl5)
  743. - dropped dependencies of Provides:/Obsoletes: tags
  744. - merged these dependencies in texlive-common-vl.spec
  745. * Wed Dec 01 2010 Shu KONNO <owa@bg.wakwak.com> 2009-11
  746. - rebuilt with poppler-0.14.2 (libpoppler has been up to so.7)
  747. * Fri Sep 24 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-10
  748. - applied some security patches from Debian
  749. - texlive-2009-CVE-2010-0827.patch
  750. - texlive-2009-CVE-2010-1440.patch
  751. - applied texlive-2009-pdftexdir-libpoppler-0.12.patch from Debian
  752. - applied texlive-2009-luatexdir-libpoppler-0.12.patch
  753. based on texlive-2009-pdftexdir-libpoppler-0.12.patch
  754. - fixed some dependencies
  755. * Mon Aug 09 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-9
  756. - added BuildArch: noarch in %%package doc
  757. - removed some comment-out sentences
  758. * Tue Jul 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-8
  759. - separeted texmf-dist to texlive-common package
  760. * Mon Jul 19 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-7
  761. - unpacked texlive-20091107-source.tar.xz
  762. - babel is available now
  763. - applied eptex-100420 and some patches:
  764. - eptex-100420-vine.patch
  765. - eptex-100420-patch1.diff
  766. * Tue Jul 13 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-6
  767. - updated ptexlive-20100711
  768. * Sat Jun 12 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-5
  769. - customized updmap.cfg to correspond installed fonts
  770. * Mon May 31 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
  771. - fixed insttexfont()
  772. * Mon May 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
  773. - added jvf of MORISAWA basic 5 fonts
  774. - added cm-super, mathdesign in fntlst
  775. * Sun May 16 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
  776. - define insttexfont() in %%install
  777. - copy almost compatible tetex-3.0
  778. * Sat May 08 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
  779. - ptexlive-20090322 + TeXLive 2009
  780. - added BuildRequires: openssl-devel
  781. * Sun Dec 06 2009 Munehiro Yamamoto <munepi@vinelinux.org> 2008-0.20091206
  782. - ptexlive-20091009 + TeXLive 2008