SPECS: lilypond.spec - added docs bcond - note about gui bcond
sls
sls at pld-linux.org
Wed Apr 16 23:31:39 CEST 2008
Author: sls Date: Wed Apr 16 21:31:39 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added docs bcond
- note about gui bcond
---- Files affected:
SPECS:
lilypond.spec (1.46 -> 1.47)
---- Diffs:
================================================================
Index: SPECS/lilypond.spec
diff -u SPECS/lilypond.spec:1.46 SPECS/lilypond.spec:1.47
--- SPECS/lilypond.spec:1.46 Wed Apr 16 23:12:11 2008
+++ SPECS/lilypond.spec Wed Apr 16 23:31:33 2008
@@ -1,7 +1,10 @@
# $Revision$, $Date$
+# TODO:
+# - probably gui bcond is meaningless
#
# Conditional build:
%bcond_with gui # enable experimental GUI
+%bcond_with docs # build docs
#
Summary: Music typesetter
Summary(pl.UTF-8): Program do składania nut
@@ -17,6 +20,8 @@
Patch2: %{name}-po.patch
Patch3: %{name}-afm.patch
URL: http://www.lilypond.org/
+%{?with_docs:BuildRequires: ImageMagick}
+%{?with_docs:BuildRequires: ImageMagick-coder-png}
BuildRequires: automake
BuildRequires: bison >= 1.29
BuildRequires: flex >= 2.5.4a
@@ -32,14 +37,18 @@
BuildRequires: libltdl-devel
BuildRequires: libstdc++-devel >= 5:4.0
BuildRequires: mftrace >= 1.1.19
+%{?with_docs:BuildRequires: netpbm-progs}
BuildRequires: pango-devel >= 1.6.0
BuildRequires: pkgconfig >= 1:0.9.0
BuildRequires: python-devel >= 2.1
+%{?with_docs:BuildRequires: rsync}
BuildRequires: tetex-dvips
BuildRequires: tetex-fonts-cm
BuildRequires: tetex-fonts-cmextra
BuildRequires: tetex-fonts-jknappen
+%{?with_docs:BuildRequires: tetex-latex-bibtex}
BuildRequires: texinfo >= 4.7
+%{?with_docs:BuildRequires: texinfo-texi2dvi}
BuildConflicts: lilypond < 1.6.0
Requires: ghostscript >= 8.15
Requires: guile >= 5:1.6.5
@@ -104,6 +113,7 @@
%{?debug:--disable-optimising} \
%{?with_gui:--enable-gui}
%{__make} -j1
+%{?with_docs:%{__make} -j1 web}
%install
rm -rf $RPM_BUILD_ROOT
@@ -111,6 +121,10 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+%if %{with docs}
+%{__make} -j1 web-install \
+ DESTDIR=$RPM_BUILD_ROOT
+%endif
find $RPM_BUILD_ROOT -name fonts.cache-1 | xargs rm -f
@@ -189,6 +203,7 @@
%{texmfdir}/tex/lilypond
%{_datadir}/omf/lilypond
+%{?with_docs:/usr/share/doc/lilypond}
%files -n emacs-lilypond-mode-pkg
%defattr(644,root,root,755)
@@ -208,6 +223,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.47 2008-04-16 21:31:33 sls
+- added docs bcond
+- note about gui bcond
+
Revision 1.46 2008-04-16 21:12:11 qboosh
- spacing
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/lilypond.spec?r1=1.46&r2=1.47&f=u
More information about the pld-cvs-commit
mailing list