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

Revision 9576, 11.6 KB checked in by munepi, 9 years ago (diff)

synced tlnet to 20150522

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