texlive-collection-fontutils-vl.spec 8.2 KB

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