texlive-collection-langpolish-vl.spec 13 KB

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