2 # The weird name is to persuade RPM to use the other spec for building the
3 # lilypond rpm from the tarball.
7 Version: @TOPLEVEL_VERSION@
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
>
16 BuildRoot: /tmp
/lilypond
-install
17 BuildArchitectures
: noarch
23 This package contains the documentation
in HTML and PS format.
26 %setup -T
-n lilypond
-@TOPLEVEL_VERSION@
-b0
30 # This is actually quite gross. You have to have a working (and up to date)
31 # LilyPond and Yodl to build the documentation.
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
44 %doc /usr
/doc
/lilypond
-@TOPLEVEL_VERSION@