]> git.donarmstrong.com Git - lilypond.git/blobdiff - make/lilypond.redhat.spec.in
* python/GNUmakefile (INSTALLATION_DIR1): install Python module
[lilypond.git] / make / lilypond.redhat.spec.in
index bb51d3d39ee1a29d573ae4539dcc2e54de9a0eb6..77b16b94c765df3c0e8e020d5274faceaedc84d4 100644 (file)
@@ -43,6 +43,7 @@ Documentation and example files of LilyPond. An index is available at
 ./configure --disable-checking --prefix=%{_prefix} --enable-optimising
 
 make MAKE_PFA_FILES=1 all
+make -C mf/ pfa
 
 # make info
 make -C Documentation
@@ -65,7 +66,7 @@ gzip -9fn $RPM_BUILD_ROOT%{_infodir}/*
 %endif
 
 mkdir -p $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/site-start.d
-install -m 644 lilypond-mode.el lilypond-font-lock.el lilypond-indent.el $RPM_BUILD_ROOT/%{_datadir}/emacs/site-lisp/
+install -m 644 lilypond-mode.el lilypond-font-lock.el lilypond-indent.el lilypond.words $RPM_BUILD_ROOT/%{_datadir}/emacs/site-lisp/
 install -m 644 lilypond-init.el $RPM_BUILD_ROOT/%{_datadir}/emacs/site-lisp/site-start.d
 
 gzip -9fn $RPM_BUILD_ROOT%{_mandir}/man1/*
@@ -89,7 +90,6 @@ rm `find /var/lib/texmf -name 'feta*pk' -or -name 'feta*tfm' -or -name 'parmesan
 /sbin/install-info %{_infodir}/lilypond.info.gz %{_infodir}/dir 
 %endif
 
-/usr/X11R6/bin/mkfontdir %{_datadir}/lilypond/@TOPLEVEL_VERSION@/fonts/type1/
 chkfontpath --add=%{_datadir}/lilypond/@TOPLEVEL_VERSION@/fonts/type1/
 
 echo 'Please logout first before using LilyPond.'
@@ -102,12 +102,11 @@ if [ $1 = 0 ]; then
 fi
 %endif
 
-rm -f %{_datadir}/lilypond/@TOPLEVEL_VERSION@/fonts/type1/fonts.dir
 chkfontpath --remove=%{_datadir}/share/lilypond/@TOPLEVEL_VERSION@/fonts/type1/
 
 %files
 %defattr(-, root, root)
-%{_datadir}/emacs/site-lisp/lilypond-*
+%{_datadir}/emacs/site-lisp/lilypond*
 %{_datadir}/emacs/site-lisp/site-start.d/lilypond-*
 
 %{_bindir}/abc2ly
@@ -143,6 +142,7 @@ chkfontpath --remove=%{_datadir}/share/lilypond/@TOPLEVEL_VERSION@/fonts/type1/
 /etc/profile.d/lilypond.*
 
 %files documentation
+%defattr(-, root, root)
 
 %doc web/