[gimp-wavelet-denoise-plugin] Initial release

Vasiliy Glazov vascom at fedoraproject.org
Fri Apr 25 05:49:07 UTC 2014


commit c7a941a823a1260667b1b4d8fd0bfdf04a471954
Author: Vascom <vascom2 at gmail.com>
Date:   Fri Apr 25 09:48:51 2014 +0400

    Initial release

 .gitignore                       |    1 +
 gimp-wavelet-denoise-plugin.spec |   65 ++++++++++++++++++++++++++++++++++++++
 sources                          |    1 +
 3 files changed, 67 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..85114b3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/wavelet-denoise-0.3.1.tar.gz
diff --git a/gimp-wavelet-denoise-plugin.spec b/gimp-wavelet-denoise-plugin.spec
new file mode 100644
index 0000000..c3cf654
--- /dev/null
+++ b/gimp-wavelet-denoise-plugin.spec
@@ -0,0 +1,65 @@
+Name:           gimp-wavelet-denoise-plugin
+Version:        0.3.1
+Release:        3%{?dist}
+Summary:        Gimp wavelet denoise plugin
+
+License:        GPLv2+
+URL:            http://registry.gimp.org/node/4235
+Source0:        http://registry.gimp.org/files/wavelet-denoise-%{version}.tar.gz
+
+BuildRequires:  gimp-devel >= 2.4.0
+BuildRequires:  pkgconfig
+BuildRequires:  gettext
+
+Requires:       gimp >= 2.4
+
+%description
+The wavelet denoise plugin is a tool to reduce noise in each channel of an
+image separately. The default colour space to do denoising is YCbCr which
+has the advantage that chroma noise can be reduced without affecting image
+details. Denoising in CIELAB (L*a*b*) or RGB is available as an option.
+The user interface allows colour mode and preview channel selection.
+The denoising threshold can be set for each colour channel independently.
+
+%prep
+%setup -q -n wavelet-denoise-%{version}
+sed -i -e 's/CFLAGS.*/& $(shell echo $$CFLAGS)/' src/Makefile
+sed -i 's|gimptool-2.0 --libs)|gimptool-2.0 --libs) -lm|' src/Makefile
+echo '#!/bin/bash' > configure
+chmod +x configure
+
+
+%build
+%configure
+make %{?_smp_mflags}
+
+
+%install
+GIMP_PLUGINS_DIR=`gimptool-2.0 --gimpplugindir`
+sed -i "s|/usr/share/locale|%{buildroot}%{_datadir}/locale|" po/Makefile
+mkdir -p %{buildroot}$GIMP_PLUGINS_DIR/plug-ins
+install -m 0644 -p src/wavelet-denoise %{buildroot}$GIMP_PLUGINS_DIR/plug-ins
+mkdir -p %{buildroot}%{_datadir}/locale/de/LC_MESSAGES
+mkdir -p %{buildroot}%{_datadir}/locale/ru/LC_MESSAGES
+mkdir -p %{buildroot}%{_datadir}/locale/it/LC_MESSAGES
+mkdir -p %{buildroot}%{_datadir}/locale/et/LC_MESSAGES
+mkdir -p %{buildroot}%{_datadir}/locale/pl/LC_MESSAGES
+make install po
+%find_lang gimp20-wavelet-denoise-plug-in
+
+
+%files -f gimp20-wavelet-denoise-plug-in.lang
+%doc AUTHORS ChangeLog COPYING README
+%{_libdir}/gimp/2.0/plug-ins/wavelet-denoise
+
+
+
+%changelog
+* Wed Apr 23 2014 Vasiliy N. Glazov <vascom2 at gmail.com> - 0.3.1-3
+- Correct install parameters
+
+* Mon Mar 31 2014 Vasiliy N. Glazov <vascom2 at gmail.com> - 0.3.1-2
+- Correct CFLAGS
+
+* Tue May 15 2012 Vasiliy N. Glazov <vascom2 at gmail.com> - 0.3.1-1
+- initial release
diff --git a/sources b/sources
index e69de29..6055456 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+a02862026857575cdf81b24477e42f4b  wavelet-denoise-0.3.1.tar.gz


More information about the scm-commits mailing list