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: 18c064f9f8b1aa1f701ccf85f44f70cf
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.
49 %package -n emacs-lilypond-mode-pkg
50 Summary: LilyPond mode for Emacs
51 Summary(pl): Tryb edycji plików LilyPond dla Emacsa
52 Group: Applications/Editors/Emacs
53 Requires: %{name} = %{version}-%{release}
56 %description -n emacs-lilypond-mode-pkg
57 LilyPond mode for Emacs.
59 %description -n emacs-lilypond-mode-pkg -l pl
60 Tryb edycji plików LilyPond dla Emacsa.
72 rm -rf $RPM_BUILD_ROOT
73 install -d $RPM_BUILD_ROOT%{texfontsdir}/{source,tfm,type1}
76 local_lilypond_datadir=$RPM_BUILD_ROOT%{_datadir}/lilypond/%{version} \
77 datadir=$RPM_BUILD_ROOT%{_datadir} \
78 mandir=$RPM_BUILD_ROOT%{_mandir} \
79 bindir=$RPM_BUILD_ROOT%{_bindir} \
80 localedir=$RPM_BUILD_ROOT%{_localedir} \
81 infodir=$RPM_BUILD_ROOT%{_infodir} \
82 libdir=$RPM_BUILD_ROOT%{_libdir}
84 %{__perl} -pi -e "s#$RPM_BUILD_ROOT##" $RPM_BUILD_ROOT%{_bindir}/*
86 mv -f $RPM_BUILD_ROOT%{_datadir}/lilypond/%{version}/fonts/source \
87 $RPM_BUILD_ROOT%{texfontsdir}/source/lilypond
88 mv -f $RPM_BUILD_ROOT%{_datadir}/lilypond/%{version}/fonts/tfm \
89 $RPM_BUILD_ROOT%{texfontsdir}/tfm/lilypond
90 mv -f $RPM_BUILD_ROOT%{_datadir}/lilypond/%{version}/fonts/type1 \
91 $RPM_BUILD_ROOT%{texfontsdir}/type1/lilypond
96 rm -rf $RPM_BUILD_ROOT
99 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
100 [ ! -x /usr/bin/texhash ] || /usr/bin/texhash 1>&2
103 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
104 [ ! -x /usr/bin/texhash ] || /usr/bin/texhash 1>&2
106 %files -f %{name}.lang
107 %defattr(644,root,root,755)
108 %doc AUTHORS.txt ChangeLog DEDICATION NEWS.txt README.txt THANKS
109 %attr(755,root,root) %{_bindir}/*
110 %dir %{_libdir}/lilypond
111 %dir %{_libdir}/lilypond/%{version}
112 %dir %{_libdir}/lilypond/%{version}/python
113 %attr(755,root,root) %{_libdir}/lilypond/%{version}/python/midi.so
114 %dir %{_datadir}/lilypond
115 %dir %{_datadir}/lilypond/%{version}
116 %{_datadir}/lilypond/%{version}/ly
117 %{_datadir}/lilypond/%{version}/ps
118 %dir %{_datadir}/lilypond/%{version}/python
119 %{_datadir}/lilypond/%{version}/python/*.py
120 %{_datadir}/lilypond/%{version}/python/*.pyc
121 %{_datadir}/lilypond/%{version}/dvips
122 %{_datadir}/lilypond/%{version}/fonts
123 %{_datadir}/lilypond/%{version}/scm
124 %{_datadir}/lilypond/%{version}/tex
128 # lilypond/stepmake build system - not needed at runtime
129 #%{_datadir}/lilypond/%{version}/make
131 %{texfontsdir}/*/lilypond
133 # needed? subpackage? (could install in non-existing dir)
134 %{_datadir}/omf/lilypond
136 %files -n emacs-lilypond-mode-pkg
137 %defattr(644,root,root,755)
138 %{_datadir}/emacs/site-lisp/*.el