texlive-collection-langczechslovak-vl.spec 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2014-3:
  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: 2014
  11. Release: 3%{?_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/epstopdf/epstopdf.pl
  159. scripts/texlive/fmtutil.sh
  160. texconfig/tcfmgr
  161. web2c/texmf.cnf
  162. web2c/updmap-hdr.cfg
  163. web2c/updmap.cfg
  164. install-tl
  165. )
  166. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  167. pushd %{buildroot}%{_tl_texmfdist}
  168. %__rm -f ${x[@]} ||:
  169. popd
  170. fi
  171. ## Files list
  172. find %{buildroot} -type f -or -type l | \
  173. %__sed -e "s|%{buildroot}||g" > filelist.full
  174. find %{buildroot}%{_tl_texmfdist} -type d | \
  175. %__sed -e "s|^%{buildroot}|%dir |" \
  176. -e "s|$|/|" >> filelist.full
  177. ## subpackages
  178. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  179. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  180. %__mv -f filelist.tmp filelist.full
  181. %clean
  182. %__rm -rf %{buildroot}
  183. %post
  184. %_tl_touch_run texhash
  185. %_tl_touch_run mtxrun
  186. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  187. %_tl_enable_map Map cs-charter.map
  188. %_tl_enable_map Map csfonts.map
  189. %_tl_touch_run fmtutil
  190. exit 0
  191. %postun
  192. if [ "$1" = 0 ]; then
  193. %_tl_touch_run texhash
  194. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  195. %_tl_disable_map cs-charter.map
  196. %_tl_disable_map csfonts.map
  197. fi
  198. exit 0
  199. %posttrans
  200. %{_tl_exec_texhash}
  201. %{_tl_exec_mtxrun}
  202. %{_tl_exec_updmap}
  203. %{_tl_exec_fmtutil}
  204. exit 0
  205. %files -f filelist.full
  206. %defattr(-,root,root,-)
  207. %files -f filelist.doc doc
  208. %defattr(-,root,root,-)
  209. %changelog
  210. * Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
  211. - synced tlnet to 20141028
  212. * Sun Jul 6 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
  213. - synced tlnet to 20140706
  214. * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
  215. - synced tlnet to 20140524