]> git.pld-linux.org Git - packages/exact-image.git/blob - exact-image.spec
- no libpng12 in Th, disable support
[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:        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:  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
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
41 %{__make} \
42         CFLAGS="%{rpmcflags}" \
43         CXXFLAGS="%{rpmcflags}"
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 %{__make} install \
49         DESTDIR=$RPM_BUILD_ROOT
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc README TODO
57 %attr(755,root,root) %{_bindir}/*
This page took 0.0971919999999999 seconds and 4 git commands to generate.