texlive-collection-fontutils-vl.spec 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2013-2:
  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: 2%{?_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. texconfig/tcfmgr
  177. texconfig/tcfmgr.map
  178. web2c/fmtutil.cnf
  179. web2c/mktex.opt
  180. web2c/mktexdir
  181. web2c/mktexdir.opt
  182. web2c/mktexnam
  183. web2c/mktexnam.opt
  184. web2c/mktexupd
  185. web2c/texmf.cnf
  186. web2c/updmap.cfg
  187. web2c/updmap-hdr.cfg
  188. doc/chktex/ChkTeX.pdf
  189. install-tl
  190. )
  191. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  192. pushd %{buildroot}%{_tl_texmfdist}
  193. %__rm -f ${x[@]} ||:
  194. popd
  195. fi
  196. ## Files list
  197. find %{buildroot} -type f -or -type l | \
  198. %__sed -e "s|%{buildroot}||g" > filelist.full
  199. find %{buildroot}%{_tl_texmfdist} -type d | \
  200. %__sed -e "s|^%{buildroot}|%dir |" \
  201. -e "s|$|/|" >> filelist.full
  202. ## subpackages
  203. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  204. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  205. %__mv -f filelist.tmp filelist.full
  206. %clean
  207. %__rm -rf %{buildroot}
  208. %post
  209. %_tl_touch_run texhash
  210. %_tl_touch_run mtxrun
  211. exit 0
  212. %postun
  213. if [ "$1" = 0 ]; then
  214. %_tl_touch_run texhash
  215. fi
  216. exit 0
  217. %posttrans
  218. %{_tl_exec_texhash}
  219. %{_tl_exec_mtxrun}
  220. %{_tl_exec_updmap}
  221. %{_tl_exec_fmtutil}
  222. exit 0
  223. %files -f filelist.full
  224. %defattr(-,root,root,-)
  225. %files -f filelist.doc doc
  226. %defattr(-,root,root,-)
  227. %changelog
  228. * Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
  229. - TLNET 20130919
  230. * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
  231. - generated by tlpdb2rpmspec 2013-1: tlpdb2rpmspec collection-fontutils
  232. - TLNET 20130823