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.lilyond.org:/pub/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
111 rm -rf $RPM_BUILD_ROOT
112 mkdir -p $RPM_BUILD_ROOT/tmp/lilypond-rpm-doc
114 ## this is an ugly hack
115 mkdir -p scripts/share/lilypond/tex
116 cp tex/titledefs.tex scripts/share/lilypond/tex
120 strip lily/out/lilypond
121 make prefix="$RPM_BUILD_ROOT%{_prefix}" install
123 %{INSTALL_DIR} $RPM_BUILD_ROOT/usr/share/texmf/fonts/source/public/lilypond
124 (cd $RPM_BUILD_ROOT/usr/share/lilypond \
125 && mv mf/* $RPM_BUILD_ROOT/usr/share/texmf/fonts/source/public/lilypond \
127 && ln -s ../texmf/fonts/source/public/lilypond mf)
128 %{INSTALL_DIR} $RPM_BUILD_ROOT/usr/share/texmf/fonts/afm/lilypond
129 (cd $RPM_BUILD_ROOT/usr/share/lilypond \
130 && mv afm/* $RPM_BUILD_ROOT/usr/share/texmf/fonts/afm/lilypond \
132 && ln -s ../texmf/fonts/afm/lilypond afm)
133 %{INSTALL_DIR} $RPM_BUILD_ROOT/usr/share/texmf/tex/lilypond
134 (cd $RPM_BUILD_ROOT/usr/share/lilypond \
135 && mv tex/* $RPM_BUILD_ROOT/usr/share/texmf/tex/lilypond \
137 && ln -s ../texmf/tex/lilypond tex)
138 %{INSTALL_DIR} $RPM_BUILD_ROOT/usr/share/texmf/lilypond/ps
139 (cd $RPM_BUILD_ROOT/usr/share/lilypond \
140 && mv ps/* $RPM_BUILD_ROOT/usr/share/texmf/lilypond/ps \
142 && ln -s ../texmf/lilypond/ps ps)
146 gzip -9fn $RPM_BUILD_ROOT%{_prefix}/info/* || true
151 gzip -9fn $RPM_BUILD_ROOT%{_prefix}/man/man1/* || true
156 mkdir -p $RPM_BUILD_ROOT%{_prefix}/../etc/profile.d
157 cp buildscripts/out/lilypond-profile $RPM_BUILD_ROOT%{_prefix}/../etc/profile.d/lilypond.sh
158 cp buildscripts/out/lilypond-login $RPM_BUILD_ROOT%{_prefix}/../etc/profile.d/lilypond.csh
162 #line 63: second %install
163 # again, make sure that main package installs even if doco fails
165 tar -C web -xzf out/web.tar.gz || true
168 # urg, this symlink doesn't come through on cygwin
169 # this is the way symlinks work over there, let's fake one
170 rm -f $RPM_BUILD_ROOT%{_prefix}/share/lilypond/cmtfm
171 echo '!<symlink>c:\\texmf\\fonts\\tfm\\public\\cm' > $RPM_BUILD_ROOT%{_prefix}/share/lilypond/cmtfm
179 if [ -d usr/share/lilypond/ps ]; then
180 mv usr/share/lilypond/ps usr/share/lilypond/ps.old
181 echo "please, remove /usr/share/lilypond/ps.old manually."
186 touch /tmp/.lilypond-install
187 rm `find /var/lib/texmf -name 'feta*pk' -or -name 'feta*tfm' -or -name 'parmesan*pk' -or -name 'parmesan*tfm' -print'` /tmp/.lilypond-install
189 /usr/bin/install-info %{_prefix}/info/lilypond.info.gz %{_prefix}/info/dir || true
191 mkdir -p var/adm/SuSEconfig
192 touch var/adm/SuSEconfig/run-texhash
198 /usr/bin/install-info --delete %{_prefix}/info/lilypond.info.gz %{_prefix}/info/dir || true
203 mkdir -p var/adm/SuSEconfig
204 touch var/adm/SuSEconfig/run-texhash
209 %defattr(-, root, root)
210 %doc CHANGES COPYING DEDICATION INSTALL.txt NEWS
211 %doc README.txt FAQ.txt AUTHORS.txt VERSION ROADMAP
214 # hairy to hook it in (possibly non-existing) emacs
215 %doc lilypond-mode.el
216 %doc lilypond-font-lock.el
217 %doc lilypond-indent.el
218 %doc lilypond-init.el
221 %config /etc/profile.d/*
224 %{_prefix}/bin/abc2ly
225 %{_prefix}/bin/as2text
226 %{_prefix}/bin/convert-ly
227 %{_prefix}/bin/etf2ly
228 %{_prefix}/bin/lilypond
229 %{_prefix}/bin/ly2dvi
230 %{_prefix}/bin/midi2ly
231 %{_prefix}/bin/lilypond-book
232 %{_prefix}/bin/mup2ly
233 %{_prefix}/bin/musedata2ly
234 %{_prefix}/bin/pmx2ly
240 %{_prefix}/info/lilypond.info.gz
241 %{_prefix}/info/lilypond-internals.info.gz
244 %{_prefix}/man/man1/abc2ly.1.gz
245 %{_prefix}/man/man1/as2text.1.gz
246 %{_prefix}/man/man1/convert-ly.1.gz
247 %{_prefix}/man/man1/etf2ly.1.gz
248 %{_prefix}/man/man1/lilypond.1.gz
249 %{_prefix}/man/man1/ly2dvi.1.gz
250 %{_prefix}/man/man1/midi2ly.1.gz
251 %{_prefix}/man/man1/lilypond-book.1.gz
252 %{_prefix}/man/man1/musedata2ly.1.gz
253 %{_prefix}/man/man1/mup2ly.1.gz
254 %{_prefix}/man/man1/pmx2ly.1.gz
256 %{_prefix}/share/lilypond/
257 %{_prefix}/share/texmf/
258 %{_prefix}/share/locale/*/LC_MESSAGES/lilypond.mo
260 #%{_prefix}/../etc/profile.d/lilypond.*
263 %defattr(-, root, root)
264 # this gets too messy...
268 # verbatim include of input: list the directory without issuing a %dir
270 %changelog -n lilypond
271 * Sun Apr 22 2001 - schlemme@mathe.tu-freiberg.de
273 * Mon Apr 10 2000 - bk@suse.de
274 - added suse update config macro
275 * Thu Mar 16 2000 - kukuk@suse.de
276 - Use gs_serv, not gs_both (doesn't exist on all platforms)
277 * Wed Mar 01 2000 - uli@suse.de
278 - moved man pages to /usr/share
279 * Tue Dec 21 1999 - ke@suse.de
280 - add documentation (#271).
281 * Mon Dec 13 1999 - ke@suse.de
283 - compiler fix (thanks to schwab@suse.de).
285 * Mon Oct 25 1999 - ke@suse.de
287 * Mon Sep 13 1999 - bs@suse.de
288 - ran old prepare_spec on spec file to switch to new prepare_spec.
289 * Mon Sep 06 1999 - ro@suse.de
290 - update to 1.2.6 to make it compile with new guile
291 - various fixes and one hack to make this compile at all
292 * Sun Aug 22 1999 - ke@suse.de
293 - provide /etc/profile.d scripts.
294 - make lily.ps available (thanks to Ulrich Windl).
295 * Tue Aug 17 1999 - ke@suse.de
296 - update: version 1.2.1.
297 * Thu Nov 05 1998 - ke@suse.de
298 - use the TDS and provide links from /usr/share/lilypond.
299 - install examples via %doc.
300 * Wed Oct 28 1998 - ke@suse.de
301 - update: version 1.0.17.
302 * Fri Aug 07 1998 - ke@suse.de
303 - initial package: version 1.0.0