1 Summary: Music typesetter
2 Summary(pl): Program do sk³adania nut
7 Group: Applications/Sound
8 Source0: ftp://ftp.gnu.org/gnu/lilypond/%{name}-%{version}.tar.gz
9 # Source0-md5: e06e05046c0741cdce090c9eaae5102a
10 Patch0: %{name}-info.patch
11 Patch1: %{name}-gcc33.patch
12 Patch2: %{name}-python23.patch
13 Patch3: %{name}-acfix.patch
14 URL: http://www.cs.uu.nl/people/hanwen/lilypond/index.html
15 BuildRequires: autoconf
16 BuildRequires: automake
19 BuildRequires: guile-devel
20 BuildRequires: kpathsea-devel
21 BuildRequires: libltdl-devel
22 BuildRequires: libstdc++-devel
23 BuildRequires: python-devel
24 BuildRequires: texinfo
25 BuildConflicts: lilypond < 1.6.0
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 %define _localedir %{_prefix}/share/locale
29 %define texfontsdir /usr/share/texmf/fonts
32 LilyPond is a music typesetter. It produces beautiful sheet music
33 using a high level description file as input. It excels at typesetting
34 classical music, but you can also print pop-songs. With LilyPond we
35 hope to make music publication software available to anyone on the
39 LilyPond jest programem do sk³adu muzycznego. Produkuje piêkne
40 partytury u¿ywaj±c jêzyka wysokiego poziomu jako wej¶cie. S³u¿y przede
41 wszystkim do sk³adania nut muzyki klasycznej, ale mo¿na drukowaæ tak¿e
42 piosenki pop. Autorzy udostêpniaj± LilyPond z nadziej± dostarczenia
43 wszystkim oprogramowania do publikacji muzycznych.
52 cp -f stepmake/aclocal.m4 .
53 cp -f /usr/share/automake/{config.*,install-sh} .
65 rm -rf $RPM_BUILD_ROOT
66 install -d $RPM_BUILD_ROOT%{texfontsdir}/{afm,source,tfm}
70 local_lilypond_datadir=$RPM_BUILD_ROOT%{_datadir}/lilypond/%{version} \
71 datadir=$RPM_BUILD_ROOT%{_datadir} \
72 mandir=$RPM_BUILD_ROOT%{_mandir} \
73 bindir=$RPM_BUILD_ROOT%{_bindir} \
74 localedir=$RPM_BUILD_ROOT%{_localedir} \
75 infodir=$RPM_BUILD_ROOT%{_infodir}
77 mv -f $RPM_BUILD_ROOT%{_datadir}/lilypond/%{version}/fonts/afm $RPM_BUILD_ROOT%{texfontsdir}/afm/lilypond
78 mv -f $RPM_BUILD_ROOT%{_datadir}/lilypond/%{version}/fonts/source $RPM_BUILD_ROOT%{texfontsdir}/source/lilypond
79 mv -f $RPM_BUILD_ROOT%{_datadir}/lilypond/%{version}/fonts/tfm $RPM_BUILD_ROOT%{texfontsdir}/tfm/lilypond
84 rm -rf $RPM_BUILD_ROOT
87 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
88 [ ! -x /usr/bin/texhash ] || /usr/bin/texhash 1>&2
91 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
92 [ ! -x /usr/bin/texhash ] || /usr/bin/texhash 1>&2
94 %files -f %{name}.lang
95 %defattr(644,root,root,755)
96 %doc AUTHORS.txt ChangeLog DEDICATION NEWS README.txt THANKS
97 %attr(755,root,root) %{_bindir}/*
98 %dir %{_datadir}/lilypond
99 %dir %{_datadir}/lilypond/%{version}
100 %{_datadir}/lilypond/%{version}/ly
101 %{_datadir}/lilypond/%{version}/ps
102 %dir %{_datadir}/lilypond/%{version}/python
103 %attr(755,root,root) %{_datadir}/lilypond/%{version}/python/midi.so
104 %{_datadir}/lilypond/%{version}/scm
105 %{_datadir}/lilypond/%{version}/tex
106 %{texfontsdir}/*/lilypond