texlive-collection-langgreek-vl.spec 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2013-3:
  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: 2013
  11. Release: 3%{?_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. texconfig/tcfmgr
  221. texconfig/tcfmgr.map
  222. web2c/fmtutil.cnf
  223. web2c/mktex.opt
  224. web2c/mktexdir
  225. web2c/mktexdir.opt
  226. web2c/mktexnam
  227. web2c/mktexnam.opt
  228. web2c/mktexupd
  229. web2c/texmf.cnf
  230. web2c/updmap.cfg
  231. web2c/updmap-hdr.cfg
  232. doc/chktex/ChkTeX.pdf
  233. install-tl
  234. )
  235. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  236. pushd %{buildroot}%{_tl_texmfdist}
  237. %__rm -f ${x[@]} ||:
  238. popd
  239. fi
  240. ## Files list
  241. find %{buildroot} -type f -or -type l | \
  242. %__sed -e "s|%{buildroot}||g" > filelist.full
  243. find %{buildroot}%{_tl_texmfdist} -type d | \
  244. %__sed -e "s|^%{buildroot}|%dir |" \
  245. -e "s|$|/|" >> filelist.full
  246. ## subpackages
  247. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  248. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  249. %__mv -f filelist.tmp filelist.full
  250. %clean
  251. %__rm -rf %{buildroot}
  252. %post
  253. %_tl_touch_run texhash
  254. %_tl_touch_run mtxrun
  255. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  256. %_tl_enable_map MixedMap cbgreek-full.map
  257. %_tl_enable_map Map gfsbaskerville.map
  258. %_tl_enable_map Map gfsporson.map
  259. %_tl_enable_map MixedMap iby.map
  260. %_tl_enable_map Map kerkis.map
  261. %_tl_touch_run fmtutil
  262. exit 0
  263. %postun
  264. if [ "$1" = 0 ]; then
  265. %_tl_touch_run texhash
  266. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  267. %_tl_disable_map cbgreek-full.map
  268. %_tl_disable_map gfsbaskerville.map
  269. %_tl_disable_map gfsporson.map
  270. %_tl_disable_map iby.map
  271. %_tl_disable_map kerkis.map
  272. fi
  273. exit 0
  274. %posttrans
  275. %{_tl_exec_texhash}
  276. %{_tl_exec_mtxrun}
  277. %{_tl_exec_updmap}
  278. %{_tl_exec_fmtutil}
  279. exit 0
  280. %files -f filelist.full
  281. %defattr(-,root,root,-)
  282. %files -f filelist.doc doc
  283. %defattr(-,root,root,-)
  284. %changelog
  285. * Wed Oct 2 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
  286. - TLNET 20131002
  287. * Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
  288. - TLNET 20130919
  289. * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
  290. - generated by tlpdb2rpmspec 2013-1: tlpdb2rpmspec collection-langgreek
  291. - TLNET 20130823