texlive-collection-plainextra-vl.spec 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2015-3:
  3. ## tlpdb2rpmspec collection-plainextra
  4. %global _use_internal_dependency_generator 0
  5. %global __find_provides %{nil}
  6. %global __find_requires %{nil}
  7. Summary: TeX Live: Plain TeX packages
  8. Summary(ja): TeX Live: Plain TeX packages
  9. Name: texlive-collection-plainextra
  10. Version: 2015
  11. Release: 3%{?_dist_release}
  12. License: Public Domain, Freely redistributable without restriction, LPPL, GPLv3+, GPL+
  13. Group: Applications/Publishing
  14. URL:http://www.tug.org/texlive/
  15. Source0: epsf-dvipdfmx.doc.tar.xz
  16. Source1: epsf-dvipdfmx.tar.xz
  17. Source2: figflow.doc.tar.xz
  18. Source3: figflow.tar.xz
  19. Source4: fixpdfmag.tar.xz
  20. Source5: font-change.doc.tar.xz
  21. Source6: font-change.tar.xz
  22. Source7: fontch.doc.tar.xz
  23. Source8: fontch.tar.xz
  24. Source9: getoptk.doc.tar.xz
  25. Source10: getoptk.tar.xz
  26. Source11: gfnotation.doc.tar.xz
  27. Source12: gfnotation.tar.xz
  28. Source13: graphics-pln.doc.tar.xz
  29. Source14: graphics-pln.source.tar.xz
  30. Source15: graphics-pln.tar.xz
  31. Source16: hyplain.doc.tar.xz
  32. Source17: hyplain.tar.xz
  33. Source18: js-misc.doc.tar.xz
  34. Source19: js-misc.tar.xz
  35. Source20: mkpattern.doc.tar.xz
  36. Source21: mkpattern.tar.xz
  37. Source22: newsletr.doc.tar.xz
  38. Source23: newsletr.tar.xz
  39. Source24: pitex.doc.tar.xz
  40. Source25: pitex.tar.xz
  41. Source26: placeins-plain.tar.xz
  42. Source27: plipsum.doc.tar.xz
  43. Source28: plipsum.tar.xz
  44. Source29: plnfss.doc.tar.xz
  45. Source30: plnfss.tar.xz
  46. Source31: plstmary.doc.tar.xz
  47. Source32: plstmary.tar.xz
  48. Source33: present.doc.tar.xz
  49. Source34: present.tar.xz
  50. Source35: resumemac.doc.tar.xz
  51. Source36: resumemac.tar.xz
  52. Source37: texinfo.tar.xz
  53. Source38: timetable.tar.xz
  54. Source39: treetex.doc.tar.xz
  55. Source40: treetex.tar.xz
  56. Source41: varisize.doc.tar.xz
  57. Source42: varisize.tar.xz
  58. Source43: xii.doc.tar.xz
  59. Source44: xii.tar.xz
  60. Requires: texlive = %{version}
  61. Requires: texlive-collection-basic = %{version}
  62. Requires(post): texlive = %{version}
  63. Requires(postun): texlive = %{version}
  64. BuildArch: noarch
  65. Buildroot: %{_tmppath}/%{name}-%{version}-root
  66. Vendor: Project Vine
  67. Distribution: Vine Linux
  68. Packager: munepi
  69. %description
  70. The TeX Live software distribution offers a complete TeX system for a
  71. variety of Unix, Macintosh, Windows and other platforms. It
  72. encompasses programs for editing, typesetting, previewing and printing
  73. of TeX documents in many different languages, and a large collection
  74. of TeX macros and font libraries.
  75. The distribution includes extensive general documentation about TeX,
  76. as well as the documentation for the included software packages.
  77. This package is a collection of Plain TeX packages:
  78. Add-on packages and macros that work with plain TeX.
  79. This package contains the following CTAN packages:
  80. epsf-dvipdfmx: Plain TeX file for using epsf.tex with (x)dvipdfmx.
  81. figflow: Flow text around a figure.
  82. fixpdfmag: Fix magnification in PDFTeX.
  83. font-change: Macros to change text and mathematics fonts in plain TeX
  84. fontch: Changing fonts, sizes and encodings in Plain TeX.
  85. getoptk: Define macros with sophisticated options.
  86. gfnotation: Typeset Gottlob Frege's notation in plain TeX
  87. graphics-pln: LaTeX-style graphics for Plain TeX users.
  88. hyplain: Basic support for multiple languages in Plain TeX.
  89. js-misc: Miscellaneous macros from Joachim Schrod.
  90. mkpattern: A utility for making hyphenation patterns.
  91. newsletr: Macros for making newsletters with Plain TeX.
  92. pitex: Documentation macros.
  93. placeins-plain: Insertions that keep their place.
  94. plipsum: 'Lorem ipsum' for Plain TeX developers.
  95. plnfss: Font selection for Plain TeX.
  96. plstmary: St. Mary's Road font support for plain TeX.
  97. present: Presentations with Plain TeX.
  98. resumemac: Plain TeX macros for resumes.
  99. texinfo: Texinfo documentation system
  100. timetable: Generate timetables.
  101. treetex: Draw trees.
  102. varisize: Change font size in Plain TeX.
  103. xii: Christmas silliness.
  104. %description -l ja
  105. TeX Live ソフトウェアディストリビューションは、
  106. さまざまな Unix, Macintosh, Windows、および
  107. 他のプラットホームに対して完全な TeX システムを提供します。
  108. 多くの異なった言語を含む TeX ドキュメントの
  109. 編集、組版、閲覧、印刷するためのプログラム、
  110. そして、TeX マクロやフォントライブラリの大きなコレクションを
  111. 同梱しています。
  112. このディストリビューションは
  113. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  114. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  115. このパッケージは以下のようなパッケージ集です。
  116. Plain TeX packages:
  117. Add-on packages and macros that work with plain TeX.
  118. このパッケージは以下の CTAN パッケージを含んでいます:
  119. epsf-dvipdfmx: Plain TeX file for using epsf.tex with (x)dvipdfmx.
  120. figflow: Flow text around a figure.
  121. fixpdfmag: Fix magnification in PDFTeX.
  122. font-change: Macros to change text and mathematics fonts in plain TeX
  123. fontch: Changing fonts, sizes and encodings in Plain TeX.
  124. getoptk: Define macros with sophisticated options.
  125. gfnotation: Typeset Gottlob Frege's notation in plain TeX
  126. graphics-pln: LaTeX-style graphics for Plain TeX users.
  127. hyplain: Basic support for multiple languages in Plain TeX.
  128. js-misc: Miscellaneous macros from Joachim Schrod.
  129. mkpattern: A utility for making hyphenation patterns.
  130. newsletr: Macros for making newsletters with Plain TeX.
  131. pitex: Documentation macros.
  132. placeins-plain: Insertions that keep their place.
  133. plipsum: 'Lorem ipsum' for Plain TeX developers.
  134. plnfss: Font selection for Plain TeX.
  135. plstmary: St. Mary's Road font support for plain TeX.
  136. present: Presentations with Plain TeX.
  137. resumemac: Plain TeX macros for resumes.
  138. texinfo: Texinfo documentation system
  139. timetable: Generate timetables.
  140. treetex: Draw trees.
  141. varisize: Change font size in Plain TeX.
  142. xii: Christmas silliness.
  143. %package doc
  144. Summary: TeX Live: Documentation files of %{name}
  145. Group: Applications/Publishing
  146. Requires: %{name} = %{version}-%{release}
  147. %description doc
  148. This package contains documentation files of %{name}.
  149. %prep
  150. %setup -c -n %{name}-%{version}
  151. %__tar -xvf %{SOURCE1}
  152. %__tar -xvf %{SOURCE2}
  153. %__tar -xvf %{SOURCE3}
  154. %__tar -xvf %{SOURCE4}
  155. %__tar -xvf %{SOURCE5}
  156. %__tar -xvf %{SOURCE6}
  157. %__tar -xvf %{SOURCE7}
  158. %__tar -xvf %{SOURCE8}
  159. %__tar -xvf %{SOURCE9}
  160. %__tar -xvf %{SOURCE10}
  161. %__tar -xvf %{SOURCE11}
  162. %__tar -xvf %{SOURCE12}
  163. %__tar -xvf %{SOURCE13}
  164. %__tar -xvf %{SOURCE14}
  165. %__tar -xvf %{SOURCE15}
  166. %__tar -xvf %{SOURCE16}
  167. %__tar -xvf %{SOURCE17}
  168. %__tar -xvf %{SOURCE18}
  169. %__tar -xvf %{SOURCE19}
  170. %__tar -xvf %{SOURCE20}
  171. %__tar -xvf %{SOURCE21}
  172. %__tar -xvf %{SOURCE22}
  173. %__tar -xvf %{SOURCE23}
  174. %__tar -xvf %{SOURCE24}
  175. %__tar -xvf %{SOURCE25}
  176. %__tar -xvf %{SOURCE26}
  177. %__tar -xvf %{SOURCE27}
  178. %__tar -xvf %{SOURCE28}
  179. %__tar -xvf %{SOURCE29}
  180. %__tar -xvf %{SOURCE30}
  181. %__tar -xvf %{SOURCE31}
  182. %__tar -xvf %{SOURCE32}
  183. %__tar -xvf %{SOURCE33}
  184. %__tar -xvf %{SOURCE34}
  185. %__tar -xvf %{SOURCE35}
  186. %__tar -xvf %{SOURCE36}
  187. %__tar -xvf %{SOURCE37}
  188. %__tar -xvf %{SOURCE38}
  189. %__tar -xvf %{SOURCE39}
  190. %__tar -xvf %{SOURCE40}
  191. %__tar -xvf %{SOURCE41}
  192. %__tar -xvf %{SOURCE42}
  193. %__tar -xvf %{SOURCE43}
  194. %__tar -xvf %{SOURCE44}
  195. %build
  196. %install
  197. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  198. %__mkdir_p %{buildroot}%{_datadir}
  199. ## move texmf-dist to /usr/share/texmf-dist
  200. [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
  201. ## move texmf to /usr/share/texmf
  202. [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
  203. ## move tlpkg to /usr/share/tlpkg
  204. [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
  205. ## move all non-arch binaries to /usr/bin
  206. [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
  207. ## move others into /usr/share/texmf-dist
  208. %__mkdir_p %{buildroot}%{_tl_texmfdist}
  209. %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
  210. %__rm -rf * ||:
  211. ## remove duplicated files between texlive and texlive-collection-*
  212. ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
  213. ## remove unpacked files
  214. x=(
  215. scripts/context/stubs/unix/mtxrun
  216. scripts/ptex2pdf/ptex2pdf.lua
  217. scripts/texlive/fmtutil.pl
  218. scripts/texlive/texconfig-dialog.sh
  219. scripts/texlive/texconfig-sys.sh
  220. scripts/texlive/texconfig.sh
  221. scripts/texlive/texlinks.sh
  222. scripts/texlive/tlmgr.pl
  223. scripts/texlive/updmap.pl
  224. texconfig/tcfmgr
  225. web2c/fmtutil.cnf
  226. web2c/mktex.opt
  227. web2c/mktexdir
  228. web2c/mktexdir.opt
  229. web2c/mktexnam
  230. web2c/mktexnam.opt
  231. web2c/mktexupd
  232. web2c/texmf.cnf
  233. web2c/updmap-hdr.cfg
  234. web2c/updmap.cfg
  235. install-tl
  236. )
  237. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  238. pushd %{buildroot}%{_tl_texmfdist}
  239. %__rm -f ${x[@]} ||:
  240. popd
  241. fi
  242. ## Files list
  243. find %{buildroot} -type f -or -type l | \
  244. %__sed -e "s|%{buildroot}||g" > filelist.full
  245. find %{buildroot}%{_tl_texmfdist} -type d | \
  246. %__sed -e "s|^%{buildroot}|%dir |" \
  247. -e "s|$|/|" >> filelist.full
  248. ## subpackages
  249. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  250. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  251. %__mv -f filelist.tmp filelist.full
  252. %clean
  253. %__rm -rf %{buildroot}
  254. %post
  255. %_tl_touch_run texhash
  256. %_tl_touch_run mtxrun
  257. exit 0
  258. %postun
  259. if [ "$1" = 0 ]; then
  260. %_tl_touch_run texhash
  261. fi
  262. exit 0
  263. %posttrans
  264. %{_tl_exec_texhash}
  265. %{_tl_exec_mtxrun}
  266. %{_tl_exec_updmap}
  267. %{_tl_exec_fmtutil}
  268. exit 0
  269. %files -f filelist.full
  270. %defattr(-,root,root,-)
  271. %files -f filelist.doc doc
  272. %defattr(-,root,root,-)
  273. %changelog
  274. * Sun Jan 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-3
  275. - TeX Live 2016/dev
  276. - synced tlnet to 20160110 (TeX Live 2016/dev)
  277. * Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
  278. - TeX Live 2015/pretest
  279. - synced tlnet to 20150522 (TeX Live 2015/pretest)
  280. * Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
  281. - TeX Live 2015/pretest
  282. - synced tlnet to 20150426 (TeX Live 2015/pretest)
  283. * Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
  284. - synced tlnet to 20150401
  285. * Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
  286. - synced tlnet to 20141028
  287. * Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
  288. - synced tlnet to 20140706
  289. * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
  290. - upgraded to TeX Live 2014
  291. * Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
  292. - synced tlnet to 20140406
  293. * Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
  294. - synced tlnet to 20131218
  295. * Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
  296. - synced tlnet to 20131101
  297. * Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
  298. - synced tlnet to 20131002
  299. * Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
  300. - synced tlnet to 20130919
  301. * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
  302. - upgraded to TeX Live 2013
  303. - used tlnet archives
  304. - synced tlnet to 20130823
  305. - added macros.texlive
  306. * Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
  307. - updated to TeX Live 2012
  308. * Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
  309. - updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
  310. - set external dependencies (texlive-collection-binextra,
  311. texlive-collection-fontutils)
  312. * Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
  313. - updated to TeX Live 2011
  314. - merged texlive-vtlpkg-2009-osx.patch from OSXWS
  315. - added %doc README (%files)
  316. * Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
  317. - applied texlive-vtlpkg-2009-vine.patch
  318. - remove arch dependent binaries
  319. - updated tlpdb2rpmspec.sh.in:
  320. - improved tlpdb4a()
  321. - make symlinks of core script utils (texlive-collection-binextra,
  322. texlive-collection-context, texlive-collection-fontutils,
  323. texlive-collection-langgreek, texlive-collection-langindic,
  324. texlive-collection-latex, texlive-collection-latexextra,
  325. texlive-collection-latexrecommended, texlive-collection-pictures,
  326. texlive-collection-pstricks, texlive-collection-science)
  327. * Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
  328. - updated tlpdb2rpmspec.sh.in:
  329. - improved %post
  330. * Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
  331. - updated tlpdb2rpmspec.sh.in:
  332. - removed arch dependent binaries (texlive-collection-latexextra)
  333. - improved updmap process in %post and %postun
  334. - fixed perl path
  335. * Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
  336. - initial build