texlive-collection-music-vl.spec 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2016-2:
  3. ## tlpdb2rpmspec collection-music
  4. %global _use_internal_dependency_generator 0
  5. %global __find_provides %{nil}
  6. %global __find_requires %{nil}
  7. Summary: TeX Live: Music packages
  8. Summary(ja): TeX Live: Music packages
  9. Name: texlive-collection-music
  10. Version: 2016
  11. Release: 2%{?_dist_release}
  12. License: LPPL 1.2, GPLv2+, LPPL 1.3, LPPL, GPL+, GPLv3+, LGPLv2+
  13. Group: Applications/Publishing
  14. URL:http://www.tug.org/texlive/
  15. Source0: abc.doc.tar.xz
  16. Source1: abc.source.tar.xz
  17. Source2: abc.tar.xz
  18. Source3: autosp.doc.tar.xz
  19. Source4: autosp.tar.xz
  20. Source5: bagpipe.doc.tar.xz
  21. Source6: bagpipe.tar.xz
  22. Source7: figbas.doc.tar.xz
  23. Source8: figbas.tar.xz
  24. Source9: gchords.doc.tar.xz
  25. Source10: gchords.tar.xz
  26. Source11: gregoriotex.doc.tar.xz
  27. Source12: gregoriotex.tar.xz
  28. Source13: gtrcrd.doc.tar.xz
  29. Source14: gtrcrd.tar.xz
  30. Source15: guitar.doc.tar.xz
  31. Source16: guitar.source.tar.xz
  32. Source17: guitar.tar.xz
  33. Source18: guitarchordschemes.doc.tar.xz
  34. Source19: guitarchordschemes.tar.xz
  35. Source20: harmony.doc.tar.xz
  36. Source21: harmony.tar.xz
  37. Source22: leadsheets.doc.tar.xz
  38. Source23: leadsheets.tar.xz
  39. Source24: lilyglyphs.doc.tar.xz
  40. Source25: lilyglyphs.source.tar.xz
  41. Source26: lilyglyphs.tar.xz
  42. Source27: m-tx.doc.tar.xz
  43. Source28: m-tx.tar.xz
  44. Source29: musixguit.doc.tar.xz
  45. Source30: musixguit.tar.xz
  46. Source31: musixtex.doc.tar.xz
  47. Source32: musixtex.source.tar.xz
  48. Source33: musixtex.tar.xz
  49. Source34: musixtex-fonts.doc.tar.xz
  50. Source35: musixtex-fonts.tar.xz
  51. Source36: musixtnt.doc.tar.xz
  52. Source37: musixtnt.tar.xz
  53. Source38: piano.doc.tar.xz
  54. Source39: piano.tar.xz
  55. Source40: pmx.doc.tar.xz
  56. Source41: pmx.tar.xz
  57. Source42: pmxchords.doc.tar.xz
  58. Source43: pmxchords.tar.xz
  59. Source44: songbook.doc.tar.xz
  60. Source45: songbook.source.tar.xz
  61. Source46: songbook.tar.xz
  62. Source47: songs.doc.tar.xz
  63. Source48: songs.source.tar.xz
  64. Source49: songs.tar.xz
  65. Source50: xpiano.doc.tar.xz
  66. Source51: xpiano.source.tar.xz
  67. Source52: xpiano.tar.xz
  68. Requires: texlive = %{version}
  69. Requires: texlive-collection-latex = %{version}
  70. Requires(post): texlive = %{version}
  71. Requires(postun): texlive = %{version}
  72. BuildArch: noarch
  73. Buildroot: %{_tmppath}/%{name}-%{version}-root
  74. Vendor: Project Vine
  75. Distribution: Vine Linux
  76. Packager: munepi
  77. %description
  78. The TeX Live software distribution offers a complete TeX system for a
  79. variety of Unix, Macintosh, Windows and other platforms. It
  80. encompasses programs for editing, typesetting, previewing and printing
  81. of TeX documents in many different languages, and a large collection
  82. of TeX macros and font libraries.
  83. The distribution includes extensive general documentation about TeX,
  84. as well as the documentation for the included software packages.
  85. This package is a collection of Music packages:
  86. Music-related fonts and packages.
  87. This package contains the following CTAN packages:
  88. abc: Support ABC music notation in LaTeX
  89. autosp: A Preprocessor that generates note-spacing commands for MusiXTeX scores
  90. bagpipe: Support for typesetting bagpipe music
  91. figbas: Mini-fonts for figured-bass notation in music
  92. gchords: Typeset guitar chords
  93. gregoriotex: engraving Gregorian Chant scores
  94. gtrcrd: Add chords to lyrics
  95. guitar: Guitar chords and song texts
  96. guitarchordschemes: Guitar Chord and Scale Tablatures
  97. harmony: Typeset harmony symbols, etc., for musicology
  98. leadsheets: Typesetting leadsheets and songbooks
  99. lilyglyphs: Access lilypond fragments and glyphs, in LaTeX
  100. m-tx: A preprocessor for pmx
  101. musixguit: Easy notation for guitar music, in MusixTeX
  102. musixtex: Sophisticated music typesetting
  103. musixtex-fonts: Fonts used by MusixTeX
  104. musixtnt: A MusiXTeX extension library that enables transformations of the effect of notes commands
  105. piano: Typeset a basic 2-octave piano diagram
  106. pmx: Preprocessor for MusiXTeX
  107. pmxchords: Produce chord information to go with pmx output
  108. songbook: Package for typesetting song lyrics and chord books
  109. songs: Produce song books for church or fellowship
  110. xpiano: An extension of the piano package
  111. %description -l ja
  112. TeX Live ソフトウェアディストリビューションは、
  113. さまざまな Unix, Macintosh, Windows、および
  114. 他のプラットホームに対して完全な TeX システムを提供します。
  115. 多くの異なった言語を含む TeX ドキュメントの
  116. 編集、組版、閲覧、印刷するためのプログラム、
  117. そして、TeX マクロやフォントライブラリの大きなコレクションを
  118. 同梱しています。
  119. このディストリビューションは
  120. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  121. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  122. このパッケージは以下のようなパッケージ集です。
  123. Music packages:
  124. Music-related fonts and packages.
  125. このパッケージは以下の CTAN パッケージを含んでいます:
  126. abc: Support ABC music notation in LaTeX
  127. autosp: A Preprocessor that generates note-spacing commands for MusiXTeX scores
  128. bagpipe: Support for typesetting bagpipe music
  129. figbas: Mini-fonts for figured-bass notation in music
  130. gchords: Typeset guitar chords
  131. gregoriotex: engraving Gregorian Chant scores
  132. gtrcrd: Add chords to lyrics
  133. guitar: Guitar chords and song texts
  134. guitarchordschemes: Guitar Chord and Scale Tablatures
  135. harmony: Typeset harmony symbols, etc., for musicology
  136. leadsheets: Typesetting leadsheets and songbooks
  137. lilyglyphs: Access lilypond fragments and glyphs, in LaTeX
  138. m-tx: A preprocessor for pmx
  139. musixguit: Easy notation for guitar music, in MusixTeX
  140. musixtex: Sophisticated music typesetting
  141. musixtex-fonts: Fonts used by MusixTeX
  142. musixtnt: A MusiXTeX extension library that enables transformations of the effect of notes commands
  143. piano: Typeset a basic 2-octave piano diagram
  144. pmx: Preprocessor for MusiXTeX
  145. pmxchords: Produce chord information to go with pmx output
  146. songbook: Package for typesetting song lyrics and chord books
  147. songs: Produce song books for church or fellowship
  148. xpiano: An extension of the piano package
  149. %package doc
  150. Summary: TeX Live: Documentation files of %{name}
  151. Group: Applications/Publishing
  152. Requires: %{name} = %{version}-%{release}
  153. %description doc
  154. This package contains documentation files of %{name}.
  155. %prep
  156. %setup -c -n %{name}-%{version}
  157. %__tar -xvf %{SOURCE1}
  158. %__tar -xvf %{SOURCE2}
  159. %__tar -xvf %{SOURCE3}
  160. %__tar -xvf %{SOURCE4}
  161. %__tar -xvf %{SOURCE5}
  162. %__tar -xvf %{SOURCE6}
  163. %__tar -xvf %{SOURCE7}
  164. %__tar -xvf %{SOURCE8}
  165. %__tar -xvf %{SOURCE9}
  166. %__tar -xvf %{SOURCE10}
  167. %__tar -xvf %{SOURCE11}
  168. %__tar -xvf %{SOURCE12}
  169. %__tar -xvf %{SOURCE13}
  170. %__tar -xvf %{SOURCE14}
  171. %__tar -xvf %{SOURCE15}
  172. %__tar -xvf %{SOURCE16}
  173. %__tar -xvf %{SOURCE17}
  174. %__tar -xvf %{SOURCE18}
  175. %__tar -xvf %{SOURCE19}
  176. %__tar -xvf %{SOURCE20}
  177. %__tar -xvf %{SOURCE21}
  178. %__tar -xvf %{SOURCE22}
  179. %__tar -xvf %{SOURCE23}
  180. %__tar -xvf %{SOURCE24}
  181. %__tar -xvf %{SOURCE25}
  182. %__tar -xvf %{SOURCE26}
  183. %__tar -xvf %{SOURCE27}
  184. %__tar -xvf %{SOURCE28}
  185. %__tar -xvf %{SOURCE29}
  186. %__tar -xvf %{SOURCE30}
  187. %__tar -xvf %{SOURCE31}
  188. %__tar -xvf %{SOURCE32}
  189. %__tar -xvf %{SOURCE33}
  190. %__tar -xvf %{SOURCE34}
  191. %__tar -xvf %{SOURCE35}
  192. %__tar -xvf %{SOURCE36}
  193. %__tar -xvf %{SOURCE37}
  194. %__tar -xvf %{SOURCE38}
  195. %__tar -xvf %{SOURCE39}
  196. %__tar -xvf %{SOURCE40}
  197. %__tar -xvf %{SOURCE41}
  198. %__tar -xvf %{SOURCE42}
  199. %__tar -xvf %{SOURCE43}
  200. %__tar -xvf %{SOURCE44}
  201. %__tar -xvf %{SOURCE45}
  202. %__tar -xvf %{SOURCE46}
  203. %__tar -xvf %{SOURCE47}
  204. %__tar -xvf %{SOURCE48}
  205. %__tar -xvf %{SOURCE49}
  206. %__tar -xvf %{SOURCE50}
  207. %__tar -xvf %{SOURCE51}
  208. %__tar -xvf %{SOURCE52}
  209. %build
  210. %install
  211. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  212. %__mkdir_p %{buildroot}%{_datadir}
  213. ## move texmf-dist to /usr/share/texmf-dist
  214. [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
  215. ## move texmf to /usr/share/texmf
  216. [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
  217. ## move tlpkg to /usr/share/tlpkg
  218. [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
  219. ## move all non-arch binaries to /usr/bin
  220. [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
  221. ## move others into /usr/share/texmf-dist
  222. %__mkdir_p %{buildroot}%{_tl_texmfdist}
  223. %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
  224. %__rm -rf * ||:
  225. ## remove duplicated files between texlive and texlive-collection-*
  226. ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
  227. ## remove unpacked files
  228. x=(
  229. dvipdfmx/dvipdfmx.cfg
  230. scripts/context/stubs/unix/mtxrun
  231. scripts/latexmk/latexmk.pl
  232. scripts/ptex2pdf/ptex2pdf.lua
  233. scripts/texlive/fmtutil.pl
  234. scripts/texlive/texconfig-dialog.sh
  235. scripts/texlive/texconfig-sys.sh
  236. scripts/texlive/texconfig.sh
  237. scripts/texlive/texlinks.sh
  238. scripts/texlive/tlmgr.pl
  239. scripts/texlive/updmap.pl
  240. texconfig/tcfmgr
  241. web2c/fmtutil.cnf
  242. web2c/mktex.opt
  243. web2c/mktexdir
  244. web2c/mktexdir.opt
  245. web2c/mktexnam
  246. web2c/mktexnam.opt
  247. web2c/mktexupd
  248. web2c/texmf.cnf
  249. web2c/updmap-hdr.cfg
  250. web2c/updmap.cfg
  251. install-tl
  252. #
  253. scripts/cjk-gs-integrate/cjk-gs-integrate.pl #texlive-collection-langcjk-2015-3vl7.noarch
  254. scripts/epspdf/epspdf.tlu #texlive-collection-pictures-2015-3vl7.noarch
  255. scripts/epspdf/epspdftk.tcl #texlive-collection-pictures-2015-3vl7.noarch
  256. scripts/glossaries/makeglossaries #texlive-collection-latexextra-2015-3vl7.noarch
  257. scripts/jfontmaps/kanji-config-updmap.pl #texlive-collection-langjapanese-2015-3vl7.noarch
  258. scripts/jfontmaps/kanji-fontmap-creator.pl #texlive-collection-langjapanese-2015-3vl7.noarch
  259. scripts/kotex-utils/jamo-normalize.pl #texlive-collection-langkorean-2015-3vl7.noarch
  260. scripts/kotex-utils/komkindex.pl #texlive-collection-langkorean-2015-3vl7.noarch
  261. scripts/crossrefware/ltx2crossrefxml.pl #texlive-collection-bibtexextra-2015-3vl7.noarch
  262. scripts/rubik/rubikrotation.pl #texlive-collection-games-2015-3vl7.noarch
  263. scripts/musixtex/musixtex.lua #texlive-collection-music-2015-3vl7.noarch
  264. scripts/pmxchords/pmxchords.lua #texlive-collection-music-2015-3vl7.noarch
  265. scripts/ctanify/ctanify #texlive-collection-binextra-2015-3vl7.noarch
  266. scripts/dtxgen/dtxgen #texlive-collection-binextra-2015-3vl7.noarch
  267. scripts/findhyph/findhyph #texlive-collection-binextra-2015-3vl7.noarch
  268. scripts/latexpand/latexpand #texlive-collection-binextra-2015-3vl7.noarch
  269. scripts/ltxfileinfo/ltxfileinfo #texlive-collection-binextra-2015-3vl7.noarch
  270. scripts/latexdiff/latexdiff-vc.pl #texlive-collection-binextra-2015-3vl7.noarch
  271. scripts/latexdiff/latexdiff.pl #texlive-collection-binextra-2015-3vl7.noarch
  272. scripts/texfot/texfot.pl #texlive-collection-binextra-2015-3vl7.noarch
  273. scripts/fontools/autoinst #texlive-collection-fontutils-2015-3vl7.noarch
  274. scripts/luaotfload/luaotfload-tool.lua #texlive-collection-luatex-2015-3vl7.noarch
  275. )
  276. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  277. pushd %{buildroot}%{_tl_texmfdist}
  278. %__rm -f ${x[@]} ||:
  279. popd
  280. fi
  281. ## Files list
  282. find %{buildroot} -type f -or -type l | \
  283. %__sed -e "s|%{buildroot}||g" > filelist.full
  284. find %{buildroot}%{_tl_texmfdist} -type d | \
  285. %__sed -e "s|^%{buildroot}|%dir |" \
  286. -e "s|$|/|" >> filelist.full
  287. ## subpackages
  288. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  289. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  290. %__mv -f filelist.tmp filelist.full
  291. %clean
  292. %__rm -rf %{buildroot}
  293. %post
  294. %_tl_touch_run texhash
  295. %_tl_touch_run mtxrun
  296. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  297. %_tl_enable_map MixedMap musix.map
  298. exit 0
  299. %postun
  300. if [ "$1" = 0 ]; then
  301. %_tl_touch_run texhash
  302. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  303. %_tl_disable_map musix.map
  304. fi
  305. exit 0
  306. %posttrans
  307. %{_tl_exec_texhash}
  308. %{_tl_exec_mtxrun}
  309. %{_tl_exec_updmap}
  310. %{_tl_exec_fmtutil}
  311. exit 0
  312. %files -f filelist.full
  313. %defattr(-,root,root,-)
  314. %files -f filelist.doc doc
  315. %defattr(-,root,root,-)
  316. %changelog
  317. * Tue May 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-2
  318. - synced tlnet to 20160510 (TeX Live 2016/pretest)
  319. * Thu Apr 28 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-1
  320. - TeX Live 2016/pretest
  321. - synced tlnet to 20160428 (TeX Live 2016/pretest)
  322. * Wed Jan 13 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-4
  323. - remove duplicated files from texlive-collection-*
  324. - synced tlnet to 20160113 (TeX Live 2015)
  325. * Sun Jan 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-3
  326. - TeX Live 2016/dev
  327. - synced tlnet to 20160110 (TeX Live 2016/dev)
  328. * Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
  329. - TeX Live 2015/pretest
  330. - synced tlnet to 20150522 (TeX Live 2015/pretest)
  331. * Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
  332. - TeX Live 2015/pretest
  333. - synced tlnet to 20150426 (TeX Live 2015/pretest)
  334. * Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
  335. - synced tlnet to 20150401
  336. * Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
  337. - synced tlnet to 20141028
  338. * Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
  339. - synced tlnet to 20140706
  340. * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
  341. - upgraded to TeX Live 2014
  342. * Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
  343. - synced tlnet to 20140406
  344. * Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
  345. - synced tlnet to 20131218
  346. * Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
  347. - synced tlnet to 20131101
  348. * Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
  349. - synced tlnet to 20131002
  350. * Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
  351. - synced tlnet to 20130919
  352. * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
  353. - upgraded to TeX Live 2013
  354. - used tlnet archives
  355. - synced tlnet to 20130823
  356. - added macros.texlive
  357. * Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
  358. - updated to TeX Live 2012
  359. * Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
  360. - updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
  361. - set external dependencies (texlive-collection-binextra,
  362. texlive-collection-fontutils)
  363. * Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
  364. - updated to TeX Live 2011
  365. - merged texlive-vtlpkg-2009-osx.patch from OSXWS
  366. - added %doc README (%files)
  367. * Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
  368. - applied texlive-vtlpkg-2009-vine.patch
  369. - remove arch dependent binaries
  370. - updated tlpdb2rpmspec.sh.in:
  371. - improved tlpdb4a()
  372. - make symlinks of core script utils (texlive-collection-binextra,
  373. texlive-collection-context, texlive-collection-fontutils,
  374. texlive-collection-langgreek, texlive-collection-langindic,
  375. texlive-collection-latex, texlive-collection-latexextra,
  376. texlive-collection-latexrecommended, texlive-collection-pictures,
  377. texlive-collection-pstricks, texlive-collection-science)
  378. * Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
  379. - updated tlpdb2rpmspec.sh.in:
  380. - improved %post
  381. * Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
  382. - updated tlpdb2rpmspec.sh.in:
  383. - removed arch dependent binaries (texlive-collection-latexextra)
  384. - improved updmap process in %post and %postun
  385. - fixed perl path
  386. * Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
  387. - initial build