Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37038790
en ru br
ALT Linux repos
S:0.2-alt3.qa1
5.0: 0.2-alt3
4.1: 0.2-alt3
4.0: 0.2-alt3

Group :: Graphics
RPM: clens

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: clens
Version: 0.2
Release: alt3.qa1

Summary: Corrects lens barrel distortion
License: GPL
Group: Graphics

Url: http://sourceforge.net/projects/panotools
Source0: http://dl.sourceforge.net/panotools/clens-%version.tar.gz
Source1: http://dl.sourceforge.net/hugin/PTLensDB_06-02-08.zip
Patch0: clens-mdk-profile.patch
Patch1: clens-0.2-ptstitcher2nona.patch

# Automatically added by buildreq on Mon Jul 16 2007

BuildRequires: gcc-c++ unzip
# we need nona to actually do correction job:
Requires: hugin

%description
A command-line version of PTLens. Compares your JPEG images with a lens
database and automatically corrects lens barrel distortion.

%prep
%setup
%patch0 -p0
%patch1 -p1
unzip -q %SOURCE1 -d data

%build
%__subst 's|\ at \ at PROFILE\ at \ at |%_datadir/%name/profile.txt|g' src/main.c
%configure
%make_build

%install
%make_install install DESTDIR=%buildroot
rm -f %buildroot%_datadir/clens/README
install data/*.txt %buildroot%_datadir/clens

%files
%_bindir/*
%_man1dir/*
%_datadir/clens
%exclude %_includedir
%exclude /usr/doc/clens

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin