X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=make%2Flilypond.fedora.spec.in;h=fafd9cd376d9df3969c95eae2c271d48d225f07e;hb=b77d9662d42abb0169e56eb26bb6d26d487f826c;hp=f88b312b30c3bb909fe8015b4bf99be49f6a695c;hpb=085f80bad751ed2ab6f146884271ade8633389e0;p=lilypond.git diff --git a/make/lilypond.fedora.spec.in b/make/lilypond.fedora.spec.in index f88b312b30..fafd9cd376 100644 --- a/make/lilypond.fedora.spec.in +++ b/make/lilypond.fedora.spec.in @@ -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 @@ -18,14 +18,19 @@ Buildrequires: t1utils bison flex mftrace ImageMagick Buildrequires: texinfo >= 4.7 Buildrequires: guile-devel >= 1.6.4-8 Buildrequires: freetype-devel >= 2.1 -Buildrequires: fontforge >= 20041211 -Requires: tetex tetex-latex libstdc++ python tetex-dvips tetex-latex -Requires: guile >= 1.6.4-8 ec-fonts-mftraced >= 1.0.5 +Buildrequires: fontforge +#fontforge must be >= 20041211 urg. 0.0.0-fdr.1.20041211 + +Buildrequires: pango-devel >= 1.6.0 +Buildrequires: fontconfig-devel + +Requires: libstdc++ python +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 @@ -33,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 @@ -47,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 --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 @@ -73,16 +79,14 @@ gzip -9fn $RPM_BUILD_ROOT%{_mandir}/man1/* # profile scripts. -mkdir -p $RPM_BUILD_ROOT/etc/profile.d -cp buildscripts/out/lilypond-profile $RPM_BUILD_ROOT/etc/profile.d/lilypond.sh -cp buildscripts/out/lilypond-login $RPM_BUILD_ROOT/etc/profile.d/lilypond.csh + # web doc 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} @@ -95,11 +99,11 @@ gzip -9fn `find $RPM_BUILD_ROOT%{_infodir}/ -name '*.info'` %post touch /tmp/.lilypond-install -rm `find /var/lib/texmf -name 'feta*pk' -or -name 'feta*tfm' -or -name 'parmesan*pk' -or -name 'parmesan*tfm' -print` /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@ @@ -113,10 +117,6 @@ if [ -d /usr/share/vim ]; then fi -# chkfontpath --add=%{_datadir}/lilypond/@TOPLEVEL_VERSION@/fonts/type1/ - -echo 'Logout first before using LilyPond.' - %preun if [ -f /usr/share/lilypond/%{version}/ls-R ]; then rm -f /usr/share/lilypond/%{version}/ls-R @@ -130,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 @@ -154,11 +155,11 @@ scrollkeeper-update %{_bindir}/convert-ly %{_bindir}/etf2ly %{_bindir}/lilypond -%{_bindir}/lilypond-latex %{_bindir}/midi2ly %{_bindir}/lilypond-book %{_bindir}/mup2ly -%{_bindir}/ps2png +%{_bindir}/musicxml2ly +%{_bindir}/lilypond-invoke-editor %doc THANKS %doc COPYING @@ -173,22 +174,19 @@ 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-latex.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-invoke-editor.1.gz %{_datadir}/lilypond/@TOPLEVEL_VERSION@/ %{_datadir}/locale/*/LC_MESSAGES/lilypond.mo - %{_libdir}/lilypond/ -/etc/profile.d/lilypond.* - %files documentation @@ -198,3 +196,5 @@ scrollkeeper-update %{_datadir}/omf/lilypond/@TOPLEVEL_VERSION@ +%clean +rm -rf %{buildroot