]>
Commit | Line | Data |
---|---|---|
d35a24fd JB |
1 | # NOTE: g++ eats 700+MB of memory |
2 | # | |
3 | # Conditional build: | |
4 | %bcond_with gomp # OpenMP support (incompatible with image-cache) | |
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 |
94891f9d | 9 | Version: 4.1.2 |
4a5128f1 | 10 | Release: 13 |
e851aac3 JB |
11 | License: GPL v2+ |
12 | Group: Applications/Graphics | |
cd9b99d2 | 13 | Source0: http://downloads.sourceforge.net/enblend/%{name}-%{version}.tar.gz |
94891f9d | 14 | # Source0-md5: 5b609ddfc9fae5fadf65d29c08e0340e |
7ede00a3 | 15 | Patch0: %{name}-info.patch |
6abb79cd | 16 | Patch1: %{name}-texinfo.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 | |
bdf772bb | 23 | BuildRequires: boost-devel >= 1.35.0 |
d35a24fd | 24 | %{?with_gomp:BuildRequires: gcc-c++ >= 6:4.2} |
d374d747 | 25 | BuildRequires: glew-devel |
d35a24fd | 26 | BuildRequires: gsl-devel |
dd442f7e | 27 | BuildRequires: help2man |
ce603cc4 | 28 | BuildRequires: gnuplot |
d35a24fd JB |
29 | BuildRequires: lcms2-devel >= 2 |
30 | %{?with_gomp:BuildRequires: libgomp-devel} | |
26693f9e JB |
31 | BuildRequires: libjpeg-devel |
32 | BuildRequires: libpng-devel | |
566d193e | 33 | BuildRequires: libstdc++-devel >= 5:3.4 |
e851aac3 | 34 | BuildRequires: libtiff-devel |
d374d747 | 35 | BuildRequires: libxmi-devel |
26693f9e | 36 | BuildRequires: pkgconfig |
cd9b99d2 | 37 | BuildRequires: texinfo |
4d416d35 | 38 | BuildRequires: tidy |
55b7c813 | 39 | BuildRequires: transfig |
d35a24fd | 40 | BuildRequires: vigra-devel >= 1.8 |
26693f9e | 41 | BuildRequires: zlib-devel |
d35a24fd | 42 | Requires: vigra >= 1.8 |
26693f9e JB |
43 | Provides: enblend = %{version} |
44 | Obsoletes: enblend | |
e851aac3 JB |
45 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
46 | ||
47 | %description | |
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. | |
53 | ||
6b4327fb JR |
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 | |
dd442f7e | 58 | przynajmniej bardzo trudne do zobaczenia. Enblend nie wyrównuje zdjęć |
59 | - do tego można użyć narzędzia takiego jak Hugin. | |
e851aac3 JB |
60 | |
61 | %prep | |
7ede00a3 | 62 | %setup -q |
48c57080 | 63 | %patch0 -p1 |
6abb79cd JB |
64 | %patch1 -p1 |
65 | ||
66 | %{__sed} -i -e 's/src:://g;s/CFG::/CFG_/g' doc/*.texi doc/define2set.pl configure.in | |
e851aac3 JB |
67 | |
68 | %build | |
afe4cda3 | 69 | %{__aclocal} -I m4 |
70 | %{__autoheader} | |
71 | %{__automake} | |
72 | %{__autoconf} | |
d35a24fd JB |
73 | %configure \ |
74 | %{?with_gomp:--enable-openmp --disable-image-cache} | |
e851aac3 JB |
75 | %{__make} |
76 | ||
77 | %install | |
78 | rm -rf $RPM_BUILD_ROOT | |
79 | ||
80 | %{__make} install \ | |
81 | DESTDIR=$RPM_BUILD_ROOT | |
82 | ||
83 | %clean | |
84 | rm -rf $RPM_BUILD_ROOT | |
85 | ||
cd9b99d2 JB |
86 | %post -p /sbin/postshell |
87 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
88 | ||
89 | %postun -p /sbin/postshell | |
90 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
91 | ||
e851aac3 JB |
92 | %files |
93 | %defattr(644,root,root,755) | |
7ede00a3 | 94 | %doc AUTHORS ChangeLog NEWS README |
e851aac3 | 95 | %attr(755,root,root) %{_bindir}/enblend |
afe4cda3 | 96 | %attr(755,root,root) %{_bindir}/enfuse |
e851aac3 | 97 | %{_mandir}/man1/enblend.1* |
afe4cda3 | 98 | %{_mandir}/man1/enfuse.1* |
cd9b99d2 JB |
99 | %{_infodir}/enblend.info* |
100 | %{_infodir}/enfuse.info* |