texlive-collection-langfrench-vl.spec 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2014-1:
  3. ## tlpdb2rpmspec collection-langfrench
  4. %global _use_internal_dependency_generator 0
  5. %global __find_provides %{nil}
  6. %global __find_requires %{nil}
  7. Summary: TeX Live: French
  8. Summary(ja): TeX Live: French
  9. Name: texlive-collection-langfrench
  10. Version: 2014
  11. Release: 1%{?_dist_release}
  12. License: LPPL, LPPL 1.3, LPPL 1.2, GPL+, Freely redistributable without restriction, Public Domain, GFDL
  13. Group: Applications/Publishing
  14. URL:http://www.tug.org/texlive/
  15. Source0: aeguill.doc.tar.xz
  16. Source1: aeguill.tar.xz
  17. Source2: apprends-latex.doc.tar.xz
  18. Source3: apprends-latex.tar.xz
  19. Source4: babel-basque.doc.tar.xz
  20. Source5: babel-basque.source.tar.xz
  21. Source6: babel-basque.tar.xz
  22. Source7: babel-french.doc.tar.xz
  23. Source8: babel-french.source.tar.xz
  24. Source9: babel-french.tar.xz
  25. Source10: basque-book.doc.tar.xz
  26. Source11: basque-book.source.tar.xz
  27. Source12: basque-book.tar.xz
  28. Source13: basque-date.doc.tar.xz
  29. Source14: basque-date.source.tar.xz
  30. Source15: basque-date.tar.xz
  31. Source16: bib-fr.doc.tar.xz
  32. Source17: bib-fr.tar.xz
  33. Source18: bibleref-french.doc.tar.xz
  34. Source19: bibleref-french.source.tar.xz
  35. Source20: bibleref-french.tar.xz
  36. Source21: booktabs-fr.doc.tar.xz
  37. Source22: booktabs-fr.tar.xz
  38. Source23: droit-fr.doc.tar.xz
  39. Source24: droit-fr.tar.xz
  40. Source25: epslatex-fr.doc.tar.xz
  41. Source26: epslatex-fr.tar.xz
  42. Source27: facture.doc.tar.xz
  43. Source28: facture.source.tar.xz
  44. Source29: facture.tar.xz
  45. Source30: frenchle.doc.tar.xz
  46. Source31: frenchle.tar.xz
  47. Source32: frletter.doc.tar.xz
  48. Source33: frletter.tar.xz
  49. Source34: hyphen-basque.tar.xz
  50. Source35: hyphen-french.tar.xz
  51. Source36: impatient-fr.doc.tar.xz
  52. Source37: impatient-fr.tar.xz
  53. Source38: impnattypo.doc.tar.xz
  54. Source39: impnattypo.source.tar.xz
  55. Source40: impnattypo.tar.xz
  56. Source41: l2tabu-french.doc.tar.xz
  57. Source42: l2tabu-french.tar.xz
  58. Source43: lshort-french.doc.tar.xz
  59. Source44: lshort-french.tar.xz
  60. Source45: mafr.doc.tar.xz
  61. Source46: mafr.tar.xz
  62. Source47: tabvar.doc.tar.xz
  63. Source48: tabvar.source.tar.xz
  64. Source49: tabvar.tar.xz
  65. Source50: tdsfrmath.doc.tar.xz
  66. Source51: tdsfrmath.source.tar.xz
  67. Source52: tdsfrmath.tar.xz
  68. Source53: texlive-fr.doc.tar.xz
  69. Source54: texlive-fr.tar.xz
  70. Source55: translation-array-fr.doc.tar.xz
  71. Source56: translation-array-fr.tar.xz
  72. Source57: translation-dcolumn-fr.doc.tar.xz
  73. Source58: translation-dcolumn-fr.tar.xz
  74. Source59: translation-natbib-fr.doc.tar.xz
  75. Source60: translation-natbib-fr.tar.xz
  76. Source61: translation-tabbing-fr.doc.tar.xz
  77. Source62: translation-tabbing-fr.tar.xz
  78. Source63: variations.doc.tar.xz
  79. Source64: variations.tar.xz
  80. Requires: texlive = %{version}
  81. Requires: texlive-collection-basic = %{version}
  82. Requires(post): texlive = %{version}
  83. Requires(postun): texlive = %{version}
  84. BuildArch: noarch
  85. Buildroot: %{_tmppath}/%{name}-%{version}-root
  86. Vendor: Project Vine
  87. Distribution: Vine Linux
  88. Packager: munepi
  89. %description
  90. The TeX Live software distribution offers a complete TeX system for a
  91. variety of Unix, Macintosh, Windows and other platforms. It
  92. encompasses programs for editing, typesetting, previewing and printing
  93. of TeX documents in many different languages, and a large collection
  94. of TeX macros and font libraries.
  95. The distribution includes extensive general documentation about TeX,
  96. as well as the documentation for the included software packages.
  97. This package is a collection of French:
  98. Support for French and Basque.
  99. This package contains the following CTAN packages:
  100. aeguill: Add several kinds of guillemets to the ae fonts.
  101. apprends-latex: Apprends LaTeX!
  102. babel-basque: Babel contributed support for Basque.
  103. babel-french: Babel contributed support for French.
  104. basque-book: Class for book-type documents written in Basque.
  105. basque-date: Print the date in Basque.
  106. bib-fr: French translation of classical BibTeX styles
  107. bibleref-french: French translations for bibleref.
  108. booktabs-fr: French translation of booktabs documentation.
  109. droit-fr: Document class and bibliographic style for French law.
  110. epslatex-fr: French version of "graphics in LaTeX".
  111. facture: Generate an invoice.
  112. frenchle: French macros, usable stand-alone or with Babel.
  113. frletter: Typeset letters in the French style.
  114. hyphen-basque: Basque hyphenation patterns.
  115. hyphen-french: French hyphenation patterns.
  116. impatient-fr: Free edition of the book "TeX for the Impatient"
  117. impnattypo: Support typography of l'Imprimerie Nationale FranASSaise.
  118. l2tabu-french: French translation of l2tabu.
  119. lshort-french: Short introduction to LaTeX, French translation.
  120. mafr: Mathematics in accord with French usage.
  121. tabvar: Typesetting tables showing variations of functions.
  122. tdsfrmath: Macros for French teachers of mathematics.
  123. texlive-fr: TeX Live manual (French)
  124. translation-array-fr: French translation of the documentation of array.
  125. translation-dcolumn-fr: French translation of the documentation of dcolumn.
  126. translation-natbib-fr: French translation of the documentation of natbib.
  127. translation-tabbing-fr: French translation of the documentation of Tabbing.
  128. variations: Typeset tables of variations of functions.
  129. %description -l ja
  130. TeX Live ソフトウェアディストリビューションは、
  131. さまざまな Unix, Macintosh, Windows、および
  132. 他のプラットホームに対して完全な TeX システムを提供します。
  133. 多くの異なった言語を含む TeX ドキュメントの
  134. 編集、組版、閲覧、印刷するためのプログラム、
  135. そして、TeX マクロやフォントライブラリの大きなコレクションを
  136. 同梱しています。
  137. このディストリビューションは
  138. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  139. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  140. このパッケージは以下のようなパッケージ集です。
  141. French:
  142. Support for French and Basque.
  143. このパッケージは以下の CTAN パッケージを含んでいます:
  144. aeguill: Add several kinds of guillemets to the ae fonts.
  145. apprends-latex: Apprends LaTeX!
  146. babel-basque: Babel contributed support for Basque.
  147. babel-french: Babel contributed support for French.
  148. basque-book: Class for book-type documents written in Basque.
  149. basque-date: Print the date in Basque.
  150. bib-fr: French translation of classical BibTeX styles
  151. bibleref-french: French translations for bibleref.
  152. booktabs-fr: French translation of booktabs documentation.
  153. droit-fr: Document class and bibliographic style for French law.
  154. epslatex-fr: French version of "graphics in LaTeX".
  155. facture: Generate an invoice.
  156. frenchle: French macros, usable stand-alone or with Babel.
  157. frletter: Typeset letters in the French style.
  158. hyphen-basque: Basque hyphenation patterns.
  159. hyphen-french: French hyphenation patterns.
  160. impatient-fr: Free edition of the book "TeX for the Impatient"
  161. impnattypo: Support typography of l'Imprimerie Nationale FranASSaise.
  162. l2tabu-french: French translation of l2tabu.
  163. lshort-french: Short introduction to LaTeX, French translation.
  164. mafr: Mathematics in accord with French usage.
  165. tabvar: Typesetting tables showing variations of functions.
  166. tdsfrmath: Macros for French teachers of mathematics.
  167. texlive-fr: TeX Live manual (French)
  168. translation-array-fr: French translation of the documentation of array.
  169. translation-dcolumn-fr: French translation of the documentation of dcolumn.
  170. translation-natbib-fr: French translation of the documentation of natbib.
  171. translation-tabbing-fr: French translation of the documentation of Tabbing.
  172. variations: Typeset tables of variations of functions.
  173. %package doc
  174. Summary: TeX Live: Documentation files of %{name}
  175. Group: Applications/Publishing
  176. Requires: %{name} = %{version}-%{release}
  177. %description doc
  178. This package contains documentation files of %{name}.
  179. %prep
  180. %setup -c -n %{name}-%{version}
  181. %__tar -xvf %{SOURCE1}
  182. %__tar -xvf %{SOURCE2}
  183. %__tar -xvf %{SOURCE3}
  184. %__tar -xvf %{SOURCE4}
  185. %__tar -xvf %{SOURCE5}
  186. %__tar -xvf %{SOURCE6}
  187. %__tar -xvf %{SOURCE7}
  188. %__tar -xvf %{SOURCE8}
  189. %__tar -xvf %{SOURCE9}
  190. %__tar -xvf %{SOURCE10}
  191. %__tar -xvf %{SOURCE11}
  192. %__tar -xvf %{SOURCE12}
  193. %__tar -xvf %{SOURCE13}
  194. %__tar -xvf %{SOURCE14}
  195. %__tar -xvf %{SOURCE15}
  196. %__tar -xvf %{SOURCE16}
  197. %__tar -xvf %{SOURCE17}
  198. %__tar -xvf %{SOURCE18}
  199. %__tar -xvf %{SOURCE19}
  200. %__tar -xvf %{SOURCE20}
  201. %__tar -xvf %{SOURCE21}
  202. %__tar -xvf %{SOURCE22}
  203. %__tar -xvf %{SOURCE23}
  204. %__tar -xvf %{SOURCE24}
  205. %__tar -xvf %{SOURCE25}
  206. %__tar -xvf %{SOURCE26}
  207. %__tar -xvf %{SOURCE27}
  208. %__tar -xvf %{SOURCE28}
  209. %__tar -xvf %{SOURCE29}
  210. %__tar -xvf %{SOURCE30}
  211. %__tar -xvf %{SOURCE31}
  212. %__tar -xvf %{SOURCE32}
  213. %__tar -xvf %{SOURCE33}
  214. %__tar -xvf %{SOURCE34}
  215. %__tar -xvf %{SOURCE35}
  216. %__tar -xvf %{SOURCE36}
  217. %__tar -xvf %{SOURCE37}
  218. %__tar -xvf %{SOURCE38}
  219. %__tar -xvf %{SOURCE39}
  220. %__tar -xvf %{SOURCE40}
  221. %__tar -xvf %{SOURCE41}
  222. %__tar -xvf %{SOURCE42}
  223. %__tar -xvf %{SOURCE43}
  224. %__tar -xvf %{SOURCE44}
  225. %__tar -xvf %{SOURCE45}
  226. %__tar -xvf %{SOURCE46}
  227. %__tar -xvf %{SOURCE47}
  228. %__tar -xvf %{SOURCE48}
  229. %__tar -xvf %{SOURCE49}
  230. %__tar -xvf %{SOURCE50}
  231. %__tar -xvf %{SOURCE51}
  232. %__tar -xvf %{SOURCE52}
  233. %__tar -xvf %{SOURCE53}
  234. %__tar -xvf %{SOURCE54}
  235. %__tar -xvf %{SOURCE55}
  236. %__tar -xvf %{SOURCE56}
  237. %__tar -xvf %{SOURCE57}
  238. %__tar -xvf %{SOURCE58}
  239. %__tar -xvf %{SOURCE59}
  240. %__tar -xvf %{SOURCE60}
  241. %__tar -xvf %{SOURCE61}
  242. %__tar -xvf %{SOURCE62}
  243. %__tar -xvf %{SOURCE63}
  244. %__tar -xvf %{SOURCE64}
  245. %build
  246. %install
  247. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  248. %__mkdir_p %{buildroot}%{_datadir}
  249. ## move texmf-dist to /usr/share/texmf-dist
  250. [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
  251. ## move texmf to /usr/share/texmf
  252. [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
  253. ## move tlpkg to /usr/share/tlpkg
  254. [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
  255. ## move all non-arch binaries to /usr/bin
  256. [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
  257. ## move others into /usr/share/texmf-dist
  258. %__mkdir_p %{buildroot}%{_tl_texmfdist}
  259. %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
  260. %__rm -rf * ||:
  261. ## remove duplicated files between texlive and texlive-collection-*
  262. ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
  263. ## remove unpacked files
  264. x=(
  265. # scripts/texlive/tlmgr.pl
  266. # scripts/texlive/updmap.pl
  267. # scripts/fontools/autoinst
  268. # scripts/glossaries/makeglossaries
  269. # scripts/m-tx/m-tx.lua
  270. # scripts/musixtex/musixtex.lua
  271. # scripts/pmx/pmx2pdf.lua
  272. # scripts/latexmk/latexmk.pl
  273. # scripts/jfontmaps/kanji-config-updmap.pl
  274. # scripts/jfontmaps/kanji-fontmap-creator.pl
  275. # scripts/latexpand/latexpand
  276. # scripts/epstopdf/epstopdf.pl
  277. # scripts/convbkmk/convbkmk.rb
  278. # scripts/jfontmaps/kanji-config-updmap-sys.sh
  279. # scripts/luaotfload/luaotfload-tool.lua
  280. # texconfig/tcfmgr
  281. # texconfig/tcfmgr.map
  282. # web2c/fmtutil.cnf
  283. # web2c/mktex.opt
  284. # web2c/mktexdir
  285. # web2c/mktexdir.opt
  286. # web2c/mktexnam
  287. # web2c/mktexnam.opt
  288. # web2c/mktexupd
  289. # web2c/texmf.cnf
  290. # web2c/updmap.cfg
  291. # web2c/updmap-hdr.cfg
  292. # doc/chktex/ChkTeX.pdf
  293. install-tl
  294. )
  295. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  296. pushd %{buildroot}%{_tl_texmfdist}
  297. %__rm -f ${x[@]} ||:
  298. popd
  299. fi
  300. ## Files list
  301. find %{buildroot} -type f -or -type l | \
  302. %__sed -e "s|%{buildroot}||g" > filelist.full
  303. find %{buildroot}%{_tl_texmfdist} -type d | \
  304. %__sed -e "s|^%{buildroot}|%dir |" \
  305. -e "s|$|/|" >> filelist.full
  306. ## subpackages
  307. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  308. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  309. %__mv -f filelist.tmp filelist.full
  310. %clean
  311. %__rm -rf %{buildroot}
  312. %post
  313. %_tl_touch_run texhash
  314. %_tl_touch_run mtxrun
  315. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  316. %_tl_enable_map Map tabvar.map
  317. %_tl_touch_run fmtutil
  318. exit 0
  319. %postun
  320. if [ "$1" = 0 ]; then
  321. %_tl_touch_run texhash
  322. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  323. %_tl_disable_map tabvar.map
  324. fi
  325. exit 0
  326. %posttrans
  327. %{_tl_exec_texhash}
  328. %{_tl_exec_mtxrun}
  329. %{_tl_exec_updmap}
  330. %{_tl_exec_fmtutil}
  331. exit 0
  332. %files -f filelist.full
  333. %defattr(-,root,root,-)
  334. %files -f filelist.doc doc
  335. %defattr(-,root,root,-)
  336. %changelog
  337. * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
  338. - TLNET 20140524