]> git.donarmstrong.com Git - lilypond.git/blob - make/out/lilypond.spec
release: 1.0.16
[lilypond.git] / make / out / lilypond.spec
1 Name: lilypond
2 Version: 1.0.16
3 Release: 1
4 Copyright: GPL
5 Group: Applications/Publishing
6 Source0: ftp.cs.uu.nl:/pub/GNU/LilyPond/development/lilypond-1.0.16.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
12 Prereq: tetex
13
14 %description 
15
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, formatting scores, part extraction.  It includes
21 a nice font of musical symbols.
22
23 %prep
24 %setup
25 %build
26 ./configure --disable-checking --disable-debugging --enable-printing --prefix=/usr --enable-optimise --enable-shared
27 make all
28 make -C Documentation info || true
29 make htmldoc
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33 mkdir -p $RPM_BUILD_ROOT/tmp/lilypond-rpm-doc
34 tar -C $RPM_BUILD_ROOT/tmp/lilypond-rpm-doc -xzf out/htmldoc.tar.gz
35
36 strip lily/out/lilypond mi2mu/out/mi2mu
37 make prefix="$RPM_BUILD_ROOT/usr" install
38 cp buildscripts/out/lilypond-profile $RPM_BUILD_ROOT/etc/profile.d/lilypond.sh
39
40 %files
41
42 %doc /tmp/lilypond-rpm-doc
43
44 # hairy to hook it in (possibly non-existing) emacs
45 %doc mudela-mode.el
46
47 # this gets too messy...
48 # %doc input/*.ly
49 # verbatim include of input: list the directory without issuing a %dir 
50
51 %doc input
52
53 /usr/bin/convert-mudela
54 /usr/bin/mudela-book
55 /usr/bin/ly2dvi
56 /usr/bin/lilypond
57 /usr/bin/mi2mu
58 /usr/man/man1/mi2mu.1
59 /usr/man/man1/lilypond.1
60 /usr/man/man1/mudela-book.1
61 /usr/man/man1/ly2dvi.1
62 /usr/man/man1/convert-mudela.1
63 /usr/info/lilypond.info*
64 /usr/lib/texmf/texmf/tex/generic/lilypond
65 /usr/lib/texmf/texmf/fonts/source/public/lilypond
66 /usr/share/lilypond/
67 /usr/share/locale/*/LC_MESSAGES/lilypond.mo
68 /etc/profile.d/lilypond.sh
69 %post
70
71 ## ln -s  /usr/lib/texmf/texmf/tex/lilypond  /usr/lib/texmf/texmf/tex/latex/lilypond # suck me plenty
72 texhash         # takes some time...
73 touch /tmp/.lilypond-install
74 rm `find /var/lib/texmf -name 'feta*pk -print' -or -name 'feta*tfm -print'` /tmp/.lilypond-install