]> git.donarmstrong.com Git - lilypond.git/blobdiff - make/lilypond.redhat.spec.in
*** empty log message ***
[lilypond.git] / make / lilypond.redhat.spec.in
index bb3fc363b90b786add2f62d61480d29e61e5a3ce..f2701797ad3d7b15503b22892cd0dd4f95d7a603 100644 (file)
@@ -18,7 +18,7 @@ Buildrequires: t1utils bison flex mftrace ImageMagick
 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
@@ -79,6 +79,8 @@ make prefix="$RPM_BUILD_ROOT%{_prefix}" \
   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
@@ -97,9 +99,20 @@ rm `find /var/lib/texmf -name 'feta*pk' -or -name 'feta*tfm' -or -name 'parmesan
 /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
@@ -107,6 +120,11 @@ 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