source: projects/specs/trunk/t/texlive-collection-music/texlive-collection-music-vl.spec @ 11118

Revision 11118, 15.8 KB checked in by munepi, 7 years ago (diff)

TeX Live 2017

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