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

Revision 10360, 15.0 KB checked in by munepi, 8 years ago (diff)

updated to TeX Live 2016

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