1 # NOTE: g++ eats 700+MB of memory
4 %bcond_with gomp # OpenMP support (incompatible with image-cache)
6 Summary: Image blending with multiresolution splines
7 Summary(pl.UTF-8): Łączenie zdjęć przy użyciu splajnów wielokrotnej rozdzielczości
12 Group: Applications/Graphics
13 Source0: http://downloads.sourceforge.net/enblend/%{name}-%{version}.tar.gz
14 # Source0-md5: 5b609ddfc9fae5fadf65d29c08e0340e
15 Patch0: %{name}-info.patch
16 Patch1: %{name}-texinfo.patch
17 URL: http://enblend.sourceforge.net/
18 BuildRequires: OpenEXR-devel >= 1.0
19 BuildRequires: OpenGL-GLU-devel
20 BuildRequires: OpenGL-glut-devel
21 BuildRequires: autoconf >= 2.59
22 BuildRequires: automake
23 BuildRequires: boost-devel >= 1.35.0
24 %{?with_gomp:BuildRequires: gcc-c++ >= 6:4.2}
25 BuildRequires: glew-devel
26 BuildRequires: gsl-devel
27 BuildRequires: help2man
28 BuildRequires: lcms2-devel >= 2
29 %{?with_gomp:BuildRequires: libgomp-devel}
30 BuildRequires: libjpeg-devel
31 BuildRequires: libpng-devel
32 BuildRequires: libstdc++-devel >= 5:3.4
33 BuildRequires: libtiff-devel
34 BuildRequires: libxmi-devel
35 BuildRequires: pkgconfig
36 BuildRequires: texinfo
37 BuildRequires: transfig
38 BuildRequires: vigra-devel >= 1.8
39 BuildRequires: zlib-devel
40 Requires: vigra >= 1.8
41 Provides: enblend = %{version}
43 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
46 Enblend is a tool for compositing images. Given a set of images that
47 overlap in some irregular way, Enblend overlays them in such a way
48 that the seam between the images is invisible, or at least very
49 difficult to see. Enblend does not line up the images for you. Use a
50 tool like Hugin to do that.
52 %description -l pl.UTF-8
53 Enblend to narzędzie do łączenia zdjęć. Po przekazaniu zbioru zdjęć
54 nachodzących na siebie w jakiś nieregularny sposób Enblend nakłada je
55 w taki sposób, że połączenia między zdjęciami są niewidoczne, albo
56 przynajmniej bardzo trudne do zobaczenia. Enblend nie wyrównuje zdjęć
57 - do tego można użyć narzędzia takiego jak Hugin.
64 %{__sed} -i -e 's/src:://g;s/CFG::/CFG_/g' doc/*.texi doc/define2set.pl configure.in
72 %{?with_gomp:--enable-openmp --disable-image-cache}
76 rm -rf $RPM_BUILD_ROOT
79 DESTDIR=$RPM_BUILD_ROOT
82 rm -rf $RPM_BUILD_ROOT
84 %post -p /sbin/postshell
85 -/usr/sbin/fix-info-dir -c %{_infodir}
87 %postun -p /sbin/postshell
88 -/usr/sbin/fix-info-dir -c %{_infodir}
91 %defattr(644,root,root,755)
92 %doc AUTHORS ChangeLog NEWS README
93 %attr(755,root,root) %{_bindir}/enblend
94 %attr(755,root,root) %{_bindir}/enfuse
95 %{_mandir}/man1/enblend.1*
96 %{_mandir}/man1/enfuse.1*
97 %{_infodir}/enblend.info*
98 %{_infodir}/enfuse.info*