+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).
%define name lilypond
%define version @TOPLEVEL_VERSION@
-%define release 4mdk
+%define release 1mdk
Summary: A program for printing sheet music.
Name: %{name}
%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
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}
%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.