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-*

RevLine 
[1533]1## -*- coding: utf-8-unix -*-
[9955]2## NOTE: This spec file is generated by tlpdb2rpmspec 2015-4:
[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
[9955]13Release: 4%{?_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
[9950]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
[7770]67
[1533]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
[7770]91This package is a collection of Music packages:
[1533]92Music-related fonts and packages.
93
94This package contains the following CTAN packages:
[9950]95abc: Support ABC music notation in LaTeX
[9529]96bagpipe: Support for typesetting bagpipe music.
[1533]97figbas: Mini-fonts for figured-bass notation in music.
98gchords: Typeset guitar chords.
[7148]99gtrcrd: Add chords to lyrics.
[1533]100guitar: Guitar chords and song texts.
[7810]101guitarchordschemes: Guitar Chord and Scale Tablatures.
[1533]102harmony: Typeset harmony symbols, etc., for musicology.
[9529]103leadsheets: Typesetting leadsheets and songbooks.
[7951]104lilyglyphs: Access lilypond fragments and glyphs, in LaTeX.
[9950]105m-tx: A preprocessor for pmx
[5207]106musixguit: Easy notation for guitar music, in MusixTeX.
[1533]107musixtex: Sophisticated music typesetting
[7148]108musixtex-fonts: Fonts used by MusixTeX.
[9529]109musixtnt: A MusiXTeX extension library that enables transformations of the effect of notes commands
[9950]110piano: Typeset a basic 2-octave piano diagram.
[7148]111pmx: Preprocessor for MusiXTeX.
[9950]112pmxchords: Produce chord information to go with pmx output
[1533]113songbook: Package for typesetting song lyrics and chord books.
[7770]114songs: Produce song books for church or fellowship.
[9950]115xpiano: An extension of the piano package.
[1533]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このパッケージは以下のようなパッケージ集です。
[7770]131Music packages:
[1533]132Music-related fonts and packages.
133
134このパッケージは以下の CTAN パッケージを含んでいます:
[9950]135abc: Support ABC music notation in LaTeX
[9529]136bagpipe: Support for typesetting bagpipe music.
[1533]137figbas: Mini-fonts for figured-bass notation in music.
138gchords: Typeset guitar chords.
[7148]139gtrcrd: Add chords to lyrics.
[1533]140guitar: Guitar chords and song texts.
[7810]141guitarchordschemes: Guitar Chord and Scale Tablatures.
[1533]142harmony: Typeset harmony symbols, etc., for musicology.
[9529]143leadsheets: Typesetting leadsheets and songbooks.
[7951]144lilyglyphs: Access lilypond fragments and glyphs, in LaTeX.
[9950]145m-tx: A preprocessor for pmx
[5207]146musixguit: Easy notation for guitar music, in MusixTeX.
[1533]147musixtex: Sophisticated music typesetting
[7148]148musixtex-fonts: Fonts used by MusixTeX.
[9529]149musixtnt: A MusiXTeX extension library that enables transformations of the effect of notes commands
[9950]150piano: Typeset a basic 2-octave piano diagram.
[7148]151pmx: Preprocessor for MusiXTeX.
[9950]152pmxchords: Produce chord information to go with pmx output
[1533]153songbook: Package for typesetting song lyrics and chord books.
[7770]154songs: Produce song books for church or fellowship.
[9950]155xpiano: An extension of the piano package.
[1533]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
[7770]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}
[7810]197%__tar -xvf %{SOURCE31}
198%__tar -xvf %{SOURCE32}
[7855]199%__tar -xvf %{SOURCE33}
200%__tar -xvf %{SOURCE34}
201%__tar -xvf %{SOURCE35}
[8049]202%__tar -xvf %{SOURCE36}
203%__tar -xvf %{SOURCE37}
[9529]204%__tar -xvf %{SOURCE38}
205%__tar -xvf %{SOURCE39}
206%__tar -xvf %{SOURCE40}
207%__tar -xvf %{SOURCE41}
208%__tar -xvf %{SOURCE42}
209%__tar -xvf %{SOURCE43}
[9950]210%__tar -xvf %{SOURCE44}
211%__tar -xvf %{SOURCE45}
212%__tar -xvf %{SOURCE46}
213%__tar -xvf %{SOURCE47}
214%__tar -xvf %{SOURCE48}
[1533]215
216%build
217
218%install
219[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
220
[7770]221%__mkdir_p %{buildroot}%{_datadir}
[1533]222
[7770]223## move texmf-dist to /usr/share/texmf-dist
224[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
[1533]225
[7770]226## move texmf to /usr/share/texmf
227[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
[1533]228
[7770]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=(
[9955]245dvipdfmx/dvipdfmx.cfg
[9576]246scripts/context/stubs/unix/mtxrun
247scripts/ptex2pdf/ptex2pdf.lua
248scripts/texlive/fmtutil.pl
[9529]249scripts/texlive/texconfig-dialog.sh
250scripts/texlive/texconfig-sys.sh
251scripts/texlive/texconfig.sh
252scripts/texlive/texlinks.sh
253scripts/texlive/tlmgr.pl
[9576]254scripts/texlive/updmap.pl
[9529]255texconfig/tcfmgr
[9576]256web2c/fmtutil.cnf
[9529]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
[9576]266install-tl
[9955]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
[7770]290)
291if [ -d %{buildroot}%{_tl_texmfdist} ]; then
292pushd %{buildroot}%{_tl_texmfdist}
293%__rm -f ${x[@]} ||:
[5207]294popd
[7770]295fi
296
[1533]297## Files list
298find %{buildroot} -type f -or -type l | \
299    %__sed -e "s|%{buildroot}||g" > filelist.full
300
[7770]301find %{buildroot}%{_tl_texmfdist} -type d | \
[1533]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
[7770]314%_tl_touch_run texhash
315%_tl_touch_run mtxrun
[1533]316
[7770]317[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
[1533]318
[7770]319    %_tl_enable_map MixedMap musix.map
[2505]320
[1533]321exit 0
322
323
324%postun
325if [ "$1" = 0 ]; then
[7770]326    %_tl_touch_run texhash
[1533]327
[7770]328    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
[1533]329
[7770]330    %_tl_disable_map musix.map
[1533]331
332fi
333
334exit 0
335
[7148]336%posttrans
[7770]337%{_tl_exec_texhash}
338%{_tl_exec_mtxrun}
339%{_tl_exec_updmap}
340%{_tl_exec_fmtutil}
[7148]341exit 0
342
343
[1533]344%files -f filelist.full
[5207]345%defattr(-,root,root,-)
[1533]346
347%files -f filelist.doc doc
[5207]348%defattr(-,root,root,-)
[1533]349
350%changelog
[9955]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
[9950]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
[9576]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)
[9034]362
[9576]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.