%define archname PerceptualDiff Name: perceptualdiff Version: 1.0.1 Release: alt1 Summary: An image comparison utility License: GPL Group: Graphics URL: http://pdiff.sourceforge.net/ Source: http://dl.sourceforge.net/pdiff/%archname-%version.tar.gz # Automatically added by buildreq on Fri Jun 08 2007 BuildRequires: cmake gcc-c++ libpng-devel libtiff-devel %description PerceptualDiff is an image comparison utility that makes use of a computational model of the human visual system to compare two images. %prep %setup -q -n %archname-%version %build export CC=gcc cmake -DCMAKE_INSTALL_PREFIX:PATH=%_prefix . %make_build VERBOSE=1 %install %make_install DESTDIR=%buildroot install # Weird makefile :) chmod 755 %buildroot%_bindir/perceptualdiff %files %_bindir/* %changelog * Fri Jun 08 2007 Victor Forsyuk <force@altlinux.org> 1.0.1-alt1 - Initial build.