texlive-collection-langczechslovak-vl.spec 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2015-2:
  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: 2015
  11. Release: 2%{?_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. scripts/context/stubs/unix/mtxrun
  159. scripts/ptex2pdf/ptex2pdf.lua
  160. scripts/texlive/fmtutil.pl
  161. scripts/texlive/texconfig-dialog.sh
  162. scripts/texlive/texconfig-sys.sh
  163. scripts/texlive/texconfig.sh
  164. scripts/texlive/texlinks.sh
  165. scripts/texlive/tlmgr.pl
  166. scripts/texlive/updmap.pl
  167. texconfig/tcfmgr
  168. web2c/fmtutil.cnf
  169. web2c/mktex.opt
  170. web2c/mktexdir
  171. web2c/mktexdir.opt
  172. web2c/mktexnam
  173. web2c/mktexnam.opt
  174. web2c/mktexupd
  175. web2c/texmf.cnf
  176. web2c/updmap-hdr.cfg
  177. web2c/updmap.cfg
  178. install-tl
  179. )
  180. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  181. pushd %{buildroot}%{_tl_texmfdist}
  182. %__rm -f ${x[@]} ||:
  183. popd
  184. fi
  185. ## Files list
  186. find %{buildroot} -type f -or -type l | \
  187. %__sed -e "s|%{buildroot}||g" > filelist.full
  188. find %{buildroot}%{_tl_texmfdist} -type d | \
  189. %__sed -e "s|^%{buildroot}|%dir |" \
  190. -e "s|$|/|" >> filelist.full
  191. ## subpackages
  192. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  193. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  194. %__mv -f filelist.tmp filelist.full
  195. %clean
  196. %__rm -rf %{buildroot}
  197. %post
  198. %_tl_touch_run texhash
  199. %_tl_touch_run mtxrun
  200. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  201. %_tl_enable_map Map cs-charter.map
  202. %_tl_enable_map Map csfonts.map
  203. %_tl_touch_run fmtutil
  204. exit 0
  205. %postun
  206. if [ "$1" = 0 ]; then
  207. %_tl_touch_run texhash
  208. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  209. %_tl_disable_map cs-charter.map
  210. %_tl_disable_map csfonts.map
  211. fi
  212. exit 0
  213. %posttrans
  214. %{_tl_exec_texhash}
  215. %{_tl_exec_mtxrun}
  216. %{_tl_exec_updmap}
  217. %{_tl_exec_fmtutil}
  218. exit 0
  219. %files -f filelist.full
  220. %defattr(-,root,root,-)
  221. %files -f filelist.doc doc
  222. %defattr(-,root,root,-)
  223. %changelog
  224. * Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
  225. - TeX Live 2015/pretest
  226. - synced tlnet to 20150522 (TeX Live 2015/pretest)
  227. * Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
  228. - TeX Live 2015/pretest
  229. - synced tlnet to 20150426 (TeX Live 2015/pretest)
  230. * Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
  231. - synced tlnet to 20150401
  232. * Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
  233. - synced tlnet to 20141028
  234. * Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
  235. - synced tlnet to 20140706
  236. * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
  237. - upgraded to TeX Live 2014
  238. * Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
  239. - synced tlnet to 20140406
  240. * Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
  241. - synced tlnet to 20131218
  242. * Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
  243. - synced tlnet to 20131101
  244. * Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
  245. - synced tlnet to 20131002
  246. * Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
  247. - synced tlnet to 20130919
  248. * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
  249. - upgraded to TeX Live 2013
  250. - used tlnet archives
  251. - synced tlnet to 20130823
  252. - added macros.texlive
  253. * Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
  254. - updated to TeX Live 2012
  255. * Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
  256. - updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
  257. - set external dependencies (texlive-collection-binextra,
  258. texlive-collection-fontutils)
  259. * Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
  260. - updated to TeX Live 2011
  261. - merged texlive-vtlpkg-2009-osx.patch from OSXWS
  262. - added %doc README (%files)
  263. * Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
  264. - applied texlive-vtlpkg-2009-vine.patch
  265. - remove arch dependent binaries
  266. - updated tlpdb2rpmspec.sh.in:
  267. - improved tlpdb4a()
  268. - make symlinks of core script utils (texlive-collection-binextra,
  269. texlive-collection-context, texlive-collection-fontutils,
  270. texlive-collection-langgreek, texlive-collection-langindic,
  271. texlive-collection-latex, texlive-collection-latexextra,
  272. texlive-collection-latexrecommended, texlive-collection-pictures,
  273. texlive-collection-pstricks, texlive-collection-science)
  274. * Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
  275. - updated tlpdb2rpmspec.sh.in:
  276. - improved %post
  277. * Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
  278. - updated tlpdb2rpmspec.sh.in:
  279. - removed arch dependent binaries (texlive-collection-latexextra)
  280. - improved updmap process in %post and %postun
  281. - fixed perl path
  282. * Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
  283. - initial build