]> git.donarmstrong.com Git - lilypond.git/blobdiff - make/lilypond.redhat.spec.in
* buildscripts/new-chords.py (help): add help text
[lilypond.git] / make / lilypond.redhat.spec.in
index 5aeab26ace92fa9ebe3c4134b8b894c5455c50ab..7f2cc2f7b6a29976d006bed9f0d684e5c72621ba 100644 (file)
@@ -8,14 +8,21 @@ Version: @TOPLEVEL_VERSION@
 Release: 1
 License: GPL
 Group: Applications/Publishing
-Source0: ftp.cs.uu.nl:/pub/GNU/LilyPond/development/lilypond-@TOPLEVEL_VERSION@.tar.gz
+Source0: ftp.lilypond.org:/pub/LilyPond/development/lilypond-@TOPLEVEL_VERSION@.tar.gz
 Summary: Create and print music notation 
 URL: http://www.lilypond.org/
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 
 
-Buildrequires: t1utils bison flex mftrace texinfo
+Buildrequires: t1utils bison flex mftrace ImageMagick
+
+#  requires texinfo >= 4.6 really, otherwise the info files fuck up.
+# however, that's still not standard on RH 9, so we'll leave it at  this
+# for now
+
+Buildrequires: texinfo
 Requires: tetex  tetex-latex libstdc++ python 
+Requires: guile >= 1.6.4-7
 
 %description
 LilyPond lets you create music notation.  It produces
@@ -51,8 +58,8 @@ make -C mf/ pfa
 make -C Documentation
 
 # make  html
-make web-doc top-web 
-
+make web top-web 
+make -C Documentation/user omf
 
 %install
 
@@ -90,18 +97,12 @@ 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
 
-chkfontpath --add=%{_datadir}/lilypond/@TOPLEVEL_VERSION@/fonts/type1/
+chkfontpath --add=%{_datadir}/lilypond/@TOPLEVEL_VERSION@/fonts/type1/
 
 echo 'Please logout first before using LilyPond.'
 
 %preun
 
-%post documentation
-scrollkeeper-update
-
-%preun documentation
-scrollkeeper-update
-
 
 %if %{info}
 if [ $1 = 0 ]; then
@@ -109,7 +110,16 @@ if [ $1 = 0 ]; then
 fi
 %endif
 
-chkfontpath --remove=%{_datadir}/share/lilypond/@TOPLEVEL_VERSION@/fonts/type1/
+# chkfontpath --remove=%{_datadir}/share/lilypond/@TOPLEVEL_VERSION@/fonts/type1/
+
+
+%post documentation
+scrollkeeper-update
+
+%postun documentation
+scrollkeeper-update
+
+
 
 %files
 %defattr(-, root, root)
@@ -128,6 +138,8 @@ chkfontpath --remove=%{_datadir}/share/lilypond/@TOPLEVEL_VERSION@/fonts/type1/
 %{_bindir}/musedata2ly
 %{_bindir}/pmx2ly
 
+%doc buildscripts/out/convert-new-chords
+
 %if %{info}
 %{_infodir}/*
 %endif
@@ -147,6 +159,7 @@ chkfontpath --remove=%{_datadir}/share/lilypond/@TOPLEVEL_VERSION@/fonts/type1/
 %{_datadir}/lilypond/@TOPLEVEL_VERSION@/
 %{_datadir}/locale/*/LC_MESSAGES/lilypond.mo
 
+%{_libdir}/lilypond/
 
 /etc/profile.d/lilypond.*
 
@@ -155,7 +168,7 @@ chkfontpath --remove=%{_datadir}/share/lilypond/@TOPLEVEL_VERSION@/fonts/type1/
 
 %defattr(-, root, root)
 
-%{docdir}/lilypond/@TOPLEVEL_VERSION@
+%{docdir}/@TOPLEVEL_VERSION@
 %{_datadir}/omf/lilypond/@TOPLEVEL_VERSION@