texlive-collection-langfrench-vl.spec 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1:
  3. ## tlpdb2rpmspec.sh collection-basic
  4. %bcond_with firstbuild
  5. %define tex_destdir %{_datadir}
  6. %define texmf %{tex_destdir}/texmf
  7. %define texlive_src %{tex_destdir}/texlive-sources
  8. %define build_tex_destdir %{buildroot}%{tex_destdir}
  9. %define build_texmf %{buildroot}%{texmf}
  10. %define exec_mktexlsr [ -x %{_bindir}/texconfig-sys ] && PATH=%{_bindir}:$PATH %{_bindir}/texconfig-sys rehash
  11. %define exec_texhash [ -x %{_bindir}/texhash ] && PATH=%{_bindir}:$PATH %{_bindir}/texhash
  12. %define exec_updmap [ -x %{_bindir}/updmap-sys ] && PATH=%{_bindir}:$PATH %{_bindir}/updmap-sys --nostop
  13. %define exec_fmtutil [ -x %{_bindir}/fmtutil-sys ] && PATH=%{_bindir}:$PATH %{_bindir}/fmtutil-sys --all >/dev/null 2>&1
  14. %define exec_upddeffont [ -x %{_sbindir}/update-defaultfont ] && %{_sbindir}/update-defaultfont 2> /dev/null
  15. %define vartexfonts %{_var}/lib/texmf
  16. %define __find_provides %{nil}
  17. %define __find_requires %{nil}
  18. %define __perl_provides %{nil}
  19. %define __perl_requires %{nil}
  20. Autoreq: 0
  21. Summary: TeX Live: French
  22. Summary(ja): TeX Live: French
  23. Name: texlive-collection-langfrench
  24. Version: 2009
  25. Release: 1%{?_dist_release}
  26. License: LPPL, Public Domain, GPL+, Freely redistributable without restriction
  27. Group: Applications/Publishing
  28. URL:http://www.tug.org/texlive/
  29. Requires: texlive = %{version}
  30. Requires: texlive-collection-basic = %{version}
  31. Requires(post): texlive = %{version}
  32. Requires(postun): texlive = %{version}
  33. BuildRequires: texlive-sources = %{version}
  34. BuildArch: noarch
  35. Buildroot: %{_tmppath}/%{name}-%{version}-root
  36. Vendor: Project Vine
  37. Distribution: Vine Linux
  38. Packager: munepi
  39. %description
  40. The TeX Live software distribution offers a complete TeX system for a
  41. variety of Unix, Macintosh, Windows and other platforms. It
  42. encompasses programs for editing, typesetting, previewing and printing
  43. of TeX documents in many different languages, and a large collection
  44. of TeX macros and font libraries.
  45. The distribution includes extensive general documentation about TeX,
  46. as well as the documentation for the included software packages.
  47. This package is a collection of French:
  48. Support for typesetting French.
  49. This package contains the following CTAN packages:
  50. aeguill: Add several kinds of guillemets to the ae fonts.
  51. bib-fr: French translation of classical BibTeX styles
  52. frenchle: French macros, usable stand-alone or with Babel.
  53. frletter: Typeset letters in the French style.
  54. mafr: Mathematics in accord with French usage.
  55. tabvar: Typesetting tables showing variations of functions.
  56. tdsfrmath: Macros for French teachers of mathematics.
  57. variations: Typeset tables of variations of functions.
  58. hyphen-basque: Hyphenation for Basque.
  59. hyphen-french:
  60. %description -l ja
  61. TeX Live ソフトウェアディストリビューションは、
  62. さまざまな Unix, Macintosh, Windows、および
  63. 他のプラットホームに対して完全な TeX システムを提供します。
  64. 多くの異なった言語を含む TeX ドキュメントの
  65. 編集、組版、閲覧、印刷するためのプログラム、
  66. そして、TeX マクロやフォントライブラリの大きなコレクションを
  67. 同梱しています。
  68. このディストリビューションは
  69. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  70. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  71. このパッケージは以下のようなパッケージ集です。
  72. French:
  73. Support for typesetting French.
  74. このパッケージは以下の CTAN パッケージを含んでいます:
  75. aeguill: Add several kinds of guillemets to the ae fonts.
  76. bib-fr: French translation of classical BibTeX styles
  77. frenchle: French macros, usable stand-alone or with Babel.
  78. frletter: Typeset letters in the French style.
  79. mafr: Mathematics in accord with French usage.
  80. tabvar: Typesetting tables showing variations of functions.
  81. tdsfrmath: Macros for French teachers of mathematics.
  82. variations: Typeset tables of variations of functions.
  83. hyphen-basque: Hyphenation for Basque.
  84. hyphen-french:
  85. %package doc
  86. Summary: TeX Live: Documentation files of %{name}
  87. Group: Applications/Publishing
  88. Requires: %{name} = %{version}-%{release}
  89. %description doc
  90. This package contains documentation files of %{name}.
  91. %prep
  92. %build
  93. %install
  94. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  95. PREF=%{buildroot}%{tex_destdir}
  96. manifest=(
  97. texmf-dist/doc/latex/aeguill/README
  98. texmf-dist/doc/latex/aeguill/guil-test1.pdf
  99. texmf-dist/doc/latex/aeguill/guil-test1.tex
  100. texmf-dist/doc/latex/aeguill/guil-test2.pdf
  101. texmf-dist/doc/latex/aeguill/guil-test2.tex
  102. texmf-dist/doc/latex/aeguill/license.txt
  103. texmf-dist/tex/latex/aeguill/aeguill.sty
  104. texmf-dist/doc/bibtex/bib-fr/CHANGELOG
  105. texmf-dist/doc/bibtex/bib-fr/README
  106. texmf-dist/bibtex/bst/bib-fr/abbrv-fr.bst
  107. texmf-dist/bibtex/bst/bib-fr/abbrvnat-fr.bst
  108. texmf-dist/bibtex/bst/bib-fr/alpha-fr.bst
  109. texmf-dist/bibtex/bst/bib-fr/apalike-fr.bst
  110. texmf-dist/bibtex/bst/bib-fr/ieeetr-fr.bst
  111. texmf-dist/bibtex/bst/bib-fr/plain-fr.bst
  112. texmf-dist/bibtex/bst/bib-fr/plainnat-fr.bst
  113. texmf-dist/bibtex/bst/bib-fr/siam-fr.bst
  114. texmf-dist/bibtex/bst/bib-fr/unsrt-fr.bst
  115. texmf-dist/bibtex/bst/bib-fr/unsrtnat-fr.bst
  116. texmf-dist/doc/latex/frenchle/FAQ.pdf
  117. texmf-dist/doc/latex/frenchle/README.le
  118. texmf-dist/doc/latex/frenchle/frenchle.pdf
  119. texmf-dist/tex/latex/frenchle/babelfr.sty
  120. texmf-dist/tex/latex/frenchle/french.ldf
  121. texmf-dist/tex/latex/frenchle/frenchle.cfg
  122. texmf-dist/tex/latex/frenchle/frenchle.ldf
  123. texmf-dist/tex/latex/frenchle/frenchle.sty
  124. texmf-dist/doc/latex/frletter/README
  125. texmf-dist/tex/latex/frletter/frletter.cls
  126. texmf-dist/doc/latex/mafr/ALIRE
  127. texmf-dist/doc/latex/mafr/COPYING
  128. texmf-dist/doc/latex/mafr/README
  129. texmf-dist/doc/latex/mafr/docmafr.pdf
  130. texmf-dist/doc/latex/mafr/docmafr.tex
  131. texmf-dist/doc/latex/mafr/triangle.eps
  132. texmf-dist/tex/latex/mafr/cours.cls
  133. texmf-dist/tex/latex/mafr/fiche.cls
  134. texmf-dist/tex/latex/mafr/mafr.sty
  135. texmf-dist/doc/latex/tabvar/README
  136. texmf-dist/doc/latex/tabvar/demo.pdf
  137. texmf-dist/doc/latex/tabvar/demo.tex
  138. texmf-dist/doc/latex/tabvar/tabvar.pdf
  139. texmf-dist/source/latex/tabvar/tabvar.dtx
  140. texmf-dist/source/latex/tabvar/tabvar.ins
  141. texmf-dist/fonts/afm/public/tabvar/tabvar.afm
  142. texmf-dist/fonts/map/dvips/tabvar/tabvar.map
  143. texmf-dist/fonts/tfm/public/tabvar/tabvar.tfm
  144. texmf-dist/fonts/type1/public/tabvar/tabvar.pfb
  145. texmf-dist/metapost/tabvar/tabvar.mp
  146. texmf-dist/tex/latex/tabvar/tabvar.1
  147. texmf-dist/tex/latex/tabvar/tabvar.2
  148. texmf-dist/tex/latex/tabvar/tabvar.3
  149. texmf-dist/tex/latex/tabvar/tabvar.cfg
  150. texmf-dist/tex/latex/tabvar/tabvar.sty
  151. texmf-dist/doc/latex/tdsfrmath/LISEZMOI
  152. texmf-dist/doc/latex/tdsfrmath/README
  153. texmf-dist/doc/latex/tdsfrmath/tdsfrmath.pdf
  154. texmf-dist/source/latex/tdsfrmath/Makefile
  155. texmf-dist/source/latex/tdsfrmath/tdsfrmath.dtx
  156. texmf-dist/source/latex/tdsfrmath/tdsfrmath.ins
  157. texmf-dist/tex/latex/tdsfrmath/suite.sto
  158. texmf-dist/tex/latex/tdsfrmath/taupe.sto
  159. texmf-dist/tex/latex/tdsfrmath/tdsfrmath.sty
  160. texmf-dist/doc/generic/variations/ALIRE
  161. texmf-dist/doc/generic/variations/COPYING
  162. texmf-dist/doc/generic/variations/README
  163. texmf-dist/doc/generic/variations/docvariations.pdf
  164. texmf-dist/doc/generic/variations/docvariations.tex
  165. texmf-dist/tex/generic/variations/variations.sty
  166. texmf-dist/tex/generic/variations/variations.tex
  167. )
  168. %__mkdir_p ${PREF}/texmf-dist
  169. for i in "${manifest[@]}"; do
  170. %__install -D %{texlive_src}/$i ${PREF}/$i
  171. done
  172. ## info
  173. %__rm -f %{buildroot}%{_infodir}/dir
  174. %__gzip -9nf %{buildroot}%{_infodir}/*info* ||:
  175. ## man
  176. ## man t1* files are provided by t1utils
  177. for i in t1ascii t1asm t1binary t1disasm t1mac t1unmac; do
  178. %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
  179. done
  180. ## man some files are provided by psutils
  181. for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixscribeps fixtpps fixwfwps fixwpps fixwwps getafm includeres psbook psmerge psnup psresize psselect pstops; do
  182. %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
  183. done
  184. ## remove asymptote directries, which provides asymptote package
  185. find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
  186. # find %{buildroot} -name "Makefile" | xargs %__rm -f
  187. # ## remove xindy
  188. # find %{buildroot} -regex ".*xindy.*" | xargs %__rm -rf
  189. # ## remove tex4ht
  190. # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
  191. ## remove unpackaging files
  192. find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
  193. find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
  194. ## Files list
  195. find %{buildroot} -type f -or -type l | \
  196. %__sed -e "s|%{buildroot}||g" > filelist.full
  197. find %{buildroot}%{texmf}-dist -type d | \
  198. %__sed -e "s|^%{buildroot}|%dir |" \
  199. -e "s|$|/|" >> filelist.full
  200. ## subpackages
  201. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  202. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  203. %__mv -f filelist.tmp filelist.full
  204. %clean
  205. %__rm -rf %{buildroot}
  206. %post
  207. %{exec_texhash}
  208. [ -f %{texmf}/web2c/updmap.cfg ] || exit 0
  209. %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map tabvar.map" && \
  210. echo -n " " && \
  211. echo -n "Running updmap: enable tabvar.map ... " && \
  212. %{exec_updmap} --enable Map tabvar.map >/dev/null 2>&1 && \
  213. echo "done."
  214. echo -n " "
  215. echo -n "Running fmtutil ... " && %{exec_fmtutil} && echo "done."
  216. exit 0
  217. %postun
  218. if [ "$1" = 0 ]; then
  219. %{exec_texhash}
  220. [ -f %{texmf}/web2c/updmap.cfg ] || exit 0
  221. %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^Map tabvar.map" && \
  222. echo -n " " && \
  223. echo -n "Running updmap: disable tabvar.map ... " && \
  224. %{exec_updmap} --disable tabvar.map >/dev/null 2>&1 && \
  225. echo "done."
  226. fi
  227. exit 0
  228. %files -f filelist.full
  229. %defattr(-,root,root)
  230. %files -f filelist.doc doc
  231. %defattr(-,root,root)
  232. %changelog
  233. * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
  234. - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-langfrench