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 Patch0: %{name}-pythonhack.patch
10 URL: http://www.cs.uu.nl/people/hanwen/lilypond/index.html
13 BuildRequires: guile-devel
14 BuildRequires: kpathsea-devel
15 BuildRequires: libltdl-devel
16 BuildRequires: libstdc++-devel
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 %define _datadir %{_prefix}/share/lilypond
20 %define _localedir %{_prefix}/share/locale
21 %define texfontsdir /usr/share/texmf/fonts
24 LilyPond is a music typesetter. It produces beautiful sheet music
25 using a high level description file as input. It excels at typesetting
26 classical music, but you can also print pop-songs. With LilyPond we
27 hope to make music publication software available to anyone on the
31 LilyPond jest programem do sk³adu muzycznego. Produkuje piêkne
32 partytury u¿ywaj±c jêzyka wysokiego poziomu jako wej¶cie. S³u¿y przede
33 wszystkim do sk³adania nut muzyki klasycznej, ale mo¿na drukowaæ tak¿e
34 piosenki pop. Autorzy udostêpniaj± LilyPond z nadziej± dostarczenia
35 wszystkim oprogramowania do publikacji muzycznych.
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT%{texfontsdir}/{afm,source,tfm}
50 datadir=$RPM_BUILD_ROOT%{_datadir} \
51 mandir=$RPM_BUILD_ROOT%{_mandir} \
52 bindir=$RPM_BUILD_ROOT%{_bindir} \
53 localedir=$RPM_BUILD_ROOT%{_localedir} \
54 infodir=$RPM_BUILD_ROOT%{_infodir}
56 mv -f $RPM_BUILD_ROOT%{_datadir}/afm $RPM_BUILD_ROOT%{texfontsdir}/afm/lilypond
57 mv -f $RPM_BUILD_ROOT%{_datadir}/mf $RPM_BUILD_ROOT%{texfontsdir}/source/lilypond
58 mv -f $RPM_BUILD_ROOT%{_datadir}/tfm $RPM_BUILD_ROOT%{texfontsdir}/tfm/lilypond
63 rm -rf ${RPM_BUILD_ROOT}
66 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
67 [ ! -x /usr/bin/texhash ] || /usr/bin/texhash 1>&2
70 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
71 [ ! -x /usr/bin/texhash ] || /usr/bin/texhash 1>&2
73 %files -f %{name}.lang
74 %defattr(644,root,root,755)
75 %doc AUTHORS.txt CHANGES DEDICATION FAQ.txt NEWS README.txt
76 %attr(755,root,root) %{_bindir}/*
82 %{texfontsdir}/*/lilypond