]> git.donarmstrong.com Git - lilypond.git/blobdiff - make/lilypond.redhat.spec.in
*** empty log message ***
[lilypond.git] / make / lilypond.redhat.spec.in
index ce7c2bf91d90f62bb01b30f6d9ebdc8dbc6a6ed2..049cba2402df51fef497a530e999d67c660379e3 100644 (file)
@@ -93,13 +93,24 @@ touch /tmp/.lilypond-install
 rm `find /var/lib/texmf -name 'feta*pk' -or -name 'feta*tfm' -or -name 'parmesan*pk' -or -name 'parmesan*tfm' -print` /tmp/.lilypond-install
 
 %if %{info}
-/sbin/install-info %{_infodir}/lilypond.info.gz %{_infodir}/dir 
-/sbin/install-info %{_infodir}/music-glossary.info.gz %{_infodir}/dir 
+/sbin/install-info %{_infodir}/lilypond/lilypond.info.gz %{_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
@@ -107,9 +118,14 @@ 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.info.gz %{_infodir}/dir 
-    /sbin/install-info --delete %{_infodir}/music-glossary.info.gz %{_infodir}/dir 
+    /sbin/install-info --delete %{_infodir}/lilypond/lilypond.info.gz %{_infodir}/dir 
+    /sbin/install-info --delete %{_infodir}/lilypond/music-glossary.info.gz %{_infodir}/dir 
 %endif
 
 # chkfontpath --remove=%{_datadir}/share/lilypond/@TOPLEVEL_VERSION@/fonts/type1n/