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

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2013-2:
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: 2%{?_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: 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
51
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
75This package is a collection of Music packages:
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.
82gtrcrd: Add chords to lyrics.
83guitar: Guitar chords and song texts.
84guitarchordschemes: Guitar Chord and Scale Tablatures.
85harmony: Typeset harmony symbols, etc., for musicology.
86m-tx: A preprocessor for pmx.
87musixguit: Easy notation for guitar music, in MusixTeX.
88musixtex: Sophisticated music typesetting
89musixtex-fonts: Fonts used by MusixTeX.
90pmx: Preprocessor for MusiXTeX.
91songbook: Package for typesetting song lyrics and chord books.
92songs: Produce song books for church or fellowship.
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このパッケージは以下のようなパッケージ集です。
108Music packages:
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.
115gtrcrd: Add chords to lyrics.
116guitar: Guitar chords and song texts.
117guitarchordschemes: Guitar Chord and Scale Tablatures.
118harmony: Typeset harmony symbols, etc., for musicology.
119m-tx: A preprocessor for pmx.
120musixguit: Easy notation for guitar music, in MusixTeX.
121musixtex: Sophisticated music typesetting
122musixtex-fonts: Fonts used by MusixTeX.
123pmx: Preprocessor for MusiXTeX.
124songbook: Package for typesetting song lyrics and chord books.
125songs: Produce song books for church or fellowship.
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
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}
167%__tar -xvf %{SOURCE31}
168%__tar -xvf %{SOURCE32}
169
170%build
171
172%install
173[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
174
175%__mkdir_p %{buildroot}%{_datadir}
176
177## move texmf-dist to /usr/share/texmf-dist
178[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
179
180## move texmf to /usr/share/texmf
181[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
182
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[@]} ||:
217popd
218fi
219
220## Files list
221find %{buildroot} -type f -or -type l | \
222    %__sed -e "s|%{buildroot}||g" > filelist.full
223
224find %{buildroot}%{_tl_texmfdist} -type d | \
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
237%_tl_touch_run texhash
238%_tl_touch_run mtxrun
239
240[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
241
242    %_tl_enable_map MixedMap musix.map
243
244exit 0
245
246
247%postun
248if [ "$1" = 0 ]; then
249    %_tl_touch_run texhash
250
251    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
252
253    %_tl_disable_map musix.map
254
255fi
256
257exit 0
258
259%posttrans
260%{_tl_exec_texhash}
261%{_tl_exec_mtxrun}
262%{_tl_exec_updmap}
263%{_tl_exec_fmtutil}
264exit 0
265
266
267%files -f filelist.full
268%defattr(-,root,root,-)
269
270%files -f filelist.doc doc
271%defattr(-,root,root,-)
272
273%changelog
274* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
275- TLNET 20130919
276
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.