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: gnuplot
29 BuildRequires: lcms2-devel >= 2
30 %{?with_gomp:BuildRequires: libgomp-devel}
31 BuildRequires: libjpeg-devel
32 BuildRequires: libpng-devel
33 BuildRequires: libstdc++-devel >= 5:3.4
34 BuildRequires: libtiff-devel
35 BuildRequires: libxmi-devel
36 BuildRequires: pkgconfig
37 BuildRequires: texinfo
39 BuildRequires: transfig
40 BuildRequires: vigra-devel >= 1.8
41 BuildRequires: zlib-devel
42 Requires: vigra >= 1.8
43 Provides: enblend = %{version}
45 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
48 Enblend is a tool for compositing images. Given a set of images that
49 overlap in some irregular way, Enblend overlays them in such a way
50 that the seam between the images is invisible, or at least very
51 difficult to see. Enblend does not line up the images for you. Use a
52 tool like Hugin to do that.
54 %description -l pl.UTF-8
55 Enblend to narzędzie do łączenia zdjęć. Po przekazaniu zbioru zdjęć
56 nachodzących na siebie w jakiś nieregularny sposób Enblend nakłada je
57 w taki sposób, że połączenia między zdjęciami są niewidoczne, albo
58 przynajmniej bardzo trudne do zobaczenia. Enblend nie wyrównuje zdjęć
59 - do tego można użyć narzędzia takiego jak Hugin.
66 %{__sed} -i -e 's/src:://g;s/CFG::/CFG_/g' doc/*.texi doc/define2set.pl configure.in
74 %{?with_gomp:--enable-openmp --disable-image-cache}
78 rm -rf $RPM_BUILD_ROOT
81 DESTDIR=$RPM_BUILD_ROOT
84 rm -rf $RPM_BUILD_ROOT
86 %post -p /sbin/postshell
87 -/usr/sbin/fix-info-dir -c %{_infodir}
89 %postun -p /sbin/postshell
90 -/usr/sbin/fix-info-dir -c %{_infodir}
93 %defattr(644,root,root,755)
94 %doc AUTHORS ChangeLog NEWS README
95 %attr(755,root,root) %{_bindir}/enblend
96 %attr(755,root,root) %{_bindir}/enfuse
97 %{_mandir}/man1/enblend.1*
98 %{_mandir}/man1/enfuse.1*
99 %{_infodir}/enblend.info*
100 %{_infodir}/enfuse.info*