texlive-collection-music-vl.spec 8.7 KB

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