texlive-collection-langitalian-vl.spec 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2015-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: 2015
  11. Release: 1%{?_dist_release}
  12. License: LPPL, LPPL 1.3, LGPLv2+, Freely redistributable without restriction, GFDL, 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: LaTeX guide for word processor users, in Italian.
  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: LaTeX guide for word processor users, in Italian.
  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. scripts/texlive/texconfig-dialog.sh
  184. scripts/texlive/texconfig-sys.sh
  185. scripts/texlive/texconfig.sh
  186. scripts/texlive/texlinks.sh
  187. scripts/texlive/tlmgr.pl
  188. texconfig/tcfmgr
  189. web2c/mktex.opt
  190. web2c/mktexdir
  191. web2c/mktexdir.opt
  192. web2c/mktexnam
  193. web2c/mktexnam.opt
  194. web2c/mktexupd
  195. web2c/texmf.cnf
  196. web2c/updmap-hdr.cfg
  197. web2c/updmap.cfg
  198. )
  199. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  200. pushd %{buildroot}%{_tl_texmfdist}
  201. %__rm -f ${x[@]} ||:
  202. popd
  203. fi
  204. ## Files list
  205. find %{buildroot} -type f -or -type l | \
  206. %__sed -e "s|%{buildroot}||g" > filelist.full
  207. find %{buildroot}%{_tl_texmfdist} -type d | \
  208. %__sed -e "s|^%{buildroot}|%dir |" \
  209. -e "s|$|/|" >> filelist.full
  210. ## subpackages
  211. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  212. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  213. %__mv -f filelist.tmp filelist.full
  214. %clean
  215. %__rm -rf %{buildroot}
  216. %post
  217. %_tl_touch_run texhash
  218. %_tl_touch_run mtxrun
  219. %_tl_touch_run fmtutil
  220. exit 0
  221. %postun
  222. if [ "$1" = 0 ]; then
  223. %_tl_touch_run texhash
  224. fi
  225. exit 0
  226. %posttrans
  227. %{_tl_exec_texhash}
  228. %{_tl_exec_mtxrun}
  229. %{_tl_exec_updmap}
  230. %{_tl_exec_fmtutil}
  231. exit 0
  232. %files -f filelist.full
  233. %defattr(-,root,root,-)
  234. %files -f filelist.doc doc
  235. %defattr(-,root,root,-)
  236. %changelog