]> git.donarmstrong.com Git - lilypond.git/blob - make/zlilypond-docs.spec.in
release: 1.0.1
[lilypond.git] / make / zlilypond-docs.spec.in
1 #
2 # The weird name is to persuade RPM to use the other spec for building the 
3 # lilypond rpm from the tarball.
4 #
5
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
18
19
20 %description 
21 @BLURB@
22
23 This package contains the documentation in HTML and PS format.
24
25 %prep
26 %setup  -T -n lilypond-@TOPLEVEL_VERSION@ -b0
27 %build
28
29 #
30 # This is actually quite gross.  You have to have a working (and up to date)
31 # LilyPond and Yodl  to  build the documentation.
32 #
33
34 make htmldocs
35
36 %install
37
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 
41
42 %files
43
44 %doc /usr/doc/lilypond-@TOPLEVEL_VERSION@
45
46 %post