2 Version: @TOPLEVEL_VERSION@
5 Group: Applications/Publishing
6 Source0: pcnov095.win.tue.nl:/pub/lilypond/development/lilypond-@TOPLEVEL_VERSION@.tar.gz
7 Summary: A program for typesetting 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 --enable-optimise --enable-shared --enable-tex-dir='${prefix}/lib/texmf/texmf/tex/generic' --enable-mf-dir='${prefix}/lib/texmf/texmf/fonts/source/'
25 rm -rf $RPM_BUILD_ROOT
26 mkdir -p $RPM_BUILD_ROOT/tmp/lilypond-rpm-doc
27 tar -C $RPM_BUILD_ROOT/tmp/lilypond-rpm-doc -xzf out/htmldoc.tar.gz
29 strip lily/out/lilypond mi2mu/out/mi2mu
30 make prefix="$RPM_BUILD_ROOT/usr" install
33 %doc /tmp/lilypond-rpm-doc
35 # hairy to hook it in (possibly non-existing) emacs
38 # this gets too messy...
40 # verbatim include of input: list the directory without issuing a %dir
44 /usr/bin/convert-mudela
50 /usr/man/man1/lilypond.1
51 /usr/man/man1/mudela-book.1
52 /usr/man/man1/ly2dvi.1
53 /usr/man/man1/convert-mudela.1
54 /usr/lib/texmf/texmf/tex/generic/lilypond
55 /usr/lib/texmf/texmf/fonts/source/public/lilypond
57 /usr/share/locale/*/LC_MESSAGES/lilypond.mo
60 ## ln -s /usr/lib/texmf/texmf/tex/lilypond /usr/lib/texmf/texmf/tex/latex/lilypond # suck me plenty
61 texhash # takes some time...
62 touch /tmp/.lilypond-install
63 rm `find /var/lib/texmf -name 'feta*pk -print' -or -name 'feta*tfm -print'` /tmp/.lilypond-install