1d7430e
%global		addon wavelet-decompose
1d7430e
1d7430e
Name:		gimp-%{addon}
1d7430e
Version:	0
f5a10e2
Release:	8%{?dist}
1d7430e
Summary:	Decomposing image plug-in for Gimp
1d7430e
License:	GPLv3+
1d7430e
URL:		http://registry.gimp.org/node/13549
1d7430e
Source0:	http://registry.gimp.org/files/%{addon}.scm
1d7430e
Source1:	%{name}.metainfo.xml
1d7430e
Source2:	license.txt
1d7430e
BuildRequires:	libappstream-glib
1d7430e
Requires:	gimp
1d7430e
BuildArch:	noarch
1d7430e
1d7430e
%description
1d7430e
Script-Fu script for lossless decomposing an image into different 
1d7430e
detail scales useful for photo post processing (for instance 
1d7430e
repairing skin in portraits).
1d7430e
1d7430e
%prep
1d7430e
# Copy license
1d7430e
cp -p %{SOURCE2} .
1d7430e
1d7430e
%build
1d7430e
## Nothing to build.
1d7430e
1d7430e
%install
1d7430e
install -Dpm 0644 %{SOURCE0} -t %{buildroot}%{_datadir}/gimp/2.0/scripts/
1d7430e
# Add AppStream metadata
1d7430e
install -Dpm 0644 %{SOURCE1} -t %{buildroot}%{_datadir}/metainfo/
1d7430e
1d7430e
%check
1d7430e
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/%{name}.metainfo.xml
1d7430e
1d7430e
%files
1d7430e
%license license.txt
1d7430e
%{_datadir}/gimp/2.0/scripts/*.scm
1d7430e
%{_datadir}/metainfo/%{name}.metainfo.xml
1d7430e
1d7430e
1d7430e
%changelog
f5a10e2
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-8
f5a10e2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
f5a10e2
bbe75e3
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-7
bbe75e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
bbe75e3
1af8ba6
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0-6
1af8ba6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
1af8ba6
ec376d3
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0-5
ec376d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
ec376d3
ceece2d
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0-4
ceece2d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
ceece2d
dbf3507
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0-3
dbf3507
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
dbf3507
010e9f8
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0-2
010e9f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
010e9f8
1d7430e
* Sun Apr 30 2017 Luya Tshimbalanga <luy@fedoraproject.org> - 0-1
1d7430e
- Initial package