texlive-collection-langgreek-vl.spec 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2014-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: 2014
  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/epstopdf/epstopdf.pl
  220. scripts/texlive/fmtutil.sh
  221. texconfig/tcfmgr
  222. web2c/texmf.cnf
  223. web2c/updmap-hdr.cfg
  224. web2c/updmap.cfg
  225. install-tl
  226. )
  227. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  228. pushd %{buildroot}%{_tl_texmfdist}
  229. %__rm -f ${x[@]} ||:
  230. popd
  231. fi
  232. ## Files list
  233. find %{buildroot} -type f -or -type l | \
  234. %__sed -e "s|%{buildroot}||g" > filelist.full
  235. find %{buildroot}%{_tl_texmfdist} -type d | \
  236. %__sed -e "s|^%{buildroot}|%dir |" \
  237. -e "s|$|/|" >> filelist.full
  238. ## subpackages
  239. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  240. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  241. %__mv -f filelist.tmp filelist.full
  242. %clean
  243. %__rm -rf %{buildroot}
  244. %post
  245. %_tl_touch_run texhash
  246. %_tl_touch_run mtxrun
  247. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  248. %_tl_enable_map MixedMap cbgreek-full.map
  249. %_tl_enable_map Map gfsbaskerville.map
  250. %_tl_enable_map Map gfsporson.map
  251. %_tl_enable_map MixedMap iby.map
  252. %_tl_enable_map Map kerkis.map
  253. %_tl_touch_run fmtutil
  254. exit 0
  255. %postun
  256. if [ "$1" = 0 ]; then
  257. %_tl_touch_run texhash
  258. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  259. %_tl_disable_map cbgreek-full.map
  260. %_tl_disable_map gfsbaskerville.map
  261. %_tl_disable_map gfsporson.map
  262. %_tl_disable_map iby.map
  263. %_tl_disable_map kerkis.map
  264. fi
  265. exit 0
  266. %posttrans
  267. %{_tl_exec_texhash}
  268. %{_tl_exec_mtxrun}
  269. %{_tl_exec_updmap}
  270. %{_tl_exec_fmtutil}
  271. exit 0
  272. %files -f filelist.full
  273. %defattr(-,root,root,-)
  274. %files -f filelist.doc doc
  275. %defattr(-,root,root,-)
  276. %changelog
  277. * Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
  278. - synced tlnet to 20141028
  279. * Sun Jul 6 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
  280. - synced tlnet to 20140706
  281. * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
  282. - synced tlnet to 20140524