]> git.pld-linux.org Git - packages/lilypond.git/blob - lilypond.spec
- BR python-devel
[packages/lilypond.git] / lilypond.spec
1 Summary:        Music typesetter
2 Summary(pl):    Program do sk³adania nut
3 Name:           lilypond
4 Version:        1.6.11
5 Release:        1
6 License:        GPL
7 Group:          Applications/Sound
8 Source0:        ftp://ftp.gnu.org/gnu/lilypond/%{name}-%{version}.tar.gz
9 # Source0-md5:  e06e05046c0741cdce090c9eaae5102a
10 Patch0:         %{name}-info.patch
11 Patch1:         %{name}-gcc33.patch
12 Patch2:         %{name}-python23.patch
13 Patch3:         %{name}-acfix.patch
14 URL:            http://www.cs.uu.nl/people/hanwen/lilypond/index.html
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  bison
18 BuildRequires:  flex
19 BuildRequires:  guile-devel
20 BuildRequires:  kpathsea-devel
21 BuildRequires:  libltdl-devel
22 BuildRequires:  libstdc++-devel
23 BuildRequires:  python-devel
24 BuildRequires:  texinfo
25 BuildConflicts: lilypond < 1.6.0
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %define         _localedir      %{_prefix}/share/locale
29 %define         texfontsdir     /usr/share/texmf/fonts
30
31 %description
32 LilyPond is a music typesetter. It produces beautiful sheet music
33 using a high level description file as input. It excels at typesetting
34 classical music, but you can also print pop-songs. With LilyPond we
35 hope to make music publication software available to anyone on the
36 internet.
37
38 %description -l pl
39 LilyPond jest programem do sk³adu muzycznego. Produkuje piêkne
40 partytury u¿ywaj±c jêzyka wysokiego poziomu jako wej¶cie. S³u¿y przede
41 wszystkim do sk³adania nut muzyki klasycznej, ale mo¿na drukowaæ tak¿e
42 piosenki pop. Autorzy udostêpniaj± LilyPond z nadziej± dostarczenia
43 wszystkim oprogramowania do publikacji muzycznych.
44
45 %prep
46 %setup -q
47 %patch0 -p1
48 %patch1 -p1
49 %patch2 -p1
50 %patch3 -p1
51
52 cp -f stepmake/aclocal.m4 .
53 cp -f /usr/share/automake/{config.*,install-sh} .
54
55 %build
56 %{__autoconf}
57 cd stepmake
58 %{__autoconf}
59 cd ..
60 %configure
61 %{__make} \
62         builddir="`pwd`"
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66 install -d $RPM_BUILD_ROOT%{texfontsdir}/{afm,source,tfm}
67
68 %{__make} install \
69         builddir="`pwd`" \
70         local_lilypond_datadir=$RPM_BUILD_ROOT%{_datadir}/lilypond/%{version} \
71         datadir=$RPM_BUILD_ROOT%{_datadir} \
72         mandir=$RPM_BUILD_ROOT%{_mandir} \
73         bindir=$RPM_BUILD_ROOT%{_bindir} \
74         localedir=$RPM_BUILD_ROOT%{_localedir} \
75         infodir=$RPM_BUILD_ROOT%{_infodir}
76
77 mv -f $RPM_BUILD_ROOT%{_datadir}/lilypond/%{version}/fonts/afm $RPM_BUILD_ROOT%{texfontsdir}/afm/lilypond
78 mv -f $RPM_BUILD_ROOT%{_datadir}/lilypond/%{version}/fonts/source $RPM_BUILD_ROOT%{texfontsdir}/source/lilypond
79 mv -f $RPM_BUILD_ROOT%{_datadir}/lilypond/%{version}/fonts/tfm $RPM_BUILD_ROOT%{texfontsdir}/tfm/lilypond
80
81 %find_lang %{name}
82
83 %clean
84 rm -rf $RPM_BUILD_ROOT
85
86 %post
87 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
88 [ ! -x /usr/bin/texhash ] || /usr/bin/texhash 1>&2
89
90 %postun
91 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
92 [ ! -x /usr/bin/texhash ] || /usr/bin/texhash 1>&2
93
94 %files -f %{name}.lang
95 %defattr(644,root,root,755)
96 %doc AUTHORS.txt ChangeLog DEDICATION NEWS README.txt THANKS
97 %attr(755,root,root) %{_bindir}/*
98 %dir %{_datadir}/lilypond
99 %dir %{_datadir}/lilypond/%{version}
100 %{_datadir}/lilypond/%{version}/ly
101 %{_datadir}/lilypond/%{version}/ps
102 %dir %{_datadir}/lilypond/%{version}/python
103 %attr(755,root,root) %{_datadir}/lilypond/%{version}/python/midi.so
104 %{_datadir}/lilypond/%{version}/scm
105 %{_datadir}/lilypond/%{version}/tex
106 %{texfontsdir}/*/lilypond
107 %{_infodir}/*.info*
108 %{_mandir}/man1/*
This page took 0.067119 seconds and 4 git commands to generate.