1 Summary: Music typesetter
2 Summary(pl): Program do sk³adania nut
7 Group: Applications/Sound
8 Source0: ftp://ftp.lilypond.org/pub/LilyPond/v2.0/%{name}-%{version}.tar.gz
9 # Source0-md5: 04dcc17cf238b0bb5e31c993bfcc76b4
10 Patch0: %{name}-info.patch
11 Patch1: %{name}-sh.patch
12 URL: http://www.lilypond.org/
13 BuildRequires: bison >= 1.25
15 BuildRequires: gettext-devel
16 BuildRequires: guile-devel >= 1.6
17 BuildRequires: kpathsea-devel
18 BuildRequires: libltdl-devel
19 BuildRequires: libstdc++-devel >= 5:3.0
20 BuildRequires: mftrace >= 1.0.17
21 BuildRequires: python-devel >= 2.1
22 BuildRequires: tetex-dvips
23 BuildRequires: tetex-fonts-cm
24 BuildRequires: tetex-fonts-cmextra
25 BuildRequires: tetex-fonts-jknappen
26 BuildRequires: texinfo >= 4.6
27 BuildConflicts: lilypond < 1.6.0
28 Requires: tetex-format-latex
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 %define _localedir %{_prefix}/share/locale
33 %define texfontsdir /usr/share/texmf/fonts
36 LilyPond is a music typesetter. It produces beautiful sheet music
37 using a high level description file as input. It excels at typesetting
38 classical music, but you can also print pop-songs. With LilyPond we
39 hope to make music publication software available to anyone on the
43 LilyPond jest programem do sk³adu muzycznego. Produkuje piêkne
44 partytury u¿ywaj±c jêzyka wysokiego poziomu jako wej¶cie. S³u¿y przede
45 wszystkim do sk³adania nut muzyki klasycznej, ale mo¿na drukowaæ tak¿e
46 piosenki pop. Autorzy udostêpniaj± LilyPond z nadziej± dostarczenia
47 wszystkim oprogramowania do publikacji muzycznych.
59 rm -rf $RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT%{texfontsdir}/{source,tfm,type1}
63 local_lilypond_datadir=$RPM_BUILD_ROOT%{_datadir}/lilypond/%{version} \
64 datadir=$RPM_BUILD_ROOT%{_datadir} \
65 mandir=$RPM_BUILD_ROOT%{_mandir} \
66 bindir=$RPM_BUILD_ROOT%{_bindir} \
67 localedir=$RPM_BUILD_ROOT%{_localedir} \
68 infodir=$RPM_BUILD_ROOT%{_infodir} \
69 libdir=$RPM_BUILD_ROOT%{_libdir}
71 %{__perl} -pi -e "s#$RPM_BUILD_ROOT##" $RPM_BUILD_ROOT%{_bindir}/*
73 mv -f $RPM_BUILD_ROOT%{_datadir}/lilypond/%{version}/fonts/source \
74 $RPM_BUILD_ROOT%{texfontsdir}/source/lilypond
75 mv -f $RPM_BUILD_ROOT%{_datadir}/lilypond/%{version}/fonts/tfm \
76 $RPM_BUILD_ROOT%{texfontsdir}/tfm/lilypond
77 mv -f $RPM_BUILD_ROOT%{_datadir}/lilypond/%{version}/fonts/type1 \
78 $RPM_BUILD_ROOT%{texfontsdir}/type1/lilypond
83 rm -rf $RPM_BUILD_ROOT
86 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
87 [ ! -x /usr/bin/texhash ] || /usr/bin/texhash 1>&2
90 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
91 [ ! -x /usr/bin/texhash ] || /usr/bin/texhash 1>&2
93 %files -f %{name}.lang
94 %defattr(644,root,root,755)
95 %doc AUTHORS.txt ChangeLog DEDICATION NEWS.txt README.txt THANKS
96 %attr(755,root,root) %{_bindir}/*
97 %dir %{_libdir}/lilypond
98 %dir %{_libdir}/lilypond/%{version}
99 %dir %{_libdir}/lilypond/%{version}/python
100 %attr(755,root,root) %{_libdir}/lilypond/%{version}/python/midi.so
101 %dir %{_datadir}/lilypond
102 %dir %{_datadir}/lilypond/%{version}
103 %{_datadir}/lilypond/%{version}/ly
104 %{_datadir}/lilypond/%{version}/ps
105 %dir %{_datadir}/lilypond/%{version}/python
106 %{_datadir}/lilypond/%{version}/python/*.py
107 %{_datadir}/lilypond/%{version}/python/*.pyc
108 %{_datadir}/lilypond/%{version}/dvips
109 %{_datadir}/lilypond/%{version}/fonts
110 %{_datadir}/lilypond/%{version}/scm
111 %{_datadir}/lilypond/%{version}/tex
115 # lilypond/stepmake build system - not needed at runtime
116 #%{_datadir}/lilypond/%{version}/make
118 %{texfontsdir}/*/lilypond
121 %{_datadir}/emacs/site-lisp/*
123 # needed? subpackage? (could install in non-existing dir)
124 %{_datadir}/omf/lilypond