]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-1.0.1
authorfred <fred>
Sun, 19 Jul 1998 20:12:18 +0000 (20:12 +0000)
committerfred <fred>
Sun, 19 Jul 1998 20:12:18 +0000 (20:12 +0000)
make/zlilypond-docs.spec.in [new file with mode: 0644]

diff --git a/make/zlilypond-docs.spec.in b/make/zlilypond-docs.spec.in
new file mode 100644 (file)
index 0000000..9e893be
--- /dev/null
@@ -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 <hanwen@cs.uu.nl>
+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