5 Group: Applications/Publishing
6 Source0: ftp.cs.uu.nl:/pub/GNU/LilyPond/development/lilypond-1.1.54.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
16 LilyPond is the GNU Project music typesetter. This program can print
17 beautiful sheet music from a music definition file. It can also play
18 mechanical performances to a MIDI file. Features include multiple
19 staffs, meters, clefs, keys, lyrics, versatile input language, cadenzas,
20 beams, slurs, triplets, named chords, transposing, formatting scores,
21 part extraction. It includes a nice font of musical symbols.
26 ./configure --disable-checking --disable-debugging --enable-printing --prefix=/usr --disable-optimise --enable-shared
28 ln -s /usr/share/texmf/fonts/tfm/public/cm/ tfm
30 make -C Documentation || true
35 rm -rf $RPM_BUILD_ROOT
36 mkdir -p $RPM_BUILD_ROOT/tmp/lilypond-rpm-doc
38 tar -C htmldocs -xzf out/htmldoc.tar.gz
39 #tar -C $RPM_BUILD_ROOT/tmp/lilypond-rpm-doc -xzf out/htmldoc.tar.gz
41 strip lily/out/lilypond mi2mu/out/mi2mu
42 make prefix="$RPM_BUILD_ROOT/usr" install
43 # gzip -9fn $RPM_BUILD_ROOT/usr/info/* || true
45 mkdir -p $RPM_BUILD_ROOT/etc/profile.d
46 cp buildscripts/out/lilypond-profile $RPM_BUILD_ROOT/etc/profile.d/lilypond.sh
47 cp buildscripts/out/lilypond-login $RPM_BUILD_ROOT/etc/profile.d/lilypond.csh
51 touch /tmp/.lilypond-install
52 rm `find /var/lib/texmf -name 'feta*pk -print' -or -name 'feta*tfm -print'` /tmp/.lilypond-install
53 # /sbin/install-info /usr/info/lilypond.info.gz /usr/info/dir || true
57 true # /sbin/install-info --delete /usr/info/lilypond.info.gz /usr/info/dir || true
64 # hairy to hook it in (possibly non-existing) emacs
67 # this gets too messy...
69 # verbatim include of input: list the directory without issuing a %dir
71 /usr/bin/convert-mudela
77 /usr/man/man1/lilypond.1
78 /usr/man/man1/mudela-book.1
79 /usr/man/man1/ly2dvi.1
80 /usr/man/man1/convert-mudela.1
82 /usr/share/locale/*/LC_MESSAGES/lilypond.mo
83 /etc/profile.d/lilypond.*