texlive-collection-latex-vl.spec 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2013-3:
  3. ## tlpdb2rpmspec collection-latex
  4. %global _use_internal_dependency_generator 0
  5. %global __find_provides %{nil}
  6. %global __find_requires %{nil}
  7. Summary: TeX Live: LaTeX fundamental packages
  8. Summary(ja): TeX Live: LaTeX fundamental packages
  9. Name: texlive-collection-latex
  10. Version: 2013
  11. Release: 3%{?_dist_release}
  12. License: LPPL, LPPL 1.3, Public Domain
  13. Group: Applications/Publishing
  14. URL:http://www.tug.org/texlive/
  15. Source0: ae.doc.tar.xz
  16. Source1: ae.source.tar.xz
  17. Source2: ae.tar.xz
  18. Source3: amscls.doc.tar.xz
  19. Source4: amscls.source.tar.xz
  20. Source5: amscls.tar.xz
  21. Source6: amsmath.doc.tar.xz
  22. Source7: amsmath.source.tar.xz
  23. Source8: amsmath.tar.xz
  24. Source9: babel.doc.tar.xz
  25. Source10: babel.source.tar.xz
  26. Source11: babel.tar.xz
  27. Source12: babel-english.doc.tar.xz
  28. Source13: babel-english.source.tar.xz
  29. Source14: babel-english.tar.xz
  30. Source15: babelbib.doc.tar.xz
  31. Source16: babelbib.tar.xz
  32. Source17: carlisle.doc.tar.xz
  33. Source18: carlisle.source.tar.xz
  34. Source19: carlisle.tar.xz
  35. Source20: colortbl.doc.tar.xz
  36. Source21: colortbl.source.tar.xz
  37. Source22: colortbl.tar.xz
  38. Source23: fancyhdr.doc.tar.xz
  39. Source24: fancyhdr.tar.xz
  40. Source25: fix2col.doc.tar.xz
  41. Source26: fix2col.source.tar.xz
  42. Source27: fix2col.tar.xz
  43. Source28: geometry.doc.tar.xz
  44. Source29: geometry.source.tar.xz
  45. Source30: geometry.tar.xz
  46. Source31: graphics.doc.tar.xz
  47. Source32: graphics.source.tar.xz
  48. Source33: graphics.tar.xz
  49. Source34: hyperref.doc.tar.xz
  50. Source35: hyperref.source.tar.xz
  51. Source36: hyperref.tar.xz
  52. Source37: latex.doc.tar.xz
  53. Source38: latex.source.tar.xz
  54. Source39: latex.tar.xz
  55. Source40: latex-bin.doc.tar.xz
  56. Source41: latex-bin.tar.xz
  57. Source42: latex-fonts.doc.tar.xz
  58. Source43: latex-fonts.tar.xz
  59. Source44: latexconfig.tar.xz
  60. Source45: ltxmisc.tar.xz
  61. Source46: mfnfss.doc.tar.xz
  62. Source47: mfnfss.source.tar.xz
  63. Source48: mfnfss.tar.xz
  64. Source49: mptopdf.doc.tar.xz
  65. Source50: mptopdf.tar.xz
  66. Source51: natbib.doc.tar.xz
  67. Source52: natbib.source.tar.xz
  68. Source53: natbib.tar.xz
  69. Source54: oberdiek.doc.tar.xz
  70. Source55: oberdiek.source.tar.xz
  71. Source56: oberdiek.tar.xz
  72. Source57: pdftex-def.tar.xz
  73. Source58: pslatex.source.tar.xz
  74. Source59: pslatex.tar.xz
  75. Source60: psnfss.doc.tar.xz
  76. Source61: psnfss.source.tar.xz
  77. Source62: psnfss.tar.xz
  78. Source63: pspicture.doc.tar.xz
  79. Source64: pspicture.source.tar.xz
  80. Source65: pspicture.tar.xz
  81. Source66: tools.doc.tar.xz
  82. Source67: tools.source.tar.xz
  83. Source68: tools.tar.xz
  84. Requires: texlive = %{version}
  85. Requires: texlive-collection-basic = %{version}
  86. Requires(post): texlive = %{version}
  87. Requires(postun): texlive = %{version}
  88. BuildArch: noarch
  89. Buildroot: %{_tmppath}/%{name}-%{version}-root
  90. Vendor: Project Vine
  91. Distribution: Vine Linux
  92. Packager: munepi
  93. %description
  94. The TeX Live software distribution offers a complete TeX system for a
  95. variety of Unix, Macintosh, Windows and other platforms. It
  96. encompasses programs for editing, typesetting, previewing and printing
  97. of TeX documents in many different languages, and a large collection
  98. of TeX macros and font libraries.
  99. The distribution includes extensive general documentation about TeX,
  100. as well as the documentation for the included software packages.
  101. This package is a collection of LaTeX fundamental packages:
  102. These packages are mandated by the core LaTeX team, or at least
  103. very strongly recommended.
  104. This package contains the following CTAN packages:
  105. ae: Virtual fonts for T1 encoded CMR-fonts.
  106. amscls: AMS document classes for LaTeX.
  107. amsmath: AMS mathematical facilities for LaTeX.
  108. babel: Multilingual support for Plain TeX or LaTeX.
  109. babel-english:
  110. babelbib: Multilingual bibliographies.
  111. carlisle: David Carlisle's small packages.
  112. colortbl: Add colour to LaTeX tables.
  113. fancyhdr: Extensive control of page headers and footers in LaTeX2e.
  114. fix2col: Fix miscellaneous two column mode features.
  115. geometry: Flexible and complete interface to document dimensions.
  116. graphics: Standard LaTeX graphics.
  117. hyperref: Extensive support for hypertext in LaTeX.
  118. latex: A TeX macro package that defines LaTeX.
  119. latex-bin: LaTeX executables and man pages.
  120. latex-fonts: A collection of fonts used in LaTeX distributions.
  121. latexconfig:
  122. ltxmisc: Miscellaneous LaTeX packages, etc.
  123. mfnfss: Packages to typeset oldgerman and pandora fonts in LaTeX.
  124. mptopdf: mpost to PDF, native MetaPost graphics inclusion
  125. natbib: Flexible bibliography support.
  126. oberdiek: A bundle of packages submitted by Heiko Oberdiek.
  127. pdftex-def: Colour and Graphics support for PDFTeX.
  128. pslatex: Use PostScript fonts by default.
  129. psnfss: Font support for common PostScript fonts.
  130. pspicture: PostScript picture support.
  131. tools: The LaTeX standard tools bundle.
  132. %description -l ja
  133. TeX Live ソフトウェアディストリビューションは、
  134. さまざまな Unix, Macintosh, Windows、および
  135. 他のプラットホームに対して完全な TeX システムを提供します。
  136. 多くの異なった言語を含む TeX ドキュメントの
  137. 編集、組版、閲覧、印刷するためのプログラム、
  138. そして、TeX マクロやフォントライブラリの大きなコレクションを
  139. 同梱しています。
  140. このディストリビューションは
  141. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  142. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  143. このパッケージは以下のようなパッケージ集です。
  144. LaTeX fundamental packages:
  145. These packages are mandated by the core LaTeX team, or at least
  146. very strongly recommended.
  147. このパッケージは以下の CTAN パッケージを含んでいます:
  148. ae: Virtual fonts for T1 encoded CMR-fonts.
  149. amscls: AMS document classes for LaTeX.
  150. amsmath: AMS mathematical facilities for LaTeX.
  151. babel: Multilingual support for Plain TeX or LaTeX.
  152. babel-english:
  153. babelbib: Multilingual bibliographies.
  154. carlisle: David Carlisle's small packages.
  155. colortbl: Add colour to LaTeX tables.
  156. fancyhdr: Extensive control of page headers and footers in LaTeX2e.
  157. fix2col: Fix miscellaneous two column mode features.
  158. geometry: Flexible and complete interface to document dimensions.
  159. graphics: Standard LaTeX graphics.
  160. hyperref: Extensive support for hypertext in LaTeX.
  161. latex: A TeX macro package that defines LaTeX.
  162. latex-bin: LaTeX executables and man pages.
  163. latex-fonts: A collection of fonts used in LaTeX distributions.
  164. latexconfig:
  165. ltxmisc: Miscellaneous LaTeX packages, etc.
  166. mfnfss: Packages to typeset oldgerman and pandora fonts in LaTeX.
  167. mptopdf: mpost to PDF, native MetaPost graphics inclusion
  168. natbib: Flexible bibliography support.
  169. oberdiek: A bundle of packages submitted by Heiko Oberdiek.
  170. pdftex-def: Colour and Graphics support for PDFTeX.
  171. pslatex: Use PostScript fonts by default.
  172. psnfss: Font support for common PostScript fonts.
  173. pspicture: PostScript picture support.
  174. tools: The LaTeX standard tools bundle.
  175. %package doc
  176. Summary: TeX Live: Documentation files of %{name}
  177. Group: Applications/Publishing
  178. Requires: %{name} = %{version}-%{release}
  179. %description doc
  180. This package contains documentation files of %{name}.
  181. %prep
  182. %setup -c -n %{name}-%{version}
  183. %__tar -xvf %{SOURCE1}
  184. %__tar -xvf %{SOURCE2}
  185. %__tar -xvf %{SOURCE3}
  186. %__tar -xvf %{SOURCE4}
  187. %__tar -xvf %{SOURCE5}
  188. %__tar -xvf %{SOURCE6}
  189. %__tar -xvf %{SOURCE7}
  190. %__tar -xvf %{SOURCE8}
  191. %__tar -xvf %{SOURCE9}
  192. %__tar -xvf %{SOURCE10}
  193. %__tar -xvf %{SOURCE11}
  194. %__tar -xvf %{SOURCE12}
  195. %__tar -xvf %{SOURCE13}
  196. %__tar -xvf %{SOURCE14}
  197. %__tar -xvf %{SOURCE15}
  198. %__tar -xvf %{SOURCE16}
  199. %__tar -xvf %{SOURCE17}
  200. %__tar -xvf %{SOURCE18}
  201. %__tar -xvf %{SOURCE19}
  202. %__tar -xvf %{SOURCE20}
  203. %__tar -xvf %{SOURCE21}
  204. %__tar -xvf %{SOURCE22}
  205. %__tar -xvf %{SOURCE23}
  206. %__tar -xvf %{SOURCE24}
  207. %__tar -xvf %{SOURCE25}
  208. %__tar -xvf %{SOURCE26}
  209. %__tar -xvf %{SOURCE27}
  210. %__tar -xvf %{SOURCE28}
  211. %__tar -xvf %{SOURCE29}
  212. %__tar -xvf %{SOURCE30}
  213. %__tar -xvf %{SOURCE31}
  214. %__tar -xvf %{SOURCE32}
  215. %__tar -xvf %{SOURCE33}
  216. %__tar -xvf %{SOURCE34}
  217. %__tar -xvf %{SOURCE35}
  218. %__tar -xvf %{SOURCE36}
  219. %__tar -xvf %{SOURCE37}
  220. %__tar -xvf %{SOURCE38}
  221. %__tar -xvf %{SOURCE39}
  222. %__tar -xvf %{SOURCE40}
  223. %__tar -xvf %{SOURCE41}
  224. %__tar -xvf %{SOURCE42}
  225. %__tar -xvf %{SOURCE43}
  226. %__tar -xvf %{SOURCE44}
  227. %__tar -xvf %{SOURCE45}
  228. %__tar -xvf %{SOURCE46}
  229. %__tar -xvf %{SOURCE47}
  230. %__tar -xvf %{SOURCE48}
  231. %__tar -xvf %{SOURCE49}
  232. %__tar -xvf %{SOURCE50}
  233. %__tar -xvf %{SOURCE51}
  234. %__tar -xvf %{SOURCE52}
  235. %__tar -xvf %{SOURCE53}
  236. %__tar -xvf %{SOURCE54}
  237. %__tar -xvf %{SOURCE55}
  238. %__tar -xvf %{SOURCE56}
  239. %__tar -xvf %{SOURCE57}
  240. %__tar -xvf %{SOURCE58}
  241. %__tar -xvf %{SOURCE59}
  242. %__tar -xvf %{SOURCE60}
  243. %__tar -xvf %{SOURCE61}
  244. %__tar -xvf %{SOURCE62}
  245. %__tar -xvf %{SOURCE63}
  246. %__tar -xvf %{SOURCE64}
  247. %__tar -xvf %{SOURCE65}
  248. %__tar -xvf %{SOURCE66}
  249. %__tar -xvf %{SOURCE67}
  250. %__tar -xvf %{SOURCE68}
  251. %build
  252. %install
  253. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  254. %__mkdir_p %{buildroot}%{_datadir}
  255. ## move texmf-dist to /usr/share/texmf-dist
  256. [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
  257. ## move texmf to /usr/share/texmf
  258. [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
  259. ## move tlpkg to /usr/share/tlpkg
  260. [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
  261. ## move all non-arch binaries to /usr/bin
  262. [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
  263. ## move others into /usr/share/texmf-dist
  264. %__mkdir_p %{buildroot}%{_tl_texmfdist}
  265. %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
  266. %__rm -rf * ||:
  267. ## remove duplicated files between texlive and texlive-collection-*
  268. ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
  269. ## remove unpacked files
  270. x=(
  271. scripts/texlive/tlmgr.pl
  272. texconfig/tcfmgr
  273. texconfig/tcfmgr.map
  274. web2c/fmtutil.cnf
  275. web2c/mktex.opt
  276. web2c/mktexdir
  277. web2c/mktexdir.opt
  278. web2c/mktexnam
  279. web2c/mktexnam.opt
  280. web2c/mktexupd
  281. web2c/texmf.cnf
  282. web2c/updmap.cfg
  283. web2c/updmap-hdr.cfg
  284. doc/chktex/ChkTeX.pdf
  285. install-tl
  286. )
  287. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  288. pushd %{buildroot}%{_tl_texmfdist}
  289. %__rm -f ${x[@]} ||:
  290. popd
  291. fi
  292. ## Files list
  293. find %{buildroot} -type f -or -type l | \
  294. %__sed -e "s|%{buildroot}||g" > filelist.full
  295. find %{buildroot}%{_tl_texmfdist} -type d | \
  296. %__sed -e "s|^%{buildroot}|%dir |" \
  297. -e "s|$|/|" >> filelist.full
  298. ## subpackages
  299. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  300. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  301. %__mv -f filelist.tmp filelist.full
  302. %clean
  303. %__rm -rf %{buildroot}
  304. %post
  305. %_tl_touch_run texhash
  306. %_tl_touch_run mtxrun
  307. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  308. %_tl_enable_map Map charter.map
  309. %_tl_enable_map Map fpls.map
  310. %_tl_enable_map Map pazo.map
  311. %_tl_enable_map Map utopia.map
  312. %_tl_touch_run fmtutil
  313. exit 0
  314. %postun
  315. if [ "$1" = 0 ]; then
  316. %_tl_touch_run texhash
  317. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  318. %_tl_disable_map charter.map
  319. %_tl_disable_map fpls.map
  320. %_tl_disable_map pazo.map
  321. %_tl_disable_map utopia.map
  322. fi
  323. exit 0
  324. %posttrans
  325. %{_tl_exec_texhash}
  326. %{_tl_exec_mtxrun}
  327. %{_tl_exec_updmap}
  328. %{_tl_exec_fmtutil}
  329. exit 0
  330. %files -f filelist.full
  331. %defattr(-,root,root,-)
  332. %files -f filelist.doc doc
  333. %defattr(-,root,root,-)
  334. %changelog
  335. * Wed Oct 2 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
  336. - TLNET 20131002
  337. * Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
  338. - TLNET 20130919
  339. * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
  340. - generated by tlpdb2rpmspec 2013-1: tlpdb2rpmspec collection-latex
  341. - TLNET 20130823