]>
Commit | Line | Data |
---|---|---|
d35a24fd JB |
1 | # NOTE: g++ eats 700+MB of memory |
2 | # | |
3 | # Conditional build: | |
37779387 | 4 | %bcond_with openmp # OpenMP support (incompatible with image-cache) |
d35a24fd | 5 | # |
e851aac3 | 6 | Summary: Image blending with multiresolution splines |
5e9238db | 7 | Summary(pl.UTF-8): Łączenie zdjęć przy użyciu splajnów wielokrotnej rozdzielczości |
26693f9e | 8 | Name: enblend-enfuse |
5a0561b5 JR |
9 | Version: 4.2 |
10 | Release: 1 | |
e851aac3 JB |
11 | License: GPL v2+ |
12 | Group: Applications/Graphics | |
cd9b99d2 | 13 | Source0: http://downloads.sourceforge.net/enblend/%{name}-%{version}.tar.gz |
5a0561b5 | 14 | # Source0-md5: e26751f393862cecfd1a113003787001 |
e851aac3 | 15 | URL: http://enblend.sourceforge.net/ |
26693f9e | 16 | BuildRequires: OpenEXR-devel >= 1.0 |
d374d747 JB |
17 | BuildRequires: OpenGL-GLU-devel |
18 | BuildRequires: OpenGL-glut-devel | |
26693f9e JB |
19 | BuildRequires: autoconf >= 2.59 |
20 | BuildRequires: automake | |
bdf772bb | 21 | BuildRequires: boost-devel >= 1.35.0 |
37779387 | 22 | %{?with_openmp:BuildRequires: gcc-c++ >= 6:4.2} |
d374d747 | 23 | BuildRequires: glew-devel |
d35a24fd | 24 | BuildRequires: gsl-devel |
dd442f7e | 25 | BuildRequires: help2man |
ce603cc4 | 26 | BuildRequires: gnuplot |
d35a24fd | 27 | BuildRequires: lcms2-devel >= 2 |
37779387 | 28 | %{?with_openmp:BuildRequires: libgomp-devel} |
26693f9e JB |
29 | BuildRequires: libjpeg-devel |
30 | BuildRequires: libpng-devel | |
566d193e | 31 | BuildRequires: libstdc++-devel >= 5:3.4 |
e851aac3 | 32 | BuildRequires: libtiff-devel |
d374d747 | 33 | BuildRequires: libxmi-devel |
26693f9e | 34 | BuildRequires: pkgconfig |
cd9b99d2 | 35 | BuildRequires: texinfo |
4d416d35 | 36 | BuildRequires: tidy |
55b7c813 | 37 | BuildRequires: transfig |
d35a24fd | 38 | BuildRequires: vigra-devel >= 1.8 |
26693f9e | 39 | BuildRequires: zlib-devel |
d35a24fd | 40 | Requires: vigra >= 1.8 |
26693f9e JB |
41 | Provides: enblend = %{version} |
42 | Obsoletes: enblend | |
e851aac3 JB |
43 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
44 | ||
45 | %description | |
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. | |
51 | ||
6b4327fb JR |
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 | |
dd442f7e | 56 | przynajmniej bardzo trudne do zobaczenia. Enblend nie wyrównuje zdjęć |
57 | - do tego można użyć narzędzia takiego jak Hugin. | |
e851aac3 JB |
58 | |
59 | %prep | |
7ede00a3 | 60 | %setup -q |
e851aac3 JB |
61 | |
62 | %build | |
d35a24fd | 63 | %configure \ |
37779387 | 64 | %{?with_openmp:--enable-openmp --disable-image-cache} |
e851aac3 JB |
65 | %{__make} |
66 | ||
67 | %install | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
70 | %{__make} install \ | |
71 | DESTDIR=$RPM_BUILD_ROOT | |
72 | ||
73 | %clean | |
74 | rm -rf $RPM_BUILD_ROOT | |
75 | ||
cd9b99d2 JB |
76 | %post -p /sbin/postshell |
77 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
78 | ||
79 | %postun -p /sbin/postshell | |
80 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
81 | ||
e851aac3 JB |
82 | %files |
83 | %defattr(644,root,root,755) | |
7ede00a3 | 84 | %doc AUTHORS ChangeLog NEWS README |
e851aac3 | 85 | %attr(755,root,root) %{_bindir}/enblend |
afe4cda3 | 86 | %attr(755,root,root) %{_bindir}/enfuse |
e851aac3 | 87 | %{_mandir}/man1/enblend.1* |
afe4cda3 | 88 | %{_mandir}/man1/enfuse.1* |