pkgcheck perl shell PERL 'perl -version 2>/dev/null | sed -n "s/This is perl.*v\([0-9.]*\).*built.*/\1/p"' atleast 5.8.0 &&
PERLINCS="`perl -MExtUtils::Embed -e ccopts`"
+diff -ur -x .svn -x .git -x .bzr -x CVS -urN exact-image-0.8.9/codecs/Makefile b/codecs/Makefile
+--- exact-image-0.8.9/codecs/Makefile 2011-06-30 23:23:25.000000000 +0200
++++ b/codecs/Makefile 2014-10-06 14:17:34.479107173 +0200
+@@ -13,7 +13,7 @@
+ endif
+
+ ifeq "$(WITHLIBPNG)" "1"
+-LDFLAGS += -lpng
++LDFLAGS += -lpng12
+ else
+ NOT_SRCS += png.cc
+ endif
Summary: A fast, modern and generic image processing library
Name: exact-image
-Version: 0.8.8
+Version: 0.8.9
Release: 1
License: GPL v2
Group: Applications/Graphics
Source0: http://dl.exactcode.de/oss/exact-image/%{name}-%{version}.tar.bz2
-# Source0-md5: a25c8cebc1f34bb90794606c5e8aad5e
+# Source0-md5: a8694722cd7cc9aa9407950a8440f0cd
Patch0: %{name}-libs.patch
URL: http://www.exactcode.de/site/open_source/exactimage/
BuildRequires: OpenEXR-devel >= 1.2.0
BuildRequires: evas-devel >= 0.9.9
BuildRequires: jasper-devel
BuildRequires: lcms-devel >= 1.10
-#BuildRequires: libpng12-devel >= 1.2
+BuildRequires: libpng12-devel >= 1.2
BuildRequires: libstdc++-devel
BuildRequires: libtiff-cxx-devel
BuildRequires: giflib4-devel
%patch0 -p1
%build
-./configure --prefix=%{_prefix} --without-libpng --without-php \
+./configure --prefix=%{_prefix} --without-php \
%ifarch %{x8664}
--without-lua --without-perl --without-python
%endif
%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