]> git.pld-linux.org Git - packages/exact-image.git/blob - exact-image.spec
10a7a0d1b65d308dc8a00c5dc9f597d24a7016e5
[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.5
4 Release:        4
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 Patch1:         %{name}-gcc47.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:  jasper-devel
16 BuildRequires:  lcms-devel >= 1.10
17 #BuildRequires: libpng12-devel >= 1.2
18 BuildRequires:  libstdc++-devel
19 BuildRequires:  libtiff-cxx-devel
20 BuildRequires:  libungif-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-libpng --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}/*
This page took 0.080461 seconds and 3 git commands to generate.