Summary: Music typesetter
Summary(pl): Program do sk³adania nut
Name: lilypond
-Version: 2.0.0
-Release: 1
+Version: 2.4.0
+Release: 0.1
License: GPL
Group: Applications/Sound
-Source0: ftp://ftp.lilypond.org/pub/LilyPond/v2.0/%{name}-%{version}.tar.gz
-# Source0-md5: 80faf9f9abc4ecf72a71ba0036cdfee0
+Source0: http://lilypond.org/download/v2.4/%{name}-%{version}.tar.gz
+# Source0-md5: 0e289d69c673382eef0a0c04186601bc
Patch0: %{name}-info.patch
Patch1: %{name}-sh.patch
+Patch2: %{name}-po.patch
URL: http://www.lilypond.org/
+BuildRequires: automake
BuildRequires: bison >= 1.25
BuildRequires: flex
+BuildRequires: fontforge
BuildRequires: gettext-devel
BuildRequires: guile-devel >= 1.6
BuildRequires: kpathsea-devel
piosenki pop. Autorzy udostêpniaj± LilyPond z nadziej± dostarczenia
wszystkim oprogramowania do publikacji muzycznych.
+%package -n emacs-lilypond-mode-pkg
+Summary: LilyPond mode for Emacs
+Summary(pl): Tryb edycji plików LilyPond dla Emacsa
+Group: Applications/Editors/Emacs
+Requires: %{name} = %{version}-%{release}
+Requires: emacs
+
+%description -n emacs-lilypond-mode-pkg
+LilyPond mode for Emacs.
+
+%description -n emacs-lilypond-mode-pkg -l pl
+Tryb edycji plików LilyPond dla Emacsa.
+
%prep
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
-%configure
+cp -f /usr/share/automake/config.* stepmake/bin
+%configure \
+ %{?debug:--disable-optimising}
%{__make}
%install
mv -f $RPM_BUILD_ROOT%{_datadir}/lilypond/%{version}/fonts/type1 \
$RPM_BUILD_ROOT%{texfontsdir}/type1/lilypond
+mv -f $RPM_BUILD_ROOT%{_infodir}/lilypond/*.info* $RPM_BUILD_ROOT%{_infodir}
+
%find_lang %{name}
%clean
%{texfontsdir}/*/lilypond
-# subpackage?
-%{_datadir}/emacs/site-lisp/*
-
# needed? subpackage? (could install in non-existing dir)
%{_datadir}/omf/lilypond
+
+%files -n emacs-lilypond-mode-pkg
+%defattr(644,root,root,755)
+%{_datadir}/emacs/site-lisp/*.el