texlive-collection-genericrecommended-vl.spec 12 KB

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