texlive-collection-langgerman-vl.spec 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  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: German
  22. Summary(ja): TeX Live: German
  23. Name: texlive-collection-langgerman
  24. Version: 2009
  25. Release: 1%{?_dist_release}
  26. License: LPPL, No Info, 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 German:
  48. Support for typesetting German.
  49. This package contains the following CTAN packages:
  50. dehyph-exptl: Experimental hyphenation patterns for the German language.
  51. german: Support for German typography.
  52. germbib: German variants of standard BibTeX styles.
  53. germkorr: Change kerning for german quotation marks.
  54. kalender: Create a calendar, in German.
  55. mkind-german:
  56. r_und_s: Chemical hazard codes.
  57. uhrzeit: Time printing, in German.
  58. umlaute: German input encodings in LaTeX.
  59. hyphen-german: New orthography German hyphenation patterns.
  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. German:
  73. Support for typesetting German.
  74. このパッケージは以下の CTAN パッケージを含んでいます:
  75. dehyph-exptl: Experimental hyphenation patterns for the German language.
  76. german: Support for German typography.
  77. germbib: German variants of standard BibTeX styles.
  78. germkorr: Change kerning for german quotation marks.
  79. kalender: Create a calendar, in German.
  80. mkind-german:
  81. r_und_s: Chemical hazard codes.
  82. uhrzeit: Time printing, in German.
  83. umlaute: German input encodings in LaTeX.
  84. hyphen-german: New orthography German hyphenation patterns.
  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/generic/dehyph-exptl/CHANGES
  98. texmf-dist/doc/generic/dehyph-exptl/INSTALL
  99. texmf-dist/doc/generic/dehyph-exptl/LICENSE
  100. texmf-dist/doc/generic/dehyph-exptl/README
  101. texmf-dist/doc/generic/dehyph-exptl/dehyph-exptl.bib
  102. texmf-dist/doc/generic/dehyph-exptl/dehyph-exptl.pdf
  103. texmf-dist/doc/generic/dehyph-exptl/projektbeschreibung.bib
  104. texmf-dist/doc/generic/dehyph-exptl/projektbeschreibung.pdf
  105. texmf-dist/doc/generic/dehyph-exptl/projektbeschreibung.tex
  106. texmf-dist/tex/generic/dehyph-exptl/dehyph-exptl.tex
  107. texmf-dist/tex/generic/dehyph-exptl/dehyphn-x-2009-06-19.pat
  108. texmf-dist/tex/generic/dehyph-exptl/dehyphn-x-2009-06-19.tex
  109. texmf-dist/tex/generic/dehyph-exptl/dehypht-x-2009-06-19.pat
  110. texmf-dist/tex/generic/dehyph-exptl/dehypht-x-2009-06-19.tex
  111. texmf-dist/tex/generic/dehyph-exptl/dehyphts-x-2009-06-19.pat
  112. texmf-dist/tex/generic/dehyph-exptl/dehyphts-x-2009-06-19.tex
  113. texmf-dist/doc/generic/german/00readme.1st
  114. texmf-dist/doc/generic/german/gerdoc.dvi
  115. texmf-dist/doc/generic/german/gerdoc.tex
  116. texmf-dist/doc/generic/german/hyphxmpl.cfg
  117. texmf-dist/source/generic/german/betatest/00readme.1st
  118. texmf-dist/source/generic/german/german.MISSING
  119. texmf-dist/source/generic/german/german.dtx
  120. texmf-dist/source/generic/german/german.ins
  121. texmf-dist/tex/generic/german/german.sty
  122. texmf-dist/tex/generic/german/ngerman.sty
  123. texmf-dist/doc/bibtex/germbib/README.bibgerm
  124. texmf-dist/doc/bibtex/germbib/apalike.doc
  125. texmf-dist/doc/bibtex/germbib/apalike.germbib_sty
  126. texmf-dist/doc/bibtex/germbib/apalike.tex
  127. texmf-dist/doc/bibtex/germbib/btxdoc.tex
  128. texmf-dist/doc/bibtex/germbib/btxhak.tex
  129. texmf-dist/doc/bibtex/germbib/gerbibtx.bib
  130. texmf-dist/doc/bibtex/germbib/gerbibtx.tex
  131. texmf-dist/doc/bibtex/germbib/gerxampl.bib
  132. texmf-dist/doc/bibtex/germbib/schaum.bib
  133. texmf-dist/doc/bibtex/germbib/testbibgerm.tex
  134. texmf-dist/doc/bibtex/germbib/testgerb.tex
  135. texmf-dist/doc/bibtex/germbib/xampl.bib
  136. texmf-dist/bibtex/bst/germbib/gerabbrv.bst
  137. texmf-dist/bibtex/bst/germbib/geralpha.bst
  138. texmf-dist/bibtex/bst/germbib/gerapali.bst
  139. texmf-dist/bibtex/bst/germbib/gerplain.bst
  140. texmf-dist/bibtex/bst/germbib/gerunsrt.bst
  141. texmf-dist/tex/latex/germbib/bibgerm.sty
  142. texmf-dist/tex/latex/germbib/mynormal.sty
  143. texmf-dist/doc/latex/germkorr/COPYING
  144. texmf-dist/doc/latex/germkorr/README
  145. texmf-dist/doc/latex/germkorr/germkorr.pdf
  146. texmf-dist/doc/latex/germkorr/germkorr.tex
  147. texmf-dist/tex/latex/germkorr/germkorr.sty
  148. texmf-dist/tex/latex/kalender/kalender.sty
  149. texmf-dist/makeindex/mkind-german/digit.ist
  150. texmf-dist/makeindex/mkind-german/special.ist
  151. texmf-dist/makeindex/mkind-german/umlaut.ist
  152. texmf-dist/makeindex/mkind-german/wb.ist
  153. texmf-dist/doc/latex/r_und_s/README
  154. texmf-dist/tex/latex/r_und_s/eng_rs.sty
  155. texmf-dist/tex/latex/r_und_s/eng_rs.tex
  156. texmf-dist/tex/latex/r_und_s/fr_rs.sty
  157. texmf-dist/tex/latex/r_und_s/fr_rs.tex
  158. texmf-dist/tex/latex/r_und_s/nl_rs.sty
  159. texmf-dist/tex/latex/r_und_s/nl_rs.tex
  160. texmf-dist/tex/latex/r_und_s/r_und_s.sty
  161. texmf-dist/tex/latex/r_und_s/r_und_s.tex
  162. texmf-dist/tex/latex/uhrzeit/uhrzeit.sty
  163. texmf-dist/doc/latex/umlaute/cs_patch.uue
  164. texmf-dist/doc/latex/umlaute/umlaute.pdf
  165. texmf-dist/source/latex/umlaute/umlaute.dtx
  166. texmf-dist/source/latex/umlaute/umlaute.ins
  167. texmf-dist/tex/latex/umlaute/atari.def
  168. texmf-dist/tex/latex/umlaute/isolatin.def
  169. texmf-dist/tex/latex/umlaute/mac.def
  170. texmf-dist/tex/latex/umlaute/pc850.def
  171. texmf-dist/tex/latex/umlaute/roman8.def
  172. texmf-dist/tex/latex/umlaute/umlaute.sty
  173. )
  174. %__mkdir_p ${PREF}/texmf-dist
  175. for i in "${manifest[@]}"; do
  176. %__install -D %{texlive_src}/$i ${PREF}/$i
  177. done
  178. ## info
  179. %__rm -f %{buildroot}%{_infodir}/dir
  180. %__gzip -9nf %{buildroot}%{_infodir}/*info* ||:
  181. ## man
  182. ## man t1* files are provided by t1utils
  183. for i in t1ascii t1asm t1binary t1disasm t1mac t1unmac; do
  184. %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
  185. done
  186. ## man some files are provided by psutils
  187. for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixscribeps fixtpps fixwfwps fixwpps fixwwps getafm includeres psbook psmerge psnup psresize psselect pstops; do
  188. %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
  189. done
  190. ## remove asymptote directries, which provides asymptote package
  191. find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
  192. # find %{buildroot} -name "Makefile" | xargs %__rm -f
  193. # ## remove xindy
  194. # find %{buildroot} -regex ".*xindy.*" | xargs %__rm -rf
  195. # ## remove tex4ht
  196. # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
  197. ## remove unpackaging files
  198. find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
  199. find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
  200. ## Files list
  201. find %{buildroot} -type f -or -type l | \
  202. %__sed -e "s|%{buildroot}||g" > filelist.full
  203. find %{buildroot}%{texmf}-dist -type d | \
  204. %__sed -e "s|^%{buildroot}|%dir |" \
  205. -e "s|$|/|" >> filelist.full
  206. ## subpackages
  207. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  208. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  209. %__mv -f filelist.tmp filelist.full
  210. %clean
  211. %__rm -rf %{buildroot}
  212. %post
  213. %{exec_texhash}
  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. fi
  221. exit 0
  222. %files -f filelist.full
  223. %defattr(-,root,root)
  224. %files -f filelist.doc doc
  225. %defattr(-,root,root)
  226. %changelog
  227. * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
  228. - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-langgerman