texlive-collection-langafrican-vl.spec 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2016-2:
  3. ## tlpdb2rpmspec collection-langafrican
  4. %global _use_internal_dependency_generator 0
  5. %global __find_provides %{nil}
  6. %global __find_requires %{nil}
  7. Summary: TeX Live: African scripts
  8. Summary(ja): TeX Live: African scripts
  9. Name: texlive-collection-langafrican
  10. Version: 2016
  11. Release: 2%{?_dist_release}
  12. License: GPL+, GPLv2+
  13. Group: Applications/Publishing
  14. URL:http://www.tug.org/texlive/
  15. Source0: ethiop.doc.tar.xz
  16. Source1: ethiop.source.tar.xz
  17. Source2: ethiop.tar.xz
  18. Source3: ethiop-t1.doc.tar.xz
  19. Source4: ethiop-t1.tar.xz
  20. Source5: fc.doc.tar.xz
  21. Source6: fc.tar.xz
  22. Source7: hyphen-ethiopic.source.tar.xz
  23. Source8: hyphen-ethiopic.tar.xz
  24. Requires: texlive = %{version}
  25. Requires: texlive-collection-basic = %{version}
  26. Requires(post): texlive = %{version}
  27. Requires(postun): texlive = %{version}
  28. BuildArch: noarch
  29. Buildroot: %{_tmppath}/%{name}-%{version}-root
  30. Vendor: Project Vine
  31. Distribution: Vine Linux
  32. Packager: munepi
  33. %description
  34. The TeX Live software distribution offers a complete TeX system for a
  35. variety of Unix, Macintosh, Windows and other platforms. It
  36. encompasses programs for editing, typesetting, previewing and printing
  37. of TeX documents in many different languages, and a large collection
  38. of TeX macros and font libraries.
  39. The distribution includes extensive general documentation about TeX,
  40. as well as the documentation for the included software packages.
  41. This package is a collection of African scripts:
  42. Support for African scripts.
  43. This package contains the following CTAN packages:
  44. ethiop: LaTeX macros and fonts for typesetting Amharic
  45. ethiop-t1: Type 1 versions of Amharic fonts
  46. fc: Fonts for African languages
  47. hyphen-ethiopic: Hyphenation patterns for Ethiopic scripts.
  48. %description -l ja
  49. TeX Live ソフトウェアディストリビューションは、
  50. さまざまな Unix, Macintosh, Windows、および
  51. 他のプラットホームに対して完全な TeX システムを提供します。
  52. 多くの異なった言語を含む TeX ドキュメントの
  53. 編集、組版、閲覧、印刷するためのプログラム、
  54. そして、TeX マクロやフォントライブラリの大きなコレクションを
  55. 同梱しています。
  56. このディストリビューションは
  57. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  58. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  59. このパッケージは以下のようなパッケージ集です。
  60. African scripts:
  61. Support for African scripts.
  62. このパッケージは以下の CTAN パッケージを含んでいます:
  63. ethiop: LaTeX macros and fonts for typesetting Amharic
  64. ethiop-t1: Type 1 versions of Amharic fonts
  65. fc: Fonts for African languages
  66. hyphen-ethiopic: Hyphenation patterns for Ethiopic scripts.
  67. %package doc
  68. Summary: TeX Live: Documentation files of %{name}
  69. Group: Applications/Publishing
  70. Requires: %{name} = %{version}-%{release}
  71. %description doc
  72. This package contains documentation files of %{name}.
  73. %prep
  74. %setup -c -n %{name}-%{version}
  75. %__tar -xvf %{SOURCE1}
  76. %__tar -xvf %{SOURCE2}
  77. %__tar -xvf %{SOURCE3}
  78. %__tar -xvf %{SOURCE4}
  79. %__tar -xvf %{SOURCE5}
  80. %__tar -xvf %{SOURCE6}
  81. %__tar -xvf %{SOURCE7}
  82. %__tar -xvf %{SOURCE8}
  83. %build
  84. %install
  85. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  86. %__mkdir_p %{buildroot}%{_datadir}
  87. ## move texmf-dist to /usr/share/texmf-dist
  88. [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
  89. ## move texmf to /usr/share/texmf
  90. [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
  91. ## move tlpkg to /usr/share/tlpkg
  92. [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
  93. ## move all non-arch binaries to /usr/bin
  94. [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
  95. ## move others into /usr/share/texmf-dist
  96. %__mkdir_p %{buildroot}%{_tl_texmfdist}
  97. %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
  98. %__rm -rf * ||:
  99. ## remove duplicated files between texlive and texlive-collection-*
  100. ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
  101. ## remove unpacked files
  102. x=(
  103. dvipdfmx/dvipdfmx.cfg
  104. scripts/context/stubs/unix/mtxrun
  105. scripts/latexmk/latexmk.pl
  106. scripts/ptex2pdf/ptex2pdf.lua
  107. scripts/texlive/fmtutil.pl
  108. scripts/texlive/texconfig-dialog.sh
  109. scripts/texlive/texconfig-sys.sh
  110. scripts/texlive/texconfig.sh
  111. scripts/texlive/texlinks.sh
  112. scripts/texlive/tlmgr.pl
  113. scripts/texlive/updmap.pl
  114. texconfig/tcfmgr
  115. web2c/fmtutil.cnf
  116. web2c/mktex.opt
  117. web2c/mktexdir
  118. web2c/mktexdir.opt
  119. web2c/mktexnam
  120. web2c/mktexnam.opt
  121. web2c/mktexupd
  122. web2c/texmf.cnf
  123. web2c/updmap-hdr.cfg
  124. web2c/updmap.cfg
  125. install-tl
  126. #
  127. scripts/cjk-gs-integrate/cjk-gs-integrate.pl #texlive-collection-langcjk-2015-3vl7.noarch
  128. scripts/epspdf/epspdf.tlu #texlive-collection-pictures-2015-3vl7.noarch
  129. scripts/epspdf/epspdftk.tcl #texlive-collection-pictures-2015-3vl7.noarch
  130. scripts/glossaries/makeglossaries #texlive-collection-latexextra-2015-3vl7.noarch
  131. scripts/jfontmaps/kanji-config-updmap.pl #texlive-collection-langjapanese-2015-3vl7.noarch
  132. scripts/jfontmaps/kanji-fontmap-creator.pl #texlive-collection-langjapanese-2015-3vl7.noarch
  133. scripts/kotex-utils/jamo-normalize.pl #texlive-collection-langkorean-2015-3vl7.noarch
  134. scripts/kotex-utils/komkindex.pl #texlive-collection-langkorean-2015-3vl7.noarch
  135. scripts/crossrefware/ltx2crossrefxml.pl #texlive-collection-bibtexextra-2015-3vl7.noarch
  136. scripts/rubik/rubikrotation.pl #texlive-collection-games-2015-3vl7.noarch
  137. scripts/musixtex/musixtex.lua #texlive-collection-music-2015-3vl7.noarch
  138. scripts/pmxchords/pmxchords.lua #texlive-collection-music-2015-3vl7.noarch
  139. scripts/ctanify/ctanify #texlive-collection-binextra-2015-3vl7.noarch
  140. scripts/dtxgen/dtxgen #texlive-collection-binextra-2015-3vl7.noarch
  141. scripts/findhyph/findhyph #texlive-collection-binextra-2015-3vl7.noarch
  142. scripts/latexpand/latexpand #texlive-collection-binextra-2015-3vl7.noarch
  143. scripts/ltxfileinfo/ltxfileinfo #texlive-collection-binextra-2015-3vl7.noarch
  144. scripts/latexdiff/latexdiff-vc.pl #texlive-collection-binextra-2015-3vl7.noarch
  145. scripts/latexdiff/latexdiff.pl #texlive-collection-binextra-2015-3vl7.noarch
  146. scripts/texfot/texfot.pl #texlive-collection-binextra-2015-3vl7.noarch
  147. scripts/fontools/autoinst #texlive-collection-fontutils-2015-3vl7.noarch
  148. scripts/luaotfload/luaotfload-tool.lua #texlive-collection-luatex-2015-3vl7.noarch
  149. )
  150. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  151. pushd %{buildroot}%{_tl_texmfdist}
  152. %__rm -f ${x[@]} ||:
  153. popd
  154. fi
  155. ## Files list
  156. find %{buildroot} -type f -or -type l | \
  157. %__sed -e "s|%{buildroot}||g" > filelist.full
  158. find %{buildroot}%{_tl_texmfdist} -type d | \
  159. %__sed -e "s|^%{buildroot}|%dir |" \
  160. -e "s|$|/|" >> filelist.full
  161. ## subpackages
  162. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  163. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  164. %__mv -f filelist.tmp filelist.full
  165. %clean
  166. %__rm -rf %{buildroot}
  167. %post
  168. %_tl_touch_run texhash
  169. %_tl_touch_run mtxrun
  170. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  171. %_tl_enable_map MixedMap ethiop.map
  172. %_tl_touch_run fmtutil
  173. exit 0
  174. %postun
  175. if [ "$1" = 0 ]; then
  176. %_tl_touch_run texhash
  177. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  178. %_tl_disable_map ethiop.map
  179. fi
  180. exit 0
  181. %posttrans
  182. %{_tl_exec_texhash}
  183. %{_tl_exec_mtxrun}
  184. %{_tl_exec_updmap}
  185. %{_tl_exec_fmtutil}
  186. exit 0
  187. %files -f filelist.full
  188. %defattr(-,root,root,-)
  189. %files -f filelist.doc doc
  190. %defattr(-,root,root,-)
  191. %changelog
  192. * Tue May 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-2
  193. - synced tlnet to 20160510 (TeX Live 2016/pretest)
  194. * Thu Apr 28 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-1
  195. - TeX Live 2016/pretest
  196. - synced tlnet to 20160428 (TeX Live 2016/pretest)
  197. * Wed Jan 13 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-4
  198. - remove duplicated files from texlive-collection-*
  199. - synced tlnet to 20160113 (TeX Live 2015)
  200. * Sun Jan 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-3
  201. - TeX Live 2016/dev
  202. - synced tlnet to 20160110 (TeX Live 2016/dev)
  203. * Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
  204. - TeX Live 2015/pretest
  205. - synced tlnet to 20150522 (TeX Live 2015/pretest)
  206. * Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
  207. - TeX Live 2015/pretest
  208. - synced tlnet to 20150426 (TeX Live 2015/pretest)
  209. * Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
  210. - synced tlnet to 20150401
  211. * Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
  212. - synced tlnet to 20141028
  213. * Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
  214. - synced tlnet to 20140706
  215. * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
  216. - upgraded to TeX Live 2014
  217. * Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
  218. - synced tlnet to 20140406
  219. * Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
  220. - synced tlnet to 20131218
  221. * Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
  222. - synced tlnet to 20131101
  223. * Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
  224. - synced tlnet to 20131002
  225. * Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
  226. - synced tlnet to 20130919
  227. * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
  228. - upgraded to TeX Live 2013
  229. - used tlnet archives
  230. - synced tlnet to 20130823
  231. - added macros.texlive
  232. * Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
  233. - updated to TeX Live 2012
  234. * Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
  235. - updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
  236. - set external dependencies (texlive-collection-binextra,
  237. texlive-collection-fontutils)
  238. * Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
  239. - updated to TeX Live 2011
  240. - merged texlive-vtlpkg-2009-osx.patch from OSXWS
  241. - added %doc README (%files)
  242. * Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
  243. - applied texlive-vtlpkg-2009-vine.patch
  244. - remove arch dependent binaries
  245. - updated tlpdb2rpmspec.sh.in:
  246. - improved tlpdb4a()
  247. - make symlinks of core script utils (texlive-collection-binextra,
  248. texlive-collection-context, texlive-collection-fontutils,
  249. texlive-collection-langgreek, texlive-collection-langindic,
  250. texlive-collection-latex, texlive-collection-latexextra,
  251. texlive-collection-latexrecommended, texlive-collection-pictures,
  252. texlive-collection-pstricks, texlive-collection-science)
  253. * Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
  254. - updated tlpdb2rpmspec.sh.in:
  255. - improved %post
  256. * Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
  257. - updated tlpdb2rpmspec.sh.in:
  258. - removed arch dependent binaries (texlive-collection-latexextra)
  259. - improved updmap process in %post and %postun
  260. - fixed perl path
  261. * Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
  262. - initial build