|
@@ -1,10 +1,10 @@
|
|
-%bcond_without shared
|
|
+%bcond_with shared
|
|
|
|
|
|
Summary: Improved JPEG encoder
|
|
Summary: Improved JPEG encoder
|
|
Summary(ja): 改良されたJPEGエンコーダ
|
|
Summary(ja): 改良されたJPEGエンコーダ
|
|
Name: mozjpeg
|
|
Name: mozjpeg
|
|
Version: 4.0.3
|
|
Version: 4.0.3
|
|
-Release: 1%{?_dist_release}
|
|
+Release: 2%{?_dist_release}
|
|
Group: graphics
|
|
Group: graphics
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
Distribution: Vine Linux
|
|
Distribution: Vine Linux
|
|
@@ -19,6 +19,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRequires: cmake
|
|
BuildRequires: cmake
|
|
BuildRequires: libpng-devel
|
|
BuildRequires: libpng-devel
|
|
BuildRequires: zlib-devel
|
|
BuildRequires: zlib-devel
|
|
|
|
+%if !%{with shared}
|
|
|
|
+BuildRequires: libpng-static
|
|
|
|
+BuildRequires: zlib-static
|
|
|
|
+%endif
|
|
%ifarch %{ix86} x86_64
|
|
%ifarch %{ix86} x86_64
|
|
BuildRequires: nasm
|
|
BuildRequires: nasm
|
|
%endif
|
|
%endif
|
|
@@ -113,6 +117,9 @@ rm -rf %{buildroot}%{_libdir}/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Thu Sep 02 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.3-2
|
|
|
|
+- rebuilt as statically linked binary.
|
|
|
|
+
|
|
* Mon Jul 26 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.3-1
|
|
* Mon Jul 26 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.3-1
|
|
- new upstream release.
|
|
- new upstream release.
|
|
|
|
|