texlive-collection-fontutils-vl.spec 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2014-1:
  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: 2014
  11. Release: 1%{?_dist_release}
  12. License: GPL+, Artistic, Freely redistributable without restriction, LPPL, GPLv2+, Public Domain
  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: ps2pkm.doc.tar.xz
  29. Source14: ps2pkm.tar.xz
  30. Source15: pstools.doc.tar.xz
  31. Source16: pstools.tar.xz
  32. Source17: psutils.doc.tar.xz
  33. Source18: psutils.tar.xz
  34. Source19: dvipsconfig.tar.xz
  35. Source20: fontinst.doc.tar.xz
  36. Source21: fontinst.source.tar.xz
  37. Source22: fontinst.tar.xz
  38. Source23: fontools.doc.tar.xz
  39. Source24: fontools.tar.xz
  40. Source25: mf2pt1.doc.tar.xz
  41. Source26: mf2pt1.tar.xz
  42. Source27: t1utils.doc.tar.xz
  43. Source28: t1utils.tar.xz
  44. Source29: ttfutils.doc.tar.xz
  45. Source30: ttfutils.tar.xz
  46. Requires: texlive = %{version}
  47. Requires: texlive-collection-basic = %{version}
  48. Requires: lcdf-typetools
  49. Requires: psutils
  50. Requires: t1utils
  51. Requires(post): texlive = %{version}
  52. Requires(postun): texlive = %{version}
  53. BuildArch: noarch
  54. Buildroot: %{_tmppath}/%{name}-%{version}-root
  55. Vendor: Project Vine
  56. Distribution: Vine Linux
  57. Packager: munepi
  58. %description
  59. The TeX Live software distribution offers a complete TeX system for a
  60. variety of Unix, Macintosh, Windows and other platforms. It
  61. encompasses programs for editing, typesetting, previewing and printing
  62. of TeX documents in many different languages, and a large collection
  63. of TeX macros and font libraries.
  64. The distribution includes extensive general documentation about TeX,
  65. as well as the documentation for the included software packages.
  66. This package is a collection of Graphics and font utilities:
  67. Programs for conversion between font formats, testing fonts,
  68. virtual fonts, .gf and .pk manipulation, mft, fontinst, etc.
  69. Manipulating OpenType, TrueType, Type 1,and for manipulation of
  70. PostScript and other image formats.
  71. This package contains the following CTAN packages:
  72. accfonts: Utilities to derive new fonts from existing ones.
  73. afm2pl:
  74. dosepsbin: Deal with DOS binary EPS files.
  75. epstopdf: Convert EPS to 'encapsulated' PDF using GhostScript.
  76. fontware:
  77. lcdftypetools: A bundle of outline font manipulation tools.
  78. ps2pkm: Generate a PK font from an Adobe Type 1 font.
  79. pstools: Produce Encapsulated PostScript from PostScript.
  80. psutils: PostScript utilities.
  81. dvipsconfig: Collection of dvips PostScript headers.
  82. fontinst: Help with installing fonts for TeX and LaTeX.
  83. fontools: Tools to simplify using fonts (especially TT/OTF ones).
  84. mf2pt1: Produce PostScript Type 1 fonts from Metafont source.
  85. t1utils: Simple Type 1 font manipulation programs.
  86. ttfutils:
  87. %description -l ja
  88. TeX Live ソフトウェアディストリビューションは、
  89. さまざまな Unix, Macintosh, Windows、および
  90. 他のプラットホームに対して完全な TeX システムを提供します。
  91. 多くの異なった言語を含む TeX ドキュメントの
  92. 編集、組版、閲覧、印刷するためのプログラム、
  93. そして、TeX マクロやフォントライブラリの大きなコレクションを
  94. 同梱しています。
  95. このディストリビューションは
  96. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  97. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  98. このパッケージは以下のようなパッケージ集です。
  99. Graphics and font utilities:
  100. Programs for conversion between font formats, testing fonts,
  101. virtual fonts, .gf and .pk manipulation, mft, fontinst, etc.
  102. Manipulating OpenType, TrueType, Type 1,and for manipulation of
  103. PostScript and other image formats.
  104. このパッケージは以下の CTAN パッケージを含んでいます:
  105. accfonts: Utilities to derive new fonts from existing ones.
  106. afm2pl:
  107. dosepsbin: Deal with DOS binary EPS files.
  108. epstopdf: Convert EPS to 'encapsulated' PDF using GhostScript.
  109. fontware:
  110. lcdftypetools: A bundle of outline font manipulation tools.
  111. ps2pkm: Generate a PK font from an Adobe Type 1 font.
  112. pstools: Produce Encapsulated PostScript from PostScript.
  113. psutils: PostScript utilities.
  114. dvipsconfig: Collection of dvips PostScript headers.
  115. fontinst: Help with installing fonts for TeX and LaTeX.
  116. fontools: Tools to simplify using fonts (especially TT/OTF ones).
  117. mf2pt1: Produce PostScript Type 1 fonts from Metafont source.
  118. t1utils: Simple Type 1 font manipulation programs.
  119. ttfutils:
  120. %package doc
  121. Summary: TeX Live: Documentation files of %{name}
  122. Group: Applications/Publishing
  123. Requires: %{name} = %{version}-%{release}
  124. %description doc
  125. This package contains documentation files of %{name}.
  126. %prep
  127. %setup -c -n %{name}-%{version}
  128. %__tar -xvf %{SOURCE1}
  129. %__tar -xvf %{SOURCE2}
  130. %__tar -xvf %{SOURCE3}
  131. %__tar -xvf %{SOURCE4}
  132. %__tar -xvf %{SOURCE5}
  133. %__tar -xvf %{SOURCE6}
  134. %__tar -xvf %{SOURCE7}
  135. %__tar -xvf %{SOURCE8}
  136. %__tar -xvf %{SOURCE9}
  137. %__tar -xvf %{SOURCE10}
  138. %__tar -xvf %{SOURCE11}
  139. %__tar -xvf %{SOURCE12}
  140. %__tar -xvf %{SOURCE13}
  141. %__tar -xvf %{SOURCE14}
  142. %__tar -xvf %{SOURCE15}
  143. %__tar -xvf %{SOURCE16}
  144. %__tar -xvf %{SOURCE17}
  145. %__tar -xvf %{SOURCE18}
  146. %__tar -xvf %{SOURCE19}
  147. %__tar -xvf %{SOURCE20}
  148. %__tar -xvf %{SOURCE21}
  149. %__tar -xvf %{SOURCE22}
  150. %__tar -xvf %{SOURCE23}
  151. %__tar -xvf %{SOURCE24}
  152. %__tar -xvf %{SOURCE25}
  153. %__tar -xvf %{SOURCE26}
  154. %__tar -xvf %{SOURCE27}
  155. %__tar -xvf %{SOURCE28}
  156. %__tar -xvf %{SOURCE29}
  157. %__tar -xvf %{SOURCE30}
  158. %build
  159. %install
  160. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  161. %__mkdir_p %{buildroot}%{_datadir}
  162. ## move texmf-dist to /usr/share/texmf-dist
  163. [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
  164. ## move texmf to /usr/share/texmf
  165. [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
  166. ## move tlpkg to /usr/share/tlpkg
  167. [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
  168. ## move all non-arch binaries to /usr/bin
  169. [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
  170. ## move others into /usr/share/texmf-dist
  171. %__mkdir_p %{buildroot}%{_tl_texmfdist}
  172. %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
  173. %__rm -rf * ||:
  174. ## remove duplicated files between texlive and texlive-collection-*
  175. ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
  176. ## remove unpacked files
  177. x=(
  178. # scripts/texlive/tlmgr.pl
  179. # scripts/texlive/updmap.pl
  180. # scripts/fontools/autoinst
  181. # scripts/glossaries/makeglossaries
  182. # scripts/m-tx/m-tx.lua
  183. # scripts/musixtex/musixtex.lua
  184. # scripts/pmx/pmx2pdf.lua
  185. # scripts/latexmk/latexmk.pl
  186. # scripts/jfontmaps/kanji-config-updmap.pl
  187. # scripts/jfontmaps/kanji-fontmap-creator.pl
  188. # scripts/latexpand/latexpand
  189. # scripts/epstopdf/epstopdf.pl
  190. # scripts/convbkmk/convbkmk.rb
  191. # scripts/jfontmaps/kanji-config-updmap-sys.sh
  192. # scripts/luaotfload/luaotfload-tool.lua
  193. # texconfig/tcfmgr
  194. # texconfig/tcfmgr.map
  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.cfg
  204. # web2c/updmap-hdr.cfg
  205. # doc/chktex/ChkTeX.pdf
  206. install-tl
  207. )
  208. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  209. pushd %{buildroot}%{_tl_texmfdist}
  210. %__rm -f ${x[@]} ||:
  211. popd
  212. fi
  213. ## Files list
  214. find %{buildroot} -type f -or -type l | \
  215. %__sed -e "s|%{buildroot}||g" > filelist.full
  216. find %{buildroot}%{_tl_texmfdist} -type d | \
  217. %__sed -e "s|^%{buildroot}|%dir |" \
  218. -e "s|$|/|" >> filelist.full
  219. ## subpackages
  220. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  221. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  222. %__mv -f filelist.tmp filelist.full
  223. %clean
  224. %__rm -rf %{buildroot}
  225. %post
  226. %_tl_touch_run texhash
  227. %_tl_touch_run mtxrun
  228. exit 0
  229. %postun
  230. if [ "$1" = 0 ]; then
  231. %_tl_touch_run texhash
  232. fi
  233. exit 0
  234. %posttrans
  235. %{_tl_exec_texhash}
  236. %{_tl_exec_mtxrun}
  237. %{_tl_exec_updmap}
  238. %{_tl_exec_fmtutil}
  239. exit 0
  240. %files -f filelist.full
  241. %defattr(-,root,root,-)
  242. %files -f filelist.doc doc
  243. %defattr(-,root,root,-)
  244. %changelog
  245. * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
  246. - TLNET 20140524