5 Group: Applications/Publishing
6 Source0: ftp.cs.uu.nl:/pub/GNU/LilyPond/development/lilypond-1.2.13.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 a music typesetter. It produces beautiful sheet music
17 using a high level description file as input. LilyPond is part of
23 ./configure --disable-checking --disable-debugging --enable-printing --prefix=/usr --disable-optimise --enable-shared
25 ln -s /usr/share/texmf/fonts/tfm/public/cm/ tfm
27 make -C Documentation || true
32 rm -rf $RPM_BUILD_ROOT
33 mkdir -p $RPM_BUILD_ROOT/tmp/lilypond-rpm-doc
35 tar -C htmldocs -xzf out/htmldoc.tar.gz
36 mkdir -p out/examples/
37 tar -cf - input/ | tar -C out/examples/ -xf-
39 strip lily/out/lilypond midi2ly/out/midi2ly
40 make prefix="$RPM_BUILD_ROOT/usr" install
41 # gzip -9fn $RPM_BUILD_ROOT/usr/info/* || true
43 mkdir -p $RPM_BUILD_ROOT/etc/profile.d
44 cp buildscripts/out/lilypond-profile $RPM_BUILD_ROOT/etc/profile.d/lilypond.sh
45 cp buildscripts/out/lilypond-login $RPM_BUILD_ROOT/etc/profile.d/lilypond.csh
49 touch /tmp/.lilypond-install
50 rm `find /var/lib/texmf -name 'feta*pk -print' -or -name 'feta*tfm -print'` /tmp/.lilypond-install
51 # /sbin/install-info /usr/info/lilypond.info.gz /usr/info/dir || true
55 true # /sbin/install-info --delete /usr/info/lilypond.info.gz /usr/info/dir || true
65 # hairy to hook it in (possibly non-existing) emacs
68 # this gets too messy...
70 # verbatim include of input: list the directory without issuing a %dir
73 /usr/bin/convert-mudela
78 /usr/man/man1/midi2ly.1
79 /usr/man/man1/lilypond.1
80 /usr/man/man1/mudela-book.1
81 /usr/man/man1/ly2dvi.1
82 /usr/man/man1/convert-mudela.1
84 /usr/share/locale/*/LC_MESSAGES/lilypond.mo
85 /etc/profile.d/lilypond.*