]> git.donarmstrong.com Git - lilypond.git/blobdiff - make/lilypond.redhat.spec.in
release commit
[lilypond.git] / make / lilypond.redhat.spec.in
index 26ce07e4c864087a1becd470b6915940bc214371..4518216fb7680061cb185ce6ae541f48e30d7f98 100644 (file)
@@ -12,9 +12,8 @@ Summary: Create and print music notation
 URL: http://www.lilypond.org/
 BuildRoot: /tmp/lilypond-install
 
-# add lots of Buildreq: flex, bison, tetex, tetex-devel, tetex-latex, texinfo
-# better prereqs: tetex-latex, python, (mpost?) etc.
-Prereq: tetex t1utils bison flex pktrace texinfo tetex-latex gcc-c++ python 
+Buildrequires: t1utils bison flex mftrace texinfo
+Requires: tetex  tetex-latex libstdc++ python 
 
 %description
 LilyPond lets you create music notation.  It produces
@@ -82,14 +81,15 @@ tar -C web -xzf out/web.tar.gz
 %post
 
 touch /tmp/.lilypond-install
-rm `find /var/lib/texmf -name 'feta*pk -print' -or -name 'feta*tfm -print'` /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=="yes"
 /sbin/install-info %{_prefix}/info/lilypond.info.gz %{_prefix}/info/dir 
 %endif
 
 
-chkfontpath --add=/usr/share/lilypond/pfa/
+/usr/X11R6/bin/mkfontdir  /usr/share/lilypond/@TOPLEVEL_VERSION@/fonts/type1/
+chkfontpath --add=/usr/share/lilypond/@TOPLEVEL_VERSION@/fonts/type1/
 
 echo 'Please logout first before using LilyPond.'
 
@@ -101,7 +101,8 @@ if [ $1 = 0 ]; then
 fi
 %endif
 
-chkfontpath --remove=/usr/share/lilypond/pfa/
+rm -f /usr/share/lilypond/@TOPLEVEL_VERSION@/fonts/type1/fonts.dir
+chkfontpath --remove=/usr/share/lilypond/@TOPLEVEL_VERSION@/fonts/type1/
 
 %files
 %defattr(-, root, root)
@@ -145,4 +146,4 @@ chkfontpath --remove=/usr/share/lilypond/pfa/
 
 %doc web/
 %doc input/
-%doc mutopia/ 
+