+# -*- rpm-spec-mode -*-
+
%define info yes
Name: lilypond
-Version: 1.5.28
+Version: 1.5.48
Release: 1
License: GPL
Group: Applications/Publishing
-Source0: ftp.cs.uu.nl:/pub/GNU/LilyPond/development/lilypond-1.5.28.tar.gz
+Source0: ftp.cs.uu.nl:/pub/GNU/LilyPond/development/lilypond-1.5.48.tar.gz
Summary: Create and print music notation
URL: http://www.lilypond.org/
BuildRoot: /tmp/lilypond-install
+
# add lots of Buildreq: flex, bison, tetex, tetex-devel, tetex-latex, texinfo
# better prereqs: tetex-latex, python, (mpost?) etc.
-Prereq: tetex
-
+Prereq: tetex t1utils bison flex pktrace texinfo tetex-latex gcc-c++ python
%description
LilyPond lets you create music notation. It produces
./configure --disable-checking --prefix=%{_prefix} --enable-optimise
-make all
+make MAKE_PFA_FILES=1 all
# make info
make -C Documentation
mkdir -p $RPM_BUILD_ROOT/tmp/lilypond-rpm-doc
strip lily/out/lilypond
-make prefix="$RPM_BUILD_ROOT%{_prefix}" install
+make prefix="$RPM_BUILD_ROOT%{_prefix}" MAKE_PFA_FILES=1 install
%if info=="yes"
gzip -9fn $RPM_BUILD_ROOT%{_prefix}/info/*