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