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