rebuild with lcms

This commit is contained in:
Nils Philippsen 2006-01-10 14:51:34 +00:00
parent 7b12b5eb63
commit f2c207c758

View File

@ -4,6 +4,10 @@
%define _enable_static %{?enable_static:%{enable_static}}%{?!enable_static:1}
%define _enable_print %{?enable_print:%{enable_print}}%{?!enable_print:0}
%define _enable_convenience %{?enable_convenience:%{enable_convenience}}%{?!enable_convenience:1}
%define _with_lcms %{?with_lcms:%{with_lcms}}%{?!with_lcms:1}
#
#
Summary: The GNU Image Manipulation Program
Name: gimp
@ -15,7 +19,7 @@ Version: 2.2.10
%define minorver 200
%define microver %(ver=%{version}; echo ${ver##*.*.})
#define prever pre2
Release: %{?prever:0.0.%{prever}.}1
Release: %{?prever:0.0.%{prever}.}2
Epoch: 2
License: GPL, LGPL
Group: Applications/Multimedia
@ -52,6 +56,9 @@ BuildRequires: perl
BuildRequires: libwmf-devel >= 0.2.8
BuildRequires: intltool
BuildRequires: findutils
%if %_with_lcms
BuildRequires: lcms-devel
%endif
Requires: desktop-file-utils >= 0.9
Requires: glib2 >= 2.4.8
Requires: gtk2 >= 2.4.14
@ -129,6 +136,11 @@ CFLAGS="%optflags -fomit-frame-pointer" \
%else
--disable-print \
%endif
%if %_with_lcms
--with-lcms \
%else
--without-lcms \
%endif
;
make %{?_smp_mflags}
@ -336,6 +348,9 @@ fi
%{_libdir}/pkgconfig/*
%changelog
* Tue Jan 10 2006 Nils Philippsen <nphilipp@redhat.com>
- rebuild with lcms
* Thu Dec 29 2005 Nils Philippsen <nphilipp@redhat.com> - 2.2.10
- version 2.2.10