]> git.pld-linux.org Git - packages/exact-image.git/blob - exact-image.spec
b7a1320ff379a41225c15afbfa32f3e1c24a7d31
[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.8
4 Release:        1
5 License:        GPL v2
6 Group:          Applications/Graphics
7 Source0:        http://dl.exactcode.de/oss/exact-image/%{name}-%{version}.tar.bz2
8 # Source0-md5:  a25c8cebc1f34bb90794606c5e8aad5e
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
16 #BuildRequires: libpng12-devel >= 1.2
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
40 ./configure --prefix=%{_prefix} --without-libpng --without-php \
41 %ifarch %{x8664}
42         --without-lua --without-perl --without-python
43 %endif
44
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}/*
This page took 0.037147 seconds and 2 git commands to generate.