]>
Commit | Line | Data |
---|---|---|
66bf4c60 TP |
1 | Summary: A fast, modern and generic image processing library |
2 | Name: exact-image | |
ad41e958 | 3 | Version: 0.8.9 |
fcc4b361 | 4 | Release: 2 |
66bf4c60 TP |
5 | License: GPL v2 |
6 | Group: Applications/Graphics | |
7 | Source0: http://dl.exactcode.de/oss/exact-image/%{name}-%{version}.tar.bz2 | |
ad41e958 | 8 | # Source0-md5: a8694722cd7cc9aa9407950a8440f0cd |
66bf4c60 | 9 | Patch0: %{name}-libs.patch |
fcc4b361 | 10 | Patch1: exactimage_0.8.5-1.patch |
66bf4c60 TP |
11 | URL: http://www.exactcode.de/site/open_source/exactimage/ |
12 | BuildRequires: OpenEXR-devel >= 1.2.0 | |
13 | BuildRequires: agg-devel >= 2.3 | |
14 | BuildRequires: evas-devel >= 0.9.9 | |
8a83c4c7 | 15 | #BuildRequires: giflib4-devel |
66bf4c60 TP |
16 | BuildRequires: jasper-devel |
17 | BuildRequires: lcms-devel >= 1.10 | |
fcc4b361 | 18 | BuildRequires: libpng-devel >= 1.5 |
66bf4c60 TP |
19 | BuildRequires: libstdc++-devel |
20 | BuildRequires: libtiff-cxx-devel | |
66bf4c60 TP |
21 | BuildRequires: lua51-devel |
22 | BuildRequires: perl-devel >= 5.8.0 | |
23 | BuildRequires: php-devel >= 5.2.0 | |
24 | BuildRequires: python-devel >= 2.5.0 | |
25 | BuildRequires: ruby >= 1.8.5 | |
26 | BuildRequires: swig-perl >= 1.3.32 | |
27 | BuildRequires: swig-php >= 1.3.32 | |
28 | BuildRequires: swig-python >= 1.3.32 | |
29 | BuildRequires: xorg-lib-libX11-devel >= 1.3 | |
30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
31 | ||
32 | %description | |
33 | A fast, modern and generic (template) based C++ image processing library, | |
34 | alternative to ImageMagick. | |
35 | ||
36 | %prep | |
37 | %setup -q | |
38 | %patch0 -p1 | |
fcc4b361 | 39 | %patch1 -p1 |
66bf4c60 TP |
40 | |
41 | %build | |
fcc4b361 | 42 | ./configure --prefix=%{_prefix} --without-libungif --without-php \ |
00432ff5 TP |
43 | %ifarch %{x8664} |
44 | --without-lua --without-perl --without-python | |
45 | %endif | |
43a87014 | 46 | |
66bf4c60 TP |
47 | %{__make} \ |
48 | CFLAGS="%{rpmcflags}" \ | |
49 | CXXFLAGS="%{rpmcflags}" | |
50 | ||
51 | %install | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %{__make} install \ | |
55 | DESTDIR=$RPM_BUILD_ROOT | |
56 | ||
57 | %clean | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
60 | %files | |
61 | %defattr(644,root,root,755) | |
62 | %doc README TODO | |
ad41e958 TP |
63 | %attr(755,root,root) %{_bindir}/bardecode |
64 | %attr(755,root,root) %{_bindir}/e2mtiff | |
65 | %attr(755,root,root) %{_bindir}/econvert | |
66 | %attr(755,root,root) %{_bindir}/edentify | |
67 | %attr(755,root,root) %{_bindir}/edisplay | |
68 | %attr(755,root,root) %{_bindir}/empty-page | |
69 | %attr(755,root,root) %{_bindir}/hocr2pdf | |
70 | %attr(755,root,root) %{_bindir}/optimize2bw |