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

Revision 7855, 7.9 KB checked in by munepi, 11 years ago (diff)

update source snapshot, TLNET: 20131002

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