Summary: A fast, modern and generic image processing library
Name: exact-image
-Version: 0.8.5
-Release: 1
+Version: 0.8.9
+Release: 2
License: GPL v2
Group: Applications/Graphics
Source0: http://dl.exactcode.de/oss/exact-image/%{name}-%{version}.tar.bz2
-# Source0-md5: 54c5dc9afd86ec573e7e2e9a80f45c71
+# Source0-md5: a8694722cd7cc9aa9407950a8440f0cd
Patch0: %{name}-libs.patch
+Patch1: exactimage_0.8.5-1.patch
URL: http://www.exactcode.de/site/open_source/exactimage/
BuildRequires: OpenEXR-devel >= 1.2.0
BuildRequires: agg-devel >= 2.3
BuildRequires: evas-devel >= 0.9.9
+#BuildRequires: giflib4-devel
BuildRequires: jasper-devel
BuildRequires: lcms-devel >= 1.10
-#BuildRequires: libpng12-devel >= 1.2
+BuildRequires: libpng-devel >= 1.5
BuildRequires: libstdc++-devel
BuildRequires: libtiff-cxx-devel
-BuildRequires: libungif-devel
BuildRequires: lua51-devel
BuildRequires: perl-devel >= 5.8.0
BuildRequires: php-devel >= 5.2.0
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
-./configure --prefix=%{_prefix} --without-libpng
+./configure --prefix=%{_prefix} --without-libungif --without-php \
+%ifarch %{x8664}
+ --without-lua --without-perl --without-python
+%endif
+
%{__make} \
CFLAGS="%{rpmcflags}" \
CXXFLAGS="%{rpmcflags}"
%files
%defattr(644,root,root,755)
%doc README TODO
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/bardecode
+%attr(755,root,root) %{_bindir}/e2mtiff
+%attr(755,root,root) %{_bindir}/econvert
+%attr(755,root,root) %{_bindir}/edentify
+%attr(755,root,root) %{_bindir}/edisplay
+%attr(755,root,root) %{_bindir}/empty-page
+%attr(755,root,root) %{_bindir}/hocr2pdf
+%attr(755,root,root) %{_bindir}/optimize2bw