[1533] | 1 | ## -*- coding: utf-8-unix -*- |
---|
[7951] | 2 | ## NOTE: This spec file is generated by tlpdb2rpmspec 2013-4: |
---|
[1974] | 3 | ## tlpdb2rpmspec collection-music |
---|
[1533] | 4 | |
---|
[5207] | 5 | %global _use_internal_dependency_generator 0 |
---|
| 6 | %global __find_provides %{nil} |
---|
| 7 | %global __find_requires %{nil} |
---|
| 8 | |
---|
[7770] | 9 | Summary: TeX Live: Music packages |
---|
| 10 | Summary(ja): TeX Live: Music packages |
---|
[1533] | 11 | Name: texlive-collection-music |
---|
[7770] | 12 | Version: 2013 |
---|
[7951] | 13 | Release: 4%{?_dist_release} |
---|
[7148] | 14 | License: LPPL, GPL+, LPPL 1.3, GPLv2+, LGPLv2+ |
---|
[1533] | 15 | Group: Applications/Publishing |
---|
| 16 | URL:http://www.tug.org/texlive/ |
---|
| 17 | |
---|
[7770] | 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 |
---|
[7810] | 30 | Source12: guitarchordschemes.doc.tar.xz |
---|
| 31 | Source13: guitarchordschemes.tar.xz |
---|
| 32 | Source14: harmony.doc.tar.xz |
---|
| 33 | Source15: harmony.tar.xz |
---|
[7855] | 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: songbook.doc.tar.xz |
---|
| 49 | Source31: songbook.source.tar.xz |
---|
| 50 | Source32: songbook.tar.xz |
---|
| 51 | Source33: songs.doc.tar.xz |
---|
| 52 | Source34: songs.source.tar.xz |
---|
| 53 | Source35: songs.tar.xz |
---|
[7770] | 54 | |
---|
[1533] | 55 | Requires: texlive = %{version} |
---|
| 56 | Requires: texlive-collection-latex = %{version} |
---|
| 57 | |
---|
| 58 | Requires(post): texlive = %{version} |
---|
| 59 | Requires(postun): texlive = %{version} |
---|
| 60 | |
---|
| 61 | BuildArch: noarch |
---|
| 62 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
| 63 | |
---|
| 64 | Vendor: Project Vine |
---|
| 65 | Distribution: Vine Linux |
---|
| 66 | Packager: munepi |
---|
| 67 | |
---|
| 68 | %description |
---|
| 69 | The TeX Live software distribution offers a complete TeX system for a |
---|
| 70 | variety of Unix, Macintosh, Windows and other platforms. It |
---|
| 71 | encompasses programs for editing, typesetting, previewing and printing |
---|
| 72 | of TeX documents in many different languages, and a large collection |
---|
| 73 | of TeX macros and font libraries. |
---|
| 74 | |
---|
| 75 | The distribution includes extensive general documentation about TeX, |
---|
| 76 | as well as the documentation for the included software packages. |
---|
| 77 | |
---|
[7770] | 78 | This package is a collection of Music packages: |
---|
[1533] | 79 | Music-related fonts and packages. |
---|
| 80 | |
---|
| 81 | This package contains the following CTAN packages: |
---|
| 82 | abc: Support ABC music notation in LaTeX. |
---|
| 83 | figbas: Mini-fonts for figured-bass notation in music. |
---|
| 84 | gchords: Typeset guitar chords. |
---|
[7148] | 85 | gtrcrd: Add chords to lyrics. |
---|
[1533] | 86 | guitar: Guitar chords and song texts. |
---|
[7810] | 87 | guitarchordschemes: Guitar Chord and Scale Tablatures. |
---|
[1533] | 88 | harmony: Typeset harmony symbols, etc., for musicology. |
---|
[7951] | 89 | lilyglyphs: Access lilypond fragments and glyphs, in LaTeX. |
---|
[7148] | 90 | m-tx: A preprocessor for pmx. |
---|
[5207] | 91 | musixguit: Easy notation for guitar music, in MusixTeX. |
---|
[1533] | 92 | musixtex: Sophisticated music typesetting |
---|
[7148] | 93 | musixtex-fonts: Fonts used by MusixTeX. |
---|
| 94 | pmx: Preprocessor for MusiXTeX. |
---|
[1533] | 95 | songbook: Package for typesetting song lyrics and chord books. |
---|
[7770] | 96 | songs: Produce song books for church or fellowship. |
---|
[1533] | 97 | |
---|
| 98 | %description -l ja |
---|
| 99 | TeX Live ソフトウェアディストリビューションは、 |
---|
| 100 | さまざまな Unix, Macintosh, Windows、および |
---|
| 101 | 他のプラットホームに対して完全な TeX システムを提供します。 |
---|
| 102 | 多くの異なった言語を含む TeX ドキュメントの |
---|
| 103 | 編集、組版、閲覧、印刷するためのプログラム、 |
---|
| 104 | そして、TeX マクロやフォントライブラリの大きなコレクションを |
---|
| 105 | 同梱しています。 |
---|
| 106 | |
---|
| 107 | このディストリビューションは |
---|
| 108 | 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、 |
---|
| 109 | TeX に関するたくさんの一般的なドキュメントを含んでいます。 |
---|
| 110 | |
---|
| 111 | このパッケージは以下のようなパッケージ集です。 |
---|
[7770] | 112 | Music packages: |
---|
[1533] | 113 | Music-related fonts and packages. |
---|
| 114 | |
---|
| 115 | このパッケージは以下の CTAN パッケージを含んでいます: |
---|
| 116 | abc: Support ABC music notation in LaTeX. |
---|
| 117 | figbas: Mini-fonts for figured-bass notation in music. |
---|
| 118 | gchords: Typeset guitar chords. |
---|
[7148] | 119 | gtrcrd: Add chords to lyrics. |
---|
[1533] | 120 | guitar: Guitar chords and song texts. |
---|
[7810] | 121 | guitarchordschemes: Guitar Chord and Scale Tablatures. |
---|
[1533] | 122 | harmony: Typeset harmony symbols, etc., for musicology. |
---|
[7951] | 123 | lilyglyphs: Access lilypond fragments and glyphs, in LaTeX. |
---|
[7148] | 124 | m-tx: A preprocessor for pmx. |
---|
[5207] | 125 | musixguit: Easy notation for guitar music, in MusixTeX. |
---|
[1533] | 126 | musixtex: Sophisticated music typesetting |
---|
[7148] | 127 | musixtex-fonts: Fonts used by MusixTeX. |
---|
| 128 | pmx: Preprocessor for MusiXTeX. |
---|
[1533] | 129 | songbook: Package for typesetting song lyrics and chord books. |
---|
[7770] | 130 | songs: Produce song books for church or fellowship. |
---|
[1533] | 131 | |
---|
| 132 | %package doc |
---|
| 133 | Summary: TeX Live: Documentation files of %{name} |
---|
| 134 | Group: Applications/Publishing |
---|
| 135 | Requires: %{name} = %{version}-%{release} |
---|
| 136 | |
---|
| 137 | %description doc |
---|
| 138 | This package contains documentation files of %{name}. |
---|
| 139 | |
---|
| 140 | %prep |
---|
[7770] | 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} |
---|
[7810] | 172 | %__tar -xvf %{SOURCE31} |
---|
| 173 | %__tar -xvf %{SOURCE32} |
---|
[7855] | 174 | %__tar -xvf %{SOURCE33} |
---|
| 175 | %__tar -xvf %{SOURCE34} |
---|
| 176 | %__tar -xvf %{SOURCE35} |
---|
[1533] | 177 | |
---|
| 178 | %build |
---|
| 179 | |
---|
| 180 | %install |
---|
| 181 | [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot} |
---|
| 182 | |
---|
[7770] | 183 | %__mkdir_p %{buildroot}%{_datadir} |
---|
[1533] | 184 | |
---|
[7770] | 185 | ## move texmf-dist to /usr/share/texmf-dist |
---|
| 186 | [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||: |
---|
[1533] | 187 | |
---|
[7770] | 188 | ## move texmf to /usr/share/texmf |
---|
| 189 | [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||: |
---|
[1533] | 190 | |
---|
[7770] | 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 |
---|
| 206 | x=( |
---|
[7951] | 207 | scripts/fontools/autoinst |
---|
[7855] | 208 | scripts/texlive/tlmgr.pl |
---|
[7951] | 209 | scripts/texlive/updmap.pl |
---|
[7770] | 210 | texconfig/tcfmgr |
---|
| 211 | texconfig/tcfmgr.map |
---|
| 212 | web2c/fmtutil.cnf |
---|
| 213 | web2c/mktex.opt |
---|
| 214 | web2c/mktexdir |
---|
| 215 | web2c/mktexdir.opt |
---|
| 216 | web2c/mktexnam |
---|
| 217 | web2c/mktexnam.opt |
---|
| 218 | web2c/mktexupd |
---|
| 219 | web2c/texmf.cnf |
---|
| 220 | web2c/updmap.cfg |
---|
| 221 | web2c/updmap-hdr.cfg |
---|
| 222 | doc/chktex/ChkTeX.pdf |
---|
| 223 | install-tl |
---|
| 224 | ) |
---|
| 225 | if [ -d %{buildroot}%{_tl_texmfdist} ]; then |
---|
| 226 | pushd %{buildroot}%{_tl_texmfdist} |
---|
| 227 | %__rm -f ${x[@]} ||: |
---|
[5207] | 228 | popd |
---|
[7770] | 229 | fi |
---|
| 230 | |
---|
[1533] | 231 | ## Files list |
---|
| 232 | find %{buildroot} -type f -or -type l | \ |
---|
| 233 | %__sed -e "s|%{buildroot}||g" > filelist.full |
---|
| 234 | |
---|
[7770] | 235 | find %{buildroot}%{_tl_texmfdist} -type d | \ |
---|
[1533] | 236 | %__sed -e "s|^%{buildroot}|%dir |" \ |
---|
| 237 | -e "s|$|/|" >> filelist.full |
---|
| 238 | |
---|
| 239 | ## subpackages |
---|
| 240 | grep "/texmf-dist/doc/" filelist.full > filelist.doc |
---|
| 241 | cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp |
---|
| 242 | %__mv -f filelist.tmp filelist.full |
---|
| 243 | |
---|
| 244 | %clean |
---|
| 245 | %__rm -rf %{buildroot} |
---|
| 246 | |
---|
| 247 | %post |
---|
[7770] | 248 | %_tl_touch_run texhash |
---|
| 249 | %_tl_touch_run mtxrun |
---|
[1533] | 250 | |
---|
[7770] | 251 | [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0 |
---|
[1533] | 252 | |
---|
[7770] | 253 | %_tl_enable_map MixedMap musix.map |
---|
[2505] | 254 | |
---|
[1533] | 255 | exit 0 |
---|
| 256 | |
---|
| 257 | |
---|
| 258 | %postun |
---|
| 259 | if [ "$1" = 0 ]; then |
---|
[7770] | 260 | %_tl_touch_run texhash |
---|
[1533] | 261 | |
---|
[7770] | 262 | [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0 |
---|
[1533] | 263 | |
---|
[7770] | 264 | %_tl_disable_map musix.map |
---|
[1533] | 265 | |
---|
| 266 | fi |
---|
| 267 | |
---|
| 268 | exit 0 |
---|
| 269 | |
---|
[7148] | 270 | %posttrans |
---|
[7770] | 271 | %{_tl_exec_texhash} |
---|
| 272 | %{_tl_exec_mtxrun} |
---|
| 273 | %{_tl_exec_updmap} |
---|
| 274 | %{_tl_exec_fmtutil} |
---|
[7148] | 275 | exit 0 |
---|
| 276 | |
---|
| 277 | |
---|
[1533] | 278 | %files -f filelist.full |
---|
[5207] | 279 | %defattr(-,root,root,-) |
---|
[1533] | 280 | |
---|
| 281 | %files -f filelist.doc doc |
---|
[5207] | 282 | %defattr(-,root,root,-) |
---|
[1533] | 283 | |
---|
| 284 | %changelog |
---|
[7951] | 285 | * Fri Nov 1 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4 |
---|
| 286 | - TLNET 20131101 |
---|
| 287 | |
---|
[7855] | 288 | * Wed Oct 2 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3 |
---|
| 289 | - TLNET 20131002 |
---|
| 290 | |
---|
[7810] | 291 | * Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2 |
---|
| 292 | - TLNET 20130919 |
---|
| 293 | |
---|
[7770] | 294 | * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1 |
---|
| 295 | - generated by tlpdb2rpmspec 2013-1: tlpdb2rpmspec collection-music |
---|
| 296 | - TLNET 20130823 |
---|