enblend-enfuse/enblend-enfuse.spec

135 lines
3.9 KiB
RPMSpec

Name: enblend-enfuse
Version: 4.2
Release: 2mamba
Summary: Image Blending with Multiresolution Splines
Group: Applications/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://enblend.sourceforge.net/
Source: http://downloads.sourceforge.net/enblend/enblend-enfuse-%{version}.tar.gz
Patch1: enblend-enfuse-4.0-libpng-1.5.patch
Patch2: enblend-enfuse-4.0-boost-1.46.1.patch
Patch3: enblend-enfuse-4.0-boost-1.50.patch
Patch4: enblend-enfuse-4.1.1-texinfo-5.patch
Patch5: enblend-enfuse-4.1.1-texinfo-5.1.patch
Patch6: enblend-enfuse-4.2-gcc-11.1.0.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libgomp-devel
BuildRequires: libgperftools-devel
BuildRequires: libgsl-devel
BuildRequires: liblcms2-devel
BuildRequires: libopenexr-devel
BuildRequires: libstdc++6-devel
BuildRequires: libtiff-devel
BuildRequires: libvigra-devel
## AUTOBUILDREQ-END
BuildRequires: libvigra-devel >= 1.11.1-2mamba
Provides: enblend = %{version}
Requires(post):%{__install_info}
%description
Enblend blends away the seams in a panoramic image mosaic using a multi-resolution spline.
Enfuse merges different exposures of the same scene to produce an image that looks much like a tone-mapped image.
%debug_package
%prep
%setup -q -n %{name}-%{version}
#%patch1 -p0
#%patch2 -p1
#%patch3 -p0
#%patch5 -p1
%patch6 -p1
#sed -i -e 's/src:://g;s/CFG::/CFG_/g' doc/*.texi doc/define2set.pl configure.in
%build
#autoreconf -f -i
%configure \
--disable-static \
--with-boost-filesystem \
--with-tcmalloc \
--enable-opencl \
--enable-openmp \
CXXFLAGS="%{optflags} -std=gnu++14"
# --enable-openmp
# Workaround: texinfo 5.1 fails to make info pages
(cd doc && make pdf MAKEINFO=/bin/true || true)
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
%ifarch arm
install_info enblend.info
install_info enfuse.info
%endif
exit 0
%preun
%ifarch arm
%uninstall_info enblend.info
%uninstall_info enfuse.info
%endif
exit 0
%files
%defattr(-,root,root)
%{_bindir}/enblend
%{_bindir}/enfuse
%{_mandir}/man1/enblend.*
%{_mandir}/man1/enfuse.*
%doc AUTHORS COPYING
#ChangeLog NEWS README README.txt
%changelog
* Sun Jun 27 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.2-2mamba
- rebuilt by autoport with build requirements: libvigra-devel>=1.11.1-2mamba
* Sat Apr 02 2016 Automatic Build System <autodist@mambasoft.it> 4.2-1mamba
- automatic version update by autodist
* Tue Mar 29 2016 Automatic Build System <autodist@mambasoft.it> 4.1.5-1mamba
- automatic version update by autodist
* Sun Dec 13 2015 Automatic Build System <autodist@mambasoft.it> 4.1.4-1mamba
- automatic version update by autodist
* Sun Mar 22 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 4.1.3-2mamba
- rebuilt by autoport with build requirements: libvigra-devel>=1.10.0-1mamba
* Thu Dec 11 2014 Automatic Build System <autodist@mambasoft.it> 4.1.3-1mamba
- automatic version update by autodist
* Mon Mar 31 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 4.1.1-2mamba
- rebuilt with openexr 2.1.0
* Wed Dec 25 2013 Automatic Build System <autodist@mambasoft.it> 4.1.1-1mamba
- automatic version update by autodist
* Sat Dec 15 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0-5mamba
- libboost 1.52 mass rebuild
* Wed Sep 19 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0-4mamba
- rebuild with libpng 1.5 (added patch)
* Wed Dec 15 2010 Automatic Build System <autodist@mambasoft.it> 4.0-3mamba
- automatic rebuild by autodist
* Sun Jun 13 2010 Automatic Build System <autodist@mambasoft.it> 4.0-2mamba
- automatic rebuild by autodist
* Sun Mar 07 2010 Davide Madrisan <davide.madrisan@gmail.com> 4.0-1mamba
- package created by autospec