4354d72
Name:       imgp
f9011bb
Version:    2.7
f9011bb
Release:    1%{?dist}
4354d72
Summary:    Multi-core batch image resizer and rotator
4354d72
4354d72
License:    GPLv3+
4354d72
URL:        https://github.com/jarun/imgp
4354d72
Source0:    %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
4354d72
4354d72
BuildArch:  noarch
4354d72
4354d72
BuildRequires:  make
4354d72
4354d72
Requires:   python3-pillow
4354d72
4354d72
4354d72
%description
4354d72
imgp is a command line image resizer and rotator for JPEG and PNG images. 
4354d72
It can resize (or thumbnail) and rotate thousands of images in a go,
4354d72
at lightning speed, while saving significantly on storage.
4354d72
4354d72
Powered by multiprocessing, an intelligent adaptive algorithm, 
4354d72
recursive operations, shell completion scripts, EXIF preservation (and more), 
4354d72
imgp is a very flexible utility with well-documented easy to use options.
4354d72
4354d72
imgp intends to be a stronger replacement of the Nautilus Image Converter 
4354d72
extension, not tied to any file manager and way faster. On desktop environments 
4354d72
(like Xfce or LxQt) which do not integrate Nautilus, imgp will save your day.
4354d72
4354d72
%prep
4354d72
%autosetup -p1 -n %{name}-%{version}
4354d72
sed -i '1s/env //' imgp
4354d72
4354d72
4354d72
%build
4354d72
# Nothing to do
4354d72
4354d72
4354d72
%install
4354d72
%make_install PREFIX=%{_prefix}
4354d72
install -Dpm0644 -t %{buildroot}%{_datadir}/bash-completion/completions \
4354d72
  auto-completion/bash/imgp-completion.bash
4354d72
install -Dpm0644 -t %{buildroot}%{_datadir}/fish/vendor_functions.d \
4354d72
  auto-completion/fish/imgp.fish
4354d72
install -Dpm0644 -t %{buildroot}%{_datadir}/zsh/site-functions \
4354d72
  auto-completion/zsh/_imgp
4354d72
4354d72
4354d72
%files
4354d72
%doc CHANGELOG README.md
4354d72
%license LICENSE
4354d72
%{_bindir}/%{name}
4354d72
%{_mandir}/man1/%{name}.1.*
4354d72
%{_datadir}/bash-completion/completions/imgp-completion.bash
4354d72
%dir %{_datadir}/fish/vendor_functions.d
4354d72
%{_datadir}/fish/vendor_functions.d/imgp.fish
4354d72
%dir %{_datadir}/zsh/site-functions
4354d72
%{_datadir}/zsh/site-functions/_imgp
4354d72
4354d72
4354d72
%changelog
f9011bb
* Sun Dec 22 23:45:22 CET 2019 Robert-André Mauchin <zebob.m@gmail.com> - 2.7-1
f9011bb
- Release 2.7
f9011bb
731c79f
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-3
731c79f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
731c79f
142413d
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-2
142413d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
142413d
0cdce38
* Sat Oct 20 2018 Robert-André Mauchin <zebob.m@gmail.com> - 2.6-1
0cdce38
- Release 2.6
0cdce38
23e1927
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.5-2
23e1927
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
23e1927
4354d72
* Sat Feb 24 2018 Robert-André Mauchin <zebob.m@gmail.com> - 2.5-1
4354d72
- First RPM release