File gimp-descreen.spec of Package gimp-descreen
#
# spec file for package gimp-descreen (Version 1.0)
#
# Copyright (c) 2011 Kyrill Detinov
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
Name: gimp-descreen
Version: 1.0
Release: 0
License: Public Domain
Summary: GIMP Script for Descreening
URL: http://registry.gimp.org/node/24411
Group: Productivity/Graphics/Bitmap Editors
Source0: http://registry.gimp.org/files/descreen.scm
# http://www.albumartexchange.com/forums/viewtopic.php?p=8416
# PATCH-FIX-UPSTREAM gimp-descreen-1.0-despeckle+foreground.patch -- fix despeckle and foreground
Patch0: gimp-descreen-1.0-despeckle+foreground.patch
BuildRequires: gimp-devel
Requires: gimp
Requires: gimp-fourier
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Descreen is a script that does descreening using the FFT Fourier plugin.
This script does descreening without blurring the image.
%prep
%setup -cqTn %{name}-%{version}
%__cp %{S:0} .
%patch0
%build
%install
%__install -Dm 644 descreen.scm \
%{buildroot}%{_datadir}/gimp/2.0/scripts/descreen.scm
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%files
%defattr(-,root,root,-)
%{_datadir}/gimp/2.0/scripts
%changelog