Группа :: Графика
Пакет: greycstoration
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define gimpplugindir %(gimptool-2.0 --gimpplugindir)
Name: greycstoration
Version: 2.9
Release: alt3
Packager: Victor Forsyuk <force at altlinux.org>
Summary: GREYcstoration - tool for image denoising and interpolation
License: CeCILL
Group: Graphics
Url: http://cimg.sourceforge.net/greycstoration/
Source: http://downloads.sourceforge.net/cimg/GREYCstoration-%version.zip
# Automatically added by buildreq on Tue Nov 25 2008
BuildRequires: gcc-c++ libXext-devel libXrandr-devel libfftw3-devel libgimp-devel libjpeg-devel libtiff-devel unzip
%description
GREYCstoration is an open source image regularization algorithm which processes
an image by locally removing small variations of pixel intensities while
preserving significant global image features, such as sharp edges and corners.
The most direct application of image regularization is image denoising. By
extension, it can also be used to inpaint or resize images.
%package -n gimp-plugin-greycstoration
Summary: Image denoising and interpolation plugin for GIMP
Group: Graphics
Obsoletes: gimp2-plugin-greystoration < %version-%release
Provides: gimp2-plugin-greystoration = %version-%release
Requires: gimp
%description -n gimp-plugin-greycstoration
GREYCstoration is an open source image regularization algorithm which processes
an image by locally removing small variations of pixel intensities while
preserving significant global image features, such as sharp edges and corners.
The most direct application of image regularization is image denoising. By
extension, it can also be used to inpaint or resize images.
%prep
%setup -n GREYCstoration-%version
%build
# Fix wrong include
%__subst 's|../CImg.h|CImg.h|' src/greycstoration.cpp
%make -C src CC="g++ %optflags -fno-tree-pre -Dcimg_use_jpeg -ljpeg -Dcimg_use_tiff -ltiff -Dcimg_use_fftw3 -lfftw3" olinux
%install
install -pD -m755 src/greycstoration %buildroot%_bindir/greycstoration
install -pD -m755 src/greycstoration4gimp %buildroot%gimpplugindir/plug-ins/greycstoration
%files
%doc Licence_CeCILL_V2-en.txt
%_bindir/*
%files -n gimp-plugin-greycstoration
%doc Licence_CeCILL_V2-en.txt
%gimpplugindir/plug-ins/*
%changelog
…
Полный changelog можно просмотреть здесь
Name: greycstoration
Version: 2.9
Release: alt3
Packager: Victor Forsyuk <force at altlinux.org>
Summary: GREYcstoration - tool for image denoising and interpolation
License: CeCILL
Group: Graphics
Url: http://cimg.sourceforge.net/greycstoration/
Source: http://downloads.sourceforge.net/cimg/GREYCstoration-%version.zip
# Automatically added by buildreq on Tue Nov 25 2008
BuildRequires: gcc-c++ libXext-devel libXrandr-devel libfftw3-devel libgimp-devel libjpeg-devel libtiff-devel unzip
%description
GREYCstoration is an open source image regularization algorithm which processes
an image by locally removing small variations of pixel intensities while
preserving significant global image features, such as sharp edges and corners.
The most direct application of image regularization is image denoising. By
extension, it can also be used to inpaint or resize images.
%package -n gimp-plugin-greycstoration
Summary: Image denoising and interpolation plugin for GIMP
Group: Graphics
Obsoletes: gimp2-plugin-greystoration < %version-%release
Provides: gimp2-plugin-greystoration = %version-%release
Requires: gimp
%description -n gimp-plugin-greycstoration
GREYCstoration is an open source image regularization algorithm which processes
an image by locally removing small variations of pixel intensities while
preserving significant global image features, such as sharp edges and corners.
The most direct application of image regularization is image denoising. By
extension, it can also be used to inpaint or resize images.
%prep
%setup -n GREYCstoration-%version
%build
# Fix wrong include
%__subst 's|../CImg.h|CImg.h|' src/greycstoration.cpp
%make -C src CC="g++ %optflags -fno-tree-pre -Dcimg_use_jpeg -ljpeg -Dcimg_use_tiff -ltiff -Dcimg_use_fftw3 -lfftw3" olinux
%install
install -pD -m755 src/greycstoration %buildroot%_bindir/greycstoration
install -pD -m755 src/greycstoration4gimp %buildroot%gimpplugindir/plug-ins/greycstoration
%files
%doc Licence_CeCILL_V2-en.txt
%_bindir/*
%files -n gimp-plugin-greycstoration
%doc Licence_CeCILL_V2-en.txt
%gimpplugindir/plug-ins/*
%changelog
…
Полный changelog можно просмотреть здесь