Sophie

Sophie

distrib > Altlinux > 4.1 > i586 > by-pkgid > 7f95e864f14b9c89f64b1f8dd2736fad > files > 2

perceptualdiff-1.0.1-alt1.src.rpm

%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.