]> git.pld-linux.org Git - packages/exact-image.git/blame - exact-image.spec
try some PNG 1.5 patch available
[packages/exact-image.git] / exact-image.spec
CommitLineData
66bf4c60
TP
1Summary: A fast, modern and generic image processing library
2Name: exact-image
ad41e958 3Version: 0.8.9
fcc4b361 4Release: 2
66bf4c60
TP
5License: GPL v2
6Group: Applications/Graphics
7Source0: http://dl.exactcode.de/oss/exact-image/%{name}-%{version}.tar.bz2
ad41e958 8# Source0-md5: a8694722cd7cc9aa9407950a8440f0cd
66bf4c60 9Patch0: %{name}-libs.patch
fcc4b361 10Patch1: exactimage_0.8.5-1.patch
66bf4c60
TP
11URL: http://www.exactcode.de/site/open_source/exactimage/
12BuildRequires: OpenEXR-devel >= 1.2.0
13BuildRequires: agg-devel >= 2.3
14BuildRequires: evas-devel >= 0.9.9
8a83c4c7 15#BuildRequires: giflib4-devel
66bf4c60
TP
16BuildRequires: jasper-devel
17BuildRequires: lcms-devel >= 1.10
fcc4b361 18BuildRequires: libpng-devel >= 1.5
66bf4c60
TP
19BuildRequires: libstdc++-devel
20BuildRequires: libtiff-cxx-devel
66bf4c60
TP
21BuildRequires: lua51-devel
22BuildRequires: perl-devel >= 5.8.0
23BuildRequires: php-devel >= 5.2.0
24BuildRequires: python-devel >= 2.5.0
25BuildRequires: ruby >= 1.8.5
26BuildRequires: swig-perl >= 1.3.32
27BuildRequires: swig-php >= 1.3.32
28BuildRequires: swig-python >= 1.3.32
29BuildRequires: xorg-lib-libX11-devel >= 1.3
30BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32%description
33A fast, modern and generic (template) based C++ image processing library,
34alternative 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
52rm -rf $RPM_BUILD_ROOT
53
54%{__make} install \
55 DESTDIR=$RPM_BUILD_ROOT
56
57%clean
58rm -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
This page took 0.041149 seconds and 4 git commands to generate.