Rex Dieter 460b020
Rex Dieter 460b020
# re-enable pdf doc generation when/if ghostscript/texi2pdf is fixed,
Rex Dieter 460b020
# https://bugzilla.redhat.com/921706
Rex Dieter 1b6513d
# else, use pregenerated docs
Rex Dieter 460b020
%if 0%{?fedora} < 19
Rex Dieter 460b020
%define doc 1
Rex Dieter 460b020
%endif
Rex Dieter 460b020
78f43b9
Summary: Image Blending with Multiresolution Splines
78f43b9
Name: enblend
Bruno Postle db9e45d
Version: 4.1.3
Bruno Postle db9e45d
Release: 1%{?dist}
9819d31
License: GPLv2+
78f43b9
Group: Applications/Multimedia
Rex Dieter 1b6513d
Source0: http://downloads.sourceforge.net/enblend/enblend-enfuse-%{version}.tar.gz
78f43b9
URL: http://enblend.sourceforge.net/
78f43b9
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
48e1c2f
BuildRequires: libtiff-devel boost-devel lcms2-devel plotutils-devel
c873fec
BuildRequires: freeglut-devel glew-devel libjpeg-devel libpng-devel OpenEXR-devel
48e1c2f
BuildRequires: libXmu-devel libXi-devel
48e1c2f
BuildRequires: vigra-devel >= 1.9.0
Rex Dieter e460b0b
BuildRequires: gsl-devel
Rex Dieter e460b0b
%if 0%{?doc}
Rex Dieter e460b0b
BuildRequires: transfig gnuplot tidy texinfo
Rex Dieter e460b0b
BuildRequires: help2man ImageMagick texinfo-tex
Rex Dieter 1cb4748
%if 0%{?fedora} >= 17
48e1c2f
BuildRequires: texlive-latex-fonts texlive-thumbpdf
09c9345
%endif
Rex Dieter e460b0b
%endif
09c9345
Rex Dieter 1b6513d
# pregenerated info/pdf docs
f33a41f
Source1: enblend-enfuse-doc-4.1.2.tar.gz
Rex Dieter 1cb4748
3896717
Requires(post): info
3896717
Requires(preun): info
78f43b9
78f43b9
%description
09c9345
Enblend is a tool for compositing images, given a set of images that overlap in
78f43b9
some irregular way, Enblend overlays them in such a way that the seam between
09c9345
the images is invisible, or at least very difficult to see.  Enfuse combines
09c9345
multiple images of the same subject into a single image with good exposure and
09c9345
good focus.  Enblend and Enfuse do not line up the images for you, use a tool
09c9345
like Hugin to do that.
78f43b9
48e1c2f
%package doc
48e1c2f
Summary: Usage Documentation for enblend and enfuse
48e1c2f
Group: Documentation
48e1c2f
48e1c2f
%description doc
48e1c2f
PDF usage documentation for the enblend and enfuse command line tools
48e1c2f
78f43b9
%prep
Rex Dieter 1b6513d
%setup -q -n enblend-enfuse-%{version} %{!?doc:-a 1}
78f43b9
78f43b9
%build
48e1c2f
%configure --with-boost-filesystem
Rex Dieter 1cb4748
Rex Dieter e460b0b
make %{?_smp_mflags}
Rex Dieter 3a0bf0d
Rex Dieter 460b020
%if 0%{?doc}
Rex Dieter 1b6513d
(cd doc && make pdf )
Rex Dieter 460b020
%endif
Rex Dieter 1cb4748
78f43b9
78f43b9
%install
78f43b9
rm -rf %{buildroot}
Rex Dieter e460b0b
make install DESTDIR=%{buildroot}
Rex Dieter e460b0b
Rex Dieter e460b0b
%if 0%{?doc}
33bcab9
rm -f %{buildroot}%{_infodir}/dir
Rex Dieter e460b0b
%else
Rex Dieter e460b0b
install -m644 -p -D doc/enblend.info %{buildroot}%{_infodir}/enblend.info
Rex Dieter e460b0b
install -m644 -p -D doc/enfuse.info %{buildroot}%{_infodir}/enfuse.info
Rex Dieter e460b0b
%endif
78f43b9
78f43b9
%clean
78f43b9
rm -rf %{buildroot}
78f43b9
3896717
%post
3896717
/sbin/install-info %{_infodir}/enblend.info %{_infodir}/dir || :
3896717
/sbin/install-info %{_infodir}/enfuse.info %{_infodir}/dir || :
3896717
3896717
%preun
3896717
if [ $1 = 0 ] ; then
3896717
  /sbin/install-info --delete %{_infodir}/enblend.info %{_infodir}/dir || :
3896717
  /sbin/install-info --delete %{_infodir}/enfuse.info %{_infodir}/dir || :
