From 8f0702e6f062a2d170730b97a7e9021786659b5a Mon Sep 17 00:00:00 2001 From: Douglas E. Warner Date: Jun 18 2008 18:00:03 +0000 Subject: adding ale --- diff --git a/.cvsignore b/.cvsignore index e69de29..de30d24 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +ale-0.9.0.1.tar.gz diff --git a/ale-0.9.0-gcc-4.3.patch b/ale-0.9.0-gcc-4.3.patch new file mode 100644 index 0000000..248d29a --- /dev/null +++ b/ale-0.9.0-gcc-4.3.patch @@ -0,0 +1,11 @@ +diff -ruN ale-0.9.0/ui/ui.h ale-0.9.0-new/ui/ui.h +--- ale-0.9.0/ui/ui.h 2008-04-14 19:55:21.000000000 -0400 ++++ ale-0.9.0-new/ui/ui.h 2008-04-21 13:27:28.000000000 -0400 +@@ -21,6 +21,7 @@ + #ifndef __ui_h__ + #define __ui_h__ + ++#include + #include + #include + #include diff --git a/ale.spec b/ale.spec new file mode 100644 index 0000000..f5d0c0a --- /dev/null +++ b/ale.spec @@ -0,0 +1,87 @@ +Name: ale +Version: 0.9.0.1 +Release: 1%{?dist} +Summary: Combines multiple inputs of the same scene + +Group: Applications/Multimedia +License: GPLv3 +URL: http://auricle.dyndns.org/ALE/ +Source0: http://auricle.dyndns.org/ALE/download/%{name}-%{version}.tar.gz +Patch0: ale-0.9.0-gcc-4.3.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: ImageMagick-devel +BuildRequires: fftw-devel >= 3.0.0 +Requires: perl-Image-ExifTool +Requires: dcraw + +%description +ALE is an image-processing program used for tasks such as image mosaicking, +super-resolution, deblurring, noise reduction, anti-aliasing, and scene +reconstruction. Its principle of operation is synthetic capture, combining +multiple inputs representing the same scene. + + +%prep +%setup -q +%patch0 -p1 + + +%build +%configure \ + --enable-wmx \ + --with-hashmap=gnu \ + --with-imagemagick \ + --with-fftw3 +make %{_smp_mflags} + + +%install +rm -rf %{buildroot} +make DESTDIR=%{buildroot} install + +# install scripts +%{__install} -p -m 0755 scripts/ale-psf-calibrate %{buildroot}%{_bindir} +%{__install} -p -m 0755 scripts/cpfmerge %{buildroot}%{_bindir} +%{__install} -p -m 0755 scripts/sko2cpf %{buildroot}%{_bindir} +%{__install} -p -m 0755 scripts/transform %{buildroot}%{_bindir}/ale-transform + + +%clean +rm -rf %{buildroot} + + +%files +%defattr(-, root, root) +%doc AUTHORS COPYING ChangeLog NEWS README TODO +%{_bindir}/* +%{_mandir}/man1/*.1* + + +%changelog +* Wed Jun 18 2008 Douglas E. Warner 0.9.0.1-1 +- updating to ale 0.9.0.1 + +* Fri May 09 2008 Douglas E. Warner 0.9.0-3 +- adding Requires perl-Image-ExifTool, dcraw + +* Mon Apr 21 2008 Douglas E. Warner 0.9.0-2 +- adding additional configuration options (imagemagick, fftw3, wmx, + gnu hashmap) and build requires to satisfy them +- installing scripts + +* Mon Apr 21 2008 Douglas E. Warner 0.9.0-1 +- update to 0.9.0 +- added GCC 4.3 compilation patch + +* Wed Mar 19 2008 Douglas E. Warner 0.8.11-1 +- update to 0.8.11 +- updating spec to fedora standards +- updating License to GPLv3 +- removing Requires ldconfig +- shortened summary +- added dist tag + +* Mon Apr 30 2007 Douglas E. Warner 0.8.7-1 +- Initial RPM release. + diff --git a/sources b/sources index e69de29..99a9811 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +a4e595cfa52485eebd57e4de112b0609 ale-0.9.0.1.tar.gz