c14e07
Name:		gimp-save-for-web
c14e07
Version:	0.29.3
0cef7f
Release:	8%{?dist}
c14e07
Summary:	Save for web plug-in for GIMP
c14e07
License:	GPLv2+ and MIT
c14e07
URL:		http://registry.gimp.org/node/33
c14e07
Source0:	http://registry.gimp.org/files/%{name}-%{version}.tar.bz2
c14e07
Source1:	%{name}.metainfo.xml
c14e07
BuildRequires:	gimp-devel
c14e07
BuildRequires:	intltool
c14e07
BuildRequires:	libtool
c14e07
%if 0%{?fedora} >= 21  
c14e07
BuildRequires:	libappstream-glib
c14e07
%endif
c14e07
Requires:	gimp >= 2.6.0
c14e07
c14e07
%description
c14e07
Save for Web allows to find compromise between minimal file size
c14e07
and acceptable quality of image quickly. While adjusting various
c14e07
settings, you may explore how image quality and file size change.
c14e07
Options to reduce file size of an image include setting compression
c14e07
quality, number or colors, resizing, cropping, Exif information
c14e07
removal, etc.
c14e07
c14e07
%prep
c14e07
%autosetup -n  %{name}-%{version}
c14e07
c14e07
%build
c14e07
%configure
c14e07
make %{?_smp_mflags}
c14e07
c14e07
%install
c14e07
%make_install
c14e07
%find_lang gimp20-save-for-web
c14e07
c14e07
%if 0%{?fedora} >= 21  
c14e07
# Add AppStream metadata
c14e07
install -Dm 0644 -p %{SOURCE1} \
c14e07
	%{buildroot}%{_datadir}/appdata/%{name}.metainfo.xml
c14e07
c14e07
%check
c14e07
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/%{name}.metainfo.xml
c14e07
%endif
c14e07
c14e07
%files -f gimp20-save-for-web.lang
c14e07
%doc AUTHORS ChangeLog NEWS README
c14e07
%license COPYING
c14e07
%{_libdir}/gimp/2.0/plug-ins/webexport
c14e07
%{_datadir}/gimp-save-for-web
c14e07
%if 0%{?fedora} >= 21  
c14e07
#AppStream metadata
c14e07
%{_datadir}/appdata/%{name}.metainfo.xml
c14e07
%endif
c14e07
c14e07
%changelog
0cef7f
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.29.3-8
0cef7f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
0cef7f
b77174
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.29.3-7
b77174
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
b77174
370af3
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.29.3-6
370af3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
370af3
279793
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.29.3-5
279793
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
279793
ca9925
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.29.3-4
ca9925
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
ca9925
7dad4b
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.29.3-3
7dad4b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
7dad4b
eaeb92
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.29.3-2
eaeb92
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
eaeb92
c14e07
* Sun Apr 17 2016 Luya Tshimbalanga <luya@fedoraproject.org> - 0.29.3-1
c14e07
- Initial build based on Russian Fedora spec
c14e07