package init
This commit is contained in:
parent
492df064d0
commit
448c0d33b6
BIN
jpegoptim-1.4.6.tar.gz
Normal file
BIN
jpegoptim-1.4.6.tar.gz
Normal file
Binary file not shown.
35
jpegoptim.spec
Normal file
35
jpegoptim.spec
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
Name: jpegoptim
|
||||||
|
Version: 1.4.6
|
||||||
|
Release: 1
|
||||||
|
Summary: Utility to optimize JPEG files
|
||||||
|
License: GPLv2+
|
||||||
|
URL: http://www.kokkonen.net/tjko/projects.html
|
||||||
|
Source0: http://www.kokkonen.net/tjko/src/%{name}-%{version}.tar.gz
|
||||||
|
BuildRequires: coreutils gcc libjpeg-devel make
|
||||||
|
|
||||||
|
%description
|
||||||
|
Jpegoptim is an utility to optimize JPEG files. Provides lossless optimization
|
||||||
|
(based on optimizing the Huffman tables) and "lossy" optimization based on
|
||||||
|
setting maximum quality factor.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
install -Dpm 0755 jpegoptim %{buildroot}/%{_bindir}/jpegoptim
|
||||||
|
install -Dpm 0644 jpegoptim.1 %{buildroot}/%{_mandir}/man1/jpegoptim.1
|
||||||
|
|
||||||
|
%files
|
||||||
|
%{!?_licensedir:%global license %doc}
|
||||||
|
%license COPYRIGHT COPYING
|
||||||
|
%doc README
|
||||||
|
%{_bindir}/jpegoptim
|
||||||
|
%{_mandir}/man1/*.1*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Jul 27 2020 chengzihan <chengzihan2@huawei.com> - 1.4.6-1
|
||||||
|
- Package init
|
||||||
5
jpegoptim.yaml
Normal file
5
jpegoptim.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
gir_url: https://github.com/tjko/jpegoptim.git
|
||||||
|
version_control: github
|
||||||
|
src_repo: tjko/jpegoptim
|
||||||
|
tag_prefix: "RELEASE."
|
||||||
|
seperator: "."
|
||||||
Loading…
x
Reference in New Issue
Block a user