%endif
mkdir -p $RPM_BUILD_ROOT/usr/share/emacs/site-lisp/site-start.d
-install -m 644 lilypond-mode.el lilypond-font-lock.el $RPM_BUILD_ROOT/usr/share/emacs/site-lisp/
+install -m 644 lilypond-mode.el lilypond-font-lock.el lilypond-indent.el $RPM_BUILD_ROOT/usr/share/emacs/site-lisp/
install -m 644 lilypond-init.el $RPM_BUILD_ROOT/usr/share/emacs/site-lisp/site-start.d
gzip -9fn $RPM_BUILD_ROOT%{_prefix}/man/man1/*
%endif
+chkfontpath --add=/usr/share/lilypond/pfa/
+
echo 'Please logout first before using LilyPond.'
%preun
fi
%endif
+chkfontpath --remove=/usr/share/lilypond/pfa/
%files
%defattr(-, root, root)
%{_prefix}/man/man1/mup2ly.1.gz
%{_prefix}/man/man1/pmx2ly.1.gz
-%{_prefix}/share/lilypond/
+%{_prefix}/share/lilypond/@TOPLEVEL_VERSION@/
%{_prefix}/share/locale/*/LC_MESSAGES/lilypond.mo
%{_prefix}/../etc/profile.d/lilypond.*
%files documentation
+
%doc web/
+%doc input/
+%doc mutopia/