]> git.pld-linux.org Git - packages/gimp.git/commitdiff
- apidocs & static_libs bconds
authoradgor <adgor@pld-linux.org>
Fri, 2 Dec 2005 02:13:09 +0000 (02:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gimp.spec -> 1.261

gimp.spec

index aa577715b378b15a66373a7168239d54bcb8d8c5..f081ac94980cb222ca08439bd4d6cd7aceebec2a 100644 (file)
--- a/gimp.spec
+++ b/gimp.spec
@@ -1,9 +1,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
@@ -38,7 +40,7 @@ BuildRequires:        gettext-devel
 %{?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
@@ -284,14 +286,14 @@ cp /usr/share/automake/py-compile plug-ins/pygimp
 %{__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}
@@ -419,9 +421,11 @@ umask 022
 %{_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
This page took 0.138301 seconds and 4 git commands to generate.