texlive-collection-fontsrecommended-vl.spec 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2013-3:
  3. ## tlpdb2rpmspec collection-fontsrecommended
  4. %global _use_internal_dependency_generator 0
  5. %global __find_provides %{nil}
  6. %global __find_requires %{nil}
  7. Summary: TeX Live: Recommended fonts
  8. Summary(ja): TeX Live: Recommended fonts
  9. Name: texlive-collection-fontsrecommended
  10. Version: 2013
  11. Release: 3%{?_dist_release}
  12. License: GPL+, Freely redistributable without restriction, LPPL, BSD, OFSFLD, Public Domain
  13. Group: Applications/Publishing
  14. URL:http://www.tug.org/texlive/
  15. Source0: avantgar.tar.xz
  16. Source1: bookman.tar.xz
  17. Source2: charter.doc.tar.xz
  18. Source3: charter.tar.xz
  19. Source4: cm-super.doc.tar.xz
  20. Source5: cm-super.tar.xz
  21. Source6: cmextra.tar.xz
  22. Source7: courier.tar.xz
  23. Source8: euro.doc.tar.xz
  24. Source9: euro.source.tar.xz
  25. Source10: euro.tar.xz
  26. Source11: euro-ce.doc.tar.xz
  27. Source12: euro-ce.tar.xz
  28. Source13: eurosym.doc.tar.xz
  29. Source14: eurosym.tar.xz
  30. Source15: fpl.doc.tar.xz
  31. Source16: fpl.source.tar.xz
  32. Source17: fpl.tar.xz
  33. Source18: helvetic.tar.xz
  34. Source19: lm.doc.tar.xz
  35. Source20: lm.source.tar.xz
  36. Source21: lm.tar.xz
  37. Source22: lm-math.doc.tar.xz
  38. Source23: lm-math.tar.xz
  39. Source24: marvosym.doc.tar.xz
  40. Source25: marvosym.source.tar.xz
  41. Source26: marvosym.tar.xz
  42. Source27: mathpazo.doc.tar.xz
  43. Source28: mathpazo.source.tar.xz
  44. Source29: mathpazo.tar.xz
  45. Source30: ncntrsbk.tar.xz
  46. Source31: palatino.tar.xz
  47. Source32: pxfonts.doc.tar.xz
  48. Source33: pxfonts.tar.xz
  49. Source34: rsfs.doc.tar.xz
  50. Source35: rsfs.tar.xz
  51. Source36: symbol.tar.xz
  52. Source37: tex-gyre.doc.tar.xz
  53. Source38: tex-gyre.tar.xz
  54. Source39: tex-gyre-math.doc.tar.xz
  55. Source40: tex-gyre-math.tar.xz
  56. Source41: times.tar.xz
  57. Source42: tipa.doc.tar.xz
  58. Source43: tipa.tar.xz
  59. Source44: txfonts.doc.tar.xz
  60. Source45: txfonts.tar.xz
  61. Source46: utopia.doc.tar.xz
  62. Source47: utopia.tar.xz
  63. Source48: wasy.doc.tar.xz
  64. Source49: wasy.tar.xz
  65. Source50: wasysym.doc.tar.xz
  66. Source51: wasysym.source.tar.xz
  67. Source52: wasysym.tar.xz
  68. Source53: zapfchan.tar.xz
  69. Source54: zapfding.tar.xz
  70. Requires: texlive = %{version}
  71. Requires: texlive-collection-basic = %{version}
  72. Requires(post): texlive = %{version}
  73. Requires(postun): texlive = %{version}
  74. BuildArch: noarch
  75. Buildroot: %{_tmppath}/%{name}-%{version}-root
  76. Vendor: Project Vine
  77. Distribution: Vine Linux
  78. Packager: munepi
  79. %description
  80. The TeX Live software distribution offers a complete TeX system for a
  81. variety of Unix, Macintosh, Windows and other platforms. It
  82. encompasses programs for editing, typesetting, previewing and printing
  83. of TeX documents in many different languages, and a large collection
  84. of TeX macros and font libraries.
  85. The distribution includes extensive general documentation about TeX,
  86. as well as the documentation for the included software packages.
  87. This package is a collection of Recommended fonts:
  88. Recommended fonts, including the base 35 PostScript fonts,
  89. Latin Modern, TeX Gyre, and T1 and other encoding support for
  90. Computer Modern, in outline form.
  91. This package contains the following CTAN packages:
  92. avantgar: URW "Base 35" font pack for LaTeX.
  93. bookman: URW "Base 35" font pack for LaTeX.
  94. charter: Charter fonts.
  95. cm-super: CM-Super family of fonts
  96. cmextra:
  97. courier: URW "Base 35" font pack for LaTeX.
  98. euro: Provide Euro values for national currency amounts.
  99. euro-ce: Euro and CE sign font.
  100. eurosym: MetaFont and macros for Euro sign.
  101. fpl: SC and OsF fonts for URW Palladio L
  102. helvetic: URW "Base 35" font pack for LaTeX.
  103. lm: Latin modern fonts in outline formats.
  104. lm-math: OpenType maths fonts for Latin Modern.
  105. marvosym: Martin Vogel's Symbols (marvosym) font.
  106. mathpazo: Fonts to typeset mathematics to match Palatino.
  107. ncntrsbk: URW "Base 35" font pack for LaTeX.
  108. palatino: URW "Base 35" font pack for LaTeX.
  109. pxfonts: Palatino-like fonts in support of mathematics.
  110. rsfs: Ralph Smith's Formal Script font.
  111. symbol: URW "Base 35" font pack for LaTeX.
  112. tex-gyre: TeX Fonts extending freely available URW fonts.
  113. tex-gyre-math: Maths fonts to match tex-gyre text fonts.
  114. times: URW "Base 35" font pack for LaTeX.
  115. tipa: Fonts and macros for IPA phonetics characters.
  116. txfonts: Times-like fonts in support of mathematics.
  117. utopia: Adobe Utopia fonts.
  118. wasy: The wasy fonts (Waldi symbol fonts).
  119. wasysym: LaTeX support file to use the WASY2 fonts
  120. zapfchan: URW "Base 35" font pack for LaTeX.
  121. zapfding: URW "Base 35" font pack for LaTeX.
  122. %description -l ja
  123. TeX Live ソフトウェアディストリビューションは、
  124. さまざまな Unix, Macintosh, Windows、および
  125. 他のプラットホームに対して完全な TeX システムを提供します。
  126. 多くの異なった言語を含む TeX ドキュメントの
  127. 編集、組版、閲覧、印刷するためのプログラム、
  128. そして、TeX マクロやフォントライブラリの大きなコレクションを
  129. 同梱しています。
  130. このディストリビューションは
  131. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  132. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  133. このパッケージは以下のようなパッケージ集です。
  134. Recommended fonts:
  135. Recommended fonts, including the base 35 PostScript fonts,
  136. Latin Modern, TeX Gyre, and T1 and other encoding support for
  137. Computer Modern, in outline form.
  138. このパッケージは以下の CTAN パッケージを含んでいます:
  139. avantgar: URW "Base 35" font pack for LaTeX.
  140. bookman: URW "Base 35" font pack for LaTeX.
  141. charter: Charter fonts.
  142. cm-super: CM-Super family of fonts
  143. cmextra:
  144. courier: URW "Base 35" font pack for LaTeX.
  145. euro: Provide Euro values for national currency amounts.
  146. euro-ce: Euro and CE sign font.
  147. eurosym: MetaFont and macros for Euro sign.
  148. fpl: SC and OsF fonts for URW Palladio L
  149. helvetic: URW "Base 35" font pack for LaTeX.
  150. lm: Latin modern fonts in outline formats.
  151. lm-math: OpenType maths fonts for Latin Modern.
  152. marvosym: Martin Vogel's Symbols (marvosym) font.
  153. mathpazo: Fonts to typeset mathematics to match Palatino.
  154. ncntrsbk: URW "Base 35" font pack for LaTeX.
  155. palatino: URW "Base 35" font pack for LaTeX.
  156. pxfonts: Palatino-like fonts in support of mathematics.
  157. rsfs: Ralph Smith's Formal Script font.
  158. symbol: URW "Base 35" font pack for LaTeX.
  159. tex-gyre: TeX Fonts extending freely available URW fonts.
  160. tex-gyre-math: Maths fonts to match tex-gyre text fonts.
  161. times: URW "Base 35" font pack for LaTeX.
  162. tipa: Fonts and macros for IPA phonetics characters.
  163. txfonts: Times-like fonts in support of mathematics.
  164. utopia: Adobe Utopia fonts.
  165. wasy: The wasy fonts (Waldi symbol fonts).
  166. wasysym: LaTeX support file to use the WASY2 fonts
  167. zapfchan: URW "Base 35" font pack for LaTeX.
  168. zapfding: URW "Base 35" font pack for LaTeX.
  169. %package doc
  170. Summary: TeX Live: Documentation files of %{name}
  171. Group: Applications/Publishing
  172. Requires: %{name} = %{version}-%{release}
  173. %description doc
  174. This package contains documentation files of %{name}.
  175. %prep
  176. %setup -c -n %{name}-%{version}
  177. %__tar -xvf %{SOURCE1}
  178. %__tar -xvf %{SOURCE2}
  179. %__tar -xvf %{SOURCE3}
  180. %__tar -xvf %{SOURCE4}
  181. %__tar -xvf %{SOURCE5}
  182. %__tar -xvf %{SOURCE6}
  183. %__tar -xvf %{SOURCE7}
  184. %__tar -xvf %{SOURCE8}
  185. %__tar -xvf %{SOURCE9}
  186. %__tar -xvf %{SOURCE10}
  187. %__tar -xvf %{SOURCE11}
  188. %__tar -xvf %{SOURCE12}
  189. %__tar -xvf %{SOURCE13}
  190. %__tar -xvf %{SOURCE14}
  191. %__tar -xvf %{SOURCE15}
  192. %__tar -xvf %{SOURCE16}
  193. %__tar -xvf %{SOURCE17}
  194. %__tar -xvf %{SOURCE18}
  195. %__tar -xvf %{SOURCE19}
  196. %__tar -xvf %{SOURCE20}
  197. %__tar -xvf %{SOURCE21}
  198. %__tar -xvf %{SOURCE22}
  199. %__tar -xvf %{SOURCE23}
  200. %__tar -xvf %{SOURCE24}
  201. %__tar -xvf %{SOURCE25}
  202. %__tar -xvf %{SOURCE26}
  203. %__tar -xvf %{SOURCE27}
  204. %__tar -xvf %{SOURCE28}
  205. %__tar -xvf %{SOURCE29}
  206. %__tar -xvf %{SOURCE30}
  207. %__tar -xvf %{SOURCE31}
  208. %__tar -xvf %{SOURCE32}
  209. %__tar -xvf %{SOURCE33}
  210. %__tar -xvf %{SOURCE34}
  211. %__tar -xvf %{SOURCE35}
  212. %__tar -xvf %{SOURCE36}
  213. %__tar -xvf %{SOURCE37}
  214. %__tar -xvf %{SOURCE38}
  215. %__tar -xvf %{SOURCE39}
  216. %__tar -xvf %{SOURCE40}
  217. %__tar -xvf %{SOURCE41}
  218. %__tar -xvf %{SOURCE42}
  219. %__tar -xvf %{SOURCE43}
  220. %__tar -xvf %{SOURCE44}
  221. %__tar -xvf %{SOURCE45}
  222. %__tar -xvf %{SOURCE46}
  223. %__tar -xvf %{SOURCE47}
  224. %__tar -xvf %{SOURCE48}
  225. %__tar -xvf %{SOURCE49}
  226. %__tar -xvf %{SOURCE50}
  227. %__tar -xvf %{SOURCE51}
  228. %__tar -xvf %{SOURCE52}
  229. %__tar -xvf %{SOURCE53}
  230. %__tar -xvf %{SOURCE54}
  231. %build
  232. %install
  233. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  234. %__mkdir_p %{buildroot}%{_datadir}
  235. ## move texmf-dist to /usr/share/texmf-dist
  236. [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
  237. ## move texmf to /usr/share/texmf
  238. [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
  239. ## move tlpkg to /usr/share/tlpkg
  240. [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
  241. ## move all non-arch binaries to /usr/bin
  242. [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
  243. ## move others into /usr/share/texmf-dist
  244. %__mkdir_p %{buildroot}%{_tl_texmfdist}
  245. %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
  246. %__rm -rf * ||:
  247. ## remove duplicated files between texlive and texlive-collection-*
  248. ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
  249. ## remove unpacked files
  250. x=(
  251. scripts/texlive/tlmgr.pl
  252. texconfig/tcfmgr
  253. texconfig/tcfmgr.map
  254. web2c/fmtutil.cnf
  255. web2c/mktex.opt
  256. web2c/mktexdir
  257. web2c/mktexdir.opt
  258. web2c/mktexnam
  259. web2c/mktexnam.opt
  260. web2c/mktexupd
  261. web2c/texmf.cnf
  262. web2c/updmap.cfg
  263. web2c/updmap-hdr.cfg
  264. doc/chktex/ChkTeX.pdf
  265. install-tl
  266. )
  267. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  268. pushd %{buildroot}%{_tl_texmfdist}
  269. %__rm -f ${x[@]} ||:
  270. popd
  271. fi
  272. ## Files list
  273. find %{buildroot} -type f -or -type l | \
  274. %__sed -e "s|%{buildroot}||g" > filelist.full
  275. find %{buildroot}%{_tl_texmfdist} -type d | \
  276. %__sed -e "s|^%{buildroot}|%dir |" \
  277. -e "s|$|/|" >> filelist.full
  278. ## subpackages
  279. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  280. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  281. %__mv -f filelist.tmp filelist.full
  282. %clean
  283. %__rm -rf %{buildroot}
  284. %post
  285. %_tl_touch_run texhash
  286. %_tl_touch_run mtxrun
  287. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  288. %_tl_enable_map MixedMap cm-super-t1.map
  289. %_tl_enable_map MixedMap cm-super-t2a.map
  290. %_tl_enable_map MixedMap cm-super-t2b.map
  291. %_tl_enable_map MixedMap cm-super-t2c.map
  292. %_tl_enable_map MixedMap cm-super-ts1.map
  293. %_tl_enable_map MixedMap cm-super-x2.map
  294. %_tl_enable_map MixedMap eurosym.map
  295. %_tl_enable_map Map lm.map
  296. %_tl_enable_map Map marvosym.map
  297. %_tl_enable_map Map pxfonts.map
  298. %_tl_enable_map MixedMap rsfs.map
  299. %_tl_enable_map Map qag.map
  300. %_tl_enable_map Map qbk.map
  301. %_tl_enable_map Map qcr.map
  302. %_tl_enable_map Map qcs.map
  303. %_tl_enable_map Map qhv.map
  304. %_tl_enable_map Map qpl.map
  305. %_tl_enable_map Map qtm.map
  306. %_tl_enable_map Map qzc.map
  307. %_tl_enable_map MixedMap tipa.map
  308. %_tl_enable_map Map txfonts.map
  309. %_tl_enable_map MixedMap wasy.map
  310. exit 0
  311. %postun
  312. if [ "$1" = 0 ]; then
  313. %_tl_touch_run texhash
  314. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  315. %_tl_disable_map cm-super-t1.map
  316. %_tl_disable_map cm-super-t2a.map
  317. %_tl_disable_map cm-super-t2b.map
  318. %_tl_disable_map cm-super-t2c.map
  319. %_tl_disable_map cm-super-ts1.map
  320. %_tl_disable_map cm-super-x2.map
  321. %_tl_disable_map eurosym.map
  322. %_tl_disable_map lm.map
  323. %_tl_disable_map marvosym.map
  324. %_tl_disable_map pxfonts.map
  325. %_tl_disable_map rsfs.map
  326. %_tl_disable_map qag.map
  327. %_tl_disable_map qbk.map
  328. %_tl_disable_map qcr.map
  329. %_tl_disable_map qcs.map
  330. %_tl_disable_map qhv.map
  331. %_tl_disable_map qpl.map
  332. %_tl_disable_map qtm.map
  333. %_tl_disable_map qzc.map
  334. %_tl_disable_map tipa.map
  335. %_tl_disable_map txfonts.map
  336. %_tl_disable_map wasy.map
  337. fi
  338. exit 0
  339. %posttrans
  340. %{_tl_exec_texhash}
  341. %{_tl_exec_mtxrun}
  342. %{_tl_exec_updmap}
  343. %{_tl_exec_fmtutil}
  344. exit 0
  345. %files -f filelist.full
  346. %defattr(-,root,root,-)
  347. %files -f filelist.doc doc
  348. %defattr(-,root,root,-)
  349. %changelog
  350. * Wed Oct 2 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
  351. - TLNET 20131002
  352. * Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
  353. - TLNET 20130919
  354. * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
  355. - generated by tlpdb2rpmspec 2013-1: tlpdb2rpmspec collection-fontsrecommended
  356. - TLNET 20130823