1 Summary: Music typesetter
2 Summary(pl): Program do sk³adania nut
7 Group: Applications/Sound
8 Source0: http://lilypond.org/download/v2.4/%{name}-%{version}.tar.gz
9 # Source0-md5: 0e289d69c673382eef0a0c04186601bc
10 Patch0: %{name}-info.patch
11 Patch1: %{name}-sh.patch
12 Patch2: %{name}-po.patch
13 URL: http://www.lilypond.org/
14 BuildRequires: automake
15 BuildRequires: bison >= 1.25
17 BuildRequires: fontforge
18 BuildRequires: gettext-devel
19 BuildRequires: guile-devel >= 1.6
20 BuildRequires: kpathsea-devel
21 BuildRequires: libltdl-devel
22 BuildRequires: libstdc++-devel >= 5:3.0
23 BuildRequires: mftrace >= 1.0.17
24 BuildRequires: python-devel >= 2.1
25 BuildRequires: tetex-dvips
26 BuildRequires: tetex-fonts-cm
27 BuildRequires: tetex-fonts-cmextra
28 BuildRequires: tetex-fonts-jknappen
29 BuildRequires: texinfo >= 4.6
30 BuildConflicts: lilypond < 1.6.0
31 Requires: tetex-format-latex
33 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35 %define _localedir %{_prefix}/share/locale
36 %define texfontsdir /usr/share/texmf/fonts
39 LilyPond is a music typesetter. It produces beautiful sheet music
40 using a high level description file as input. It excels at typesetting
41 classical music, but you can also print pop-songs. With LilyPond we
42 hope to make music publication software available to anyone on the
46 LilyPond jest programem do sk³adu muzycznego. Produkuje piêkne
47 partytury u¿ywaj±c jêzyka wysokiego poziomu jako wej¶cie. S³u¿y przede
48 wszystkim do sk³adania nut muzyki klasycznej, ale mo¿na drukowaæ tak¿e
49 piosenki pop. Autorzy udostêpniaj± LilyPond z nadziej± dostarczenia
50 wszystkim oprogramowania do publikacji muzycznych.
52 %package -n emacs-lilypond-mode-pkg
53 Summary: LilyPond mode for Emacs
54 Summary(pl): Tryb edycji plików LilyPond dla Emacsa
55 Group: Applications/Editors/Emacs
56 Requires: %{name} = %{version}-%{release}
59 %description -n emacs-lilypond-mode-pkg
60 LilyPond mode for Emacs.
62 %description -n emacs-lilypond-mode-pkg -l pl
63 Tryb edycji plików LilyPond dla Emacsa.
72 cp -f /usr/share/automake/config.* stepmake/bin
74 %{?debug:--disable-optimising}
78 rm -rf $RPM_BUILD_ROOT
79 install -d $RPM_BUILD_ROOT%{texfontsdir}/{source,tfm,type1}
82 local_lilypond_datadir=$RPM_BUILD_ROOT%{_datadir}/lilypond/%{version} \
83 datadir=$RPM_BUILD_ROOT%{_datadir} \
84 mandir=$RPM_BUILD_ROOT%{_mandir} \
85 bindir=$RPM_BUILD_ROOT%{_bindir} \
86 localedir=$RPM_BUILD_ROOT%{_localedir} \
87 infodir=$RPM_BUILD_ROOT%{_infodir} \
88 libdir=$RPM_BUILD_ROOT%{_libdir}
90 %{__perl} -pi -e "s#$RPM_BUILD_ROOT##" $RPM_BUILD_ROOT%{_bindir}/*
92 mv -f $RPM_BUILD_ROOT%{_datadir}/lilypond/%{version}/fonts/source \
93 $RPM_BUILD_ROOT%{texfontsdir}/source/lilypond
94 mv -f $RPM_BUILD_ROOT%{_datadir}/lilypond/%{version}/fonts/tfm \
95 $RPM_BUILD_ROOT%{texfontsdir}/tfm/lilypond
96 mv -f $RPM_BUILD_ROOT%{_datadir}/lilypond/%{version}/fonts/type1 \
97 $RPM_BUILD_ROOT%{texfontsdir}/type1/lilypond
99 mv -f $RPM_BUILD_ROOT%{_infodir}/lilypond/*.info* $RPM_BUILD_ROOT%{_infodir}
104 rm -rf $RPM_BUILD_ROOT
107 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
108 [ ! -x /usr/bin/texhash ] || /usr/bin/texhash 1>&2
111 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
112 [ ! -x /usr/bin/texhash ] || /usr/bin/texhash 1>&2
114 %files -f %{name}.lang
115 %defattr(644,root,root,755)
116 %doc AUTHORS.txt ChangeLog DEDICATION NEWS.txt README.txt THANKS
117 %attr(755,root,root) %{_bindir}/*
118 %dir %{_libdir}/lilypond
119 %dir %{_libdir}/lilypond/%{version}
120 %dir %{_libdir}/lilypond/%{version}/python
121 %attr(755,root,root) %{_libdir}/lilypond/%{version}/python/midi.so
122 %dir %{_datadir}/lilypond
123 %dir %{_datadir}/lilypond/%{version}
124 %{_datadir}/lilypond/%{version}/ly
125 %{_datadir}/lilypond/%{version}/ps
126 %dir %{_datadir}/lilypond/%{version}/python
127 %{_datadir}/lilypond/%{version}/python/*.py
128 %{_datadir}/lilypond/%{version}/python/*.pyc
129 %{_datadir}/lilypond/%{version}/dvips
130 %{_datadir}/lilypond/%{version}/fonts
131 %{_datadir}/lilypond/%{version}/scm
132 %{_datadir}/lilypond/%{version}/tex
136 # lilypond/stepmake build system - not needed at runtime
137 #%{_datadir}/lilypond/%{version}/make
139 %{texfontsdir}/*/lilypond
141 # needed? subpackage? (could install in non-existing dir)
142 %{_datadir}/omf/lilypond
144 %files -n emacs-lilypond-mode-pkg
145 %defattr(644,root,root,755)
146 %{_datadir}/emacs/site-lisp/*.el