]> git.pld-linux.org Git - packages/exact-image.git/blob - exact-image.spec
a7bce5a1d9ff91364aedce7a1c89620231880399
[packages/exact-image.git] / exact-image.spec
1 Summary:        A fast, modern and generic image processing library
2 Name:           exact-image
3 Version:        0.8.9
4 Release:        2
5 License:        GPL v2
6 Group:          Applications/Graphics
7 Source0:        http://dl.exactcode.de/oss/exact-image/%{name}-%{version}.tar.bz2
8 # Source0-md5:  a8694722cd7cc9aa9407950a8440f0cd
9 Patch0:         %{name}-libs.patch
10 Patch1:         exactimage_0.8.5-1.patch
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
15 #BuildRequires: giflib4-devel
16 BuildRequires:  jasper-devel
17 BuildRequires:  lcms-devel >= 1.10
18 BuildRequires:  libpng-devel >= 1.5
19 BuildRequires:  libstdc++-devel
20 BuildRequires:  libtiff-cxx-devel
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
39 %patch1 -p1
40
41 %build
42 ./configure --prefix=%{_prefix} --without-libungif --without-php \
43 %ifarch %{x8664}
44         --without-lua --without-perl --without-python
45 %endif
46
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
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.037534 seconds and 2 git commands to generate.