]> git.pld-linux.org Git - packages/lilypond.git/blob - lilypond.spec
- moved font files to texmf hierarchy - now TeX utils can find them
[packages/lilypond.git] / lilypond.spec
1 Summary:        Music typesetter
2 Summary(pl):    Program do sk³adania nut
3 Name:           lilypond
4 Version:        1.4.13
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}-pythonhack.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 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %define         _datadir        %{_prefix}/share/lilypond
20 %define         _localedir      %{_prefix}/share/locale
21 %define         texfontsdir     /usr/share/texmf/fonts
22
23 %description
24 LilyPond is a music typesetter. It produces beautiful sheet music
25 using a high level description file as input. It excels at typesetting
26 classical music, but you can also print pop-songs. With LilyPond we
27 hope to make music publication software available to anyone on the
28 internet.
29
30 %description -l pl
31 LilyPond jest programem do sk³adu muzycznego. Produkuje piêkne
32 partytury u¿ywaj±c jêzyka wysokiego poziomu jako wej¶cie. S³u¿y przede
33 wszystkim do sk³adania nut muzyki klasycznej, ale mo¿na drukowaæ tak¿e
34 piosenki pop. Autorzy udostêpniaj± LilyPond z nadziej± dostarczenia
35 wszystkim oprogramowania do publikacji muzycznych.
36
37 %prep
38 %setup -q
39 %patch -p1
40
41 %build
42 %configure2_13
43 %{__make}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT%{texfontsdir}/{afm,source,tfm}
48
49 %{__make} install \
50         datadir=$RPM_BUILD_ROOT%{_datadir} \
51         mandir=$RPM_BUILD_ROOT%{_mandir} \
52         bindir=$RPM_BUILD_ROOT%{_bindir} \
53         localedir=$RPM_BUILD_ROOT%{_localedir} \
54         infodir=$RPM_BUILD_ROOT%{_infodir}
55
56 mv -f $RPM_BUILD_ROOT%{_datadir}/afm $RPM_BUILD_ROOT%{texfontsdir}/afm/lilypond
57 mv -f $RPM_BUILD_ROOT%{_datadir}/mf $RPM_BUILD_ROOT%{texfontsdir}/source/lilypond
58 mv -f $RPM_BUILD_ROOT%{_datadir}/tfm $RPM_BUILD_ROOT%{texfontsdir}/tfm/lilypond
59
60 %find_lang %{name}
61
62 %clean
63 rm -rf ${RPM_BUILD_ROOT}
64
65 %post
66 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
67 [ ! -x /usr/bin/texhash ] || /usr/bin/texhash 1>&2
68
69 %postun
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 %files -f %{name}.lang
74 %defattr(644,root,root,755)
75 %doc AUTHORS.txt CHANGES DEDICATION FAQ.txt NEWS README.txt
76 %attr(755,root,root) %{_bindir}/*
77 %dir %{_datadir}
78 %{_datadir}/ly
79 %{_datadir}/ps
80 %{_datadir}/scm
81 %{_datadir}/tex
82 %{texfontsdir}/*/lilypond
83 %{_infodir}/*
84 %{_mandir}/man1/*
This page took 0.071916 seconds and 4 git commands to generate.