2 Version: @TOPLEVEL_VERSION@
5 Group: Applications/Publishing
6 Source0: ftp.cs.uu.nl:/pub/GNU/LilyPond/development/lilypond-@TOPLEVEL_VERSION@.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: @package@-icon.gif
11 BuildRoot: /tmp/lilypond-install
20 ./configure --disable-checking --disable-debugging --enable-printing --prefix=/usr --disable-optimise --enable-shared
22 make -C Documentation info || true
26 rm -rf $RPM_BUILD_ROOT
27 mkdir -p $RPM_BUILD_ROOT/tmp/lilypond-rpm-doc
29 tar -C htmldocs -xzf out/htmldoc.tar.gz
30 #tar -C $RPM_BUILD_ROOT/tmp/lilypond-rpm-doc -xzf out/htmldoc.tar.gz
32 strip lily/out/lilypond mi2mu/out/mi2mu
33 make prefix="$RPM_BUILD_ROOT/usr" install
35 mkdir -p $RPM_BUILD_ROOT/etc/profile.d
36 cp buildscripts/out/lilypond-profile $RPM_BUILD_ROOT/etc/profile.d/lilypond.sh
37 cp buildscripts/out/lilypond-login $RPM_BUILD_ROOT/etc/profile.d/lilypond.csh
43 # hairy to hook it in (possibly non-existing) emacs
46 # this gets too messy...
48 # verbatim include of input: list the directory without issuing a %dir
50 /usr/bin/convert-mudela
56 /usr/man/man1/lilypond.1
57 /usr/man/man1/mudela-book.1
58 /usr/man/man1/ly2dvi.1
59 /usr/man/man1/convert-mudela.1
61 /usr/share/locale/*/LC_MESSAGES/lilypond.mo
62 /etc/profile.d/lilypond.*
67 touch /tmp/.lilypond-install
68 rm `find /var/lib/texmf -name 'feta*pk -print' -or -name 'feta*tfm -print'` /tmp/.lilypond-install