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