1 Summary: Music typesetter
2 Summary(pl): Program do sk³adania nut
7 Group: Applications/Sound
8 Source0: ftp://ftp.lilypond.org/pub/LilyPond/v1.9/%{name}-%{version}.tar.gz
9 # Source0-md5: 7d3e66c490216e3971da0436424fbb0d
10 URL: http://www.lilypond.org/
11 BuildRequires: autoconf
12 BuildRequires: automake
15 BuildRequires: gettext-devel
16 BuildRequires: guile-devel
17 BuildRequires: kpathsea-devel
18 BuildRequires: mftrace
19 BuildRequires: autotrace >= 0.30
20 BuildRequires: libltdl-devel
21 BuildRequires: libstdc++-devel
22 BuildRequires: python-devel
23 BuildRequires: texinfo
24 BuildRequires: tetex-dvips
25 BuildRequires: tetex-fonts-cm
26 BuildConflicts: lilypond < 1.6.0
27 Requires: tetex-format-latex
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 %define _localedir %{_prefix}/share/locale
32 %define texfontsdir /usr/share/texmf/fonts
35 LilyPond is a music typesetter. It produces beautiful sheet music
36 using a high level description file as input. It excels at typesetting
37 classical music, but you can also print pop-songs. With LilyPond we
38 hope to make music publication software available to anyone on the
42 LilyPond jest programem do sk³adu muzycznego. Produkuje piêkne
43 partytury u¿ywaj±c jêzyka wysokiego poziomu jako wej¶cie. S³u¿y przede
44 wszystkim do sk³adania nut muzyki klasycznej, ale mo¿na drukowaæ tak¿e
45 piosenki pop. Autorzy udostêpniaj± LilyPond z nadziej± dostarczenia
46 wszystkim oprogramowania do publikacji muzycznych.
51 cp -f stepmake/aclocal.m4 .
52 cp -f /usr/share/automake/{config.*,install-sh} .
63 rm -rf $RPM_BUILD_ROOT
64 install -d $RPM_BUILD_ROOT%{texfontsdir}/{afm,source,tfm}
65 install -d $RPM_BUILD_ROOT/etc/profile.d
68 local_lilypond_datadir=$RPM_BUILD_ROOT%{_datadir}/lilypond/%{version} \
69 datadir=$RPM_BUILD_ROOT%{_datadir} \
70 mandir=$RPM_BUILD_ROOT%{_mandir} \
71 bindir=$RPM_BUILD_ROOT%{_bindir} \
72 localedir=$RPM_BUILD_ROOT%{_localedir} \
73 infodir=$RPM_BUILD_ROOT%{_infodir} \
74 libdir=$RPM_BUILD_ROOT%{_libdir}
76 install buildscripts/out/lilypond-profile \
77 $RPM_BUILD_ROOT/etc/profile.d/lilypond.sh
78 install buildscripts/out/lilypond-login \
79 $RPM_BUILD_ROOT/etc/profile.d/lilypond.csh
81 perl -pi -e "s#$RPM_BUILD_ROOT##" $RPM_BUILD_ROOT%{_bindir}/*
83 mv -f $RPM_BUILD_ROOT%{_datadir}/lilypond/%{version}/fonts/afm $RPM_BUILD_ROOT%{texfontsdir}/afm/lilypond
84 mv -f $RPM_BUILD_ROOT%{_datadir}/lilypond/%{version}/fonts/source $RPM_BUILD_ROOT%{texfontsdir}/source/lilypond
85 mv -f $RPM_BUILD_ROOT%{_datadir}/lilypond/%{version}/fonts/tfm
86 $RPM_BUILD_ROOT%{texfontsdir}/tfm/lilypond
91 rm -rf $RPM_BUILD_ROOT
94 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
95 [ ! -x /usr/bin/texhash ] || /usr/bin/texhash 1>&2
98 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
99 [ ! -x /usr/bin/texhash ] || /usr/bin/texhash 1>&2
101 %files -f %{name}.lang
102 %defattr(644,root,root,755)
103 %doc AUTHORS.txt ChangeLog DEDICATION NEWS.txt README.txt THANKS
105 %attr(755,root,root) %{_bindir}/*
106 %dir %{_datadir}/lilypond
107 %dir %{_datadir}/lilypond/%{version}
108 %attr(755,root,root) /etc/profile.d/*
109 %{_datadir}/lilypond/%{version}/ly
110 %{_datadir}/lilypond/%{version}/ps
111 %dir %{_datadir}/lilypond/%{version}/python
112 %{_datadir}/lilypond/%{version}/python/*.py
113 %{_datadir}/lilypond/%{version}/python/*.pyc
114 %dir %{_libdir}/lilypond/%{version}/python
115 %attr(755,root,root) %{_libdir}/lilypond/%{version}/python/midi.so
116 %{_datadir}/lilypond/%{version}/scm
117 %{_datadir}/lilypond/%{version}/tex
118 %{texfontsdir}/*/lilypond
122 %dir %{_datadir}/lilypond/%{version}/dvips/
123 %{_datadir}/lilypond/%{version}/dvips/*
124 %dir %{_datadir}/lilypond/%{version}/fonts/type1/
125 %{_datadir}/lilypond/%{version}/fonts/type1/*
126 %dir %{_datadir}/lilypond/%{version}/make/
127 %{_datadir}/lilypond/%{version}/make/*
129 %dir %{_datadir}/omf/lilypond/%{version}/
130 %{_datadir}/omf/lilypond/%{version}/*