5 Group: Applications/Publishing
6 Source0: ftp.cs.uu.nl:/pub/GNU/LilyPond/development/lilypond-1.3.3.tar.gz
7 Summary: A program for printing sheet music.
8 URL: http://www.cs.uu.nl/~hanwen/lilypond
9 Packager: Han-Wen Nienhuys <hanwen@cs.uu.nl>
10 # Icon: lilypond-icon.gif
11 BuildRoot: /tmp/lilypond-install
15 LilyPond is a music typesetter. It produces beautiful
16 sheet music using a high level description file as input. LilyPond is
17 part of the GNU Project.
20 %package documentation
21 Summary: Prebuilt website containing all LilyPond documentation.
22 Group: Applications/Publishing
23 # BuildArchitectures: noarch
25 %description documentation
28 The documentation of LilyPond, both in HTML and PostScript.
33 ./configure --disable-checking --disable-debugging --enable-printing --prefix=/usr --disable-optimise --enable-shared
35 ln -s /usr/share/texmf/fonts/tfm/public/cm/ tfm
38 # %build documentation
39 # line 42: second %build
40 # ok, now make sure that lilypond package will succeed,
41 # even if documentation fails to build
42 make -C Documentation || true
46 rm -rf $RPM_BUILD_ROOT
47 mkdir -p $RPM_BUILD_ROOT/tmp/lilypond-rpm-doc
49 strip lily/out/lilypond midi2ly/out/midi2ly
50 make prefix="$RPM_BUILD_ROOT/usr" install
51 # gzip -9fn $RPM_BUILD_ROOT/usr/info/* || true
53 mkdir -p $RPM_BUILD_ROOT/etc/profile.d
54 cp buildscripts/out/lilypond-profile $RPM_BUILD_ROOT/etc/profile.d/lilypond.sh
55 cp buildscripts/out/lilypond-login $RPM_BUILD_ROOT/etc/profile.d/lilypond.csh
58 #%install documentation
59 #line 63: second %install
60 # again, make sure that main package installs even if doco fails
62 tar -C htmldocs -xzf out/htmldoc.tar.gz || true
63 mkdir -p out/examples/
64 tar -cf - input/ | tar -C out/examples/ -xf- || true
68 touch /tmp/.lilypond-install
69 rm `find /var/lib/texmf -name 'feta*pk -print' -or -name 'feta*tfm -print'` /tmp/.lilypond-install
70 # /sbin/install-info /usr/info/lilypond.info.gz /usr/info/dir || true
74 true # /sbin/install-info --delete /usr/info/lilypond.info.gz /usr/info/dir || true
79 # hairy to hook it in (possibly non-existing) emacs
83 /usr/bin/convert-mudela
88 /usr/man/man1/midi2ly.1
89 /usr/man/man1/lilypond.1
90 /usr/man/man1/mudela-book.1
91 /usr/man/man1/ly2dvi.1
92 /usr/man/man1/convert-mudela.1
94 /usr/share/locale/*/LC_MESSAGES/lilypond.mo
95 /etc/profile.d/lilypond.*
98 # this gets too messy...
100 # verbatim include of input: list the directory without issuing a %dir