%description documentation
Documentation and example files of LilyPond. An index is available at
-%{docdir}/web/Documentation/out-www/index.html
+%{docdir}/web/Documentation/index.html
%prep
%setup
# because RPM will gladly do a substitution anyway.
# compile with static libstdc++ for better platform portability.
-./configure --enable-static-gxx --without-kpathsea --disable-checking --prefix=%{_prefix} --enable-optimising
+./configure --enable-static-gxx --disable-checking --prefix=%{_prefix} --enable-optimising
make -j2 all
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/
+ln -sf ../../doc/lilypond/Documentation/user/*png $RPM_BUILD_ROOT%{_infodir}/lilypond/
# info
%if %{info}
touch /tmp/.lilypond-install
%if %{info}
-/sbin/install-info %{_infodir}/lilypond/lilypond.info.gz %{_infodir}/dir
-/sbin/install-info %{_infodir}/lilypond/music-glossary.info.gz %{_infodir}/dir
+ /sbin/install-info %{_infodir}/lilypond/lilypond.info.gz %{_infodir}/dir
+ /sbin/install-info %{_infodir}/lilypond/lilypond-internals.info.gz %{_infodir}/dir
+ /sbin/install-info %{_infodir}/lilypond/music-glossary.info.gz %{_infodir}/dir
%endif
export PACKAGEDIR=%{_datadir}/lilypond/@TOPLEVEL_VERSION@
%if %{info}
/sbin/install-info --delete %{_infodir}/lilypond/lilypond.info.gz %{_infodir}/dir
+ /sbin/install-info --delete %{_infodir}/lilypond/lilypond-internals.info.gz %{_infodir}/dir
/sbin/install-info --delete %{_infodir}/lilypond/music-glossary.info.gz %{_infodir}/dir
%endif
%{_bindir}/midi2ly
%{_bindir}/lilypond-book
%{_bindir}/mup2ly
-%{_bindir}/lilypond-ps2png
+%{_bindir}/musicxml2ly
%{_bindir}/lilypond-invoke-editor
%doc THANKS
%endif
%{_mandir}/man1/abc2ly.1.gz
+%{_mandir}/man1/musicxml2ly.1.gz
%{_mandir}/man1/convert-ly.1.gz
%{_mandir}/man1/etf2ly.1.gz
%{_mandir}/man1/lilypond.1.gz
%{_mandir}/man1/midi2ly.1.gz
%{_mandir}/man1/lilypond-book.1.gz
%{_mandir}/man1/mup2ly.1.gz
-%{_mandir}/man1/lilypond-ps2png.1.gz
%{_mandir}/man1/lilypond-invoke-editor.1.gz
%{_datadir}/lilypond/@TOPLEVEL_VERSION@/
%{_datadir}/locale/*/LC_MESSAGES/lilypond.mo
-
-# %{_libdir}/lilypond/
+%{_libdir}/lilypond/
%files documentation
%{docdir}
%{_datadir}/omf/lilypond/@TOPLEVEL_VERSION@
+
+
+%clean
+rm -rf %{buildroot