texlive-collection-langgreek-vl.spec 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2014-1:
  3. ## tlpdb2rpmspec collection-langgreek
  4. %global _use_internal_dependency_generator 0
  5. %global __find_provides %{nil}
  6. %global __find_requires %{nil}
  7. Summary: TeX Live: Greek
  8. Summary(ja): TeX Live: Greek
  9. Name: texlive-collection-langgreek
  10. Version: 2014
  11. Release: 1%{?_dist_release}
  12. License: LPPL 1.3, LPPL, Freely redistributable without restriction, Public Domain, GPL+, GPLv2+
  13. Group: Applications/Publishing
  14. URL:http://www.tug.org/texlive/
  15. Source0: babel-greek.doc.tar.xz
  16. Source1: babel-greek.source.tar.xz
  17. Source2: babel-greek.tar.xz
  18. Source3: betababel.doc.tar.xz
  19. Source4: betababel.tar.xz
  20. Source5: bgreek.doc.tar.xz
  21. Source6: bgreek.tar.xz
  22. Source7: cbfonts.doc.tar.xz
  23. Source8: cbfonts.tar.xz
  24. Source9: cbfonts-fd.doc.tar.xz
  25. Source10: cbfonts-fd.source.tar.xz
  26. Source11: cbfonts-fd.tar.xz
  27. Source12: gfsbaskerville.doc.tar.xz
  28. Source13: gfsbaskerville.tar.xz
  29. Source14: gfsporson.doc.tar.xz
  30. Source15: gfsporson.tar.xz
  31. Source16: greek-fontenc.doc.tar.xz
  32. Source17: greek-fontenc.tar.xz
  33. Source18: greek-inputenc.doc.tar.xz
  34. Source19: greek-inputenc.tar.xz
  35. Source20: greekdates.doc.tar.xz
  36. Source21: greekdates.source.tar.xz
  37. Source22: greekdates.tar.xz
  38. Source23: greektex.doc.tar.xz
  39. Source24: greektex.tar.xz
  40. Source25: hyphen-greek.doc.tar.xz
  41. Source26: hyphen-greek.tar.xz
  42. Source27: hyphen-ancientgreek.tar.xz
  43. Source28: ibycus-babel.doc.tar.xz
  44. Source29: ibycus-babel.source.tar.xz
  45. Source30: ibycus-babel.tar.xz
  46. Source31: ibygrk.doc.tar.xz
  47. Source32: ibygrk.tar.xz
  48. Source33: kerkis.doc.tar.xz
  49. Source34: kerkis.tar.xz
  50. Source35: levy.doc.tar.xz
  51. Source36: levy.tar.xz
  52. Source37: lgreek.doc.tar.xz
  53. Source38: lgreek.tar.xz
  54. Source39: mkgrkindex.doc.tar.xz
  55. Source40: mkgrkindex.tar.xz
  56. Source41: teubner.doc.tar.xz
  57. Source42: teubner.source.tar.xz
  58. Source43: teubner.tar.xz
  59. Source44: xgreek.doc.tar.xz
  60. Source45: xgreek.source.tar.xz
  61. Source46: xgreek.tar.xz
  62. Source47: yannisgr.doc.tar.xz
  63. Source48: yannisgr.tar.xz
  64. Requires: texlive = %{version}
  65. Requires: texlive-collection-basic = %{version}
  66. Requires(post): texlive = %{version}
  67. Requires(postun): texlive = %{version}
  68. BuildArch: noarch
  69. Buildroot: %{_tmppath}/%{name}-%{version}-root
  70. Vendor: Project Vine
  71. Distribution: Vine Linux
  72. Packager: munepi
  73. %description
  74. The TeX Live software distribution offers a complete TeX system for a
  75. variety of Unix, Macintosh, Windows and other platforms. It
  76. encompasses programs for editing, typesetting, previewing and printing
  77. of TeX documents in many different languages, and a large collection
  78. of TeX macros and font libraries.
  79. The distribution includes extensive general documentation about TeX,
  80. as well as the documentation for the included software packages.
  81. This package is a collection of Greek:
  82. Support for Greek.
  83. This package contains the following CTAN packages:
  84. babel-greek: Babel support for documents written in Greek.
  85. betababel: Insert ancient greek text coded in Beta Code.
  86. bgreek: Using Beccari's fonts in betacode for classical Greek.
  87. cbfonts: Complete set of Greek fonts.
  88. cbfonts-fd: LaTeX font description files for the CB Greek fonts.
  89. gfsbaskerville: A Greek font, from one such by Baskerville.
  90. gfsporson: A Greek font, originally from Porson.
  91. greek-fontenc: LICR macros and encoding definition files for Greek.
  92. greek-inputenc: Greek encoding support for inputenc.
  93. greekdates: Provides ancient Greek day and month names, dates, etc.
  94. greektex: Fonts for typesetting Greek/English documents.
  95. hyphen-greek: Modern Greek hyphenation patterns.
  96. hyphen-ancientgreek: Ancient Greek hyphenation patterns.
  97. ibycus-babel: Use the Ibycus 4 Greek font with Babel
  98. ibygrk: Fonts and macros to typeset ancient Greek.
  99. kerkis: Kerkis (Greek) font family.
  100. levy: Fonts for typesetting classical greek.
  101. lgreek: LaTeX macros for using Silvio Levy's Greek fonts.
  102. mkgrkindex: Makeindex working with Greek.
  103. teubner: Philological typesetting of classical Greek.
  104. xgreek: XeLaTeX package for typesetting Greek language documents (beta release).
  105. yannisgr: Greek fonts by Yannis Haralambous.
  106. %description -l ja
  107. TeX Live ソフトウェアディストリビューションは、
  108. さまざまな Unix, Macintosh, Windows、および
  109. 他のプラットホームに対して完全な TeX システムを提供します。
  110. 多くの異なった言語を含む TeX ドキュメントの
  111. 編集、組版、閲覧、印刷するためのプログラム、
  112. そして、TeX マクロやフォントライブラリの大きなコレクションを
  113. 同梱しています。
  114. このディストリビューションは
  115. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  116. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  117. このパッケージは以下のようなパッケージ集です。
  118. Greek:
  119. Support for Greek.
  120. このパッケージは以下の CTAN パッケージを含んでいます:
  121. babel-greek: Babel support for documents written in Greek.
  122. betababel: Insert ancient greek text coded in Beta Code.
  123. bgreek: Using Beccari's fonts in betacode for classical Greek.
  124. cbfonts: Complete set of Greek fonts.
  125. cbfonts-fd: LaTeX font description files for the CB Greek fonts.
  126. gfsbaskerville: A Greek font, from one such by Baskerville.
  127. gfsporson: A Greek font, originally from Porson.
  128. greek-fontenc: LICR macros and encoding definition files for Greek.
  129. greek-inputenc: Greek encoding support for inputenc.
  130. greekdates: Provides ancient Greek day and month names, dates, etc.
  131. greektex: Fonts for typesetting Greek/English documents.
  132. hyphen-greek: Modern Greek hyphenation patterns.
  133. hyphen-ancientgreek: Ancient Greek hyphenation patterns.
  134. ibycus-babel: Use the Ibycus 4 Greek font with Babel
  135. ibygrk: Fonts and macros to typeset ancient Greek.
  136. kerkis: Kerkis (Greek) font family.
  137. levy: Fonts for typesetting classical greek.
  138. lgreek: LaTeX macros for using Silvio Levy's Greek fonts.
  139. mkgrkindex: Makeindex working with Greek.
  140. teubner: Philological typesetting of classical Greek.
  141. xgreek: XeLaTeX package for typesetting Greek language documents (beta release).
  142. yannisgr: Greek fonts by Yannis Haralambous.
  143. %package doc
  144. Summary: TeX Live: Documentation files of %{name}
  145. Group: Applications/Publishing
  146. Requires: %{name} = %{version}-%{release}
  147. %description doc
  148. This package contains documentation files of %{name}.
  149. %prep
  150. %setup -c -n %{name}-%{version}
  151. %__tar -xvf %{SOURCE1}
  152. %__tar -xvf %{SOURCE2}
  153. %__tar -xvf %{SOURCE3}
  154. %__tar -xvf %{SOURCE4}
  155. %__tar -xvf %{SOURCE5}
  156. %__tar -xvf %{SOURCE6}
  157. %__tar -xvf %{SOURCE7}
  158. %__tar -xvf %{SOURCE8}
  159. %__tar -xvf %{SOURCE9}
  160. %__tar -xvf %{SOURCE10}
  161. %__tar -xvf %{SOURCE11}
  162. %__tar -xvf %{SOURCE12}
  163. %__tar -xvf %{SOURCE13}
  164. %__tar -xvf %{SOURCE14}
  165. %__tar -xvf %{SOURCE15}
  166. %__tar -xvf %{SOURCE16}
  167. %__tar -xvf %{SOURCE17}
  168. %__tar -xvf %{SOURCE18}
  169. %__tar -xvf %{SOURCE19}
  170. %__tar -xvf %{SOURCE20}
  171. %__tar -xvf %{SOURCE21}
  172. %__tar -xvf %{SOURCE22}
  173. %__tar -xvf %{SOURCE23}
  174. %__tar -xvf %{SOURCE24}
  175. %__tar -xvf %{SOURCE25}
  176. %__tar -xvf %{SOURCE26}
  177. %__tar -xvf %{SOURCE27}
  178. %__tar -xvf %{SOURCE28}
  179. %__tar -xvf %{SOURCE29}
  180. %__tar -xvf %{SOURCE30}
  181. %__tar -xvf %{SOURCE31}
  182. %__tar -xvf %{SOURCE32}
  183. %__tar -xvf %{SOURCE33}
  184. %__tar -xvf %{SOURCE34}
  185. %__tar -xvf %{SOURCE35}
  186. %__tar -xvf %{SOURCE36}
  187. %__tar -xvf %{SOURCE37}
  188. %__tar -xvf %{SOURCE38}
  189. %__tar -xvf %{SOURCE39}
  190. %__tar -xvf %{SOURCE40}
  191. %__tar -xvf %{SOURCE41}
  192. %__tar -xvf %{SOURCE42}
  193. %__tar -xvf %{SOURCE43}
  194. %__tar -xvf %{SOURCE44}
  195. %__tar -xvf %{SOURCE45}
  196. %__tar -xvf %{SOURCE46}
  197. %__tar -xvf %{SOURCE47}
  198. %__tar -xvf %{SOURCE48}
  199. %build
  200. %install
  201. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  202. %__mkdir_p %{buildroot}%{_datadir}
  203. ## move texmf-dist to /usr/share/texmf-dist
  204. [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
  205. ## move texmf to /usr/share/texmf
  206. [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
  207. ## move tlpkg to /usr/share/tlpkg
  208. [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
  209. ## move all non-arch binaries to /usr/bin
  210. [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
  211. ## move others into /usr/share/texmf-dist
  212. %__mkdir_p %{buildroot}%{_tl_texmfdist}
  213. %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
  214. %__rm -rf * ||:
  215. ## remove duplicated files between texlive and texlive-collection-*
  216. ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
  217. ## remove unpacked files
  218. x=(
  219. # scripts/texlive/tlmgr.pl
  220. # scripts/texlive/updmap.pl
  221. # scripts/fontools/autoinst
  222. # scripts/glossaries/makeglossaries
  223. # scripts/m-tx/m-tx.lua
  224. # scripts/musixtex/musixtex.lua
  225. # scripts/pmx/pmx2pdf.lua
  226. # scripts/latexmk/latexmk.pl
  227. # scripts/jfontmaps/kanji-config-updmap.pl
  228. # scripts/jfontmaps/kanji-fontmap-creator.pl
  229. # scripts/latexpand/latexpand
  230. # scripts/epstopdf/epstopdf.pl
  231. # scripts/convbkmk/convbkmk.rb
  232. # scripts/jfontmaps/kanji-config-updmap-sys.sh
  233. # scripts/luaotfload/luaotfload-tool.lua
  234. # texconfig/tcfmgr
  235. # texconfig/tcfmgr.map
  236. # web2c/fmtutil.cnf
  237. # web2c/mktex.opt
  238. # web2c/mktexdir
  239. # web2c/mktexdir.opt
  240. # web2c/mktexnam
  241. # web2c/mktexnam.opt
  242. # web2c/mktexupd
  243. # web2c/texmf.cnf
  244. # web2c/updmap.cfg
  245. # web2c/updmap-hdr.cfg
  246. # doc/chktex/ChkTeX.pdf
  247. install-tl
  248. )
  249. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  250. pushd %{buildroot}%{_tl_texmfdist}
  251. %__rm -f ${x[@]} ||:
  252. popd
  253. fi
  254. ## Files list
  255. find %{buildroot} -type f -or -type l | \
  256. %__sed -e "s|%{buildroot}||g" > filelist.full
  257. find %{buildroot}%{_tl_texmfdist} -type d | \
  258. %__sed -e "s|^%{buildroot}|%dir |" \
  259. -e "s|$|/|" >> filelist.full
  260. ## subpackages
  261. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  262. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  263. %__mv -f filelist.tmp filelist.full
  264. %clean
  265. %__rm -rf %{buildroot}
  266. %post
  267. %_tl_touch_run texhash
  268. %_tl_touch_run mtxrun
  269. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  270. %_tl_enable_map MixedMap cbgreek-full.map
  271. %_tl_enable_map Map gfsbaskerville.map
  272. %_tl_enable_map Map gfsporson.map
  273. %_tl_enable_map MixedMap iby.map
  274. %_tl_enable_map Map kerkis.map
  275. %_tl_touch_run fmtutil
  276. exit 0
  277. %postun
  278. if [ "$1" = 0 ]; then
  279. %_tl_touch_run texhash
  280. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  281. %_tl_disable_map cbgreek-full.map
  282. %_tl_disable_map gfsbaskerville.map
  283. %_tl_disable_map gfsporson.map
  284. %_tl_disable_map iby.map
  285. %_tl_disable_map kerkis.map
  286. fi
  287. exit 0
  288. %posttrans
  289. %{_tl_exec_texhash}
  290. %{_tl_exec_mtxrun}
  291. %{_tl_exec_updmap}
  292. %{_tl_exec_fmtutil}
  293. exit 0
  294. %files -f filelist.full
  295. %defattr(-,root,root,-)
  296. %files -f filelist.doc doc
  297. %defattr(-,root,root,-)
  298. %changelog
  299. * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
  300. - TLNET 20140524