diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index e69de29..0000000 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..50517fe --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +ale-0.9.0.3.tar.gz diff --git a/Makefile b/Makefile deleted file mode 100644 index 6d5baef..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: ale -# $Id$ -NAME := ale -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/ale-0.9.0.1-gcc43.patch b/ale-0.9.0.1-gcc43.patch new file mode 100644 index 0000000..87c8e27 --- /dev/null +++ b/ale-0.9.0.1-gcc43.patch @@ -0,0 +1,11 @@ +diff -ruN ale-0.9.0.1-orig/ui/ui.h ale-0.9.0.1/ui/ui.h +--- ale-0.9.0.1-orig/ui/ui.h 2008-06-13 18:20:56.000000000 -0400 ++++ ale-0.9.0.1/ui/ui.h 2008-09-24 09:32:51.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..634edb6 --- /dev/null +++ b/ale.spec @@ -0,0 +1,99 @@ +Name: ale +Version: 0.9.0.3 +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 +# sent patch to upstream mailing list on 2008.09.23 +Patch0: ale-0.9.0.1-gcc43.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 +* Tue Mar 31 2009 Douglas E. Warner - 0.9.0.3-1 +- update to 0.9.0.3 +- Revise --version to include ImageMagick library information. +- Add ditz issue database and package document BUG-REPORTING. +- Refine warnings for 8-bit output when --16bpc (incl. default). +- Fix --16bpc default behavior. +- Fixed serious memory leak in alignment code, and less serious leaks. + +* Wed Sep 23 2008 Douglas E. Warner 0.9.0.1-2 +- updated gcc4.3 patch for 0.9.0.1 to compile w/ new fuzz settings + +* 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..cdc2972 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +ace3d9874577085112adbf409f27b069 ale-0.9.0.3.tar.gz