]> git.pld-linux.org Git - packages/lilypond.git/blob - lilypond.spec
- updated to 2.0.1
[packages/lilypond.git] / lilypond.spec
1 Summary:        Music typesetter
2 Summary(pl):    Program do sk³adania nut
3 Name:           lilypond
4 Version:        2.0.1
5 Release:        1
6 License:        GPL
7 Group:          Applications/Sound
8 Source0:        ftp://ftp.lilypond.org/pub/LilyPond/v2.0/%{name}-%{version}.tar.gz
9 # Source0-md5:  04dcc17cf238b0bb5e31c993bfcc76b4
10 Patch0:         %{name}-info.patch
11 Patch1:         %{name}-sh.patch
12 URL:            http://www.lilypond.org/
13 BuildRequires:  bison >= 1.25
14 BuildRequires:  flex
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
29 Requires:       ghostscript
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %define         _localedir      %{_prefix}/share/locale
33 %define         texfontsdir     /usr/share/texmf/fonts
34
35 %description
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
40 internet.
41
42 %description -l pl
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.
48
49 %prep
50 %setup -q
51 %patch0 -p1
52 %patch1 -p1
53
54 %build
55 %configure
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT%{texfontsdir}/{source,tfm,type1}
61
62 %{__make} install \
63         local_lilypond_datadir=$RPM_BUILD_ROOT%{_datadir}/lilypond/%{version} \
64         datadir=$RPM_BUILD_ROOT%{_datadir} \
65         mandir=$RPM_BUILD_ROOT%{_mandir} \
66         bindir=$RPM_BUILD_ROOT%{_bindir} \
67         localedir=$RPM_BUILD_ROOT%{_localedir} \
68         infodir=$RPM_BUILD_ROOT%{_infodir} \
69         libdir=$RPM_BUILD_ROOT%{_libdir}
70
71 %{__perl} -pi -e "s#$RPM_BUILD_ROOT##" $RPM_BUILD_ROOT%{_bindir}/*
72
73 mv -f $RPM_BUILD_ROOT%{_datadir}/lilypond/%{version}/fonts/source \
74       $RPM_BUILD_ROOT%{texfontsdir}/source/lilypond
75 mv -f $RPM_BUILD_ROOT%{_datadir}/lilypond/%{version}/fonts/tfm \
76       $RPM_BUILD_ROOT%{texfontsdir}/tfm/lilypond
77 mv -f $RPM_BUILD_ROOT%{_datadir}/lilypond/%{version}/fonts/type1 \
78       $RPM_BUILD_ROOT%{texfontsdir}/type1/lilypond
79
80 %find_lang %{name}
81
82 %clean
83 rm -rf $RPM_BUILD_ROOT
84
85 %post
86 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
87 [ ! -x /usr/bin/texhash ] || /usr/bin/texhash 1>&2
88
89 %postun
90 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
91 [ ! -x /usr/bin/texhash ] || /usr/bin/texhash 1>&2
92
93 %files -f %{name}.lang
94 %defattr(644,root,root,755)
95 %doc AUTHORS.txt ChangeLog DEDICATION NEWS.txt README.txt THANKS
96 %attr(755,root,root) %{_bindir}/*
97 %dir %{_libdir}/lilypond
98 %dir %{_libdir}/lilypond/%{version}
99 %dir %{_libdir}/lilypond/%{version}/python
100 %attr(755,root,root) %{_libdir}/lilypond/%{version}/python/midi.so
101 %dir %{_datadir}/lilypond
102 %dir %{_datadir}/lilypond/%{version}
103 %{_datadir}/lilypond/%{version}/ly
104 %{_datadir}/lilypond/%{version}/ps
105 %dir %{_datadir}/lilypond/%{version}/python
106 %{_datadir}/lilypond/%{version}/python/*.py
107 %{_datadir}/lilypond/%{version}/python/*.pyc
108 %{_datadir}/lilypond/%{version}/dvips
109 %{_datadir}/lilypond/%{version}/fonts
110 %{_datadir}/lilypond/%{version}/scm
111 %{_datadir}/lilypond/%{version}/tex
112 %{_infodir}/*.info*
113 %{_mandir}/man1/*
114
115 # lilypond/stepmake build system - not needed at runtime
116 #%{_datadir}/lilypond/%{version}/make
117
118 %{texfontsdir}/*/lilypond
119
120 # subpackage?
121 %{_datadir}/emacs/site-lisp/*
122
123 # needed? subpackage? (could install in non-existing dir)
124 %{_datadir}/omf/lilypond
This page took 0.071081 seconds and 4 git commands to generate.