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