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

Revision 9529, 8.7 KB checked in by munepi, 9 years ago (diff)

TeX Live 2015/pretest

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2015-1:
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: 1%{?_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: 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
62
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
86This package is a collection of Music packages:
87Music-related fonts and packages.
88
89This package contains the following CTAN packages:
90abc: Support ABC music notation in LaTeX.
91bagpipe: Support for typesetting bagpipe music.
92figbas: Mini-fonts for figured-bass notation in music.
93gchords: Typeset guitar chords.
94gtrcrd: Add chords to lyrics.
95guitar: Guitar chords and song texts.
96guitarchordschemes: Guitar Chord and Scale Tablatures.
97harmony: Typeset harmony symbols, etc., for musicology.
98leadsheets: Typesetting leadsheets and songbooks.
99lilyglyphs: Access lilypond fragments and glyphs, in LaTeX.
100m-tx: A preprocessor for pmx.
101musixguit: Easy notation for guitar music, in MusixTeX.
102musixtex: Sophisticated music typesetting
103musixtex-fonts: Fonts used by MusixTeX.
104musixtnt: A MusiXTeX extension library that enables transformations of the effect of notes commands
105pmx: Preprocessor for MusiXTeX.
106pmxchords: Produce chord information to go with pmx output.
107songbook: Package for typesetting song lyrics and chord books.
108songs: Produce song books for church or fellowship.
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このパッケージは以下のようなパッケージ集です。
124Music packages:
125Music-related fonts and packages.
126
127このパッケージは以下の CTAN パッケージを含んでいます:
128abc: Support ABC music notation in LaTeX.
129bagpipe: Support for typesetting bagpipe music.
130figbas: Mini-fonts for figured-bass notation in music.
131gchords: Typeset guitar chords.
132gtrcrd: Add chords to lyrics.
133guitar: Guitar chords and song texts.
134guitarchordschemes: Guitar Chord and Scale Tablatures.
135harmony: Typeset harmony symbols, etc., for musicology.
136leadsheets: Typesetting leadsheets and songbooks.
137lilyglyphs: Access lilypond fragments and glyphs, in LaTeX.
138m-tx: A preprocessor for pmx.
139musixguit: Easy notation for guitar music, in MusixTeX.
140musixtex: Sophisticated music typesetting
141musixtex-fonts: Fonts used by MusixTeX.
142musixtnt: A MusiXTeX extension library that enables transformations of the effect of notes commands
143pmx: Preprocessor for MusiXTeX.
144pmxchords: Produce chord information to go with pmx output.
145songbook: Package for typesetting song lyrics and chord books.
146songs: Produce song books for church or fellowship.
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
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}
188%__tar -xvf %{SOURCE31}
189%__tar -xvf %{SOURCE32}
190%__tar -xvf %{SOURCE33}
191%__tar -xvf %{SOURCE34}
192%__tar -xvf %{SOURCE35}
193%__tar -xvf %{SOURCE36}
194%__tar -xvf %{SOURCE37}
195%__tar -xvf %{SOURCE38}
196%__tar -xvf %{SOURCE39}
197%__tar -xvf %{SOURCE40}
198%__tar -xvf %{SOURCE41}
199%__tar -xvf %{SOURCE42}
200%__tar -xvf %{SOURCE43}
201
202%build
203
204%install
205[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
206
207%__mkdir_p %{buildroot}%{_datadir}
208
209## move texmf-dist to /usr/share/texmf-dist
210[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
211
212## move texmf to /usr/share/texmf
213[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
214
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=(
231scripts/texlive/texconfig-dialog.sh
232scripts/texlive/texconfig-sys.sh
233scripts/texlive/texconfig.sh
234scripts/texlive/texlinks.sh
235scripts/texlive/tlmgr.pl
236texconfig/tcfmgr
237web2c/mktex.opt
238web2c/mktexdir
239web2c/mktexdir.opt
240web2c/mktexnam
241web2c/mktexnam.opt
242web2c/mktexupd
243web2c/texmf.cnf
244web2c/updmap-hdr.cfg
245web2c/updmap.cfg
246)
247if [ -d %{buildroot}%{_tl_texmfdist} ]; then
248pushd %{buildroot}%{_tl_texmfdist}
249%__rm -f ${x[@]} ||:
250popd
251fi
252
253## Files list
254find %{buildroot} -type f -or -type l | \
255    %__sed -e "s|%{buildroot}||g" > filelist.full
256
257find %{buildroot}%{_tl_texmfdist} -type d | \
258    %__sed -e "s|^%{buildroot}|%dir |" \
259           -e "s|$|/|"             >> filelist.full
260
261## subpackages
262grep "/texmf-dist/doc/" filelist.full > filelist.doc
263cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
264%__mv -f filelist.tmp filelist.full
265
266%clean
267%__rm -rf %{buildroot}
268
269%post
270%_tl_touch_run texhash
271%_tl_touch_run mtxrun
272
273[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
274
275    %_tl_enable_map MixedMap musix.map
276
277exit 0
278
279
280%postun
281if [ "$1" = 0 ]; then
282    %_tl_touch_run texhash
283
284    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
285
286    %_tl_disable_map musix.map
287
288fi
289
290exit 0
291
292%posttrans
293%{_tl_exec_texhash}
294%{_tl_exec_mtxrun}
295%{_tl_exec_updmap}
296%{_tl_exec_fmtutil}
297exit 0
298
299
300%files -f filelist.full
301%defattr(-,root,root,-)
302
303%files -f filelist.doc doc
304%defattr(-,root,root,-)
305
306%changelog
307
Note: See TracBrowser for help on using the repository browser.