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