Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37735129
en ru br
ALT Linux repos
S:0.1.2-alt4
5.0: 0.1-alt1

Group :: Graphics
RPM: gimp-plugin-wavelet-sharpen

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%def_enable snapshot
%define gimpplugindir %(gimptool-2.0 --gimpplugindir)

%define _name wavelet-sharpen

Name: gimp-plugin-%_name
Version: 0.1.2
Release: alt4

Summary: GIMP plugin for image sharpening using wavelets
License: GPLv2+
Group: Graphics
Url: http://registry.gimp.org/node/9836

Vcs: https://github.com/gimp-plugins-justice/wavelet-sharpen.git
%if_disabled snapshot
# The gimp registry id dead
Source: http://registry.gimp.org/files/%_name-%version.tar.gz
%else
Source: %_name-%version.tar
%endif
Patch: %_name-0.1.2-alt-link.patch

Requires: gimp
# Automatically added by buildreq on Wed Oct 15 2008
BuildRequires: libgimp-devel

%description
The wavelet sharpen plugin enhances apparent sharpness of an image by increasing
contrast in high frequency space. The amount of unsharpness of the original
image can be taken into account by adjusting the sharpening radius. As an option
you can choose to sharpen the luminance (YCbCr) channel of the image only.

%prep
%setup -n %_name-%version
%patch
sed -i 's/CFLAGS =/CFLAGS = %optflags -fcommon/' src/Makefile

%build
%make_build

%install
%__subst 's/install /install -pD /' po/Makefile
make -C po install LOCALEDIR=%buildroot%_datadir/locale
install -pD -m755 src/wavelet-sharpen %buildroot%gimpplugindir/plug-ins/%_name

%find_lang gimp20-%_name-plug-in

%files -f gimp20-%_name-plug-in.lang
%gimpplugindir/plug-ins/*

%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