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

Revision 7770, 8.9 KB checked in by munepi, 11 years ago (diff)

dropped all obsolete texlive-collection packages of TeX Live 2012

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