adding ale

This commit is contained in:
Douglas E. Warner 2008-06-18 17:59:44 +00:00
commit f9bfb517e9
4 changed files with 100 additions and 0 deletions

View file

@ -0,0 +1 @@
ale-0.9.0.1.tar.gz

11
ale-0.9.0-gcc-4.3.patch Normal file
View file

@ -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 <cstring>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>

87
ale.spec Normal file
View file

@ -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 <silfreed@silfreed.net> 0.9.0.1-1
- updating to ale 0.9.0.1
* Fri May 09 2008 Douglas E. Warner <silfreed@silfreed.net> 0.9.0-3
- adding Requires perl-Image-ExifTool, dcraw
* Mon Apr 21 2008 Douglas E. Warner <silfreed@silfreed.net> 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 <silfreed@silfreed.net> 0.9.0-1
- update to 0.9.0
- added GCC 4.3 compilation patch
* Wed Mar 19 2008 Douglas E. Warner <silfreed@silfreed.net> 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 <silfreed@silfreed.net> 0.8.7-1
- Initial RPM release.

View file

@ -0,0 +1 @@
a4e595cfa52485eebd57e4de112b0609 ale-0.9.0.1.tar.gz