]> git.donarmstrong.com Git - lilypond.git/commitdiff
set menu-items to lilypond-info and lilypond-documentation.
authorHeikki Junes <heikki.junes@hut.fi>
Tue, 3 Dec 2002 09:46:35 +0000 (09:46 +0000)
committerHeikki Junes <heikki.junes@hut.fi>
Tue, 3 Dec 2002 09:46:35 +0000 (09:46 +0000)
ChangeLog
make/lilypond.mandrake.spec.in

index cb59b1006ab2842982919f2dfc0af4cec5a5952d..76bb651b58b3f5af842ae7b0377df4f8bca5cb10 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-12-01  Heikki Junes <hjunes@cc.hut.fi>
+
+       * make/lilypond.mandrake.spec.in: set menu-items to lilypond-info 
+       and lilypond-documentation.
+
 2002-12-02  Jan Nieuwenhuizen  <janneke@gnu.org>
 
        * lily/parser.yy: Compile fix (bison 1.75).
index f95f72dda8ac159265a140255a8627c49767d4bc..3f2c36d06aacab024fa8f7e464a907d4f14430a7 100644 (file)
@@ -2,7 +2,7 @@
 
 %define name lilypond
 %define version @TOPLEVEL_VERSION@
-%define release 4mdk
+%define release 1mdk
 
 Summary:       A program for printing sheet music.
 Name:          %{name}
@@ -33,7 +33,7 @@ If you are new to lilypond, you will almost certainly want to install the
 %package documentation
 Summary: LilyPond documentation, examples and Mutopia files.
 Group: Applications/Publishing
-Requires: lilypond
+Requires: %{name}
 
 %description documentation
 The documentation of LilyPond, both in HTML and PostScript, along with
@@ -96,11 +96,25 @@ tar -C web -xzf out/web.tar.gz
 
 mkdir -p $RPM_BUILD_ROOT%{_menudir}
 cat >$RPM_BUILD_ROOT%{_menudir}/%{name} <<EOF
-?package(%name): command="%{_bindir}/%{name}" needs="X11" \
-icon="%{name}.xpm" section="Applications/Publishing" \
-title="%{name}" longtitle="%{name}"
+?package(%name):\
+  command="info %{name}"\
+  needs="text"\
+  icon="%{name}.xpm"\
+  section="Documentation"\
+  title="%{name}-info"\
+  longtitle="%{name} Info"
 EOF
   
+cat >$RPM_BUILD_ROOT%{_menudir}/%{name}-documentation <<EOF
+?package(%name):\
+  command="\$BROWSER %{_docdir}/%{name}-documentation-%{version}/web/index.html"\
+  needs="X11"\
+  icon="%{name}.xpm"\
+  section="Documentation"\
+  title="%{name}-documentation"\
+  longtitle="%{name} Documentation"
+EOF
+
 # icon
 install -d $RPM_BUILD_ROOT/%{_miconsdir}
 install -d $RPM_BUILD_ROOT/%{_iconsdir}
@@ -166,6 +180,9 @@ rm -rf $RPM_BUILD_ROOT
 %doc web/
 
 %changelog
+* Fri Dec 01 2002 Heikki Johannes Junes <hjunes@cc.hut.fi> 1.7.9-1mdk
+- set menu-items to lilypond-info and lilypond-documentation.
+
 * Fri Nov 30 2002 Heikki Johannes Junes <hjunes@cc.hut.fi> 1.7.8-4mdk
 - add pre/post-dependencies and menus with icon from source.