texlive-collection-langczechslovak-vl.spec 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2016-4:
  3. ## tlpdb2rpmspec collection-langczechslovak
  4. %global _use_internal_dependency_generator 0
  5. %global __find_provides %{nil}
  6. %global __find_requires %{nil}
  7. Summary: TeX Live: Czech/Slovak
  8. Summary(ja): TeX Live: Czech/Slovak
  9. Name: texlive-collection-langczechslovak
  10. Version: 2016
  11. Release: 4%{?_dist_release}
  12. License: LPPL 1.3, LPPL, GPL+, Freely redistributable without restriction
  13. Group: Applications/Publishing
  14. URL:http://www.tug.org/texlive/
  15. Source0: babel-czech.doc.tar.xz
  16. Source1: babel-czech.source.tar.xz
  17. Source2: babel-czech.tar.xz
  18. Source3: babel-slovak.doc.tar.xz
  19. Source4: babel-slovak.source.tar.xz
  20. Source5: babel-slovak.tar.xz
  21. Source6: cnbwp.doc.tar.xz
  22. Source7: cnbwp.tar.xz
  23. Source8: cs.tar.xz
  24. Source9: csbulletin.doc.tar.xz
  25. Source10: csbulletin.tar.xz
  26. Source11: cslatex.source.tar.xz
  27. Source12: cslatex.tar.xz
  28. Source13: csplain.tar.xz
  29. Source14: cstex.doc.tar.xz
  30. Source15: cstex.tar.xz
  31. Source16: hyphen-czech.tar.xz
  32. Source17: hyphen-slovak.tar.xz
  33. Source18: vlna.doc.tar.xz
  34. Source19: vlna.tar.xz
  35. Source20: lshort-czech.doc.tar.xz
  36. Source21: lshort-czech.tar.xz
  37. Source22: lshort-slovak.doc.tar.xz
  38. Source23: lshort-slovak.tar.xz
  39. Source24: texlive-cz.doc.tar.xz
  40. Source25: texlive-cz.tar.xz
  41. Requires: texlive = %{version}
  42. Requires: texlive-collection-basic = %{version}
  43. Requires: texlive-collection-latex = %{version}
  44. Requires(post): texlive = %{version}
  45. Requires(postun): texlive = %{version}
  46. BuildArch: noarch
  47. Buildroot: %{_tmppath}/%{name}-%{version}-root
  48. Vendor: Project Vine
  49. Distribution: Vine Linux
  50. Packager: munepi
  51. %description
  52. The TeX Live software distribution offers a complete TeX system for a
  53. variety of Unix, Macintosh, Windows and other platforms. It
  54. encompasses programs for editing, typesetting, previewing and printing
  55. of TeX documents in many different languages, and a large collection
  56. of TeX macros and font libraries.
  57. The distribution includes extensive general documentation about TeX,
  58. as well as the documentation for the included software packages.
  59. This package is a collection of Czech/Slovak:
  60. Support for Czech/Slovak.
  61. This package contains the following CTAN packages:
  62. babel-czech: Babel support for Czech
  63. babel-slovak: Babel support for typesetting Slovak
  64. cnbwp: Typeset working papers of the Czech National Bank
  65. cs: Czech/Slovak-tuned Computer Modern fonts
  66. csbulletin: LaTeX class for articles submitted to the CSTUG Bulletin (Zpravodaj)
  67. cslatex: LaTeX support for Czech/Slovak typesetting
  68. csplain: Plain TeX multilanguage support
  69. cstex: Support for Czech/Slovak languages
  70. hyphen-czech: Czech hyphenation patterns.
  71. hyphen-slovak: Slovak hyphenation patterns.
  72. vlna:
  73. lshort-czech: Czech translation of the "Short Introduction to LaTeX2e"
  74. lshort-slovak: Slovak introduction to LaTeX
  75. texlive-cz: TeX Live manual (Czech/Slovak)
  76. %description -l ja
  77. TeX Live ソフトウェアディストリビューションは、
  78. さまざまな Unix, Macintosh, Windows、および
  79. 他のプラットホームに対して完全な TeX システムを提供します。
  80. 多くの異なった言語を含む TeX ドキュメントの
  81. 編集、組版、閲覧、印刷するためのプログラム、
  82. そして、TeX マクロやフォントライブラリの大きなコレクションを
  83. 同梱しています。
  84. このディストリビューションは
  85. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  86. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  87. このパッケージは以下のようなパッケージ集です。
  88. Czech/Slovak:
  89. Support for Czech/Slovak.
  90. このパッケージは以下の CTAN パッケージを含んでいます:
  91. babel-czech: Babel support for Czech
  92. babel-slovak: Babel support for typesetting Slovak
  93. cnbwp: Typeset working papers of the Czech National Bank
  94. cs: Czech/Slovak-tuned Computer Modern fonts
  95. csbulletin: LaTeX class for articles submitted to the CSTUG Bulletin (Zpravodaj)
  96. cslatex: LaTeX support for Czech/Slovak typesetting
  97. csplain: Plain TeX multilanguage support
  98. cstex: Support for Czech/Slovak languages
  99. hyphen-czech: Czech hyphenation patterns.
  100. hyphen-slovak: Slovak hyphenation patterns.
  101. vlna:
  102. lshort-czech: Czech translation of the "Short Introduction to LaTeX2e"
  103. lshort-slovak: Slovak introduction to LaTeX
  104. texlive-cz: TeX Live manual (Czech/Slovak)
  105. %package doc
  106. Summary: TeX Live: Documentation files of %{name}
  107. Group: Applications/Publishing
  108. Requires: %{name} = %{version}-%{release}
  109. %description doc
  110. This package contains documentation files of %{name}.
  111. %prep
  112. %setup -c -n %{name}-%{version}
  113. %__tar -xvf %{SOURCE1}
  114. %__tar -xvf %{SOURCE2}
  115. %__tar -xvf %{SOURCE3}
  116. %__tar -xvf %{SOURCE4}
  117. %__tar -xvf %{SOURCE5}
  118. %__tar -xvf %{SOURCE6}
  119. %__tar -xvf %{SOURCE7}
  120. %__tar -xvf %{SOURCE8}
  121. %__tar -xvf %{SOURCE9}
  122. %__tar -xvf %{SOURCE10}
  123. %__tar -xvf %{SOURCE11}
  124. %__tar -xvf %{SOURCE12}
  125. %__tar -xvf %{SOURCE13}
  126. %__tar -xvf %{SOURCE14}
  127. %__tar -xvf %{SOURCE15}
  128. %__tar -xvf %{SOURCE16}
  129. %__tar -xvf %{SOURCE17}
  130. %__tar -xvf %{SOURCE18}
  131. %__tar -xvf %{SOURCE19}
  132. %__tar -xvf %{SOURCE20}
  133. %__tar -xvf %{SOURCE21}
  134. %__tar -xvf %{SOURCE22}
  135. %__tar -xvf %{SOURCE23}
  136. %__tar -xvf %{SOURCE24}
  137. %__tar -xvf %{SOURCE25}
  138. %build
  139. %install
  140. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  141. %__mkdir_p %{buildroot}%{_datadir}
  142. ## move texmf-dist to /usr/share/texmf-dist
  143. [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
  144. ## move texmf to /usr/share/texmf
  145. [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
  146. ## move tlpkg to /usr/share/tlpkg
  147. [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
  148. ## move all non-arch binaries to /usr/bin
  149. [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
  150. ## move others into /usr/share/texmf-dist
  151. %__mkdir_p %{buildroot}%{_tl_texmfdist}
  152. %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
  153. %__rm -rf * ||:
  154. ## remove duplicated files between texlive and texlive-collection-*
  155. ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
  156. ## remove unpacked files
  157. x=(
  158. dvipdfmx/dvipdfmx.cfg
  159. scripts/context/stubs/unix/mtxrun
  160. scripts/latexmk/latexmk.pl
  161. scripts/ptex2pdf/ptex2pdf.lua
  162. scripts/texlive/fmtutil.pl
  163. scripts/texlive/texconfig-dialog.sh
  164. scripts/texlive/texconfig-sys.sh
  165. scripts/texlive/texconfig.sh
  166. scripts/texlive/texlinks.sh
  167. scripts/texlive/tlmgr.pl
  168. scripts/texlive/updmap.pl
  169. texconfig/tcfmgr
  170. web2c/fmtutil.cnf
  171. web2c/mktex.opt
  172. web2c/mktexdir
  173. web2c/mktexdir.opt
  174. web2c/mktexnam
  175. web2c/mktexnam.opt
  176. web2c/mktexupd
  177. web2c/texmf.cnf
  178. web2c/updmap-hdr.cfg
  179. web2c/updmap.cfg
  180. install-tl
  181. #
  182. scripts/cjk-gs-integrate/cjk-gs-integrate.pl #texlive-collection-langcjk-2015-3vl7.noarch
  183. scripts/epspdf/epspdf.tlu #texlive-collection-pictures-2015-3vl7.noarch
  184. scripts/epspdf/epspdftk.tcl #texlive-collection-pictures-2015-3vl7.noarch
  185. scripts/glossaries/makeglossaries #texlive-collection-latexextra-2015-3vl7.noarch
  186. scripts/jfontmaps/kanji-config-updmap.pl #texlive-collection-langjapanese-2015-3vl7.noarch
  187. scripts/jfontmaps/kanji-fontmap-creator.pl #texlive-collection-langjapanese-2015-3vl7.noarch
  188. scripts/kotex-utils/jamo-normalize.pl #texlive-collection-langkorean-2015-3vl7.noarch
  189. scripts/kotex-utils/komkindex.pl #texlive-collection-langkorean-2015-3vl7.noarch
  190. scripts/crossrefware/ltx2crossrefxml.pl #texlive-collection-bibtexextra-2015-3vl7.noarch
  191. scripts/rubik/rubikrotation.pl #texlive-collection-games-2015-3vl7.noarch
  192. scripts/musixtex/musixtex.lua #texlive-collection-music-2015-3vl7.noarch
  193. scripts/pmxchords/pmxchords.lua #texlive-collection-music-2015-3vl7.noarch
  194. scripts/ctanify/ctanify #texlive-collection-binextra-2015-3vl7.noarch
  195. scripts/dtxgen/dtxgen #texlive-collection-binextra-2015-3vl7.noarch
  196. scripts/findhyph/findhyph #texlive-collection-binextra-2015-3vl7.noarch
  197. scripts/latexpand/latexpand #texlive-collection-binextra-2015-3vl7.noarch
  198. scripts/ltxfileinfo/ltxfileinfo #texlive-collection-binextra-2015-3vl7.noarch
  199. scripts/latexdiff/latexdiff-vc.pl #texlive-collection-binextra-2015-3vl7.noarch
  200. scripts/latexdiff/latexdiff.pl #texlive-collection-binextra-2015-3vl7.noarch
  201. scripts/texfot/texfot.pl #texlive-collection-binextra-2015-3vl7.noarch
  202. scripts/fontools/autoinst #texlive-collection-fontutils-2015-3vl7.noarch
  203. scripts/luaotfload/luaotfload-tool.lua #texlive-collection-luatex-2015-3vl7.noarch
  204. )
  205. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  206. pushd %{buildroot}%{_tl_texmfdist}
  207. %__rm -f ${x[@]} ||:
  208. popd
  209. fi
  210. ## Files list
  211. find %{buildroot} -type f -or -type l | \
  212. %__sed -e "s|%{buildroot}||g" > filelist.full
  213. find %{buildroot}%{_tl_texmfdist} -type d | \
  214. %__sed -e "s|^%{buildroot}|%dir |" \
  215. -e "s|$|/|" >> filelist.full
  216. ## subpackages
  217. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  218. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  219. %__mv -f filelist.tmp filelist.full
  220. %clean
  221. %__rm -rf %{buildroot}
  222. %post
  223. %_tl_touch_run texhash
  224. %_tl_touch_run mtxrun
  225. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  226. %_tl_enable_map Map cs-charter.map
  227. %_tl_enable_map Map csfonts.map
  228. %_tl_touch_run fmtutil
  229. exit 0
  230. %postun
  231. if [ "$1" = 0 ]; then
  232. %_tl_touch_run texhash
  233. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  234. %_tl_disable_map cs-charter.map
  235. %_tl_disable_map csfonts.map
  236. fi
  237. exit 0
  238. %posttrans
  239. %{_tl_exec_texhash}
  240. %{_tl_exec_mtxrun}
  241. %{_tl_exec_updmap}
  242. %{_tl_exec_fmtutil}
  243. exit 0
  244. %files -f filelist.full
  245. %defattr(-,root,root,-)
  246. %files -f filelist.doc doc
  247. %defattr(-,root,root,-)
  248. %changelog
  249. * Tue Jun 07 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-4
  250. - synced tlnet to 20160607 (TeX Live 2016)
  251. * Sat May 14 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-3
  252. - synced tlnet to 20160514 (TeX Live 2016/pretest)
  253. * Tue May 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-2
  254. - synced tlnet to 20160510 (TeX Live 2016/pretest)
  255. * Thu Apr 28 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-1
  256. - TeX Live 2016/pretest
  257. - synced tlnet to 20160428 (TeX Live 2016/pretest)
  258. * Wed Jan 13 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-4
  259. - remove duplicated files from texlive-collection-*
  260. - synced tlnet to 20160113 (TeX Live 2015)
  261. * Sun Jan 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-3
  262. - TeX Live 2016/dev
  263. - synced tlnet to 20160110 (TeX Live 2016/dev)
  264. * Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
  265. - TeX Live 2015/pretest
  266. - synced tlnet to 20150522 (TeX Live 2015/pretest)
  267. * Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
  268. - TeX Live 2015/pretest
  269. - synced tlnet to 20150426 (TeX Live 2015/pretest)
  270. * Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
  271. - synced tlnet to 20150401
  272. * Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
  273. - synced tlnet to 20141028
  274. * Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
  275. - synced tlnet to 20140706
  276. * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
  277. - upgraded to TeX Live 2014
  278. * Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
  279. - synced tlnet to 20140406
  280. * Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
  281. - synced tlnet to 20131218
  282. * Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
  283. - synced tlnet to 20131101
  284. * Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
  285. - synced tlnet to 20131002
  286. * Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
  287. - synced tlnet to 20130919
  288. * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
  289. - upgraded to TeX Live 2013
  290. - used tlnet archives
  291. - synced tlnet to 20130823
  292. - added macros.texlive
  293. * Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
  294. - updated to TeX Live 2012
  295. * Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
  296. - updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
  297. - set external dependencies (texlive-collection-binextra,
  298. texlive-collection-fontutils)
  299. * Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
  300. - updated to TeX Live 2011
  301. - merged texlive-vtlpkg-2009-osx.patch from OSXWS
  302. - added %doc README (%files)
  303. * Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
  304. - applied texlive-vtlpkg-2009-vine.patch
  305. - remove arch dependent binaries
  306. - updated tlpdb2rpmspec.sh.in:
  307. - improved tlpdb4a()
  308. - make symlinks of core script utils (texlive-collection-binextra,
  309. texlive-collection-context, texlive-collection-fontutils,
  310. texlive-collection-langgreek, texlive-collection-langindic,
  311. texlive-collection-latex, texlive-collection-latexextra,
  312. texlive-collection-latexrecommended, texlive-collection-pictures,
  313. texlive-collection-pstricks, texlive-collection-science)
  314. * Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
  315. - updated tlpdb2rpmspec.sh.in:
  316. - improved %post
  317. * Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
  318. - updated tlpdb2rpmspec.sh.in:
  319. - removed arch dependent binaries (texlive-collection-latexextra)
  320. - improved updmap process in %post and %postun
  321. - fixed perl path
  322. * Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
  323. - initial build