texlive-collection-langafrican-vl.spec 8.3 KB

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