texlive-collection-genericrecommended-vl.spec 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3:
  3. ## tlpdb2rpmspec collection-genericrecommended
  4. %bcond_with firstbuild
  5. %define tex_destdir %{_datadir}
  6. %define texmf %{tex_destdir}/texmf
  7. %define texlive_src %{tex_destdir}/texlive-sources
  8. %define build_tex_destdir %{buildroot}%{tex_destdir}
  9. %define build_texmf %{buildroot}%{texmf}
  10. %define exec_mktexlsr [ -x %{_bindir}/texconfig-sys ] && PATH=%{_bindir}:$PATH %{_bindir}/texconfig-sys rehash
  11. %define exec_texhash [ -x %{_bindir}/texhash ] && PATH=%{_bindir}:$PATH %{_bindir}/texhash
  12. %define exec_updmap [ -x %{_bindir}/updmap-sys ] && PATH=%{_bindir}:$PATH %{_bindir}/updmap-sys --nostop
  13. %define exec_fmtutil [ -x %{_bindir}/fmtutil-sys ] && PATH=%{_bindir}:$PATH %{_bindir}/fmtutil-sys --all >/dev/null 2>&1
  14. %define exec_upddeffont [ -x %{_sbindir}/update-defaultfont ] && %{_sbindir}/update-defaultfont 2> /dev/null
  15. %define vartexfonts %{_var}/lib/texmf
  16. %define __find_provides %{nil}
  17. %define __find_requires %{nil}
  18. %define __perl_provides %{nil}
  19. %define __perl_requires %{nil}
  20. Autoreq: 0
  21. Summary: TeX Live: Recommended generic packages
  22. Summary(ja): TeX Live: Recommended generic packages
  23. Name: texlive-collection-genericrecommended
  24. Version: 2009
  25. Release: 3%{?_dist_release}
  26. License: Public Domain, GPL+, LPPL
  27. Group: Applications/Publishing
  28. URL:http://www.tug.org/texlive/
  29. Requires: texlive = %{version}
  30. Requires: texlive-collection-basic = %{version}
  31. Requires(post): texlive = %{version}
  32. Requires(postun): texlive = %{version}
  33. BuildRequires: texlive-sources = %{version}
  34. BuildArch: noarch
  35. Buildroot: %{_tmppath}/%{name}-%{version}-root
  36. Vendor: Project Vine
  37. Distribution: Vine Linux
  38. Packager: munepi
  39. %description
  40. The TeX Live software distribution offers a complete TeX system for a
  41. variety of Unix, Macintosh, Windows and other platforms. It
  42. encompasses programs for editing, typesetting, previewing and printing
  43. of TeX documents in many different languages, and a large collection
  44. of TeX macros and font libraries.
  45. The distribution includes extensive general documentation about TeX,
  46. as well as the documentation for the included software packages.
  47. This package is a collection of Recommended generic packages:
  48. Recommended packages that work with multiple formats.
  49. This package contains the following CTAN packages:
  50. epsf: Simple macros for EPS inclusion.
  51. fontname: Scheme for naming fonts in TeX.
  52. genmisc:
  53. multido: A loop facility for Generic TeX.
  54. tex-ps: TeX to PostScript generic macros and add-ons.
  55. %description -l ja
  56. TeX Live ソフトウェアディストリビューションは、
  57. さまざまな Unix, Macintosh, Windows、および
  58. 他のプラットホームに対して完全な TeX システムを提供します。
  59. 多くの異なった言語を含む TeX ドキュメントの
  60. 編集、組版、閲覧、印刷するためのプログラム、
  61. そして、TeX マクロやフォントライブラリの大きなコレクションを
  62. 同梱しています。
  63. このディストリビューションは
  64. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  65. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  66. このパッケージは以下のようなパッケージ集です。
  67. Recommended generic packages:
  68. Recommended packages that work with multiple formats.
  69. このパッケージは以下の CTAN パッケージを含んでいます:
  70. epsf: Simple macros for EPS inclusion.
  71. fontname: Scheme for naming fonts in TeX.
  72. genmisc:
  73. multido: A loop facility for Generic TeX.
  74. tex-ps: TeX to PostScript generic macros and add-ons.
  75. %package doc
  76. Summary: TeX Live: Documentation files of %{name}
  77. Group: Applications/Publishing
  78. Requires: %{name} = %{version}-%{release}
  79. %description doc
  80. This package contains documentation files of %{name}.
  81. %prep
  82. %build
  83. %install
  84. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  85. PREF=%{buildroot}%{tex_destdir}
  86. manifest=(
  87. texmf-dist/doc/generic/epsf/LICENSE
  88. texmf-dist/doc/generic/epsf/Makefile
  89. texmf-dist/doc/generic/epsf/README
  90. texmf-dist/doc/generic/epsf/bboxgrid.ps
  91. texmf-dist/doc/generic/epsf/fndbadps
  92. texmf-dist/doc/generic/epsf/okay/teps.eps
  93. texmf-dist/doc/generic/epsf/okay/tepsf.eps
  94. texmf-dist/doc/generic/epsf/okay/tepsf1.dvi
  95. texmf-dist/doc/generic/epsf/okay/tepsf2.dvi
  96. texmf-dist/doc/generic/epsf/okay/tepsf3.dvi
  97. texmf-dist/doc/generic/epsf/teps.eps
  98. texmf-dist/doc/generic/epsf/tepsf.eps
  99. texmf-dist/doc/generic/epsf/tepsf1.tex
  100. texmf-dist/doc/generic/epsf/tepsf2.ltx
  101. texmf-dist/doc/generic/epsf/tepsf3.tex
  102. texmf-dist/tex/generic/epsf/epsf.sty
  103. texmf-dist/tex/generic/epsf/epsf.tex
  104. texmf-dist/doc/fonts/fontname/8a.html
  105. texmf-dist/doc/fonts/fontname/8r.html
  106. texmf-dist/doc/fonts/fontname/Adobe-fonts.html
  107. texmf-dist/doc/fonts/fontname/Apple-fonts.html
  108. texmf-dist/doc/fonts/fontname/Bitstream-fonts.html
  109. texmf-dist/doc/fonts/fontname/ChangeLog
  110. texmf-dist/doc/fonts/fontname/DTC-fonts.html
  111. texmf-dist/doc/fonts/fontname/Encodings.html
  112. texmf-dist/doc/fonts/fontname/Filenames-for-fonts.html
  113. texmf-dist/doc/fonts/fontname/Font-legalities.html
  114. texmf-dist/doc/fonts/fontname/Font-name-lists.html
  115. texmf-dist/doc/fonts/fontname/History.html
  116. texmf-dist/doc/fonts/fontname/ITC-fonts.html
  117. texmf-dist/doc/fonts/fontname/Introduction.html
  118. texmf-dist/doc/fonts/fontname/Linotype-fonts.html
  119. texmf-dist/doc/fonts/fontname/Long-names.html
  120. texmf-dist/doc/fonts/fontname/Long-naming-scheme.html
  121. texmf-dist/doc/fonts/fontname/Makefile
  122. texmf-dist/doc/fonts/fontname/Monotype-fonts.html
  123. texmf-dist/doc/fonts/fontname/Name-mapping-file.html
  124. texmf-dist/doc/fonts/fontname/References.html
  125. texmf-dist/doc/fonts/fontname/Standard-PostScript-fonts.html
  126. texmf-dist/doc/fonts/fontname/Suppliers.html
  127. texmf-dist/doc/fonts/fontname/Typefaces.html
  128. texmf-dist/doc/fonts/fontname/URW-fonts.html
  129. texmf-dist/doc/fonts/fontname/Variants.html
  130. texmf-dist/doc/fonts/fontname/Weights.html
  131. texmf-dist/doc/fonts/fontname/Widths.html
  132. texmf-dist/doc/fonts/fontname/bitstrea.aka
  133. texmf-dist/doc/fonts/fontname/cork.html
  134. texmf-dist/doc/fonts/fontname/dvips.html
  135. texmf-dist/doc/fonts/fontname/fontname.aux
  136. texmf-dist/doc/fonts/fontname/fontname.cp
  137. texmf-dist/doc/fonts/fontname/fontname.html
  138. texmf-dist/doc/fonts/fontname/fontname.pdf
  139. texmf-dist/doc/fonts/fontname/fontname.texi
  140. texmf-dist/doc/fonts/fontname/fontname.toc
  141. texmf-dist/doc/fonts/fontname/index.html
  142. texmf-dist/doc/fonts/fontname/texmext.html
  143. texmf-dist/doc/fonts/fontname/texmital.html
  144. texmf-dist/doc/fonts/fontname/texmsym.html
  145. texmf-dist/doc/fonts/fontname/texnansi.html
  146. texmf-dist/doc/fonts/fontname/texnansx.html
  147. texmf-dist/doc/fonts/fontname/xl2.html
  148. texmf-dist/doc/fonts/fontname/xt2.html
  149. texmf-dist/fonts/map/fontname/adobe.map
  150. texmf-dist/fonts/map/fontname/apple.map
  151. texmf-dist/fonts/map/fontname/bitstrea.map
  152. texmf-dist/fonts/map/fontname/dtc.map
  153. texmf-dist/fonts/map/fontname/itc.map
  154. texmf-dist/fonts/map/fontname/linot-cd.map
  155. texmf-dist/fonts/map/fontname/linotype-cd.map
  156. texmf-dist/fonts/map/fontname/linotype.map
  157. texmf-dist/fonts/map/fontname/monotype.map
  158. texmf-dist/fonts/map/fontname/skey1250.map
  159. texmf-dist/fonts/map/fontname/skey1555.map
  160. texmf-dist/fonts/map/fontname/softkey-1250.map
  161. texmf-dist/fonts/map/fontname/softkey-1555.map
  162. texmf-dist/fonts/map/fontname/softkey.map
  163. texmf-dist/fonts/map/fontname/special.map
  164. texmf-dist/fonts/map/fontname/supplier.map
  165. texmf-dist/fonts/map/fontname/texfonts.map
  166. texmf-dist/fonts/map/fontname/typeface.map
  167. texmf-dist/fonts/map/fontname/urw.map
  168. texmf-dist/fonts/map/fontname/variant.map
  169. texmf-dist/fonts/map/fontname/weight.map
  170. texmf-dist/fonts/map/fontname/width.map
  171. texmf-dist/fonts/map/fontname/yandy.map
  172. texmf-dist/tex/generic/genmisc/anti.tex
  173. texmf-dist/tex/generic/genmisc/apldef.tex
  174. texmf-dist/tex/generic/genmisc/arabic.tex
  175. texmf-dist/tex/generic/genmisc/backgrnd.tex
  176. texmf-dist/tex/generic/genmisc/balancedquotes.sty
  177. texmf-dist/tex/generic/genmisc/chessmin.tex
  178. texmf-dist/tex/generic/genmisc/compare.tex
  179. texmf-dist/tex/generic/genmisc/cropmark.sty
  180. texmf-dist/tex/generic/genmisc/cropmark.tex
  181. texmf-dist/tex/generic/genmisc/croptest.tex
  182. texmf-dist/tex/generic/genmisc/dayofweek.tex
  183. texmf-dist/tex/generic/genmisc/daytime.sty
  184. texmf-dist/tex/generic/genmisc/default.sty
  185. texmf-dist/tex/generic/genmisc/dow.tex
  186. texmf-dist/tex/generic/genmisc/emtrees.tex
  187. texmf-dist/tex/generic/genmisc/endnote.tex
  188. texmf-dist/tex/generic/genmisc/epigram.tex
  189. texmf-dist/tex/generic/genmisc/fakebold.tex
  190. texmf-dist/tex/generic/genmisc/hep.tex
  191. texmf-dist/tex/generic/genmisc/hexdump.sty
  192. texmf-dist/tex/generic/genmisc/inscrutable.tex
  193. texmf-dist/tex/generic/genmisc/laps.tex
  194. texmf-dist/tex/generic/genmisc/letterspacing.tex
  195. texmf-dist/tex/generic/genmisc/longdiv.tex
  196. texmf-dist/tex/generic/genmisc/mandel.tex
  197. texmf-dist/tex/generic/genmisc/mathlig.tex
  198. texmf-dist/tex/generic/genmisc/nth.sty
  199. texmf-dist/tex/generic/genmisc/outerhbox.sty
  200. texmf-dist/tex/generic/genmisc/pagereference.tex
  201. texmf-dist/tex/generic/genmisc/quotation.tex
  202. texmf-dist/tex/generic/genmisc/ragged.sty
  203. texmf-dist/tex/generic/genmisc/random.tex
  204. texmf-dist/tex/generic/genmisc/ruler.tex
  205. texmf-dist/tex/generic/genmisc/selectpage.tex
  206. texmf-dist/tex/generic/genmisc/shadebox.tex
  207. texmf-dist/tex/generic/genmisc/swrule.sty
  208. texmf-dist/tex/generic/genmisc/time.sty
  209. texmf-dist/tex/generic/genmisc/underlin.tex
  210. texmf-dist/tex/generic/genmisc/undertilde.tex
  211. texmf-dist/tex/generic/genmisc/verbatim.tex
  212. texmf-dist/tex/generic/genmisc/weekday.sty
  213. texmf-dist/tex/generic/genmisc/wiggly.tex
  214. texmf-dist/tex/generic/genmisc/zip.tex
  215. texmf-dist/doc/generic/multido/Changes
  216. texmf-dist/doc/generic/multido/multido-test.tex
  217. texmf-dist/doc/generic/multido/multido.doc
  218. texmf-dist/doc/generic/multido/multido.pdf
  219. texmf-dist/tex/generic/multido/multido.tex
  220. texmf-dist/tex/latex/multido/multido.sty
  221. texmf-dist/doc/generic/tex-ps/cmyk-hax/README
  222. texmf-dist/doc/generic/tex-ps/cmyk-hax/cmyk-doc.pdf
  223. texmf-dist/doc/generic/tex-ps/cmyk-hax/fountain.eps
  224. texmf-dist/doc/generic/tex-ps/cmyk-hax/gdansk.eps
  225. texmf-dist/doc/generic/tex-ps/cmyk-hax/rules.tex
  226. texmf-dist/doc/generic/tex-ps/cmyk-hax/sam1-sep.bat
  227. texmf-dist/doc/generic/tex-ps/cmyk-hax/sample1.tex
  228. texmf-dist/doc/generic/tex-ps/cmyk-hax/sample2.tex
  229. texmf-dist/doc/generic/tex-ps/cmyk-hax/sample3.tex
  230. texmf-dist/doc/generic/tex-ps/cmyk-hax/sample4.tex
  231. texmf-dist/doc/generic/tex-ps/cmyk-hax/screen.eps
  232. texmf-dist/doc/generic/tex-ps/poligraf/README
  233. texmf-dist/doc/generic/tex-ps/poligraf/kol-cmyk.eps
  234. texmf-dist/doc/generic/tex-ps/poligraf/sample.tex
  235. texmf-dist/doc/generic/tex-ps/poligraf/samplelx.tex
  236. texmf-dist/dvips/tex-ps/crops.pro
  237. texmf-dist/dvips/tex-ps/mirr.hd
  238. texmf-dist/dvips/tex-ps/separate.pro
  239. texmf-dist/tex/generic/tex-ps/cmyk-hax.tex
  240. texmf-dist/tex/generic/tex-ps/epsfx.tex
  241. texmf-dist/tex/generic/tex-ps/poligraf.sty
  242. texmf-dist/tex/generic/tex-ps/trans.tex
  243. )
  244. %__mkdir_p ${PREF}/texmf-dist
  245. for i in "${manifest[@]}"; do
  246. %__install -D %{texlive_src}/$i ${PREF}/$i
  247. done
  248. ## info
  249. %__rm -f %{buildroot}%{_infodir}/dir
  250. %__gzip -9nf %{buildroot}%{_infodir}/*info* ||:
  251. ## man
  252. ## man t1* files are provided by t1utils
  253. for i in t1ascii t1asm t1binary t1disasm t1mac t1unmac; do
  254. %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
  255. done
  256. ## man some files are provided by psutils
  257. for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixscribeps fixtpps fixwfwps fixwpps fixwwps getafm includeres psbook psmerge psnup psresize psselect pstops; do
  258. %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
  259. done
  260. ## fix perl path
  261. for i in source/metapost/expressg/expressg.dtx \
  262. doc/metapost/expressg/n2mpsprl.prl \
  263. doc/latex/songbook/contrib/crd2sb/crd2sb; do
  264. [ -f %{build_texmf}-dist/${i} ] && \
  265. %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
  266. done
  267. ## remove asymptote directries, which provides asymptote package
  268. find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
  269. # find %{buildroot} -name "Makefile" | xargs %__rm -f
  270. # ## remove xindy
  271. # find %{buildroot} -regex ".*xindy.*" | xargs %__rm -rf
  272. # ## remove tex4ht
  273. # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
  274. ## remove arch dependent binaries
  275. %__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
  276. ## remove unpackaging files
  277. find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
  278. find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
  279. ## Files list
  280. find %{buildroot} -type f -or -type l | \
  281. %__sed -e "s|%{buildroot}||g" > filelist.full
  282. find %{buildroot}%{texmf}-dist -type d | \
  283. %__sed -e "s|^%{buildroot}|%dir |" \
  284. -e "s|$|/|" >> filelist.full
  285. ## subpackages
  286. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  287. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  288. %__mv -f filelist.tmp filelist.full
  289. %clean
  290. %__rm -rf %{buildroot}
  291. %post
  292. %{exec_texhash}
  293. exit 0
  294. %postun
  295. if [ "$1" = 0 ]; then
  296. %{exec_texhash}
  297. fi
  298. exit 0
  299. %files -f filelist.full
  300. %defattr(-,root,root)
  301. %files -f filelist.doc doc
  302. %defattr(-,root,root)
  303. %changelog
  304. * Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
  305. - generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-genericrecommended
  306. - improved %%post
  307. * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
  308. - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-genericrecommended
  309. - removed arch dependent binaries (texlive-collection-latexextra)
  310. - fixed perl path
  311. - improved updmap process in %%post and %%postun
  312. * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
  313. - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-genericrecommended