enblend-enfuse/enblend-enfuse.spec

137 lines
3.9 KiB
RPMSpec
Raw Normal View History

Name: enblend-enfuse
Version: 4.1.5
Release: 1mamba
Summary: Image Blending with Multiresolution Splines
Group: Applications/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
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
License: GPL
Provides: enblend = %{version}
Requires(post):%{__install_info}
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libGL-devel
BuildRequires: libGLU-devel
BuildRequires: libICE-devel
BuildRequires: libSM-devel
BuildRequires: libXi-devel
BuildRequires: libXmu-devel
BuildRequires: libboost-devel
BuildRequires: libfreeglut-devel
BuildRequires: libgcc
BuildRequires: libglew-devel
BuildRequires: libgsl-devel
BuildRequires: libilmbase-devel
BuildRequires: libjpeg-devel
BuildRequires: liblcms2-devel
BuildRequires: libopenexr-devel
BuildRequires: libpng-devel
BuildRequires: libstdc++6-devel
BuildRequires: libtiff-devel
BuildRequires: libvigra-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: libvigra-devel >= 1.10.0-1mamba
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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.
%prep
%setup -q -n %{name}-%{version}
#%patch1 -p0
#%patch2 -p1
#%patch3 -p0
#%patch5 -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
# --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
%ifarch arm
%{_infodir}/enblend.info.*
%{_infodir}/enfuse.info.*
%endif
%{_mandir}/man1/enblend.*
%{_mandir}/man1/enfuse.*
%doc AUTHORS COPYING
#ChangeLog NEWS README README.txt
%changelog
* 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