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

Revision 9955, 14.0 KB checked in by munepi, 8 years ago (diff)

reverted to texlive-20150521-source (TeX Live 2015)
remove duplicated files from texlive-collection-*

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