3896717
fi
3896717
78f43b9
%files
78f43b9
%defattr(-, root, root)
09c9345
b45f731
%doc AUTHORS COPYING NEWS README
09c9345
78f43b9
%{_bindir}/enblend
a222c16
%{_bindir}/enfuse
09c9345
%{_mandir}/man1/*
09c9345
%{_infodir}/enblend.*
09c9345
%{_infodir}/enfuse.*
09c9345
48e1c2f
%files doc
48e1c2f
%defattr(-,root,root,-)
48e1c2f
%doc COPYING doc/enblend.pdf doc/enfuse.pdf
78f43b9
78f43b9
%changelog
Bruno Postle db9e45d
* Wed Oct 22 2014 Bruno Postle <bruno@postle.net> - 4.1.3-1
Bruno Postle db9e45d
- stable bugfix release
Bruno Postle db9e45d
081b96a
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.2-7
081b96a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
081b96a
2c0eb76
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.2-6
2c0eb76
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2c0eb76
0d05eb4
* Fri May 23 2014 David Tardon <dtardon@redhat.com> - 4.1.2-5
0d05eb4
- rebuild for boost 1.55.0
0d05eb4
Rex Dieter 977f895
* Mon Dec 30 2013 Rex Dieter <rdieter@fedoraproject.org> 4.1.2-4
Rex Dieter 977f895
- rebuild (vigra)
Rex Dieter 977f895
Rex Dieter 8bdc37f
* Wed Nov 27 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.1.2-3
Rex Dieter 8bdc37f
- rebuild (openexr)
Rex Dieter 8bdc37f
f534396
* Mon Nov 18 2013 Dave Airlie <airlied@redhat.com> - 4.1.2-2
f534396
- rebuilt for GLEW 1.10
f534396
f33a41f
* Mon Oct 07 2013 Bruno Postle - 4.1.2-1
f33a41f
- stable release
f33a41f
dd2400c
* Sat Sep 14 2013 Bruno Wolff III <bruno@wolff.to> - 4.1.1-6
dd2400c
- Rebuild for ilmbase related soname bumps
dd2400c
89c8b8b
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.1-5
89c8b8b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
89c8b8b
Petr Machata f911b60
* Sun Jul 28 2013 Petr Machata <pmachata@redhat.com> - 4.1.1-4
Petr Machata f911b60
- Rebuild for boost 1.54.0
Petr Machata f911b60
Rex Dieter d2cbe2e
* Mon Mar 11 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.1.1-3
Rex Dieter ba633a4
- avoid/fix pitfalls associated with texinfo-5.x (#919935)
Rex Dieter d2cbe2e
Rex Dieter e10c719
* Sun Mar 10 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.1.1-2
Rex Dieter e10c719
- rebuild (OpenEXR)
Rex Dieter e10c719
b45f731
* Fri Feb 15 2013 Bruno Postle - 4.1.1-1
b45f731
- stable release
b45f731
07da7dc
* Sun Feb 10 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 4.1-3
07da7dc
- Rebuild for Boost-1.53.0
07da7dc
ac52c62
* Sat Feb 09 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 4.1-2
ac52c62
- Rebuild for Boost-1.53.0
ac52c62
48e1c2f
* Sun Jan 20 2013 Bruno Postle <bruno@postle.net> - 4.1-1
48e1c2f
- Upstream release
48e1c2f
- No longer provides bundled(vigra)
48e1c2f
- New enblend-doc sub package containing pdf documentation
48e1c2f
Adam Tkac d0e6a10
* Fri Jan 18 2013 Adam Tkac <atkac redhat com> - 4.0-17
Adam Tkac d0e6a10
- rebuild due to "jpeg8-ABI" feature drop
Adam Tkac d0e6a10
76193b5
* Thu Dec 13 2012 Adam Jackson <ajax@redhat.com> - 4.0-16
76193b5
- Rebuild for glew 1.9.0
76193b5
804217f
* Tue Nov 13 2012 Dan HorĂ¡k <dan[at]danny.cz> - 4.0-15
804217f
- fix FTBFS due new boost
804217f
0d279b8
* Wed Aug 01 2012 Adam Jackson <ajax@redhat.com> - 4.0-14
0d279b8
- -Rebuild for new glew
0d279b8
4a712b3
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0-13
4a712b3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
4a712b3
2f9a727
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0-12
2f9a727
- Rebuilt for c++ ABI breakage
2f9a727
d91de50
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0-11
d91de50
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
d91de50
b1e7dfc
* Wed Dec 07 2011 Bruno Postle <bruno@postle.net> - 4.0-10
b1e7dfc
- patch to build with new libpng
b1e7dfc
0dca5c2
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 4.0-9
0dca5c2
- Rebuild for new libpng
0dca5c2
13109db
* Mon Jun 20 2011 ajax@redhat.com - 4.0-8
13109db
- Rebuild for new glew soname
13109db
dee5ee1
* Fri Jun 17 2011 Bruno Postle <bruno@postle.net> - 4.0-7
dee5ee1
- workaround vigra bug where arithmetic coded JPEG is always created with libjpeg-turbo
dee5ee1
7c9b978
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0-6
7c9b978
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
7c9b978
6af78a5
* Wed Aug 04 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 4.0-5
6af78a5
- rebuild for new boost
6af78a5
f2cc0b5
* Sat Feb 06 2010 Bruno Postle <bruno@postle.net> - 4.0-4
f2cc0b5
- add missing texinfo buildrequires
f2cc0b5
6c4cf53
* Fri Feb 05 2010 Bruno Postle <bruno@postle.net> - 4.0-3
09c9345
- Fixes for push to fedora
09c9345
a5f5cd2
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2-4
a5f5cd2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
a5f5cd2
cab3c56
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2-3
cab3c56
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
cab3c56
3896717
33bcab9
* Wed Oct 08 2008 Bruno Postle <bruno@postle.net> - 3.2-2
33bcab9
- don't package /usr/share/info/dir
33bcab9
3896717
* Tue Sep 23 2008 Bruno Postle <bruno@postle.net> - 3.2-1
3896717
- upstream release
3896717
c873fec
* Thu Jun 5 2008 Bruno Postle <bruno@postle.net> - 3.1-0.5.20080529cvs
c873fec
- Add OpenEXR-devel build dependency
c873fec
c873fec
* Thu May 1 2008 Bruno Postle <bruno@postle.net> - 3.1-0.4.20080529cvs
c873fec
- CVS snapshot with GCC 4.3 upstream fix
c873fec
95b37d1
* Mon Apr 7 2008 Jef Spaleta <jspaleta AT fedoraproject Dot org> - 3.1-0.3.20080216cvs
95b37d1
- Patching for GCC 4.3
95b37d1
3c2f835
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.1-0.2.20080216cvs
3c2f835
- Autorebuild for GCC 4.3
3c2f835
fc796e1
* Sat Feb 16 2008 Bruno Postle <bruno@postle.net> 3.1-0.1.20090216cvs
fc796e1
  - CVS snapshot, 3.1 beta, tarball name change
fc796e1
a222c16
* Mon Jan 21 2008 Bruno Postle <bruno@postle.net> 3.1-0.1.20090106cvs
a222c16
  - CVS snapshot, 3.1 beta, switch to fedora cvs naming
a222c16
a222c16
* Sun Jan 06 2008 Bruno Postle <bruno@postle.net> 3.1-0cvs20090106
a222c16
  - CVS snapshot, 3.1 beta
a222c16
c8ec72b
* Mon Aug 20 2007 Bruno Postle <bruno@postle.net> 3.0-6
9819d31
  - glew is now in fedora, remove build-without-glew patch
9819d31
  - update licence tag, GPL -> GPLv2+
9819d31
f46ea24
* Tue Mar 20 2007 Bruno Postle <bruno@postle.net> 3.0-4
78f43b9
  - patch to build without glew library
78f43b9
48e1c2f
* Sun Jan 28 2007 Bruno Postle <bruno@postle.net>
78f43b9
  - 3.0 release
78f43b9
78f43b9
* Tue Dec 13 2005 Bruno Postle <bruno@postle.net>
78f43b9
  - 2.5 release
78f43b9
78f43b9
* Tue Dec 06 2005 Bruno Postle <bruno@postle.net>
78f43b9
  - 2.4 release
78f43b9
78f43b9
* Mon Apr 18 2005 Bruno Postle <bruno@postle.net>
78f43b9
  - 2.3 release
78f43b9
78f43b9
* Mon Nov 15 2004 Bruno Postle <bruno@postle.net>
78f43b9
  - 2.1 release
78f43b9
78f43b9
* Mon Oct 18 2004 Bruno Postle <bruno@postle.net>
78f43b9
  - 2.0 release
78f43b9
78f43b9
* Wed Oct 13 2004 Bruno Postle <bruno@postle.net>
78f43b9
  - new build for fedora fc2
78f43b9
78f43b9
* Tue Jun 22 2004 Bruno Postle <bruno@postle.net>
78f43b9
  - found tarball of enblend-1.3 and updated to that
78f43b9
78f43b9
* Tue Jun 22 2004 Bruno Postle <bruno@postle.net>
78f43b9
  - added patch for reading nona multi-layer tiff files
78f43b9
78f43b9
* Tue Apr 27 2004 Bruno Postle <bruno@postle.net>
78f43b9
  - update to latest version
78f43b9
78f43b9
* Sat Apr 03 2004 Bruno Postle <bruno@postle.net>
78f43b9
  - update to latest version
78f43b9
78f43b9
* Tue Mar 09 2004 Bruno Postle <bruno@postle.net>
78f43b9
  - initial RPM
78f43b9
78f43b9