]>
Commit | Line | Data |
---|---|---|
66bf4c60 TP |
1 | Summary: A fast, modern and generic image processing library |
2 | Name: exact-image | |
3 | Version: 0.8.5 | |
80f6bac3 | 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 | |
8 | # Source0-md5: 54c5dc9afd86ec573e7e2e9a80f45c71 | |
9 | Patch0: %{name}-libs.patch | |
10 | URL: http://www.exactcode.de/site/open_source/exactimage/ | |
11 | BuildRequires: OpenEXR-devel >= 1.2.0 | |
12 | BuildRequires: agg-devel >= 2.3 | |
13 | BuildRequires: evas-devel >= 0.9.9 | |
14 | BuildRequires: jasper-devel | |
15 | BuildRequires: lcms-devel >= 1.10 | |
9fd9d080 | 16 | #BuildRequires: libpng12-devel >= 1.2 |
66bf4c60 TP |
17 | BuildRequires: libstdc++-devel |
18 | BuildRequires: libtiff-cxx-devel | |
19 | BuildRequires: libungif-devel | |
20 | BuildRequires: lua51-devel | |
21 | BuildRequires: perl-devel >= 5.8.0 | |
22 | BuildRequires: php-devel >= 5.2.0 | |
23 | BuildRequires: python-devel >= 2.5.0 | |
24 | BuildRequires: ruby >= 1.8.5 | |
25 | BuildRequires: swig-perl >= 1.3.32 | |
26 | BuildRequires: swig-php >= 1.3.32 | |
27 | BuildRequires: swig-python >= 1.3.32 | |
28 | BuildRequires: xorg-lib-libX11-devel >= 1.3 | |
29 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
30 | ||
31 | %description | |
32 | A fast, modern and generic (template) based C++ image processing library, | |
33 | alternative to ImageMagick. | |
34 | ||
35 | %prep | |
36 | %setup -q | |
37 | %patch0 -p1 | |
38 | ||
39 | %build | |
00432ff5 TP |
40 | ./configure --prefix=%{_prefix} --without-libpng --without-php \ |
41 | %ifarch %{x8664} | |
42 | --without-lua --without-perl --without-python | |
43 | %endif | |
43a87014 | 44 | |
66bf4c60 TP |
45 | %{__make} \ |
46 | CFLAGS="%{rpmcflags}" \ | |
47 | CXXFLAGS="%{rpmcflags}" | |
48 | ||
49 | %install | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %{__make} install \ | |
53 | DESTDIR=$RPM_BUILD_ROOT | |
54 | ||
55 | %clean | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %files | |
59 | %defattr(644,root,root,755) | |
60 | %doc README TODO | |
61 | %attr(755,root,root) %{_bindir}/* |