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 | |
---|
9 | Summary: TeX Live: Music packages |
---|
10 | Summary(ja): TeX Live: Music packages |
---|
11 | Name: texlive-collection-music |
---|
12 | Version: 2013 |
---|
13 | Release: 2%{?_dist_release} |
---|
14 | License: 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: m-tx.doc.tar.xz |
---|
35 | Source17: m-tx.tar.xz |
---|
36 | Source18: musixguit.doc.tar.xz |
---|
37 | Source19: musixguit.tar.xz |
---|
38 | Source20: musixtex.doc.tar.xz |
---|
39 | Source21: musixtex.source.tar.xz |
---|
40 | Source22: musixtex.tar.xz |
---|
41 | Source23: musixtex-fonts.doc.tar.xz |
---|
42 | Source24: musixtex-fonts.tar.xz |
---|
43 | Source25: pmx.doc.tar.xz |
---|
44 | Source26: pmx.tar.xz |
---|
45 | Source27: songbook.doc.tar.xz |
---|
46 | Source28: songbook.source.tar.xz |
---|
47 | Source29: songbook.tar.xz |
---|
48 | Source30: songs.doc.tar.xz |
---|
49 | Source31: songs.source.tar.xz |
---|
50 | Source32: songs.tar.xz |
---|
51 | |
---|
52 | Requires: texlive = %{version} |
---|
53 | Requires: texlive-collection-latex = %{version} |
---|
54 | |
---|
55 | Requires(post): texlive = %{version} |
---|
56 | Requires(postun): texlive = %{version} |
---|
57 | |
---|
58 | BuildArch: noarch |
---|
59 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
60 | |
---|
61 | Vendor: Project Vine |
---|
62 | Distribution: Vine Linux |
---|
63 | Packager: munepi |
---|
64 | |
---|
65 | %description |
---|
66 | The TeX Live software distribution offers a complete TeX system for a |
---|
67 | variety of Unix, Macintosh, Windows and other platforms. It |
---|
68 | encompasses programs for editing, typesetting, previewing and printing |
---|
69 | of TeX documents in many different languages, and a large collection |
---|
70 | of TeX macros and font libraries. |
---|
71 | |
---|
72 | The distribution includes extensive general documentation about TeX, |
---|
73 | as well as the documentation for the included software packages. |
---|
74 | |
---|
75 | This package is a collection of Music packages: |
---|
76 | Music-related fonts and packages. |
---|
77 | |
---|
78 | This package contains the following CTAN packages: |
---|
79 | abc: Support ABC music notation in LaTeX. |
---|
80 | figbas: Mini-fonts for figured-bass notation in music. |
---|
81 | gchords: Typeset guitar chords. |
---|
82 | gtrcrd: Add chords to lyrics. |
---|
83 | guitar: Guitar chords and song texts. |
---|
84 | guitarchordschemes: Guitar Chord and Scale Tablatures. |
---|
85 | harmony: Typeset harmony symbols, etc., for musicology. |
---|
86 | m-tx: A preprocessor for pmx. |
---|
87 | musixguit: Easy notation for guitar music, in MusixTeX. |
---|
88 | musixtex: Sophisticated music typesetting |
---|
89 | musixtex-fonts: Fonts used by MusixTeX. |
---|
90 | pmx: Preprocessor for MusiXTeX. |
---|
91 | songbook: Package for typesetting song lyrics and chord books. |
---|
92 | songs: Produce song books for church or fellowship. |
---|
93 | |
---|
94 | %description -l ja |
---|
95 | TeX Live ソフトウェアディストリビューションは、 |
---|
96 | さまざまな Unix, Macintosh, Windows、および |
---|
97 | 他のプラットホームに対して完全な TeX システムを提供します。 |
---|
98 | 多くの異なった言語を含む TeX ドキュメントの |
---|
99 | 編集、組版、閲覧、印刷するためのプログラム、 |
---|
100 | そして、TeX マクロやフォントライブラリの大きなコレクションを |
---|
101 | 同梱しています。 |
---|
102 | |
---|
103 | このディストリビューションは |
---|
104 | 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、 |
---|
105 | TeX に関するたくさんの一般的なドキュメントを含んでいます。 |
---|
106 | |
---|
107 | このパッケージは以下のようなパッケージ集です。 |
---|
108 | Music packages: |
---|
109 | Music-related fonts and packages. |
---|
110 | |
---|
111 | このパッケージは以下の CTAN パッケージを含んでいます: |
---|
112 | abc: Support ABC music notation in LaTeX. |
---|
113 | figbas: Mini-fonts for figured-bass notation in music. |
---|
114 | gchords: Typeset guitar chords. |
---|
115 | gtrcrd: Add chords to lyrics. |
---|
116 | guitar: Guitar chords and song texts. |
---|
117 | guitarchordschemes: Guitar Chord and Scale Tablatures. |
---|
118 | harmony: Typeset harmony symbols, etc., for musicology. |
---|
119 | m-tx: A preprocessor for pmx. |
---|
120 | musixguit: Easy notation for guitar music, in MusixTeX. |
---|
121 | musixtex: Sophisticated music typesetting |
---|
122 | musixtex-fonts: Fonts used by MusixTeX. |
---|
123 | pmx: Preprocessor for MusiXTeX. |
---|
124 | songbook: Package for typesetting song lyrics and chord books. |
---|
125 | songs: Produce song books for church or fellowship. |
---|
126 | |
---|
127 | %package doc |
---|
128 | Summary: TeX Live: Documentation files of %{name} |
---|
129 | Group: Applications/Publishing |
---|
130 | Requires: %{name} = %{version}-%{release} |
---|
131 | |
---|
132 | %description doc |
---|
133 | This 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 |
---|
198 | x=( |
---|
199 | texconfig/tcfmgr |
---|
200 | texconfig/tcfmgr.map |
---|
201 | web2c/fmtutil.cnf |
---|
202 | web2c/mktex.opt |
---|
203 | web2c/mktexdir |
---|
204 | web2c/mktexdir.opt |
---|
205 | web2c/mktexnam |
---|
206 | web2c/mktexnam.opt |
---|
207 | web2c/mktexupd |
---|
208 | web2c/texmf.cnf |
---|
209 | web2c/updmap.cfg |
---|
210 | web2c/updmap-hdr.cfg |
---|
211 | doc/chktex/ChkTeX.pdf |
---|
212 | install-tl |
---|
213 | ) |
---|
214 | if [ -d %{buildroot}%{_tl_texmfdist} ]; then |
---|
215 | pushd %{buildroot}%{_tl_texmfdist} |
---|
216 | %__rm -f ${x[@]} ||: |
---|
217 | popd |
---|
218 | fi |
---|
219 | |
---|
220 | ## Files list |
---|
221 | find %{buildroot} -type f -or -type l | \ |
---|
222 | %__sed -e "s|%{buildroot}||g" > filelist.full |
---|
223 | |
---|
224 | find %{buildroot}%{_tl_texmfdist} -type d | \ |
---|
225 | %__sed -e "s|^%{buildroot}|%dir |" \ |
---|
226 | -e "s|$|/|" >> filelist.full |
---|
227 | |
---|
228 | ## subpackages |
---|
229 | grep "/texmf-dist/doc/" filelist.full > filelist.doc |
---|
230 | cat 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 | |
---|
244 | exit 0 |
---|
245 | |
---|
246 | |
---|
247 | %postun |
---|
248 | if [ "$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 | |
---|
255 | fi |
---|
256 | |
---|
257 | exit 0 |
---|
258 | |
---|
259 | %posttrans |
---|
260 | %{_tl_exec_texhash} |
---|
261 | %{_tl_exec_mtxrun} |
---|
262 | %{_tl_exec_updmap} |
---|
263 | %{_tl_exec_fmtutil} |
---|
264 | exit 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 |
---|