|
 |
4354d72 |
Name: imgp
|
|
 |
6fed465 |
Version: 2.9
|
|
 |
f0fcced |
Release: %autorelease
|
|
 |
4354d72 |
Summary: Multi-core batch image resizer and rotator
|
|
 |
4354d72 |
|
|
 |
6fed465 |
License: GPL-3.0-only
|
|
 |
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
|
|
 |
f0fcced |
%autochangelog
|