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

Revision 7810, 7.7 KB checked in by munepi, 11 years ago (diff)

update all of TeX Live 2013 packages to texlive-source-20130919 2014/dev + TLNET 20130919

RevLine 
[1533]1## -*- coding: utf-8-unix -*-
[7810]2## NOTE: This spec file is generated by tlpdb2rpmspec 2013-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
[7770]12Version: 2013
[7810]13Release: 2%{?_dist_release}
[7148]14License: LPPL, GPL+, LPPL 1.3, 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
21Source3: figbas.doc.tar.xz
22Source4: figbas.tar.xz
23Source5: gchords.doc.tar.xz
24Source6: gchords.tar.xz
25Source7: gtrcrd.doc.tar.xz
26Source8: gtrcrd.tar.xz
27Source9: guitar.doc.tar.xz
28Source10: guitar.source.tar.xz
29Source11: guitar.tar.xz
[7810]30Source12: guitarchordschemes.doc.tar.xz
31Source13: guitarchordschemes.tar.xz
32Source14: harmony.doc.tar.xz
33Source15: harmony.tar.xz
34Source16: m-tx.doc.tar.xz
35Source17: m-tx.tar.xz
36Source18: musixguit.doc.tar.xz
37Source19: musixguit.tar.xz
38Source20: musixtex.doc.tar.xz
39Source21: musixtex.source.tar.xz
40Source22: musixtex.tar.xz
41Source23: musixtex-fonts.doc.tar.xz
42Source24: musixtex-fonts.tar.xz
43Source25: pmx.doc.tar.xz
44Source26: pmx.tar.xz
45Source27: songbook.doc.tar.xz
46Source28: songbook.source.tar.xz
47Source29: songbook.tar.xz
48Source30: songs.doc.tar.xz
49Source31: songs.source.tar.xz
50Source32: songs.tar.xz
[7770]51
[1533]52Requires: texlive = %{version}
53Requires: texlive-collection-latex = %{version}
54
55Requires(post):         texlive = %{version}
56Requires(postun):       texlive = %{version}
57
58BuildArch:      noarch
59Buildroot:      %{_tmppath}/%{name}-%{version}-root
60
61Vendor:         Project Vine
62Distribution:   Vine Linux
63Packager:       munepi
64
65%description
66The TeX Live software distribution offers a complete TeX system for a
67variety of Unix, Macintosh, Windows and other platforms. It
68encompasses programs for editing, typesetting, previewing and printing
69of TeX documents in many different languages, and a large collection
70of TeX macros and font libraries.
71
72The distribution includes extensive general documentation about TeX,
73as well as the documentation for the included software packages.
74
[7770]75This package is a collection of Music packages:
[1533]76Music-related fonts and packages.
77
78This package contains the following CTAN packages:
79abc: Support ABC music notation in LaTeX.
80figbas: Mini-fonts for figured-bass notation in music.
81gchords: Typeset guitar chords.
[7148]82gtrcrd: Add chords to lyrics.
[1533]83guitar: Guitar chords and song texts.
[7810]84guitarchordschemes: Guitar Chord and Scale Tablatures.
[1533]85harmony: Typeset harmony symbols, etc., for musicology.
[7148]86m-tx: A preprocessor for pmx.
[5207]87musixguit: Easy notation for guitar music, in MusixTeX.
[1533]88musixtex: Sophisticated music typesetting
[7148]89musixtex-fonts: Fonts used by MusixTeX.
90pmx: Preprocessor for MusiXTeX.
[1533]91songbook: Package for typesetting song lyrics and chord books.
[7770]92songs: Produce song books for church or fellowship.
[1533]93
94%description -l ja
95TeX Live ソフトウェアディストリビューションは、
96さまざまな Unix, Macintosh, Windows、および
97他のプラットホームに対して完全な TeX システムを提供します。
98多くの異なった言語を含む TeX ドキュメントの
99編集、組版、閲覧、印刷するためのプログラム、
100そして、TeX マクロやフォントライブラリの大きなコレクションを
101同梱しています。
102
103このディストリビューションは
104同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
105TeX に関するたくさんの一般的なドキュメントを含んでいます。
106
107このパッケージは以下のようなパッケージ集です。
[7770]108Music packages:
[1533]109Music-related fonts and packages.
110
111このパッケージは以下の CTAN パッケージを含んでいます:
112abc: Support ABC music notation in LaTeX.
113figbas: Mini-fonts for figured-bass notation in music.
114gchords: Typeset guitar chords.
[7148]115gtrcrd: Add chords to lyrics.
[1533]116guitar: Guitar chords and song texts.
[7810]117guitarchordschemes: Guitar Chord and Scale Tablatures.
[1533]118harmony: Typeset harmony symbols, etc., for musicology.
[7148]119m-tx: A preprocessor for pmx.
[5207]120musixguit: Easy notation for guitar music, in MusixTeX.
[1533]121musixtex: Sophisticated music typesetting
[7148]122musixtex-fonts: Fonts used by MusixTeX.
123pmx: Preprocessor for MusiXTeX.
[1533]124songbook: Package for typesetting song lyrics and chord books.
[7770]125songs: Produce song books for church or fellowship.
[1533]126
127%package doc
128Summary: TeX Live: Documentation files of %{name}
129Group: Applications/Publishing
130Requires: %{name} = %{version}-%{release}
131
132%description doc
133This package contains documentation files of %{name}.
134
135%prep
[7770]136%setup -c -n %{name}-%{version}
137%__tar -xvf %{SOURCE1}
138%__tar -xvf %{SOURCE2}
139%__tar -xvf %{SOURCE3}
140%__tar -xvf %{SOURCE4}
141%__tar -xvf %{SOURCE5}
142%__tar -xvf %{SOURCE6}
143%__tar -xvf %{SOURCE7}
144%__tar -xvf %{SOURCE8}
145%__tar -xvf %{SOURCE9}
146%__tar -xvf %{SOURCE10}
147%__tar -xvf %{SOURCE11}
148%__tar -xvf %{SOURCE12}
149%__tar -xvf %{SOURCE13}
150%__tar -xvf %{SOURCE14}
151%__tar -xvf %{SOURCE15}
152%__tar -xvf %{SOURCE16}
153%__tar -xvf %{SOURCE17}
154%__tar -xvf %{SOURCE18}
155%__tar -xvf %{SOURCE19}
156%__tar -xvf %{SOURCE20}
157%__tar -xvf %{SOURCE21}
158%__tar -xvf %{SOURCE22}
159%__tar -xvf %{SOURCE23}
160%__tar -xvf %{SOURCE24}
161%__tar -xvf %{SOURCE25}
162%__tar -xvf %{SOURCE26}
163%__tar -xvf %{SOURCE27}
164%__tar -xvf %{SOURCE28}
165%__tar -xvf %{SOURCE29}
166%__tar -xvf %{SOURCE30}
[7810]167%__tar -xvf %{SOURCE31}
168%__tar -xvf %{SOURCE32}
[1533]169
170%build
171
172%install
173[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
174
[7770]175%__mkdir_p %{buildroot}%{_datadir}
[1533]176
[7770]177## move texmf-dist to /usr/share/texmf-dist
178[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
[1533]179
[7770]180## move texmf to /usr/share/texmf
181[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
[1533]182
[7770]183## move tlpkg to /usr/share/tlpkg
184[ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
185
186## move all non-arch binaries to /usr/bin
187[ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
188
189## move others into /usr/share/texmf-dist
190%__mkdir_p %{buildroot}%{_tl_texmfdist}
191%__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
192%__rm -rf * ||:
193
194
195## remove duplicated files between texlive and texlive-collection-*
196## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
197## remove unpacked files
198x=(
199texconfig/tcfmgr
200texconfig/tcfmgr.map
201web2c/fmtutil.cnf
202web2c/mktex.opt
203web2c/mktexdir
204web2c/mktexdir.opt
205web2c/mktexnam
206web2c/mktexnam.opt
207web2c/mktexupd
208web2c/texmf.cnf
209web2c/updmap.cfg
210web2c/updmap-hdr.cfg
211doc/chktex/ChkTeX.pdf
212install-tl
213)
214if [ -d %{buildroot}%{_tl_texmfdist} ]; then
215pushd %{buildroot}%{_tl_texmfdist}
216%__rm -f ${x[@]} ||:
[5207]217popd
[7770]218fi
219
[1533]220## Files list
221find %{buildroot} -type f -or -type l | \
222    %__sed -e "s|%{buildroot}||g" > filelist.full
223
[7770]224find %{buildroot}%{_tl_texmfdist} -type d | \
[1533]225    %__sed -e "s|^%{buildroot}|%dir |" \
226           -e "s|$|/|"             >> filelist.full
227
228## subpackages
229grep "/texmf-dist/doc/" filelist.full > filelist.doc
230cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
231%__mv -f filelist.tmp filelist.full
232
233%clean
234%__rm -rf %{buildroot}
235
236%post
[7770]237%_tl_touch_run texhash
238%_tl_touch_run mtxrun
[1533]239
[7770]240[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
[1533]241
[7770]242    %_tl_enable_map MixedMap musix.map
[2505]243
[1533]244exit 0
245
246
247%postun
248if [ "$1" = 0 ]; then
[7770]249    %_tl_touch_run texhash
[1533]250
[7770]251    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
[1533]252
[7770]253    %_tl_disable_map musix.map
[1533]254
255fi
256
257exit 0
258
[7148]259%posttrans
[7770]260%{_tl_exec_texhash}
261%{_tl_exec_mtxrun}
262%{_tl_exec_updmap}
263%{_tl_exec_fmtutil}
[7148]264exit 0
265
266
[1533]267%files -f filelist.full
[5207]268%defattr(-,root,root,-)
[1533]269
270%files -f filelist.doc doc
[5207]271%defattr(-,root,root,-)
[1533]272
273%changelog
[7810]274* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
275- TLNET 20130919
276
[7770]277* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
278- generated by tlpdb2rpmspec 2013-1: tlpdb2rpmspec collection-music
279- TLNET 20130823
Note: See TracBrowser for help on using the repository browser.