From: fred Date: Sun, 19 Jul 1998 20:12:18 +0000 (+0000) Subject: lilypond-1.0.1 X-Git-Tag: release/1.5.59~5894 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=30b2ac4003e648332880169fe6696a6ec2b2366d;p=lilypond.git lilypond-1.0.1 --- diff --git a/make/zlilypond-docs.spec.in b/make/zlilypond-docs.spec.in new file mode 100644 index 0000000000..9e893be195 --- /dev/null +++ b/make/zlilypond-docs.spec.in @@ -0,0 +1,46 @@ +# +# 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