lilypond-0.1.57
[lilypond.git] / make / lilypond.spec.in
blob1597e7794cbf75669e4d2c8c65b397416f756715
1 Name: lilypond
2 Version: @TOPLEVEL_VERSION@
3 Release: 1
4 Copyright: GPL
5 Group: Applications/Publishing
6 Source0: alpha.gnu.org:/gnu/lilypond/development/lilypond-@TOPLEVEL_VERSION@.tar.gz
7 Summary: A program for typesetting music.
8 URL: http://www.stack.nl/~hanwen/lilypond
9 Packager: Han-Wen Nienhuys <hanwen@stack.nl>
10 Icon: lelie_icon.gif
11 Buildroot: /tmp/lilypond-install
13 %description
14 LilyPond is the GNU Project music typesetter. The program
15 generates visual or auditive output from a music
16 definition file: it can typeset formatted sheet music
17 to a TeX file and play (mechanical) performances to a
18 MIDI file. Features include multiple staffs, meters,
19 clefs, keys, lyrics, versatile input-language,
20 cadenzas, beams, slurs, triplets.
21 It includes a nice font of musical symbols.
23 %prep
24 %setup
25 %build
26 ./configure --disable-checking --disable-debugging --enable-printing --prefix=/usr --enable-optimise --enable-shared
27 make all
28 %install
29 rm -rf $RPM_BUILD_ROOT
30 strip lily/out/lilypond mi2mu/out/mi2mu
31 make -C Documentation gifs
32 make prefix="$RPM_BUILD_ROOT/usr" install
33 %files
34 %doc @TEXT_DOCS@
35 %doc @EXAMPLE_LYS@
36 %doc Documentation/out/lelie_logo.gif
37 /usr/bin/convert-mudela
38 /usr/bin/mudela-book
39 /usr/bin/lilypond
40 /usr/lib/libflower.so
41 /usr/bin/mi2mu
42 /usr/man/man1/mi2mu.1
43 /usr/man/man1/lilypond.1
44 /usr/man/man1/mudela-book.1
45 /usr/man/man1/convert-mudela.1
46 /usr/lib/texmf/texmf/tex/lilypond/
47 /usr/lib/texmf/texmf/fonts/source/public/lilypond
48 /usr/share/lilypond/
49 %post
51 texhash # takes some time...
52 rm `find /var/lib/texmf -name 'feta*pk' -or -name 'feta*tfm'`