Buildrequires: texinfo >= 4.6
Buildrequires: guile-devel >= 1.6.4-8
Requires: tetex tetex-latex libstdc++ python tetex-dvips tetex-latex
-Requires: guile >= 1.6.4-8
+Requires: guile >= 1.6.4-8 ec-fonts-mftraced >= 1.0.2
%description
LilyPond lets you create music notation. It produces
infodir="$RPM_BUILD_ROOT%{_infodir}" \
webdir="$RPM_BUILD_ROOT%{_prefix}/share/doc/lilypond/" web-install
+ln -sf ../../doc/lilypond/Documentation/user/out-www/*png $RPM_BUILD_ROOT%{_infodir}/lilypond/
+
# info
%if %{info}
rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
/sbin/install-info %{_infodir}/lilypond/music-glossary.info.gz %{_infodir}/dir
%endif
+export PACKAGEDIR=%{_datadir}/lilypond/@TOPLEVEL_VERSION@
+if [ -d /usr/share/vim ]; then
+ VIMDIR=`find /usr/share/vim -name bugreport.vim`
+ VIMDIR=`dirname $VIMDIR`
+ for a in `cd $PACKAGEDIR/vim/ ; find -type d -name '*' ` ; do
+ mkdir -p $VIMDIR/$a
+ ln -s $PACKAGEDIR/vim/$a/*.vim $VIMDIR/$a/
+ done
+fi
+
+
# chkfontpath --add=%{_datadir}/lilypond/@TOPLEVEL_VERSION@/fonts/type1/
-echo 'Please logout first before using LilyPond.'
+echo 'Logout first before using LilyPond.'
%preun
if [ -f /usr/share/lilypond/%{version}/ls-R ]; then
fi
+if [ -d /usr/share/vim ]; then
+ rm `find /usr/share/vim -name 'lilypond*.vim'`
+fi
+
+
%if %{info}
/sbin/install-info --delete %{_infodir}/lilypond/lilypond.info.gz %{_infodir}/dir
/sbin/install-info --delete %{_infodir}/lilypond/music-glossary.info.gz %{_infodir}/dir