]> git.pld-linux.org Git - packages/lilypond.git/blob - lilypond.spec
- updated to 2.0.0
[packages/lilypond.git] / lilypond.spec
1 Summary:        Music typesetter
2 Summary(pl):    Program do sk³adania nut
3 Name:           lilypond
4 Version:        2.0.0
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:  80faf9f9abc4ecf72a71ba0036cdfee0
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}/{source,tfm,type1}
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/source \ 
84         $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 mv -f $RPM_BUILD_ROOT%{_datadir}/lilypond/%{version}/fonts/type1 \
88         $RPM_BUILD_ROOT%{texfontsdir}/type1/lilypond
89
90 %find_lang %{name}
91
92 %clean
93 rm -rf $RPM_BUILD_ROOT
94
95 %post
96 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
97 [ ! -x /usr/bin/texhash ] || /usr/bin/texhash 1>&2
98
99 %postun
100 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
101 [ ! -x /usr/bin/texhash ] || /usr/bin/texhash 1>&2
102
103 %files -f %{name}.lang
104 %defattr(644,root,root,755)
105 %doc AUTHORS.txt ChangeLog DEDICATION NEWS.txt README.txt THANKS
106
107 %attr(755,root,root) %{_bindir}/*
108 %dir %{_datadir}/lilypond
109 %dir %{_datadir}/lilypond/%{version}
110 %attr(755,root,root) /etc/profile.d/*
111 %{_datadir}/lilypond/%{version}/ly
112 %{_datadir}/lilypond/%{version}/ps
113 %dir %{_datadir}/lilypond/%{version}/python
114 %{_datadir}/lilypond/%{version}/python/*.py
115 %{_datadir}/lilypond/%{version}/python/*.pyc
116 %dir %{_libdir}/lilypond/%{version}/python
117 %attr(755,root,root) %{_libdir}/lilypond/%{version}/python/midi.so
118 %{_datadir}/lilypond/%{version}/scm
119 %{_datadir}/lilypond/%{version}/tex
120 %{texfontsdir}/*/lilypond
121 %{_infodir}/*.info*
122 %{_mandir}/man1/*
123
124 %dir %{_datadir}/lilypond/%{version}/dvips/
125 %{_datadir}/lilypond/%{version}/dvips/*
126 %dir %{_datadir}/lilypond/%{version}/fonts/type1/
127 %{_datadir}/lilypond/%{version}/fonts/type1/*
128 %dir %{_datadir}/lilypond/%{version}/make/
129 %{_datadir}/lilypond/%{version}/make/*
130
131 %dir %{_datadir}/omf/lilypond/%{version}/
132 %{_datadir}/omf/lilypond/%{version}/*
This page took 0.078359 seconds and 3 git commands to generate.