texlive-collection-langpolish-vl.spec 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2013-2:
  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: 2013
  11. Release: 2%{?_dist_release}
  12. License: 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.source.tar.xz
  44. Source29: tap.tar.xz
  45. Source30: tex-virtual-academy-pl.doc.tar.xz
  46. Source31: tex-virtual-academy-pl.tar.xz
  47. Source32: texlive-pl.doc.tar.xz
  48. Source33: texlive-pl.tar.xz
  49. Source34: utf8mex.doc.tar.xz
  50. Source35: utf8mex.tar.xz
  51. Requires: texlive = %{version}
  52. Requires: texlive-collection-latex = %{version}
  53. Requires: texlive-collection-basic = %{version}
  54. Requires(post): texlive = %{version}
  55. Requires(postun): texlive = %{version}
  56. BuildArch: noarch
  57. Buildroot: %{_tmppath}/%{name}-%{version}-root
  58. Vendor: Project Vine
  59. Distribution: Vine Linux
  60. Packager: munepi
  61. %description
  62. The TeX Live software distribution offers a complete TeX system for a
  63. variety of Unix, Macintosh, Windows and other platforms. It
  64. encompasses programs for editing, typesetting, previewing and printing
  65. of TeX documents in many different languages, and a large collection
  66. of TeX macros and font libraries.
  67. The distribution includes extensive general documentation about TeX,
  68. as well as the documentation for the included software packages.
  69. This package is a collection of Polish:
  70. Support for Polish.
  71. This package contains the following CTAN packages:
  72. babel-polish:
  73. cc-pl: Polish extension of Computer Concrete fonts.
  74. gustlib: Polish oriented macros.
  75. gustprog:
  76. hyphen-polish: Polish hyphenation patterns.
  77. lshort-polish: Introduction to LaTeX in Polish.
  78. mex: Polish formats for TeX.
  79. mwcls: Polish-oriented document classes.
  80. pl: Polish extension of CM fonts in Type 1 format.
  81. polski: Typeset Polish documents with LaTeX and Polish fonts.
  82. przechlewski-book: Examples from Przechlewski's LaTeX book.
  83. qpxqtx:
  84. tap: TeX macros for typesetting complex tables.
  85. tex-virtual-academy-pl:
  86. texlive-pl: TeX Live manual (Polish)
  87. utf8mex:
  88. %description -l ja
  89. TeX Live ソフトウェアディストリビューションは、
  90. さまざまな Unix, Macintosh, Windows、および
  91. 他のプラットホームに対して完全な TeX システムを提供します。
  92. 多くの異なった言語を含む TeX ドキュメントの
  93. 編集、組版、閲覧、印刷するためのプログラム、
  94. そして、TeX マクロやフォントライブラリの大きなコレクションを
  95. 同梱しています。
  96. このディストリビューションは
  97. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  98. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  99. このパッケージは以下のようなパッケージ集です。
  100. Polish:
  101. Support for Polish.
  102. このパッケージは以下の CTAN パッケージを含んでいます:
  103. babel-polish:
  104. cc-pl: Polish extension of Computer Concrete fonts.
  105. gustlib: Polish oriented macros.
  106. gustprog:
  107. hyphen-polish: Polish hyphenation patterns.
  108. lshort-polish: Introduction to LaTeX in Polish.
  109. mex: Polish formats for TeX.
  110. mwcls: Polish-oriented document classes.
  111. pl: Polish extension of CM fonts in Type 1 format.
  112. polski: Typeset Polish documents with LaTeX and Polish fonts.
  113. przechlewski-book: Examples from Przechlewski's LaTeX book.
  114. qpxqtx:
  115. tap: TeX macros for typesetting complex tables.
  116. tex-virtual-academy-pl:
  117. texlive-pl: TeX Live manual (Polish)
  118. utf8mex:
  119. %package doc
  120. Summary: TeX Live: Documentation files of %{name}
  121. Group: Applications/Publishing
  122. Requires: %{name} = %{version}-%{release}
  123. %description doc
  124. This package contains documentation files of %{name}.
  125. %prep
  126. %setup -c -n %{name}-%{version}
  127. %__tar -xvf %{SOURCE1}
  128. %__tar -xvf %{SOURCE2}
  129. %__tar -xvf %{SOURCE3}
  130. %__tar -xvf %{SOURCE4}
  131. %__tar -xvf %{SOURCE5}
  132. %__tar -xvf %{SOURCE6}
  133. %__tar -xvf %{SOURCE7}
  134. %__tar -xvf %{SOURCE8}
  135. %__tar -xvf %{SOURCE9}
  136. %__tar -xvf %{SOURCE10}
  137. %__tar -xvf %{SOURCE11}
  138. %__tar -xvf %{SOURCE12}
  139. %__tar -xvf %{SOURCE13}
  140. %__tar -xvf %{SOURCE14}
  141. %__tar -xvf %{SOURCE15}
  142. %__tar -xvf %{SOURCE16}
  143. %__tar -xvf %{SOURCE17}
  144. %__tar -xvf %{SOURCE18}
  145. %__tar -xvf %{SOURCE19}
  146. %__tar -xvf %{SOURCE20}
  147. %__tar -xvf %{SOURCE21}
  148. %__tar -xvf %{SOURCE22}
  149. %__tar -xvf %{SOURCE23}
  150. %__tar -xvf %{SOURCE24}
  151. %__tar -xvf %{SOURCE25}
  152. %__tar -xvf %{SOURCE26}
  153. %__tar -xvf %{SOURCE27}
  154. %__tar -xvf %{SOURCE28}
  155. %__tar -xvf %{SOURCE29}
  156. %__tar -xvf %{SOURCE30}
  157. %__tar -xvf %{SOURCE31}
  158. %__tar -xvf %{SOURCE32}
  159. %__tar -xvf %{SOURCE33}
  160. %__tar -xvf %{SOURCE34}
  161. %__tar -xvf %{SOURCE35}
  162. %build
  163. %install
  164. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  165. %__mkdir_p %{buildroot}%{_datadir}
  166. ## move texmf-dist to /usr/share/texmf-dist
  167. [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
  168. ## move texmf to /usr/share/texmf
  169. [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
  170. ## move tlpkg to /usr/share/tlpkg
  171. [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
  172. ## move all non-arch binaries to /usr/bin
  173. [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
  174. ## move others into /usr/share/texmf-dist
  175. %__mkdir_p %{buildroot}%{_tl_texmfdist}
  176. %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
  177. %__rm -rf * ||:
  178. ## remove duplicated files between texlive and texlive-collection-*
  179. ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
  180. ## remove unpacked files
  181. x=(
  182. texconfig/tcfmgr
  183. texconfig/tcfmgr.map
  184. web2c/fmtutil.cnf
  185. web2c/mktex.opt
  186. web2c/mktexdir
  187. web2c/mktexdir.opt
  188. web2c/mktexnam
  189. web2c/mktexnam.opt
  190. web2c/mktexupd
  191. web2c/texmf.cnf
  192. web2c/updmap.cfg
  193. web2c/updmap-hdr.cfg
  194. doc/chktex/ChkTeX.pdf
  195. install-tl
  196. )
  197. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  198. pushd %{buildroot}%{_tl_texmfdist}
  199. %__rm -f ${x[@]} ||:
  200. popd
  201. fi
  202. ## Files list
  203. find %{buildroot} -type f -or -type l | \
  204. %__sed -e "s|%{buildroot}||g" > filelist.full
  205. find %{buildroot}%{_tl_texmfdist} -type d | \
  206. %__sed -e "s|^%{buildroot}|%dir |" \
  207. -e "s|$|/|" >> filelist.full
  208. ## subpackages
  209. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  210. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  211. %__mv -f filelist.tmp filelist.full
  212. %clean
  213. %__rm -rf %{buildroot}
  214. %post
  215. %_tl_touch_run texhash
  216. %_tl_touch_run mtxrun
  217. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  218. %_tl_enable_map MixedMap ccpl.map
  219. %_tl_enable_map MixedMap plother.map
  220. %_tl_enable_map MixedMap pltext.map
  221. %_tl_touch_run fmtutil
  222. exit 0
  223. %postun
  224. if [ "$1" = 0 ]; then
  225. %_tl_touch_run texhash
  226. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  227. %_tl_disable_map ccpl.map
  228. %_tl_disable_map plother.map
  229. %_tl_disable_map pltext.map
  230. fi
  231. exit 0
  232. %posttrans
  233. %{_tl_exec_texhash}
  234. %{_tl_exec_mtxrun}
  235. %{_tl_exec_updmap}
  236. %{_tl_exec_fmtutil}
  237. exit 0
  238. %files -f filelist.full
  239. %defattr(-,root,root,-)
  240. %files -f filelist.doc doc
  241. %defattr(-,root,root,-)
  242. %changelog
  243. * Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
  244. - TLNET 20130919
  245. * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
  246. - generated by tlpdb2rpmspec 2013-1: tlpdb2rpmspec collection-langpolish
  247. - TLNET 20130823