]> git.pld-linux.org Git - packages/enblend-enfuse.git/blame - enblend-enfuse.spec
- fix building with gcc11 c++, rel 4
[packages/enblend-enfuse.git] / enblend-enfuse.spec
CommitLineData
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 7Summary: Image blending with multiresolution splines
5e9238db 8Summary(pl.UTF-8): Łączenie zdjęć przy użyciu splajnów wielokrotnej rozdzielczości
26693f9e 9Name: enblend-enfuse
5a0561b5 10Version: 4.2
794ff10f 11Release: 4
e851aac3
JB
12License: GPL v2+
13Group: Applications/Graphics
cd9b99d2 14Source0: http://downloads.sourceforge.net/enblend/%{name}-%{version}.tar.gz
5a0561b5 15# Source0-md5: e26751f393862cecfd1a113003787001
794ff10f 16Patch0: gcc11.patch
e851aac3 17URL: http://enblend.sourceforge.net/
26693f9e 18BuildRequires: OpenEXR-devel >= 1.0
d374d747
JB
19BuildRequires: OpenGL-GLU-devel
20BuildRequires: OpenGL-glut-devel
26693f9e
JB
21BuildRequires: autoconf >= 2.59
22BuildRequires: automake
6e05608c 23BuildRequires: boost-devel >= 1.55
37779387 24%{?with_openmp:BuildRequires: gcc-c++ >= 6:4.2}
d374d747 25BuildRequires: glew-devel
6e05608c 26BuildRequires: gnuplot
d35a24fd 27BuildRequires: gsl-devel
dd442f7e 28BuildRequires: help2man
d35a24fd 29BuildRequires: lcms2-devel >= 2
37779387 30%{?with_openmp:BuildRequires: libgomp-devel}
26693f9e
JB
31BuildRequires: libjpeg-devel
32BuildRequires: libpng-devel
6e05608c
JB
33BuildRequires: libstdc++-devel >= 5:4.3
34%{?with_tcmalloc:BuildRequires: libtcmalloc-devel}
e851aac3 35BuildRequires: libtiff-devel
6e05608c
JB
36BuildRequires: perl-TimeDate
37BuildRequires: perl-base
26693f9e 38BuildRequires: pkgconfig
cd9b99d2 39BuildRequires: texinfo
4d416d35 40BuildRequires: tidy
55b7c813 41BuildRequires: transfig
d35a24fd 42BuildRequires: vigra-devel >= 1.8
26693f9e 43BuildRequires: zlib-devel
d35a24fd 44Requires: vigra >= 1.8
26693f9e
JB
45Provides: enblend = %{version}
46Obsoletes: enblend
e851aac3
JB
47BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
48
49%description
50Enblend is a tool for compositing images. Given a set of images that
51overlap in some irregular way, Enblend overlays them in such a way
52that the seam between the images is invisible, or at least very
53difficult to see. Enblend does not line up the images for you. Use a
54tool like Hugin to do that.
55
6b4327fb
JR
56%description -l pl.UTF-8
57Enblend to narzędzie do łączenia zdjęć. Po przekazaniu zbioru zdjęć
58nachodzących na siebie w jakiś nieregularny sposób Enblend nakłada je
59w taki sposób, że połączenia między zdjęciami są niewidoczne, albo
dd442f7e 60przynajmniej 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 68export 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
75rm -rf $RPM_BUILD_ROOT
76
77%{__make} install \
78 DESTDIR=$RPM_BUILD_ROOT
79
80%clean
81rm -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*
This page took 0.167145 seconds and 4 git commands to generate.