X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=make%2Flilypond.mandrake.spec.in;h=8dcd8bdf1e4f7f49ba001b101926c0444fbd3b80;hb=d5a7fcecd6a70ecb67bcfe0dfcc0d0604fd7d157;hp=f95f72dda8ac159265a140255a8627c49767d4bc;hpb=db99e00e4f52b3c21efe955d44145ffcc3f94155;p=lilypond.git diff --git a/make/lilypond.mandrake.spec.in b/make/lilypond.mandrake.spec.in index f95f72dda8..8dcd8bdf1e 100644 --- a/make/lilypond.mandrake.spec.in +++ b/make/lilypond.mandrake.spec.in @@ -9,16 +9,21 @@ Name: %{name} Version: %{version} Release: %{release} License: GPL -Group: Applications/Publishing +Group: Publishing URL: http://www.lilypond.org/ -Source0: ftp.cs.uu.nl:/pub/GNU/LilyPond/development/lilypond-%{version}.tar.gz +Source0: ftp.lilypond.org:/pub/LilyPond/development/lilypond-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-buildroot -BuildRequires: t1utils bison texinfo +BuildRequires: t1utils bison texinfo t1lib1-devel libstdc++5-devel libguile12-devel >= 1.6.4 +BuildRequires: gcc-c++ glibc-devel flex >= 2.5.4a-22mdk groff netpbm autotrace +BuildRequires: ImageMagick >= 5.5.4.4 libMagick5.5.4-devel >= 5.5.4.4 +BuildRequires: ghostscript >= 7.05-53.2mdk mftrace >= 1.0.19 pfaedit >= 030822 Requires: tetex tetex-latex chkfontpath XFree86 info-install +PreReq: chkfontpath + %description LilyPond is a music typesetter. It produces beautiful sheet music using a -high level description file as input. Lilypond is part of the GNU project. +high level description file as input. LilyPond is part of the GNU project. LilyPond is split into two packages. The package "lilypond" provides the core package, containing the utilities for converting the music source @@ -29,11 +34,20 @@ http://www.mutopiaproject.org for details). If you are new to lilypond, you will almost certainly want to install the "lilypond-documentation" package in addition to the "lilypond" package. + +%package -n liblilypond +Summary: LilyPond libraries. +License: GPL +Group: System/Libraries +Requires: lilypond >= %{version} + +%description -n liblilypond +LilyPond libs %package documentation Summary: LilyPond documentation, examples and Mutopia files. -Group: Applications/Publishing -Requires: lilypond +Group: Publishing +Requires: %{name} %description documentation The documentation of LilyPond, both in HTML and PostScript, along with @@ -50,17 +64,26 @@ rm -rf $RPM_BUILD_ROOT # -- not sure what this comment means; it's a relic from the PPC spec file -- mbrown@fensystems.co.uk ##./configure --disable-checking --disable-debugging --enable-printing --prefix=%{_prefix} --disable-optimising --enable-shared ## Add options if needed -./configure --disable-checking --prefix=%{_prefix} --enable-optimising -make MAKE_PFA_FILES=1 all + +#Fix conflicting php variable out=/dev/vc/ +unset out + +./configure --disable-checking --prefix=%{_prefix} --libdir=%{_libdir} --enable-optimising + +%make all # make info make -C Documentation # make html -make web-doc top-web +make web +make -C Documentation/user omf %install +#Fix conflicting php variable out=/dev/vc/ +unset out + # Create installation root folders rm -rf $RPM_BUILD_ROOT RPM_DOC_ROOT=$RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} @@ -68,7 +91,8 @@ rm -rf $RPM_DOC_ROOT mkdir -p $RPM_DOC_ROOT strip lily/out/lilypond -make prefix="$RPM_BUILD_ROOT%{_prefix}" infodir="$RPM_BUILD_ROOT%{_infodir}" MAKE_PFA_FILES=1 mandir="$RPM_BUILD_ROOT%{_mandir}" install +%makeinstall +local_lilypond_libdir=$RPM_BUILD_ROOT/%{_libdir}/%{name}/%{version} %if %{info} rm -f $RPM_BUILD_ROOT/%{_infodir}/dir @@ -76,8 +100,7 @@ make prefix="$RPM_BUILD_ROOT%{_prefix}" infodir="$RPM_BUILD_ROOT%{_infodir}" MAK %endif mkdir -p $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/site-start.d -install -m 644 lilypond-mode.el lilypond-font-lock.el lilypond-indent.el lilypond.words $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/ -install -m 644 lilypond-init.el $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/site-start.d +install -m 644 elisp/lilypond-init.el $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/site-start.d bzip2 $RPM_BUILD_ROOT%{_mandir}/man1/* @@ -85,10 +108,7 @@ mkdir -p $RPM_BUILD_ROOT%{_prefix}/../etc/profile.d cp buildscripts/out/lilypond-profile $RPM_BUILD_ROOT%{_prefix}/../etc/profile.d/lilypond.sh cp buildscripts/out/lilypond-login $RPM_BUILD_ROOT%{_prefix}/../etc/profile.d/lilypond.csh - -# again, make sure that main package installs even if doco fails -mkdir -p web/out -tar -C web -xzf out/web.tar.gz +make prefix="$RPM_BUILD_ROOT%{_prefix}" webdir="$RPM_BUILD_ROOT%{_prefix}/share/doc/%{name}-documentation-%{version}/" out=www web-install # Menu # Every entry must be changed according package specifications @@ -96,18 +116,30 @@ tar -C web -xzf out/web.tar.gz mkdir -p $RPM_BUILD_ROOT%{_menudir} cat >$RPM_BUILD_ROOT%{_menudir}/%{name} <$RPM_BUILD_ROOT%{_menudir}/%{name}-documentation < 1.8.4-4mdk +- add target lilypond.words. + +* Sun Aug 25 2003 Torbjorn Turpeinen 1.8.1-3mdk +- Fixed doc-path in menu. + +* Thu Aug 23 2003 Heikki Johannes Junes 1.8.1-1mdk +* Sun Aug 24 2003 Torbjorn Turpeinen 1.8.1-2mdk +- Added Heikki Johannes Junes fix for confilcting PHP variable + out=/dev/vc/ by adding unset out before compiling +- Compiled with recent guile = 1.6.4 and mftrace = 1.0.19 +- Changed icon to lilypond.png +- Added menu and icons again + +* Thu Aug 07 2003 Heikki Johannes Junes 1.8.0-1mdk +- removed menu and icons, sync with redhat-spec + +* Thu Jun 12 2003 Heikki Johannes Junes 1.7.23-1mdk +- refreshed dependencies and file list. + +* Sat Feb 01 2003 Torbjorn Turpeinen 1.7.12-1mdk +- Built for Mandrake 9.1 + +* Fri Dec 01 2002 Heikki Johannes Junes 1.7.9-1mdk +- set menu-items to lilypond-info and lilypond-documentation. + * Fri Nov 30 2002 Heikki Johannes Junes 1.7.8-4mdk - add pre/post-dependencies and menus with icon from source.