SPECS: gimp.spec - apidocs & static_libs bconds
adgor
adgor at pld-linux.org
Fri Dec 2 03:13:15 CET 2005
Author: adgor Date: Fri Dec 2 02:13:15 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- apidocs & static_libs bconds
---- Files affected:
SPECS:
gimp.spec (1.260 -> 1.261)
---- Diffs:
================================================================
Index: SPECS/gimp.spec
diff -u SPECS/gimp.spec:1.260 SPECS/gimp.spec:1.261
--- SPECS/gimp.spec:1.260 Thu Dec 1 22:35:43 2005
+++ SPECS/gimp.spec Fri Dec 2 03:13:09 2005
@@ -2,9 +2,11 @@
#
# Conditional build:
%bcond_without aalib # without aa plugin (which requires aalib)
+%bcond_without apidocs # disable gtk-doc
%bcond_without print # without print plugin (which requires gimp-print 4.2.x)
%bcond_without python # without python plugins
%bcond_with posix_shm # with POSIX SHM (default is SysV SHM)
+%bcond_without static_libs # do not build static libraries
#
%define mver 2.0
Summary: The GNU Image Manipulation Program
@@ -39,7 +41,7 @@
%{?with_print:BuildRequires: gimp-print-devel >= 4.2.6}
%{?with_print:BuildRequires: gimp-print-devel < 4.3.0}
BuildRequires: gtk+2-devel >= 2:2.4.4
-BuildRequires: gtk-doc >= 1.0
+%{?with_apidocs:BuildRequires: gtk-doc >= 1.0}
BuildRequires: intltool
BuildRequires: lcms-devel
BuildRequires: libart_lgpl-devel
@@ -285,14 +287,14 @@
%{__automake}
%configure \
- --disable-rpath \
%{!?with_print: --disable-print} \
- %{?with_python: --enable-python} \
+ --disable-rpath \
+ --enable-default-binary \
+ %{?with_apidocs:--enable-gtk-doc} \
--enable-mp \
+ %{?with_python: --enable-python} \
+ %{?with_static_lib:--enable-static} \
--with-html-dir=%{_gtkdocdir} \
- --enable-default-binary \
- --enable-static \
- --enable-gtk-doc \
%{?with_posix_shm:--with-shm=posix}
%{__make}
@@ -420,9 +422,11 @@
%{_mandir}/man1/gimptool-%{mver}*
%{_mandir}/man1/gimptool.1*
+%if %{with static_libs}
%files static
%defattr(644,root,root,755)
%{_libdir}/lib*.a
+%endif
%if %{with aalib}
%files aa
@@ -446,6 +450,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.261 2005/12/02 02:13:09 adgor
+- apidocs & static_libs bconds
+
Revision 1.260 2005/12/01 21:35:43 adgor
- Typo
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/gimp.spec?r1=1.260&r2=1.261&f=u
More information about the pld-cvs-commit
mailing list