# # The weird name is to persuade RPM to use the other spec for building the # lilypond rpm from the tarball. # Name: lilypond-docs Version: @TOPLEVEL_VERSION@ Release: 1 Copyright: GPL Group: Applications/Publishing Source0: pcnov095.win.tue.nl:/pub/lilypond/development/lilypond-@TOPLEVEL_VERSION@.tar.gz Summary: A program for typesetting music (documentation) URL: http://www.cs.uu.nl/~hanwen/lilypond Packager: Han-Wen Nienhuys Icon: lelie_icon.gif BuildRoot: /tmp/lilypond-install BuildArchitectures: noarch %description @BLURB@ This package contains the documentation in HTML and PS format. %prep %setup -T -n lilypond-@TOPLEVEL_VERSION@ -b0 %build # # This is actually quite gross. You have to have a working (and up to date) # LilyPond and Yodl to build the documentation. # make htmldocs %install # ln /home/hanwen/usr/src/lilypond/out/htmldoc.tar.gz out/ mkdir -p $RPM_BUILD_ROOT/usr/doc/lilypond-@TOPLEVEL_VERSION@ tar -C $RPM_BUILD_ROOT/usr/doc/lilypond-@TOPLEVEL_VERSION@ -xzf out/htmldoc.tar.gz %files %doc /usr/doc/lilypond-@TOPLEVEL_VERSION@ %post