lilypond-1.3.138
[lilypond.git] / make / zlilypond-docs.spec.in
blob9e893be19515fb7c95f36ee1c944ae9ba9662b58
2 # The weird name is to persuade RPM to use the other spec for building the
3 # lilypond rpm from the tarball.
6 Name: lilypond-docs
7 Version: @TOPLEVEL_VERSION@
8 Release: 1
9 Copyright: GPL
10 Group: Applications/Publishing
11 Source0: pcnov095.win.tue.nl:/pub/lilypond/development/lilypond-@TOPLEVEL_VERSION@.tar.gz
12 Summary: A program for typesetting music (documentation)
13 URL: http://www.cs.uu.nl/~hanwen/lilypond
14 Packager: Han-Wen Nienhuys <hanwen@cs.uu.nl>
15 Icon: lelie_icon.gif
16 BuildRoot: /tmp/lilypond-install
17 BuildArchitectures: noarch
20 %description
21 @BLURB@
23 This package contains the documentation in HTML and PS format.
25 %prep
26 %setup -T -n lilypond-@TOPLEVEL_VERSION@ -b0
27 %build
30 # This is actually quite gross. You have to have a working (and up to date)
31 # LilyPond and Yodl to build the documentation.
34 make htmldocs
36 %install
38 # ln /home/hanwen/usr/src/lilypond/out/htmldoc.tar.gz out/
39 mkdir -p $RPM_BUILD_ROOT/usr/doc/lilypond-@TOPLEVEL_VERSION@
40 tar -C $RPM_BUILD_ROOT/usr/doc/lilypond-@TOPLEVEL_VERSION@ -xzf out/htmldoc.tar.gz
42 %files
44 %doc /usr/doc/lilypond-@TOPLEVEL_VERSION@
46 %post