]> git.pld-linux.org Git - packages/lilypond.git/blobdiff - lilypond.spec
- updated for 2.4.1
[packages/lilypond.git] / lilypond.spec
index 36bef95dcfb16a1671cfaf676ad9f92cc1b35ab9..fe685c01615c711adf0af404becf9e43a18e0b14 100644 (file)
@@ -1,17 +1,20 @@
 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
@@ -46,13 +49,29 @@ wszystkim do sk
 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
@@ -77,6 +96,8 @@ mv -f $RPM_BUILD_ROOT%{_datadir}/lilypond/%{version}/fonts/tfm \
 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
@@ -117,8 +138,9 @@ rm -rf $RPM_BUILD_ROOT
 
 %{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
This page took 0.107996 seconds and 4 git commands to generate.