]> git.donarmstrong.com Git - lilypond.git/blobdiff - make/lilypond.fedora.spec.in
Merge with master
[lilypond.git] / make / lilypond.fedora.spec.in
index 069bd1ef0b67e64b5b068cd856388604591ebc8f..fafd9cd376d9df3969c95eae2c271d48d225f07e 100644 (file)
@@ -8,9 +8,9 @@ Version: @TOPLEVEL_VERSION@
 Release: 1
 License: GPL
 Group: Applications/Publishing
-Source0: ftp.lilypond.org:/pub/LilyPond/development/lilypond-@TOPLEVEL_VERSION@.tar.gz
+Source0: http://lilypond.org/download/development/lilypond-@TOPLEVEL_VERSION@.tar.gz
 Summary: Create and print music notation 
-URL: http://www.lilypond.org/
+URL: http://lilypond.org/
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 
 
@@ -30,7 +30,7 @@ Requires: guile >= 1.6.4-8 ghostscript >= 8.15
 
 %description
 LilyPond lets you create music notation.  It produces
-beautiful sheet music from  a high-level description file.
+beautiful sheet music from a high-level description file.
 
 %package documentation
 Summary:  All LilyPond documentation, in HTML
@@ -38,8 +38,8 @@ Group: Applications/Publishing
 # BuildArchitectures: noarch
 
 %description documentation
-Documentation and example files of LilyPond. An index is available at
-%{docdir}/web/Documentation/out-www/index.html
+Documentation and example files of LilyPond.  An index is available at
+%{docdir}/web/Documentation/index.html
 
 %prep
 %setup
@@ -52,10 +52,11 @@ Documentation and example files of LilyPond. An index is available at
 # In fact, do not take out the spaces between % and { in the above comment,
 # because RPM will gladly do a substitution anyway.
 
-./configure --without-kpathsea --disable-checking --prefix=%{_prefix} --enable-optimising
+# compile with static libstdc++ for better platform portability.
+./configure --enable-static-gxx --disable-checking --prefix=%{_prefix} --enable-optimising
 
 
-make all
+make -j2 all
 make web
 make -C Documentation/user local_package_docdir=%{docdir} omf
 
@@ -85,7 +86,7 @@ make prefix="$RPM_BUILD_ROOT%{_prefix}" \
   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}
@@ -100,8 +101,9 @@ gzip -9fn `find $RPM_BUILD_ROOT%{_infodir}/ -name '*.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@
@@ -128,6 +130,7 @@ fi
 
 %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
 
@@ -155,8 +158,8 @@ scrollkeeper-update
 %{_bindir}/midi2ly
 %{_bindir}/lilypond-book
 %{_bindir}/mup2ly
-%{_bindir}/ps2png
-%{_bindir}/lilypond-pdfpc-helper
+%{_bindir}/musicxml2ly
+%{_bindir}/lilypond-invoke-editor
 
 %doc THANKS
 %doc COPYING
@@ -171,18 +174,17 @@ scrollkeeper-update
 %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/ps2png.1.gz
-%{_mandir}/man1/lilypond-pdfpc-helper.1.gz
+%{_mandir}/man1/lilypond-invoke-editor.1.gz
 
 %{_datadir}/lilypond/@TOPLEVEL_VERSION@/
 %{_datadir}/locale/*/LC_MESSAGES/lilypond.mo
-
 %{_libdir}/lilypond/
 
 
@@ -194,3 +196,5 @@ scrollkeeper-update
 %{_datadir}/omf/lilypond/@TOPLEVEL_VERSION@
 
 
+%clean
+rm -rf %{buildroot