texlive-collection-langitalian-vl.spec 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2013-1:
  3. ## tlpdb2rpmspec collection-langitalian
  4. %global _use_internal_dependency_generator 0
  5. %global __find_provides %{nil}
  6. %global __find_requires %{nil}
  7. Summary: TeX Live: Italian
  8. Summary(ja): TeX Live: Italian
  9. Name: texlive-collection-langitalian
  10. Version: 2013
  11. Release: 1%{?_dist_release}
  12. License: No Info, LPPL 1.3, LPPL, LGPLv2+, GPL+
  13. Group: Applications/Publishing
  14. URL:http://www.tug.org/texlive/
  15. Source0: amsldoc-it.doc.tar.xz
  16. Source1: amsldoc-it.tar.xz
  17. Source2: amsmath-it.doc.tar.xz
  18. Source3: amsmath-it.tar.xz
  19. Source4: amsthdoc-it.doc.tar.xz
  20. Source5: amsthdoc-it.tar.xz
  21. Source6: babel-italian.doc.tar.xz
  22. Source7: babel-italian.source.tar.xz
  23. Source8: babel-italian.tar.xz
  24. Source9: codicefiscaleitaliano.doc.tar.xz
  25. Source10: codicefiscaleitaliano.source.tar.xz
  26. Source11: codicefiscaleitaliano.tar.xz
  27. Source12: fancyhdr-it.doc.tar.xz
  28. Source13: fancyhdr-it.tar.xz
  29. Source14: fixltxhyph.doc.tar.xz
  30. Source15: fixltxhyph.source.tar.xz
  31. Source16: fixltxhyph.tar.xz
  32. Source17: frontespizio.doc.tar.xz
  33. Source18: frontespizio.source.tar.xz
  34. Source19: frontespizio.tar.xz
  35. Source20: hyphen-italian.tar.xz
  36. Source21: itnumpar.doc.tar.xz
  37. Source22: itnumpar.source.tar.xz
  38. Source23: itnumpar.tar.xz
  39. Source24: l2tabu-italian.doc.tar.xz
  40. Source25: l2tabu-italian.tar.xz
  41. Source26: latex4wp-it.doc.tar.xz
  42. Source27: latex4wp-it.tar.xz
  43. Source28: layaureo.doc.tar.xz
  44. Source29: layaureo.source.tar.xz
  45. Source30: layaureo.tar.xz
  46. Source31: lshort-italian.doc.tar.xz
  47. Source32: lshort-italian.tar.xz
  48. Source33: psfrag-italian.doc.tar.xz
  49. Source34: psfrag-italian.tar.xz
  50. Source35: texlive-it.doc.tar.xz
  51. Source36: texlive-it.tar.xz
  52. Requires: texlive = %{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 Italian:
  70. Support for Italian.
  71. This package contains the following CTAN packages:
  72. amsldoc-it:
  73. amsmath-it: Italian translations of some old AMSmath documents.
  74. amsthdoc-it:
  75. babel-italian: Babel support for Italian text.
  76. codicefiscaleitaliano: Test the consistency of the Italian personal Fiscal Code.
  77. fancyhdr-it: Italian translation of fancyhdr documentation.
  78. fixltxhyph: Allow hyphenation of partially-emphasised substrings.
  79. frontespizio: Create a frontispiece for Italian theses.
  80. hyphen-italian: Italian hyphenation patterns.
  81. itnumpar: Spell numbers in words (Italian).
  82. l2tabu-italian: Italian Translation of Obsolete packages and commands
  83. latex4wp-it:
  84. layaureo: A package to improve the A4 page layout.
  85. lshort-italian: Introduction to LaTeX in Italian.
  86. psfrag-italian: PSfrag documentation in Italian.
  87. texlive-it: TeX Live manual (Italian)
  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. Italian:
  101. Support for Italian.
  102. このパッケージは以下の CTAN パッケージを含んでいます:
  103. amsldoc-it:
  104. amsmath-it: Italian translations of some old AMSmath documents.
  105. amsthdoc-it:
  106. babel-italian: Babel support for Italian text.
  107. codicefiscaleitaliano: Test the consistency of the Italian personal Fiscal Code.
  108. fancyhdr-it: Italian translation of fancyhdr documentation.
  109. fixltxhyph: Allow hyphenation of partially-emphasised substrings.
  110. frontespizio: Create a frontispiece for Italian theses.
  111. hyphen-italian: Italian hyphenation patterns.
  112. itnumpar: Spell numbers in words (Italian).
  113. l2tabu-italian: Italian Translation of Obsolete packages and commands
  114. latex4wp-it:
  115. layaureo: A package to improve the A4 page layout.
  116. lshort-italian: Introduction to LaTeX in Italian.
  117. psfrag-italian: PSfrag documentation in Italian.
  118. texlive-it: TeX Live manual (Italian)
  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. %__tar -xvf %{SOURCE36}
  163. %build
  164. %install
  165. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  166. %__mkdir_p %{buildroot}%{_datadir}
  167. ## move texmf-dist to /usr/share/texmf-dist
  168. [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
  169. ## move texmf to /usr/share/texmf
  170. [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
  171. ## move tlpkg to /usr/share/tlpkg
  172. [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
  173. ## move all non-arch binaries to /usr/bin
  174. [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
  175. ## move others into /usr/share/texmf-dist
  176. %__mkdir_p %{buildroot}%{_tl_texmfdist}
  177. %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
  178. %__rm -rf * ||:
  179. ## remove duplicated files between texlive and texlive-collection-*
  180. ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
  181. ## remove unpacked files
  182. x=(
  183. texconfig/tcfmgr
  184. texconfig/tcfmgr.map
  185. web2c/fmtutil.cnf
  186. web2c/mktex.opt
  187. web2c/mktexdir
  188. web2c/mktexdir.opt
  189. web2c/mktexnam
  190. web2c/mktexnam.opt
  191. web2c/mktexupd
  192. web2c/texmf.cnf
  193. web2c/updmap.cfg
  194. web2c/updmap-hdr.cfg
  195. doc/chktex/ChkTeX.pdf
  196. install-tl
  197. )
  198. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  199. pushd %{buildroot}%{_tl_texmfdist}
  200. %__rm -f ${x[@]} ||:
  201. popd
  202. fi
  203. ## Files list
  204. find %{buildroot} -type f -or -type l | \
  205. %__sed -e "s|%{buildroot}||g" > filelist.full
  206. find %{buildroot}%{_tl_texmfdist} -type d | \
  207. %__sed -e "s|^%{buildroot}|%dir |" \
  208. -e "s|$|/|" >> filelist.full
  209. ## subpackages
  210. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  211. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  212. %__mv -f filelist.tmp filelist.full
  213. %clean
  214. %__rm -rf %{buildroot}
  215. %post
  216. %_tl_touch_run texhash
  217. %_tl_touch_run mtxrun
  218. %_tl_touch_run fmtutil
  219. exit 0
  220. %postun
  221. if [ "$1" = 0 ]; then
  222. %_tl_touch_run texhash
  223. fi
  224. exit 0
  225. %posttrans
  226. %{_tl_exec_texhash}
  227. %{_tl_exec_mtxrun}
  228. %{_tl_exec_updmap}
  229. %{_tl_exec_fmtutil}
  230. exit 0
  231. %files -f filelist.full
  232. %defattr(-,root,root,-)
  233. %files -f filelist.doc doc
  234. %defattr(-,root,root,-)
  235. %changelog
  236. * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
  237. - generated by tlpdb2rpmspec 2013-1: tlpdb2rpmspec collection-langitalian
  238. - TLNET 20130823
  239. * Fri Nov 23 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
  240. - generated by tlpdb2rpmspec 2012-1: tlpdb2rpmspec collection-langitalian
  241. * Sat Dec 3 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
  242. - generated by tlpdb2rpmspec 2011-2: tlpdb2rpmspec collection-langitalian
  243. - set external dependencies (texlive-collection-binextra,
  244. texlive-collection-fontutils)
  245. * Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
  246. - generated by tlpdb2rpmspec 2011-1: tlpdb2rpmspec collection-langitalian
  247. * Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
  248. - generated by tlpdb2rpmspec 2009-4: tlpdb2rpmspec collection-langitalian
  249. - make symlinks of core script utils (texlive-collection-binextra,
  250. texlive-collection-context, texlive-collection-fontutils,
  251. texlive-collection-langgreek, texlive-collection-langindic,
  252. texlive-collection-latex, texlive-collection-latexextra,
  253. texlive-collection-latexrecommended, texlive-collection-pictures,
  254. texlive-collection-pstricks, texlive-collection-science)
  255. * Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
  256. - generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-langitalian
  257. - improved %%post
  258. * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
  259. - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-langitalian
  260. - removed arch dependent binaries (texlive-collection-latexextra)
  261. - fixed perl path
  262. - improved updmap process in %%post and %%postun
  263. * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
  264. - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-langitalian