Group :: Gráficos
RPM: clens
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: clens
Version: 0.2
Release: alt3
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
…
Todas as alterações você pod ver aqui
Version: 0.2
Release: alt3
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
…
Todas as alterações você pod ver aqui