2 # spec file for package lilypond (Version 1.3.149)
4 # spec file for package lilypond (Version 1.2.17)
5 # Copyright (c) 2000 SuSE GmbH Nuernberg, Germany.
7 # Please send bug reports to schlemme@mathe.tu-freiberg.de
11 # neededforbuild guile tcsh tetex te_latex te_mpost libpng python gpp libgpp gettext autoconf netpbm libnetpb gs_serv gs_lib gs_fonts guile
12 # usedforbuild aaa_base aaa_dir autoconf automake base bash bindutil binutils bison bzip compress cpio cracklib devs diff ext2fs file fileutil find flex gawk gcc gdbm gettext gpm gpp gppshare groff gs_fonts gs_lib gs_serv guile gzip kbd less libc libgpp libnetpb libpng libtool libz lx_suse make mktemp modules ncurses net_tool netcfg netpbm nkita nkitb nssv1 pam patch perl pgp ps python rcs rpm sendmail sh_utils shadow shlibs strace syslogd sysvinit tcsh te_ams te_latex te_mpost tetex texinfo textutil timezone unzip util vim xdevel xf86 xshared guile
15 Distribution: SuSE Linux
7.0 (i386
)
17 Version: @TOPLEVEL_VERSION@
20 Group: Applications
/Publishing
21 Source0: ftp.cs.uu.nl
:/pub
/GNU
/LilyPond
/development
/lilypond
-@TOPLEVEL_VERSION@.tar.gz
22 # music notation software for.. ?
23 Summary: A program
for printing sheet music.
24 URL: http
://www.lilypond.org
/
25 # rpm: 4.0: broken for -ta builds: rpm doesn't look in tarball for xpm
26 # Icon: lilypond-icon.xpm
27 BuildRoot: /tmp
/lilypond
-install
28 # add lots of Buildreq: tetex-kpath, te_mpost, bison
29 # better prereqs: tetex-latex, python, (mpost?) etc.
32 # use keywords: music notation software
34 LilyPond is a music typesetter. It produces beautiful
35 sheet music using a high level description file as input. LilyPond is
36 part of the GNU Project.
40 Han
-Wen Nienhuys
<hanwen@cs.uu.nl
>
41 Jan Nieuwenhuizen
<janneke@gnu.org
>
42 Alexandre Oliva
<oliva@dcc.unicamp.br
>
43 Mats Bengtsson
<matsb@s3.kth.se
>
44 Eric Bullinger
<eric@aut.ee.ethz.ch
>
45 Jan Arne Fagertun
<Jan.A.Fagertun@energy.sintef.no
>
46 Anthony Fok
<foka@debian.org
>
47 Neil Jerram
<nj104@cus.cam.ac.uk
>
49 Werner Lemberg
<wl@gnu.org
>
50 David R. Linn
<drl@vuse.vanderbilt.edu
>
51 François Pinard
<pinard@iro.umontreal.ca
>
52 Jeffrey B. Reed
<daboys@bga.com
>
54 Tom Cato Amundsen
<tca@gnu.org
>
55 Laura Conrad
<lconrad@world.std.com
>
56 James Hammons
<jlhamm@pacificnet.net
>
57 Bjoern Jacke
<bjoern.jacke@gmx.de
>
58 Michael Krause
<m.krause@tu
-harburg.de
>
59 David R. Linn
<drl@vuse.vanderbilt.edu
>
61 Stephen Peters
<portnoy@ai.mit.edu
>
62 Glen Prideaux
<glenprideaux@iname.com
>
63 Roy R. Rankin
<Roy.Rankin@alcatel.com.au
>
64 Juergen Reuter
<reuter@ipd.uka.de
>
65 August S.Sigov
<august@infran.ru
>
66 Rune Zedeler
<rune@zedeler.dk
>
71 Summary: Prebuilt website containing all LilyPond documentation.
72 Group: Applications
/Publishing
73 # BuildArchitectures: noarch
77 The documentation of LilyPond
, both
in HTML and PostScript.
79 %define INSTALL
install -m755
-s
80 %define INSTALL_DIR
install -d
-m755
81 %define INSTALL_DATA
install -m644
89 # DO NOT use % { configure } , it hardcodes all paths, runs libtool,
90 # so we can't do make prefix=/tmp/ install.
92 # In fact, do not take out the spaces between % and { , because RPM will gladly
93 # do a substitution anyway.
95 CFLAGS
="$RPM_OPT_FLAGS" .
/configure
--disable
-checking
--disable
-debugging
--enable-printing
--prefix
=%{_prefix} --enable-optimising
--enable-shared
97 make LDFLAGS
=-s "CFLAGS
=$RPM_OPT_FLAGS" all
101 # line 42: second %build
102 # ok, now make sure that lilypond package will succeed,
103 # even if documentation fails to build
105 make -C Documentation || true
106 make web
-doc top
-web || true
112 rm -rf $RPM_BUILD_ROOT
113 mkdir -p $RPM_BUILD_ROOT
/tmp
/lilypond
-rpm
-doc
115 ## this is an ugly hack
116 mkdir -p scripts
/share
/lilypond
/tex
117 cp tex
/titledefs.tex scripts
/share
/lilypond
/tex
121 strip lily
/out
/lilypond
122 make prefix
="$RPM_BUILD_ROOT
%{_prefix}"
install
124 %{INSTALL_DIR} $RPM_BUILD_ROOT
/usr
/share
/texmf
/fonts
/source/public
/lilypond
125 (cd $RPM_BUILD_ROOT
/usr
/share
/lilypond \
126 && mv mf
/* $RPM_BUILD_ROOT
/usr
/share
/texmf
/fonts
/source/public
/lilypond \
128 && ln
-s ..
/texmf
/fonts
/source/public
/lilypond mf
)
129 %{INSTALL_DIR} $RPM_BUILD_ROOT
/usr
/share
/texmf
/fonts
/afm
/lilypond
130 (cd $RPM_BUILD_ROOT
/usr
/share
/lilypond \
131 && mv afm
/* $RPM_BUILD_ROOT
/usr
/share
/texmf
/fonts
/afm
/lilypond \
133 && ln
-s ..
/texmf
/fonts
/afm
/lilypond afm
)
134 %{INSTALL_DIR} $RPM_BUILD_ROOT
/usr
/share
/texmf
/tex
/lilypond
135 (cd $RPM_BUILD_ROOT
/usr
/share
/lilypond \
136 && mv tex
/* $RPM_BUILD_ROOT
/usr
/share
/texmf
/tex
/lilypond \
138 && ln
-s ..
/texmf
/tex
/lilypond tex
)
139 %{INSTALL_DIR} $RPM_BUILD_ROOT
/usr
/share
/texmf
/lilypond
/ps
140 (cd $RPM_BUILD_ROOT
/usr
/share
/lilypond \
141 && mv ps
/* $RPM_BUILD_ROOT
/usr
/share
/texmf
/lilypond
/ps \
143 && ln
-s ..
/texmf
/lilypond
/ps ps
)
147 gzip
-9fn $RPM_BUILD_ROOT
%{_prefix}/info
/* || true
152 gzip
-9fn $RPM_BUILD_ROOT
%{_prefix}/man
/man1
/* || true
157 mkdir -p $RPM_BUILD_ROOT
%{_prefix}/..
/etc
/profile.d
158 cp buildscripts
/out
/lilypond
-profile $RPM_BUILD_ROOT
%{_prefix}/..
/etc
/profile.d
/lilypond.sh
159 cp buildscripts
/out
/lilypond
-login $RPM_BUILD_ROOT
%{_prefix}/..
/etc
/profile.d
/lilypond.csh
163 #line 63: second %install
164 # again, make sure that main package installs even if doco fails
166 tar
-C web
-xzf out
/web.tar.gz || true
169 # urg, this symlink doesn't come through on cygwin
170 # this is the way symlinks work over there, let's fake one
171 rm -f $RPM_BUILD_ROOT
%{_prefix}/share
/lilypond
/cmtfm
172 echo '
!<symlink
>c
:\\texmf\\fonts\\tfm\\public\\cm'
> $RPM_BUILD_ROOT
%{_prefix}/share
/lilypond
/cmtfm
180 if [ -d usr
/share
/lilypond
/ps
]; then
181 mv usr
/share
/lilypond
/ps usr
/share
/lilypond
/ps.old
182 echo "please
, remove
/usr
/share
/lilypond
/ps.old manually."
187 touch
/tmp
/.lilypond
-install
188 rm `find
/var
/lib
/texmf
-name 'feta
*pk'
-or
-name 'feta
*tfm'
-or
-name 'parmesan
*pk'
-or
-name 'parmesan
*tfm'
-print'`
/tmp
/.lilypond
-install
190 /usr
/bin
/install-info
%{_prefix}/info/lilypond.info.gz %{_prefix}/info
/dir || true
192 mkdir -p var
/adm
/SuSEconfig
193 touch var
/adm
/SuSEconfig
/run
-texhash
199 /usr
/bin
/install-info
--delete
%{_prefix}/info/lilypond.info.gz %{_prefix}/info
/dir || true
204 mkdir -p var
/adm
/SuSEconfig
205 touch var
/adm
/SuSEconfig
/run
-texhash
210 %defattr(-, root
, root
)
211 %doc CHANGES COPYING DEDICATION INSTALL.txt NEWS
212 %doc README.txt FAQ.txt AUTHORS.txt VERSION ROADMAP
215 # hairy to hook it in (possibly non-existing) emacs
216 %doc lilypond
-mode.el
217 %doc lilypond
-font
-lock.el
218 %doc lilypond
-indent.el
219 %doc lilypond
-init.el
222 %config /etc
/profile.d
/*
225 %{_prefix}/bin
/abc2ly
226 %{_prefix}/bin
/as2text
227 %{_prefix}/bin
/convert
-ly
228 %{_prefix}/bin
/etf2ly
229 %{_prefix}/bin
/lilypond
230 %{_prefix}/bin
/ly2dvi
231 %{_prefix}/bin
/midi2ly
232 %{_prefix}/bin
/lilypond
-book
233 %{_prefix}/bin
/mup2ly
234 %{_prefix}/bin
/musedata2ly
235 %{_prefix}/bin
/pmx2ly
241 %{_prefix}/info
/lilypond.info.gz
242 %{_prefix}/info
/lilypond
-internals.info.gz
245 %{_prefix}/man
/man1
/abc2ly
.1.gz
246 %{_prefix}/man
/man1
/as2text
.1.gz
247 %{_prefix}/man
/man1
/convert
-ly
.1.gz
248 %{_prefix}/man
/man1
/etf2ly
.1.gz
249 %{_prefix}/man
/man1
/lilypond
.1.gz
250 %{_prefix}/man
/man1
/ly2dvi
.1.gz
251 %{_prefix}/man
/man1
/midi2ly
.1.gz
252 %{_prefix}/man
/man1
/lilypond
-book
.1.gz
253 %{_prefix}/man
/man1
/musedata2ly
.1.gz
254 %{_prefix}/man
/man1
/mup2ly
.1.gz
255 %{_prefix}/man
/man1
/pmx2ly
.1.gz
257 %{_prefix}/share
/lilypond
/
258 %{_prefix}/share
/texmf
/
259 %{_prefix}/share
/locale
/*/LC_MESSAGES
/lilypond.mo
261 #%{_prefix}/../etc/profile.d/lilypond.*
264 %defattr(-, root
, root
)
265 # this gets too messy...
269 # verbatim include of input: list the directory without issuing a %dir
271 %changelog -n lilypond
272 * Sun Apr
22 2001 - schlemme@mathe.tu
-freiberg.de
274 * Mon Apr
10 2000 - bk@suse.de
275 - added suse update config macro
276 * Thu Mar
16 2000 - kukuk@suse.de
277 - Use gs_serv
, not gs_both
(doesn't exist on all platforms
)
278 * Wed Mar
01 2000 - uli@suse.de
279 - moved man pages to
/usr
/share
280 * Tue Dec
21 1999 - ke@suse.de
281 - add documentation
(#271).
282 * Mon Dec
13 1999 - ke@suse.de
284 - compiler fix
(thanks to schwab@suse.de
).
286 * Mon Oct
25 1999 - ke@suse.de
288 * Mon Sep
13 1999 - bs@suse.de
289 - ran old prepare_spec on spec file to switch to new prepare_spec.
290 * Mon Sep
06 1999 - ro@suse.de
291 - update to
1.2.6 to
make it compile with new guile
292 - various fixes and one hack to
make this compile at all
293 * Sun Aug
22 1999 - ke@suse.de
294 - provide
/etc
/profile.d scripts.
295 - make lily.ps available
(thanks to Ulrich Windl
).
296 * Tue Aug
17 1999 - ke@suse.de
297 - update
: version
1.2.1.
298 * Thu Nov
05 1998 - ke@suse.de
299 - use the TDS and provide links from
/usr
/share
/lilypond.
300 - install examples via
%doc.
301 * Wed Oct
28 1998 - ke@suse.de
302 - update
: version
1.0.17.
303 * Fri Aug
07 1998 - ke@suse.de
304 - initial package
: version
1.0.0