texlive-collection-langgreek-vl.spec 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2015-2:
  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: 2015
  11. Release: 2%{?_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: begingreek.doc.tar.xz
  19. Source4: begingreek.source.tar.xz
  20. Source5: begingreek.tar.xz
  21. Source6: betababel.doc.tar.xz
  22. Source7: betababel.tar.xz
  23. Source8: bgreek.doc.tar.xz
  24. Source9: bgreek.tar.xz
  25. Source10: cbfonts.doc.tar.xz
  26. Source11: cbfonts.tar.xz
  27. Source12: cbfonts-fd.doc.tar.xz
  28. Source13: cbfonts-fd.source.tar.xz
  29. Source14: cbfonts-fd.tar.xz
  30. Source15: gfsbaskerville.doc.tar.xz
  31. Source16: gfsbaskerville.tar.xz
  32. Source17: gfsporson.doc.tar.xz
  33. Source18: gfsporson.tar.xz
  34. Source19: greek-fontenc.doc.tar.xz
  35. Source20: greek-fontenc.tar.xz
  36. Source21: greek-inputenc.doc.tar.xz
  37. Source22: greek-inputenc.tar.xz
  38. Source23: greekdates.doc.tar.xz
  39. Source24: greekdates.source.tar.xz
  40. Source25: greekdates.tar.xz
  41. Source26: greektex.doc.tar.xz
  42. Source27: greektex.tar.xz
  43. Source28: hyphen-greek.doc.tar.xz
  44. Source29: hyphen-greek.tar.xz
  45. Source30: hyphen-ancientgreek.tar.xz
  46. Source31: ibycus-babel.doc.tar.xz
  47. Source32: ibycus-babel.source.tar.xz
  48. Source33: ibycus-babel.tar.xz
  49. Source34: ibygrk.doc.tar.xz
  50. Source35: ibygrk.tar.xz
  51. Source36: kerkis.doc.tar.xz
  52. Source37: kerkis.tar.xz
  53. Source38: levy.doc.tar.xz
  54. Source39: levy.tar.xz
  55. Source40: lgreek.doc.tar.xz
  56. Source41: lgreek.tar.xz
  57. Source42: mkgrkindex.doc.tar.xz
  58. Source43: mkgrkindex.tar.xz
  59. Source44: teubner.doc.tar.xz
  60. Source45: teubner.source.tar.xz
  61. Source46: teubner.tar.xz
  62. Source47: xgreek.doc.tar.xz
  63. Source48: xgreek.source.tar.xz
  64. Source49: xgreek.tar.xz
  65. Source50: yannisgr.doc.tar.xz
  66. Source51: yannisgr.tar.xz
  67. Requires: texlive = %{version}
  68. Requires: texlive-collection-basic = %{version}
  69. Requires(post): texlive = %{version}
  70. Requires(postun): texlive = %{version}
  71. BuildArch: noarch
  72. Buildroot: %{_tmppath}/%{name}-%{version}-root
  73. Vendor: Project Vine
  74. Distribution: Vine Linux
  75. Packager: munepi
  76. %description
  77. The TeX Live software distribution offers a complete TeX system for a
  78. variety of Unix, Macintosh, Windows and other platforms. It
  79. encompasses programs for editing, typesetting, previewing and printing
  80. of TeX documents in many different languages, and a large collection
  81. of TeX macros and font libraries.
  82. The distribution includes extensive general documentation about TeX,
  83. as well as the documentation for the included software packages.
  84. This package is a collection of Greek:
  85. Support for Greek.
  86. This package contains the following CTAN packages:
  87. babel-greek: Babel support for documents written in Greek.
  88. begingreek: Greek environment to be used with pdflatex only
  89. betababel: Insert ancient greek text coded in Beta Code.
  90. bgreek: Using Beccari's fonts in betacode for classical Greek.
  91. cbfonts: Complete set of Greek fonts.
  92. cbfonts-fd: LaTeX font description files for the CB Greek fonts.
  93. gfsbaskerville: A Greek font, from one such by Baskerville.
  94. gfsporson: A Greek font, originally from Porson.
  95. greek-fontenc: LICR macros and encoding definition files for Greek.
  96. greek-inputenc: Greek encoding support for inputenc.
  97. greekdates: Provides ancient Greek day and month names, dates, etc.
  98. greektex: Fonts for typesetting Greek/English documents.
  99. hyphen-greek: Modern Greek hyphenation patterns.
  100. hyphen-ancientgreek: Ancient Greek hyphenation patterns.
  101. ibycus-babel: Use the Ibycus 4 Greek font with Babel
  102. ibygrk: Fonts and macros to typeset ancient Greek.
  103. kerkis: Kerkis (Greek) font family.
  104. levy: Fonts for typesetting classical greek.
  105. lgreek: LaTeX macros for using Silvio Levy's Greek fonts.
  106. mkgrkindex: Makeindex working with Greek.
  107. teubner: Philological typesetting of classical Greek.
  108. xgreek: XeLaTeX package for typesetting Greek language documents (beta release).
  109. yannisgr: Greek fonts by Yannis Haralambous.
  110. %description -l ja
  111. TeX Live ソフトウェアディストリビューションは、
  112. さまざまな Unix, Macintosh, Windows、および
  113. 他のプラットホームに対して完全な TeX システムを提供します。
  114. 多くの異なった言語を含む TeX ドキュメントの
  115. 編集、組版、閲覧、印刷するためのプログラム、
  116. そして、TeX マクロやフォントライブラリの大きなコレクションを
  117. 同梱しています。
  118. このディストリビューションは
  119. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  120. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  121. このパッケージは以下のようなパッケージ集です。
  122. Greek:
  123. Support for Greek.
  124. このパッケージは以下の CTAN パッケージを含んでいます:
  125. babel-greek: Babel support for documents written in Greek.
  126. begingreek: Greek environment to be used with pdflatex only
  127. betababel: Insert ancient greek text coded in Beta Code.
  128. bgreek: Using Beccari's fonts in betacode for classical Greek.
  129. cbfonts: Complete set of Greek fonts.
  130. cbfonts-fd: LaTeX font description files for the CB Greek fonts.
  131. gfsbaskerville: A Greek font, from one such by Baskerville.
  132. gfsporson: A Greek font, originally from Porson.
  133. greek-fontenc: LICR macros and encoding definition files for Greek.
  134. greek-inputenc: Greek encoding support for inputenc.
  135. greekdates: Provides ancient Greek day and month names, dates, etc.
  136. greektex: Fonts for typesetting Greek/English documents.
  137. hyphen-greek: Modern Greek hyphenation patterns.
  138. hyphen-ancientgreek: Ancient Greek hyphenation patterns.
  139. ibycus-babel: Use the Ibycus 4 Greek font with Babel
  140. ibygrk: Fonts and macros to typeset ancient Greek.
  141. kerkis: Kerkis (Greek) font family.
  142. levy: Fonts for typesetting classical greek.
  143. lgreek: LaTeX macros for using Silvio Levy's Greek fonts.
  144. mkgrkindex: Makeindex working with Greek.
  145. teubner: Philological typesetting of classical Greek.
  146. xgreek: XeLaTeX package for typesetting Greek language documents (beta release).
  147. yannisgr: Greek fonts by Yannis Haralambous.
  148. %package doc
  149. Summary: TeX Live: Documentation files of %{name}
  150. Group: Applications/Publishing
  151. Requires: %{name} = %{version}-%{release}
  152. %description doc
  153. This package contains documentation files of %{name}.
  154. %prep
  155. %setup -c -n %{name}-%{version}
  156. %__tar -xvf %{SOURCE1}
  157. %__tar -xvf %{SOURCE2}
  158. %__tar -xvf %{SOURCE3}
  159. %__tar -xvf %{SOURCE4}
  160. %__tar -xvf %{SOURCE5}
  161. %__tar -xvf %{SOURCE6}
  162. %__tar -xvf %{SOURCE7}
  163. %__tar -xvf %{SOURCE8}
  164. %__tar -xvf %{SOURCE9}
  165. %__tar -xvf %{SOURCE10}
  166. %__tar -xvf %{SOURCE11}
  167. %__tar -xvf %{SOURCE12}
  168. %__tar -xvf %{SOURCE13}
  169. %__tar -xvf %{SOURCE14}
  170. %__tar -xvf %{SOURCE15}
  171. %__tar -xvf %{SOURCE16}
  172. %__tar -xvf %{SOURCE17}
  173. %__tar -xvf %{SOURCE18}
  174. %__tar -xvf %{SOURCE19}
  175. %__tar -xvf %{SOURCE20}
  176. %__tar -xvf %{SOURCE21}
  177. %__tar -xvf %{SOURCE22}
  178. %__tar -xvf %{SOURCE23}
  179. %__tar -xvf %{SOURCE24}
  180. %__tar -xvf %{SOURCE25}
  181. %__tar -xvf %{SOURCE26}
  182. %__tar -xvf %{SOURCE27}
  183. %__tar -xvf %{SOURCE28}
  184. %__tar -xvf %{SOURCE29}
  185. %__tar -xvf %{SOURCE30}
  186. %__tar -xvf %{SOURCE31}
  187. %__tar -xvf %{SOURCE32}
  188. %__tar -xvf %{SOURCE33}
  189. %__tar -xvf %{SOURCE34}
  190. %__tar -xvf %{SOURCE35}
  191. %__tar -xvf %{SOURCE36}
  192. %__tar -xvf %{SOURCE37}
  193. %__tar -xvf %{SOURCE38}
  194. %__tar -xvf %{SOURCE39}
  195. %__tar -xvf %{SOURCE40}
  196. %__tar -xvf %{SOURCE41}
  197. %__tar -xvf %{SOURCE42}
  198. %__tar -xvf %{SOURCE43}
  199. %__tar -xvf %{SOURCE44}
  200. %__tar -xvf %{SOURCE45}
  201. %__tar -xvf %{SOURCE46}
  202. %__tar -xvf %{SOURCE47}
  203. %__tar -xvf %{SOURCE48}
  204. %__tar -xvf %{SOURCE49}
  205. %__tar -xvf %{SOURCE50}
  206. %__tar -xvf %{SOURCE51}
  207. %build
  208. %install
  209. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  210. %__mkdir_p %{buildroot}%{_datadir}
  211. ## move texmf-dist to /usr/share/texmf-dist
  212. [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
  213. ## move texmf to /usr/share/texmf
  214. [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
  215. ## move tlpkg to /usr/share/tlpkg
  216. [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
  217. ## move all non-arch binaries to /usr/bin
  218. [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
  219. ## move others into /usr/share/texmf-dist
  220. %__mkdir_p %{buildroot}%{_tl_texmfdist}
  221. %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
  222. %__rm -rf * ||:
  223. ## remove duplicated files between texlive and texlive-collection-*
  224. ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
  225. ## remove unpacked files
  226. x=(
  227. scripts/context/stubs/unix/mtxrun
  228. scripts/ptex2pdf/ptex2pdf.lua
  229. scripts/texlive/fmtutil.pl
  230. scripts/texlive/texconfig-dialog.sh
  231. scripts/texlive/texconfig-sys.sh
  232. scripts/texlive/texconfig.sh
  233. scripts/texlive/texlinks.sh
  234. scripts/texlive/tlmgr.pl
  235. scripts/texlive/updmap.pl
  236. texconfig/tcfmgr
  237. web2c/fmtutil.cnf
  238. web2c/mktex.opt
  239. web2c/mktexdir
  240. web2c/mktexdir.opt
  241. web2c/mktexnam
  242. web2c/mktexnam.opt
  243. web2c/mktexupd
  244. web2c/texmf.cnf
  245. web2c/updmap-hdr.cfg
  246. web2c/updmap.cfg
  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 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
  300. - TeX Live 2015/pretest
  301. - synced tlnet to 20150522 (TeX Live 2015/pretest)
  302. * Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
  303. - TeX Live 2015/pretest
  304. - synced tlnet to 20150426 (TeX Live 2015/pretest)
  305. * Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
  306. - synced tlnet to 20150401
  307. * Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
  308. - synced tlnet to 20141028
  309. * Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
  310. - synced tlnet to 20140706
  311. * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
  312. - upgraded to TeX Live 2014
  313. * Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
  314. - synced tlnet to 20140406
  315. * Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
  316. - synced tlnet to 20131218
  317. * Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
  318. - synced tlnet to 20131101
  319. * Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
  320. - synced tlnet to 20131002
  321. * Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
  322. - synced tlnet to 20130919
  323. * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
  324. - upgraded to TeX Live 2013
  325. - used tlnet archives
  326. - synced tlnet to 20130823
  327. - added macros.texlive
  328. * Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
  329. - updated to TeX Live 2012
  330. * Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
  331. - updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
  332. - set external dependencies (texlive-collection-binextra,
  333. texlive-collection-fontutils)
  334. * Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
  335. - updated to TeX Live 2011
  336. - merged texlive-vtlpkg-2009-osx.patch from OSXWS
  337. - added %doc README (%files)
  338. * Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
  339. - applied texlive-vtlpkg-2009-vine.patch
  340. - remove arch dependent binaries
  341. - updated tlpdb2rpmspec.sh.in:
  342. - improved tlpdb4a()
  343. - make symlinks of core script utils (texlive-collection-binextra,
  344. texlive-collection-context, texlive-collection-fontutils,
  345. texlive-collection-langgreek, texlive-collection-langindic,
  346. texlive-collection-latex, texlive-collection-latexextra,
  347. texlive-collection-latexrecommended, texlive-collection-pictures,
  348. texlive-collection-pstricks, texlive-collection-science)
  349. * Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
  350. - updated tlpdb2rpmspec.sh.in:
  351. - improved %post
  352. * Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
  353. - updated tlpdb2rpmspec.sh.in:
  354. - removed arch dependent binaries (texlive-collection-latexextra)
  355. - improved updmap process in %post and %postun
  356. - fixed perl path
  357. * Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
  358. - initial build