]>
Commit | Line | Data |
---|---|---|
d35a24fd JB |
1 | # NOTE: g++ eats 700+MB of memory |
2 | # | |
3 | # Conditional build: | |
6e05608c JB |
4 | %bcond_with openmp # OpenMP support (incompatible with image-cache) |
5 | %bcond_without tcmalloc # use of Google TCMalloc library | |
d35a24fd | 6 | # |
e851aac3 | 7 | Summary: Image blending with multiresolution splines |
5e9238db | 8 | Summary(pl.UTF-8): Łączenie zdjęć przy użyciu splajnów wielokrotnej rozdzielczości |
26693f9e | 9 | Name: enblend-enfuse |
5a0561b5 | 10 | Version: 4.2 |
794ff10f | 11 | Release: 4 |
e851aac3 JB |
12 | License: GPL v2+ |
13 | Group: Applications/Graphics | |
cd9b99d2 | 14 | Source0: http://downloads.sourceforge.net/enblend/%{name}-%{version}.tar.gz |
5a0561b5 | 15 | # Source0-md5: e26751f393862cecfd1a113003787001 |
794ff10f | 16 | Patch0: gcc11.patch |
e851aac3 | 17 | URL: http://enblend.sourceforge.net/ |
26693f9e | 18 | BuildRequires: OpenEXR-devel >= 1.0 |
d374d747 JB |
19 | BuildRequires: OpenGL-GLU-devel |
20 | BuildRequires: OpenGL-glut-devel | |
26693f9e JB |
21 | BuildRequires: autoconf >= 2.59 |
22 | BuildRequires: automake | |
6e05608c | 23 | BuildRequires: boost-devel >= 1.55 |
37779387 | 24 | %{?with_openmp:BuildRequires: gcc-c++ >= 6:4.2} |
d374d747 | 25 | BuildRequires: glew-devel |
6e05608c | 26 | BuildRequires: gnuplot |
d35a24fd | 27 | BuildRequires: gsl-devel |
dd442f7e | 28 | BuildRequires: help2man |
d35a24fd | 29 | BuildRequires: lcms2-devel >= 2 |
37779387 | 30 | %{?with_openmp:BuildRequires: libgomp-devel} |
26693f9e JB |
31 | BuildRequires: libjpeg-devel |
32 | BuildRequires: libpng-devel | |
6e05608c JB |
33 | BuildRequires: libstdc++-devel >= 5:4.3 |
34 | %{?with_tcmalloc:BuildRequires: libtcmalloc-devel} | |
e851aac3 | 35 | BuildRequires: libtiff-devel |
6e05608c JB |
36 | BuildRequires: perl-TimeDate |
37 | BuildRequires: perl-base | |
26693f9e | 38 | BuildRequires: pkgconfig |
cd9b99d2 | 39 | BuildRequires: texinfo |
4d416d35 | 40 | BuildRequires: tidy |
55b7c813 | 41 | BuildRequires: transfig |
d35a24fd | 42 | BuildRequires: vigra-devel >= 1.8 |
26693f9e | 43 | BuildRequires: zlib-devel |
d35a24fd | 44 | Requires: vigra >= 1.8 |
26693f9e JB |
45 | Provides: enblend = %{version} |
46 | Obsoletes: enblend | |
e851aac3 JB |
47 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
48 | ||
49 | %description | |
50 | Enblend is a tool for compositing images. Given a set of images that | |
51 | overlap in some irregular way, Enblend overlays them in such a way | |
52 | that the seam between the images is invisible, or at least very | |
53 | difficult to see. Enblend does not line up the images for you. Use a | |
54 | tool like Hugin to do that. | |
55 | ||
6b4327fb JR |
56 | %description -l pl.UTF-8 |
57 | Enblend to narzędzie do łączenia zdjęć. Po przekazaniu zbioru zdjęć | |
58 | nachodzących na siebie w jakiś nieregularny sposób Enblend nakłada je | |
59 | w taki sposób, że połączenia między zdjęciami są niewidoczne, albo | |
dd442f7e | 60 | przynajmniej bardzo trudne do zobaczenia. Enblend nie wyrównuje zdjęć |
61 | - do tego można użyć narzędzia takiego jak Hugin. | |
e851aac3 JB |
62 | |
63 | %prep | |
7ede00a3 | 64 | %setup -q |
794ff10f | 65 | %patch0 -p1 |
e851aac3 JB |
66 | |
67 | %build | |
794ff10f | 68 | export CXXFLAGS="%{rpmcxxflags} -std=gnu++14" |
d35a24fd | 69 | %configure \ |
37779387 | 70 | %{?with_openmp:--enable-openmp --disable-image-cache} |
6e05608c | 71 | %{!?with_tcmalloc:--without-tcmalloc} |
e851aac3 JB |
72 | %{__make} |
73 | ||
74 | %install | |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | ||
77 | %{__make} install \ | |
78 | DESTDIR=$RPM_BUILD_ROOT | |
79 | ||
80 | %clean | |
81 | rm -rf $RPM_BUILD_ROOT | |
82 | ||
cd9b99d2 JB |
83 | %post -p /sbin/postshell |
84 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
85 | ||
86 | %postun -p /sbin/postshell | |
87 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
88 | ||
e851aac3 JB |
89 | %files |
90 | %defattr(644,root,root,755) | |
7ede00a3 | 91 | %doc AUTHORS ChangeLog NEWS README |
e851aac3 | 92 | %attr(755,root,root) %{_bindir}/enblend |
afe4cda3 | 93 | %attr(755,root,root) %{_bindir}/enfuse |
e851aac3 | 94 | %{_mandir}/man1/enblend.1* |
afe4cda3 | 95 | %{_mandir}/man1/enfuse.1* |