Summary: Image Blending with Multiresolution Splines
Name: enblend
Version: 3.0
Release: 4%{?dist}
License: GPL
Group: Applications/Multimedia
Source: http://prdownloads.sourceforge.net/enblend/%{name}-%{version}.tar.gz
Patch0: enblend-without-glew.patch
URL: http://enblend.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libtiff-devel boost-devel lcms-devel plotutils-devel
BuildRequires: freeglut-devel
%description
Enblend is a tool for compositing images. Given a set of images that overlap in
some irregular way, Enblend overlays them in such a way that the seam between
the images is invisible, or at least very difficult to see. Enblend does not
line up the images for you. Use a tool like Hugin to do that.
%prep
%setup -q
%patch0 -p0
%build
# one line fix for 64bit build
sed -i 's/kMax, stateProbabilities/kMax, (unsigned int)stateProbabilities/' src/anneal.h
%configure --disable-static
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
%clean
rm -rf %{buildroot}
%files
%defattr(-, root, root)
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README TODO VIGRA_LICENSE
%{_bindir}/enblend
%{_mandir}/man1/enblend.1.gz
%changelog
* Tue Mar 20 2007 Bruno Postle <bruno@postle.net> 3.0-4
- patch to build without glew library
* Sat Jan 28 2007 Bruno Postle <bruno@postle.net>
- 3.0 release
* Tue Dec 13 2005 Bruno Postle <bruno@postle.net>
- 2.5 release
* Tue Dec 06 2005 Bruno Postle <bruno@postle.net>
- 2.4 release
* Mon Apr 18 2005 Bruno Postle <bruno@postle.net>
- 2.3 release
* Mon Nov 15 2004 Bruno Postle <bruno@postle.net>
- 2.1 release
* Mon Oct 18 2004 Bruno Postle <bruno@postle.net>
- 2.0 release
* Wed Oct 13 2004 Bruno Postle <bruno@postle.net>
- new build for fedora fc2
* Tue Jun 22 2004 Bruno Postle <bruno@postle.net>
- found tarball of enblend-1.3 and updated to that
* Tue Jun 22 2004 Bruno Postle <bruno@postle.net>
- added patch for reading nona multi-layer tiff files
* Tue Apr 27 2004 Bruno Postle <bruno@postle.net>
- update to latest version
* Sat Apr 03 2004 Bruno Postle <bruno@postle.net>
- update to latest version
* Tue Mar 09 2004 Bruno Postle <bruno@postle.net>
- initial RPM