texlive-collection-langcyrillic-vl.spec 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2014-1:
  3. ## tlpdb2rpmspec collection-langcyrillic
  4. %global _use_internal_dependency_generator 0
  5. %global __find_provides %{nil}
  6. %global __find_requires %{nil}
  7. Summary: TeX Live: Cyrillic
  8. Summary(ja): TeX Live: Cyrillic
  9. Name: texlive-collection-langcyrillic
  10. Version: 2014
  11. Release: 1%{?_dist_release}
  12. License: LPPL 1.3, Public Domain, LPPL, GPL+, Freely redistributable without restriction, GPLv2+
  13. Group: Applications/Publishing
  14. URL:http://www.tug.org/texlive/
  15. Source0: babel-bulgarian.doc.tar.xz
  16. Source1: babel-bulgarian.source.tar.xz
  17. Source2: babel-bulgarian.tar.xz
  18. Source3: babel-russian.doc.tar.xz
  19. Source4: babel-russian.source.tar.xz
  20. Source5: babel-russian.tar.xz
  21. Source6: babel-serbian.doc.tar.xz
  22. Source7: babel-serbian.source.tar.xz
  23. Source8: babel-serbian.tar.xz
  24. Source9: babel-serbianc.doc.tar.xz
  25. Source10: babel-serbianc.source.tar.xz
  26. Source11: babel-serbianc.tar.xz
  27. Source12: babel-ukraineb.doc.tar.xz
  28. Source13: babel-ukraineb.source.tar.xz
  29. Source14: babel-ukraineb.tar.xz
  30. Source15: cmcyr.doc.tar.xz
  31. Source16: cmcyr.tar.xz
  32. Source17: cyrillic.doc.tar.xz
  33. Source18: cyrillic.source.tar.xz
  34. Source19: cyrillic.tar.xz
  35. Source20: cyrillic-bin.doc.tar.xz
  36. Source21: cyrillic-bin.tar.xz
  37. Source22: cyrplain.tar.xz
  38. Source23: disser.doc.tar.xz
  39. Source24: disser.source.tar.xz
  40. Source25: disser.tar.xz
  41. Source26: eskd.doc.tar.xz
  42. Source27: eskd.source.tar.xz
  43. Source28: eskd.tar.xz
  44. Source29: eskdx.doc.tar.xz
  45. Source30: eskdx.tar.xz
  46. Source31: gost.doc.tar.xz
  47. Source32: gost.source.tar.xz
  48. Source33: gost.tar.xz
  49. Source34: hyphen-bulgarian.tar.xz
  50. Source35: hyphen-mongolian.tar.xz
  51. Source36: hyphen-russian.tar.xz
  52. Source37: hyphen-serbian.tar.xz
  53. Source38: hyphen-ukrainian.tar.xz
  54. Source39: lcyw.doc.tar.xz
  55. Source40: lcyw.source.tar.xz
  56. Source41: lcyw.tar.xz
  57. Source42: lh.doc.tar.xz
  58. Source43: lh.source.tar.xz
  59. Source44: lh.tar.xz
  60. Source45: lhcyr.source.tar.xz
  61. Source46: lhcyr.tar.xz
  62. Source47: lshort-bulgarian.doc.tar.xz
  63. Source48: lshort-bulgarian.tar.xz
  64. Source49: lshort-mongol.doc.tar.xz
  65. Source50: lshort-mongol.tar.xz
  66. Source51: lshort-russian.doc.tar.xz
  67. Source52: lshort-russian.tar.xz
  68. Source53: lshort-ukr.doc.tar.xz
  69. Source54: lshort-ukr.tar.xz
  70. Source55: mongolian-babel.doc.tar.xz
  71. Source56: mongolian-babel.source.tar.xz
  72. Source57: mongolian-babel.tar.xz
  73. Source58: montex.doc.tar.xz
  74. Source59: montex.tar.xz
  75. Source60: mpman-ru.doc.tar.xz
  76. Source61: mpman-ru.tar.xz
  77. Source62: pst-eucl-translation-bg.doc.tar.xz
  78. Source63: pst-eucl-translation-bg.tar.xz
  79. Source64: ruhyphen.source.tar.xz
  80. Source65: ruhyphen.tar.xz
  81. Source66: russ.doc.tar.xz
  82. Source67: russ.tar.xz
  83. Source68: serbian-apostrophe.doc.tar.xz
  84. Source69: serbian-apostrophe.tar.xz
  85. Source70: serbian-date-lat.doc.tar.xz
  86. Source71: serbian-date-lat.tar.xz
  87. Source72: serbian-def-cyr.doc.tar.xz
  88. Source73: serbian-def-cyr.tar.xz
  89. Source74: serbian-lig.doc.tar.xz
  90. Source75: serbian-lig.tar.xz
  91. Source76: t2.doc.tar.xz
  92. Source77: t2.tar.xz
  93. Source78: texlive-ru.doc.tar.xz
  94. Source79: texlive-ru.tar.xz
  95. Source80: texlive-sr.doc.tar.xz
  96. Source81: texlive-sr.tar.xz
  97. Source82: ukrhyph.doc.tar.xz
  98. Source83: ukrhyph.tar.xz
  99. Requires: texlive = %{version}
  100. Requires: texlive-collection-basic = %{version}
  101. Requires: texlive-collection-latex = %{version}
  102. Requires(post): texlive = %{version}
  103. Requires(postun): texlive = %{version}
  104. BuildArch: noarch
  105. Buildroot: %{_tmppath}/%{name}-%{version}-root
  106. Vendor: Project Vine
  107. Distribution: Vine Linux
  108. Packager: munepi
  109. %description
  110. The TeX Live software distribution offers a complete TeX system for a
  111. variety of Unix, Macintosh, Windows and other platforms. It
  112. encompasses programs for editing, typesetting, previewing and printing
  113. of TeX documents in many different languages, and a large collection
  114. of TeX macros and font libraries.
  115. The distribution includes extensive general documentation about TeX,
  116. as well as the documentation for the included software packages.
  117. This package is a collection of Cyrillic:
  118. Support for Cyrillic scripts (Bulgarian, Russian, Serbian,
  119. Ukrainian), even if Latin alphabets may also be used.
  120. This package contains the following CTAN packages:
  121. babel-bulgarian: Babel contributed support for Bulgarian.
  122. babel-russian: Russian language module for Babel.
  123. babel-serbian:
  124. babel-serbianc: Babel module to support Serbian Cyrillic.
  125. babel-ukraineb:
  126. cmcyr: Computer Modern fonts with cyrillic extensions.
  127. cyrillic: Support for Cyrillic fonts in LaTeX.
  128. cyrillic-bin: Cyrillic bibtex and makeindex.
  129. cyrplain:
  130. disser: Class and templates for typesetting dissertations in Russian.
  131. eskd: Modern Russian typesetting.
  132. eskdx: Modern Russian typesetting.
  133. gost: BibTeX styles to format according to GOST.
  134. hyphen-bulgarian: Bulgarian hyphenation patterns.
  135. hyphen-mongolian: Mongolian hyphenation patterns in Cyrillic script.
  136. hyphen-russian: Russian hyphenation patterns.
  137. hyphen-serbian: Serbian hyphenation patterns.
  138. hyphen-ukrainian: Ukrainian hyphenation patterns.
  139. lcyw: Make Classic Cyrillic CM fonts accessible in LaTeX.
  140. lh: Cyrillic fonts that support LaTeX standard encodings.
  141. lhcyr: A non-standard Cyrillic input scheme.
  142. lshort-bulgarian: Bulgarian translation of the "Short Introduction to LaTeX2e".
  143. lshort-mongol: Short introduction to LaTeX, in Mongolian.
  144. lshort-russian: Russian introduction to LaTeX.
  145. lshort-ukr: Ukrainian version of the LaTeX introduction.
  146. mongolian-babel: A language definition file for Mongolian in Babel.
  147. montex: Mongolian LaTeX.
  148. mpman-ru: A Russian translation of the MetaPost manual.
  149. pst-eucl-translation-bg: Bulgarian translation of the pst-eucl documentation.
  150. ruhyphen: Russian hyphenation.
  151. russ: LaTeX in Russian, without babel.
  152. serbian-apostrophe: Commands for Serbian words with apostrophes.
  153. serbian-date-lat: Updated date typesetting for Serbian.
  154. serbian-def-cyr: Serbian cyrillic localization.
  155. serbian-lig: Control ligatures in Serbian.
  156. t2: Support for using T2 encoding.
  157. texlive-ru: TeX Live manual (Russian)
  158. texlive-sr: TeX Live manual (Serbian)
  159. ukrhyph: Hyphenation Patterns for Ukrainian.
  160. %description -l ja
  161. TeX Live ソフトウェアディストリビューションは、
  162. さまざまな Unix, Macintosh, Windows、および
  163. 他のプラットホームに対して完全な TeX システムを提供します。
  164. 多くの異なった言語を含む TeX ドキュメントの
  165. 編集、組版、閲覧、印刷するためのプログラム、
  166. そして、TeX マクロやフォントライブラリの大きなコレクションを
  167. 同梱しています。
  168. このディストリビューションは
  169. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  170. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  171. このパッケージは以下のようなパッケージ集です。
  172. Cyrillic:
  173. Support for Cyrillic scripts (Bulgarian, Russian, Serbian,
  174. Ukrainian), even if Latin alphabets may also be used.
  175. このパッケージは以下の CTAN パッケージを含んでいます:
  176. babel-bulgarian: Babel contributed support for Bulgarian.
  177. babel-russian: Russian language module for Babel.
  178. babel-serbian:
  179. babel-serbianc: Babel module to support Serbian Cyrillic.
  180. babel-ukraineb:
  181. cmcyr: Computer Modern fonts with cyrillic extensions.
  182. cyrillic: Support for Cyrillic fonts in LaTeX.
  183. cyrillic-bin: Cyrillic bibtex and makeindex.
  184. cyrplain:
  185. disser: Class and templates for typesetting dissertations in Russian.
  186. eskd: Modern Russian typesetting.
  187. eskdx: Modern Russian typesetting.
  188. gost: BibTeX styles to format according to GOST.
  189. hyphen-bulgarian: Bulgarian hyphenation patterns.
  190. hyphen-mongolian: Mongolian hyphenation patterns in Cyrillic script.
  191. hyphen-russian: Russian hyphenation patterns.
  192. hyphen-serbian: Serbian hyphenation patterns.
  193. hyphen-ukrainian: Ukrainian hyphenation patterns.
  194. lcyw: Make Classic Cyrillic CM fonts accessible in LaTeX.
  195. lh: Cyrillic fonts that support LaTeX standard encodings.
  196. lhcyr: A non-standard Cyrillic input scheme.
  197. lshort-bulgarian: Bulgarian translation of the "Short Introduction to LaTeX2e".
  198. lshort-mongol: Short introduction to LaTeX, in Mongolian.
  199. lshort-russian: Russian introduction to LaTeX.
  200. lshort-ukr: Ukrainian version of the LaTeX introduction.
  201. mongolian-babel: A language definition file for Mongolian in Babel.
  202. montex: Mongolian LaTeX.
  203. mpman-ru: A Russian translation of the MetaPost manual.
  204. pst-eucl-translation-bg: Bulgarian translation of the pst-eucl documentation.
  205. ruhyphen: Russian hyphenation.
  206. russ: LaTeX in Russian, without babel.
  207. serbian-apostrophe: Commands for Serbian words with apostrophes.
  208. serbian-date-lat: Updated date typesetting for Serbian.
  209. serbian-def-cyr: Serbian cyrillic localization.
  210. serbian-lig: Control ligatures in Serbian.
  211. t2: Support for using T2 encoding.
  212. texlive-ru: TeX Live manual (Russian)
  213. texlive-sr: TeX Live manual (Serbian)
  214. ukrhyph: Hyphenation Patterns for Ukrainian.
  215. %package doc
  216. Summary: TeX Live: Documentation files of %{name}
  217. Group: Applications/Publishing
  218. Requires: %{name} = %{version}-%{release}
  219. %description doc
  220. This package contains documentation files of %{name}.
  221. %prep
  222. %setup -c -n %{name}-%{version}
  223. %__tar -xvf %{SOURCE1}
  224. %__tar -xvf %{SOURCE2}
  225. %__tar -xvf %{SOURCE3}
  226. %__tar -xvf %{SOURCE4}
  227. %__tar -xvf %{SOURCE5}
  228. %__tar -xvf %{SOURCE6}
  229. %__tar -xvf %{SOURCE7}
  230. %__tar -xvf %{SOURCE8}
  231. %__tar -xvf %{SOURCE9}
  232. %__tar -xvf %{SOURCE10}
  233. %__tar -xvf %{SOURCE11}
  234. %__tar -xvf %{SOURCE12}
  235. %__tar -xvf %{SOURCE13}
  236. %__tar -xvf %{SOURCE14}
  237. %__tar -xvf %{SOURCE15}
  238. %__tar -xvf %{SOURCE16}
  239. %__tar -xvf %{SOURCE17}
  240. %__tar -xvf %{SOURCE18}
  241. %__tar -xvf %{SOURCE19}
  242. %__tar -xvf %{SOURCE20}
  243. %__tar -xvf %{SOURCE21}
  244. %__tar -xvf %{SOURCE22}
  245. %__tar -xvf %{SOURCE23}
  246. %__tar -xvf %{SOURCE24}
  247. %__tar -xvf %{SOURCE25}
  248. %__tar -xvf %{SOURCE26}
  249. %__tar -xvf %{SOURCE27}
  250. %__tar -xvf %{SOURCE28}
  251. %__tar -xvf %{SOURCE29}
  252. %__tar -xvf %{SOURCE30}
  253. %__tar -xvf %{SOURCE31}
  254. %__tar -xvf %{SOURCE32}
  255. %__tar -xvf %{SOURCE33}
  256. %__tar -xvf %{SOURCE34}
  257. %__tar -xvf %{SOURCE35}
  258. %__tar -xvf %{SOURCE36}
  259. %__tar -xvf %{SOURCE37}
  260. %__tar -xvf %{SOURCE38}
  261. %__tar -xvf %{SOURCE39}
  262. %__tar -xvf %{SOURCE40}
  263. %__tar -xvf %{SOURCE41}
  264. %__tar -xvf %{SOURCE42}
  265. %__tar -xvf %{SOURCE43}
  266. %__tar -xvf %{SOURCE44}
  267. %__tar -xvf %{SOURCE45}
  268. %__tar -xvf %{SOURCE46}
  269. %__tar -xvf %{SOURCE47}
  270. %__tar -xvf %{SOURCE48}
  271. %__tar -xvf %{SOURCE49}
  272. %__tar -xvf %{SOURCE50}
  273. %__tar -xvf %{SOURCE51}
  274. %__tar -xvf %{SOURCE52}
  275. %__tar -xvf %{SOURCE53}
  276. %__tar -xvf %{SOURCE54}
  277. %__tar -xvf %{SOURCE55}
  278. %__tar -xvf %{SOURCE56}
  279. %__tar -xvf %{SOURCE57}
  280. %__tar -xvf %{SOURCE58}
  281. %__tar -xvf %{SOURCE59}
  282. %__tar -xvf %{SOURCE60}
  283. %__tar -xvf %{SOURCE61}
  284. %__tar -xvf %{SOURCE62}
  285. %__tar -xvf %{SOURCE63}
  286. %__tar -xvf %{SOURCE64}
  287. %__tar -xvf %{SOURCE65}
  288. %__tar -xvf %{SOURCE66}
  289. %__tar -xvf %{SOURCE67}
  290. %__tar -xvf %{SOURCE68}
  291. %__tar -xvf %{SOURCE69}
  292. %__tar -xvf %{SOURCE70}
  293. %__tar -xvf %{SOURCE71}
  294. %__tar -xvf %{SOURCE72}
  295. %__tar -xvf %{SOURCE73}
  296. %__tar -xvf %{SOURCE74}
  297. %__tar -xvf %{SOURCE75}
  298. %__tar -xvf %{SOURCE76}
  299. %__tar -xvf %{SOURCE77}
  300. %__tar -xvf %{SOURCE78}
  301. %__tar -xvf %{SOURCE79}
  302. %__tar -xvf %{SOURCE80}
  303. %__tar -xvf %{SOURCE81}
  304. %__tar -xvf %{SOURCE82}
  305. %__tar -xvf %{SOURCE83}
  306. %build
  307. %install
  308. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  309. %__mkdir_p %{buildroot}%{_datadir}
  310. ## move texmf-dist to /usr/share/texmf-dist
  311. [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
  312. ## move texmf to /usr/share/texmf
  313. [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
  314. ## move tlpkg to /usr/share/tlpkg
  315. [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
  316. ## move all non-arch binaries to /usr/bin
  317. [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
  318. ## move others into /usr/share/texmf-dist
  319. %__mkdir_p %{buildroot}%{_tl_texmfdist}
  320. %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
  321. %__rm -rf * ||:
  322. ## remove duplicated files between texlive and texlive-collection-*
  323. ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
  324. ## remove unpacked files
  325. x=(
  326. # scripts/texlive/tlmgr.pl
  327. # scripts/texlive/updmap.pl
  328. # scripts/fontools/autoinst
  329. # scripts/glossaries/makeglossaries
  330. # scripts/m-tx/m-tx.lua
  331. # scripts/musixtex/musixtex.lua
  332. # scripts/pmx/pmx2pdf.lua
  333. # scripts/latexmk/latexmk.pl
  334. # scripts/jfontmaps/kanji-config-updmap.pl
  335. # scripts/jfontmaps/kanji-fontmap-creator.pl
  336. # scripts/latexpand/latexpand
  337. # scripts/epstopdf/epstopdf.pl
  338. # scripts/convbkmk/convbkmk.rb
  339. # scripts/jfontmaps/kanji-config-updmap-sys.sh
  340. # scripts/luaotfload/luaotfload-tool.lua
  341. # texconfig/tcfmgr
  342. # texconfig/tcfmgr.map
  343. # web2c/fmtutil.cnf
  344. # web2c/mktex.opt
  345. # web2c/mktexdir
  346. # web2c/mktexdir.opt
  347. # web2c/mktexnam
  348. # web2c/mktexnam.opt
  349. # web2c/mktexupd
  350. # web2c/texmf.cnf
  351. # web2c/updmap.cfg
  352. # web2c/updmap-hdr.cfg
  353. # doc/chktex/ChkTeX.pdf
  354. install-tl
  355. )
  356. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  357. pushd %{buildroot}%{_tl_texmfdist}
  358. %__rm -f ${x[@]} ||:
  359. popd
  360. fi
  361. ## Files list
  362. find %{buildroot} -type f -or -type l | \
  363. %__sed -e "s|%{buildroot}||g" > filelist.full
  364. find %{buildroot}%{_tl_texmfdist} -type d | \
  365. %__sed -e "s|^%{buildroot}|%dir |" \
  366. -e "s|$|/|" >> filelist.full
  367. ## subpackages
  368. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  369. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  370. %__mv -f filelist.tmp filelist.full
  371. %clean
  372. %__rm -rf %{buildroot}
  373. %post
  374. %_tl_touch_run texhash
  375. %_tl_touch_run mtxrun
  376. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  377. %_tl_enable_map Map cmcyr.map
  378. %_tl_enable_map MixedMap mongolian.map
  379. %_tl_touch_run fmtutil
  380. exit 0
  381. %postun
  382. if [ "$1" = 0 ]; then
  383. %_tl_touch_run texhash
  384. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  385. %_tl_disable_map cmcyr.map
  386. %_tl_disable_map mongolian.map
  387. fi
  388. exit 0
  389. %posttrans
  390. %{_tl_exec_texhash}
  391. %{_tl_exec_mtxrun}
  392. %{_tl_exec_updmap}
  393. %{_tl_exec_fmtutil}
  394. exit 0
  395. %files -f filelist.full
  396. %defattr(-,root,root,-)
  397. %files -f filelist.doc doc
  398. %defattr(-,root,root,-)
  399. %changelog
  400. * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
  401. - TLNET 20140524