]> git.donarmstrong.com Git - lilypond.git/blobdiff - make/lilypond.spec.in
release: 0.1.63
[lilypond.git] / make / lilypond.spec.in
index 887c92075ab4f60471d349944673b718cb3f3deb..0400e189c96d7710a0a34e30ef4edee7897a2dfa 100644 (file)
@@ -3,40 +3,59 @@ Version: @TOPLEVEL_VERSION@
 Release: 1
 Copyright: GPL
 Group: Applications/Publishing
-Source0: pcnov095.win.tue.nl:/pub/lilypond/lilypond-@TOPLEVEL_VERSION@.tar.gz
-Summary: A preprocessor to make TeX typeset music.
-URL: http://www.stack.nl/~hanwen/lilypond
-Packager: Han-Wen Nienhuys <hanwen@stack.nl>
-Icon: lelie_logo.gif
+Source0: pcnov095.win.tue.nl:/pub/lilypond/development/lilypond-@TOPLEVEL_VERSION@.tar.gz
+Summary: A program for typesetting music.
+URL: http://www.cs.uu.nl/~hanwen/lilypond
+Packager: Han-Wen Nienhuys <hanwen@cs.uu.nl>
+Icon: lelie_icon.gif
+Buildroot: /tmp/lilypond-install
+Prereq: tetex
+
+%description 
+LilyPond is the GNU Project music typesetter.  This program can print
+beautiful sheet music from a  music 
+definition file.  It can also play a play (mechanical) performances to a 
+MIDI file.  Features include multiple staffs, meters, 
+clefs, keys, lyrics, versatile input-language, 
+cadenzas, beams, slurs, triplets.
+It includes a nice font of musical symbols.
 
-%description
-LilyPond is a program which converts a music-script (mudela) into
-TeX output, or MIDI to produce multi-staff scores. Feature include multiple
-meters, clefs, keys, lyrics, versatile input-language, cadenzas
-beams, slurs, triplets
 
 %prep
 %setup
 %build
-configure --enable-checking --enable-optimise --enable-printing --prefix=/usr
+./configure --disable-checking --disable-debugging --enable-printing --prefix=/usr --enable-optimise --enable-shared
 make all
 %install
-make install
-strip /usr/bin/lilypond /usr/bin/mi2mu 
+rm -rf $RPM_BUILD_ROOT
+strip lily/out/lilypond mi2mu/out/mi2mu
+make -C Documentation gifs
+make prefix="$RPM_BUILD_ROOT/usr" install
 %files
-%doc Documentation/out/index.text Documentation/out/CodingStyle.text
-%doc Documentation/out/lilygut.text Documentation/out/lilyinput.text
-%doc Documentation/out/error.text Documentation/out/faq.text
-%doc Documentation/out/INSTALL.text
-%doc Documentation/out/language.text Documentation/lelie_logo.gif
+%doc Documentation/out/*@DOTTEXT@
+%doc Documentation/tex/*.doc
+%doc Documentation/tex/*.bib
+%doc mutopia/*.ly
+%doc input/*.ly
+%doc Documentation/out/lelie_logo.gif
+/usr/bin/convert-mudela
+/usr/bin/mudela-book
+/usr/bin/ly2dvi
 /usr/bin/lilypond
 /usr/bin/mi2mu
+# /usr/lib/libflower.so
+/usr/man/man1/mi2mu.1
 /usr/man/man1/lilypond.1
+/usr/man/man1/mudela-book.1
+/usr/man/man1/ly2dvi.1
+/usr/man/man1/convert-mudela.1
 /usr/lib/texmf/texmf/tex/lilypond/
+/usr/lib/texmf/texmf/fonts/source/public/lilypond
 /usr/share/lilypond/
-
-%post
-texhash
 %post
-texhash
+
+
+ln -s  /usr/lib/texmf/texmf/tex/lilypond  /usr/lib/texmf/texmf/tex/latex/lilypond # suck me plenty
+texhash                # takes some time...
+rm `find /var/lib/texmf -name 'feta*pk' -or -name 'feta*tfm'`