texlive-collection-fontsrecommended-vl.spec 12 KB

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