1 |
Name: jpegoptim |
2 |
Version: 1.5.1 |
3 |
%define subrel 1 |
4 |
Release: %mkrel 1 |
5 |
Summary: Utility to optimize JPEG image files |
6 |
License: GPLv2+ |
7 |
Group: Graphics/Utilities |
8 |
URL: https://www.kokkonen.net/tjko/projects.html |
9 |
Source0: https://www.kokkonen.net/tjko/src/%{name}-%{version}.tar.gz |
10 |
Patch0: jpegoptim-1.5.1-git-cve-2023-27781.patch |
11 |
BuildRequires: pkgconfig(libjpeg) |
12 |
|
13 |
%description |
14 |
Provides lossless optimization (based on optimizing the Huffman tables) |
15 |
and "lossy" optimization based on setting the maximum quality factor. |
16 |
|
17 |
%prep |
18 |
%autosetup -p1 |
19 |
|
20 |
%build |
21 |
%configure |
22 |
%make_build |
23 |
|
24 |
%install |
25 |
%make_install |
26 |
|
27 |
%files |
28 |
%doc COPYRIGHT README |
29 |
%{_bindir}/jpegoptim |
30 |
%{_mandir}/man1/jpegoptim.1* |