File gimp-descreen.spec of Package gimp-descreen
#
# spec file for package gimp-descreen
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
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
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%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 %{SOURCE0} .
%patch0
%build
%install
install -Dm 644 descreen.scm \
%{buildroot}%{_datadir}/gimp/2.0/scripts/descreen.scm
%files
%defattr(-,root,root,-)
%{_datadir}/gimp/2.0/scripts
%changelog