texlive-collection-fontutils-vl.spec 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2015-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: 2015
  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: ps2pk.doc.tar.xz
  29. Source14: ps2pk.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. ps2pk: 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. ps2pk: 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/texconfig-dialog.sh
  179. scripts/texlive/texconfig-sys.sh
  180. scripts/texlive/texconfig.sh
  181. scripts/texlive/texlinks.sh
  182. scripts/texlive/tlmgr.pl
  183. texconfig/tcfmgr
  184. web2c/mktex.opt
  185. web2c/mktexdir
  186. web2c/mktexdir.opt
  187. web2c/mktexnam
  188. web2c/mktexnam.opt
  189. web2c/mktexupd
  190. web2c/texmf.cnf
  191. web2c/updmap-hdr.cfg
  192. web2c/updmap.cfg
  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