texlive-collection-fontutils-vl.spec 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2015-4:
  3. ## tlpdb2rpmspec collection-fontutils
  4. %global _use_internal_dependency_generator 0
  5. %global __find_provides %{nil}
  6. %global __find_requires %{nil}
  7. Summary: TeX Live: Graphics and font utilities
  8. Summary(ja): TeX Live: Graphics and font utilities
  9. Name: texlive-collection-fontutils
  10. Version: 2015
  11. Release: 4%{?_dist_release}
  12. License: GPL+, Artistic, Freely redistributable without restriction, Public Domain, LPPL, GPLv2+
  13. Group: Applications/Publishing
  14. URL:http://www.tug.org/texlive/
  15. Source0: accfonts.doc.tar.xz
  16. Source1: accfonts.tar.xz
  17. Source2: afm2pl.doc.tar.xz
  18. Source3: afm2pl.tar.xz
  19. Source4: dosepsbin.doc.tar.xz
  20. Source5: dosepsbin.source.tar.xz
  21. Source6: dosepsbin.tar.xz
  22. Source7: epstopdf.doc.tar.xz
  23. Source8: epstopdf.tar.xz
  24. Source9: fontware.doc.tar.xz
  25. Source10: fontware.tar.xz
  26. Source11: lcdftypetools.doc.tar.xz
  27. Source12: lcdftypetools.tar.xz
  28. Source13: metatype1.source.tar.xz
  29. Source14: metatype1.tar.xz
  30. Source15: ps2pk.doc.tar.xz
  31. Source16: ps2pk.tar.xz
  32. Source17: pstools.doc.tar.xz
  33. Source18: pstools.tar.xz
  34. Source19: psutils.doc.tar.xz
  35. Source20: psutils.tar.xz
  36. Source21: dvipsconfig.tar.xz
  37. Source22: fontinst.doc.tar.xz
  38. Source23: fontinst.source.tar.xz
  39. Source24: fontinst.tar.xz
  40. Source25: fontools.doc.tar.xz
  41. Source26: fontools.tar.xz
  42. Source27: mf2pt1.doc.tar.xz
  43. Source28: mf2pt1.tar.xz
  44. Source29: t1utils.doc.tar.xz
  45. Source30: t1utils.tar.xz
  46. Source31: ttfutils.doc.tar.xz
  47. Source32: ttfutils.tar.xz
  48. Requires: texlive = %{version}
  49. Requires: texlive-collection-basic = %{version}
  50. Requires: lcdf-typetools
  51. Requires: psutils
  52. Requires: t1utils
  53. Requires(post): texlive = %{version}
  54. Requires(postun): texlive = %{version}
  55. BuildArch: noarch
  56. Buildroot: %{_tmppath}/%{name}-%{version}-root
  57. Vendor: Project Vine
  58. Distribution: Vine Linux
  59. Packager: munepi
  60. %description
  61. The TeX Live software distribution offers a complete TeX system for a
  62. variety of Unix, Macintosh, Windows and other platforms. It
  63. encompasses programs for editing, typesetting, previewing and printing
  64. of TeX documents in many different languages, and a large collection
  65. of TeX macros and font libraries.
  66. The distribution includes extensive general documentation about TeX,
  67. as well as the documentation for the included software packages.
  68. This package is a collection of Graphics and font utilities:
  69. Programs for conversion between font formats, testing fonts,
  70. virtual fonts, .gf and .pk manipulation, mft, fontinst, etc.
  71. Manipulating OpenType, TrueType, Type 1,and for manipulation of
  72. PostScript and other image formats.
  73. This package contains the following CTAN packages:
  74. accfonts: Utilities to derive new fonts from existing ones.
  75. afm2pl:
  76. dosepsbin: Deal with DOS binary EPS files.
  77. epstopdf: Convert EPS to 'encapsulated' PDF using Ghostscript.
  78. fontware:
  79. lcdftypetools: A bundle of outline font manipulation tools.
  80. metatype1: Generate Type 1 fonts from MetaPost.
  81. ps2pk: Generate a PK font from an Adobe Type 1 font.
  82. pstools: Produce Encapsulated PostScript from PostScript.
  83. psutils: PostScript utilities.
  84. dvipsconfig: Collection of dvips PostScript headers.
  85. fontinst: Help with installing fonts for TeX and LaTeX.
  86. fontools: Tools to simplify using fonts (especially TT/OTF ones)
  87. mf2pt1: Produce PostScript Type 1 fonts from Metafont source.
  88. t1utils: Simple Type 1 font manipulation programs.
  89. ttfutils:
  90. %description -l ja
  91. TeX Live ソフトウェアディストリビューションは、
  92. さまざまな Unix, Macintosh, Windows、および
  93. 他のプラットホームに対して完全な TeX システムを提供します。
  94. 多くの異なった言語を含む TeX ドキュメントの
  95. 編集、組版、閲覧、印刷するためのプログラム、
  96. そして、TeX マクロやフォントライブラリの大きなコレクションを
  97. 同梱しています。
  98. このディストリビューションは
  99. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  100. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  101. このパッケージは以下のようなパッケージ集です。
  102. Graphics and font utilities:
  103. Programs for conversion between font formats, testing fonts,
  104. virtual fonts, .gf and .pk manipulation, mft, fontinst, etc.
  105. Manipulating OpenType, TrueType, Type 1,and for manipulation of
  106. PostScript and other image formats.
  107. このパッケージは以下の CTAN パッケージを含んでいます:
  108. accfonts: Utilities to derive new fonts from existing ones.
  109. afm2pl:
  110. dosepsbin: Deal with DOS binary EPS files.
  111. epstopdf: Convert EPS to 'encapsulated' PDF using Ghostscript.
  112. fontware:
  113. lcdftypetools: A bundle of outline font manipulation tools.
  114. metatype1: Generate Type 1 fonts from MetaPost.
  115. ps2pk: Generate a PK font from an Adobe Type 1 font.
  116. pstools: Produce Encapsulated PostScript from PostScript.
  117. psutils: PostScript utilities.
  118. dvipsconfig: Collection of dvips PostScript headers.
  119. fontinst: Help with installing fonts for TeX and LaTeX.
  120. fontools: Tools to simplify using fonts (especially TT/OTF ones)
  121. mf2pt1: Produce PostScript Type 1 fonts from Metafont source.
  122. t1utils: Simple Type 1 font manipulation programs.
  123. ttfutils:
  124. %package doc
  125. Summary: TeX Live: Documentation files of %{name}
  126. Group: Applications/Publishing
  127. Requires: %{name} = %{version}-%{release}
  128. %description doc
  129. This package contains documentation files of %{name}.
  130. %prep
  131. %setup -c -n %{name}-%{version}
  132. %__tar -xvf %{SOURCE1}
  133. %__tar -xvf %{SOURCE2}
  134. %__tar -xvf %{SOURCE3}
  135. %__tar -xvf %{SOURCE4}
  136. %__tar -xvf %{SOURCE5}
  137. %__tar -xvf %{SOURCE6}
  138. %__tar -xvf %{SOURCE7}
  139. %__tar -xvf %{SOURCE8}
  140. %__tar -xvf %{SOURCE9}
  141. %__tar -xvf %{SOURCE10}
  142. %__tar -xvf %{SOURCE11}
  143. %__tar -xvf %{SOURCE12}
  144. %__tar -xvf %{SOURCE13}
  145. %__tar -xvf %{SOURCE14}
  146. %__tar -xvf %{SOURCE15}
  147. %__tar -xvf %{SOURCE16}
  148. %__tar -xvf %{SOURCE17}
  149. %__tar -xvf %{SOURCE18}
  150. %__tar -xvf %{SOURCE19}
  151. %__tar -xvf %{SOURCE20}
  152. %__tar -xvf %{SOURCE21}
  153. %__tar -xvf %{SOURCE22}
  154. %__tar -xvf %{SOURCE23}
  155. %__tar -xvf %{SOURCE24}
  156. %__tar -xvf %{SOURCE25}
  157. %__tar -xvf %{SOURCE26}
  158. %__tar -xvf %{SOURCE27}
  159. %__tar -xvf %{SOURCE28}
  160. %__tar -xvf %{SOURCE29}
  161. %__tar -xvf %{SOURCE30}
  162. %__tar -xvf %{SOURCE31}
  163. %__tar -xvf %{SOURCE32}
  164. %build
  165. %install
  166. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  167. %__mkdir_p %{buildroot}%{_datadir}
  168. ## move texmf-dist to /usr/share/texmf-dist
  169. [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
  170. ## move texmf to /usr/share/texmf
  171. [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
  172. ## move tlpkg to /usr/share/tlpkg
  173. [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
  174. ## move all non-arch binaries to /usr/bin
  175. [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
  176. ## move others into /usr/share/texmf-dist
  177. %__mkdir_p %{buildroot}%{_tl_texmfdist}
  178. %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
  179. %__rm -rf * ||:
  180. ## remove duplicated files between texlive and texlive-collection-*
  181. ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
  182. ## remove unpacked files
  183. x=(
  184. dvipdfmx/dvipdfmx.cfg
  185. scripts/context/stubs/unix/mtxrun
  186. scripts/ptex2pdf/ptex2pdf.lua
  187. scripts/texlive/fmtutil.pl
  188. scripts/texlive/texconfig-dialog.sh
  189. scripts/texlive/texconfig-sys.sh
  190. scripts/texlive/texconfig.sh
  191. scripts/texlive/texlinks.sh
  192. scripts/texlive/tlmgr.pl
  193. scripts/texlive/updmap.pl
  194. texconfig/tcfmgr
  195. web2c/fmtutil.cnf
  196. web2c/mktex.opt
  197. web2c/mktexdir
  198. web2c/mktexdir.opt
  199. web2c/mktexnam
  200. web2c/mktexnam.opt
  201. web2c/mktexupd
  202. web2c/texmf.cnf
  203. web2c/updmap-hdr.cfg
  204. web2c/updmap.cfg
  205. install-tl
  206. #
  207. scripts/cjk-gs-integrate/cjk-gs-integrate.pl #texlive-collection-langcjk-2015-3vl7.noarch
  208. scripts/epspdf/epspdf.tlu #texlive-collection-pictures-2015-3vl7.noarch
  209. scripts/epspdf/epspdftk.tcl #texlive-collection-pictures-2015-3vl7.noarch
  210. scripts/glossaries/makeglossaries #texlive-collection-latexextra-2015-3vl7.noarch
  211. scripts/jfontmaps/kanji-config-updmap.pl #texlive-collection-langjapanese-2015-3vl7.noarch
  212. scripts/jfontmaps/kanji-fontmap-creator.pl #texlive-collection-langjapanese-2015-3vl7.noarch
  213. scripts/kotex-utils/jamo-normalize.pl #texlive-collection-langkorean-2015-3vl7.noarch
  214. scripts/kotex-utils/komkindex.pl #texlive-collection-langkorean-2015-3vl7.noarch
  215. scripts/crossrefware/ltx2crossrefxml.pl #texlive-collection-bibtexextra-2015-3vl7.noarch
  216. scripts/rubik/rubikrotation.pl #texlive-collection-games-2015-3vl7.noarch
  217. scripts/musixtex/musixtex.lua #texlive-collection-music-2015-3vl7.noarch
  218. scripts/pmxchords/pmxchords.lua #texlive-collection-music-2015-3vl7.noarch
  219. scripts/ctanify/ctanify #texlive-collection-binextra-2015-3vl7.noarch
  220. scripts/dtxgen/dtxgen #texlive-collection-binextra-2015-3vl7.noarch
  221. scripts/findhyph/findhyph #texlive-collection-binextra-2015-3vl7.noarch
  222. scripts/latexpand/latexpand #texlive-collection-binextra-2015-3vl7.noarch
  223. scripts/ltxfileinfo/ltxfileinfo #texlive-collection-binextra-2015-3vl7.noarch
  224. scripts/latexdiff/latexdiff-vc.pl #texlive-collection-binextra-2015-3vl7.noarch
  225. scripts/latexdiff/latexdiff.pl #texlive-collection-binextra-2015-3vl7.noarch
  226. scripts/texfot/texfot.pl #texlive-collection-binextra-2015-3vl7.noarch
  227. scripts/fontools/autoinst #texlive-collection-fontutils-2015-3vl7.noarch
  228. scripts/luaotfload/luaotfload-tool.lua #texlive-collection-luatex-2015-3vl7.noarch
  229. )
  230. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  231. pushd %{buildroot}%{_tl_texmfdist}
  232. %__rm -f ${x[@]} ||:
  233. popd
  234. fi
  235. ## Files list
  236. find %{buildroot} -type f -or -type l | \
  237. %__sed -e "s|%{buildroot}||g" > filelist.full
  238. find %{buildroot}%{_tl_texmfdist} -type d | \
  239. %__sed -e "s|^%{buildroot}|%dir |" \
  240. -e "s|$|/|" >> filelist.full
  241. ## subpackages
  242. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  243. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  244. %__mv -f filelist.tmp filelist.full
  245. %clean
  246. %__rm -rf %{buildroot}
  247. %post
  248. %_tl_touch_run texhash
  249. %_tl_touch_run mtxrun
  250. exit 0
  251. %postun
  252. if [ "$1" = 0 ]; then
  253. %_tl_touch_run texhash
  254. fi
  255. exit 0
  256. %posttrans
  257. %{_tl_exec_texhash}
  258. %{_tl_exec_mtxrun}
  259. %{_tl_exec_updmap}
  260. %{_tl_exec_fmtutil}
  261. exit 0
  262. %files -f filelist.full
  263. %defattr(-,root,root,-)
  264. %files -f filelist.doc doc
  265. %defattr(-,root,root,-)
  266. %changelog
  267. * Wed Jan 13 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-4
  268. - remove duplicated files from texlive-collection-*
  269. - synced tlnet to 20160113 (TeX Live 2015)
  270. * Sun Jan 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-3
  271. - TeX Live 2016/dev
  272. - synced tlnet to 20160110 (TeX Live 2016/dev)
  273. * Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
  274. - TeX Live 2015/pretest
  275. - synced tlnet to 20150522 (TeX Live 2015/pretest)
  276. * Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
  277. - TeX Live 2015/pretest
  278. - synced tlnet to 20150426 (TeX Live 2015/pretest)
  279. * Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
  280. - synced tlnet to 20150401
  281. * Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
  282. - synced tlnet to 20141028
  283. * Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
  284. - synced tlnet to 20140706
  285. * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
  286. - upgraded to TeX Live 2014
  287. * Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
  288. - synced tlnet to 20140406
  289. * Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
  290. - synced tlnet to 20131218
  291. * Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
  292. - synced tlnet to 20131101
  293. * Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
  294. - synced tlnet to 20131002
  295. * Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
  296. - synced tlnet to 20130919
  297. * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
  298. - upgraded to TeX Live 2013
  299. - used tlnet archives
  300. - synced tlnet to 20130823
  301. - added macros.texlive
  302. * Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
  303. - updated to TeX Live 2012
  304. * Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
  305. - updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
  306. - set external dependencies (texlive-collection-binextra,
  307. texlive-collection-fontutils)
  308. * Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
  309. - updated to TeX Live 2011
  310. - merged texlive-vtlpkg-2009-osx.patch from OSXWS
  311. - added %doc README (%files)
  312. * Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
  313. - applied texlive-vtlpkg-2009-vine.patch
  314. - remove arch dependent binaries
  315. - updated tlpdb2rpmspec.sh.in:
  316. - improved tlpdb4a()
  317. - make symlinks of core script utils (texlive-collection-binextra,
  318. texlive-collection-context, texlive-collection-fontutils,
  319. texlive-collection-langgreek, texlive-collection-langindic,
  320. texlive-collection-latex, texlive-collection-latexextra,
  321. texlive-collection-latexrecommended, texlive-collection-pictures,
  322. texlive-collection-pstricks, texlive-collection-science)
  323. * Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
  324. - updated tlpdb2rpmspec.sh.in:
  325. - improved %post
  326. * Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
  327. - updated tlpdb2rpmspec.sh.in:
  328. - removed arch dependent binaries (texlive-collection-latexextra)
  329. - improved updmap process in %post and %postun
  330. - fixed perl path
  331. * Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
  332. - initial build