|
@@ -4,7 +4,7 @@ Summary: A MMX/SSE2/SIMD accelerated library for manipulating JPEG image files
|
|
|
Summary(ja): MMX/SSE2/SIMD でアクセラレーションされた libjpeg ライブラリ
|
|
|
|
|
|
Name: libjpeg-turbo
|
|
|
-Version: 2.0.6
|
|
|
+Version: 2.1.0
|
|
|
Release: 1%{?_dist_release}
|
|
|
Group: system
|
|
|
Vendor: Project Vine
|
|
@@ -66,7 +66,7 @@ text comments into a JPEG file.
|
|
|
%package -n compat32-%{name}
|
|
|
Summary: A MMX/SSE2 accelerated library for manipulating JPEG image files
|
|
|
Summary(ja): MMX/SSE2 でアクセラレーションされた libjpeg ライブラリ
|
|
|
-Group: system
|
|
|
+Group: system,legacy
|
|
|
Obsoletes: compat32-libjpeg < 6b-50vl6
|
|
|
Provides: compat32-libjpeg = 6b-50vl6
|
|
|
|
|
@@ -78,7 +78,7 @@ JPEG images
|
|
|
%package -n compat32-%{name}-devel
|
|
|
Summary: Headers for the libjpeg-turbo library
|
|
|
Summary(ja): libjpeg-turbo ライブラリのヘッダファイル
|
|
|
-Group: programming
|
|
|
+Group: programming,legacy
|
|
|
Obsoletes: compat32-libjpeg-devel < 6b-50vl6
|
|
|
Provides: compat32-libjpeg-devel = 6b-50vl6
|
|
|
Requires: libjpeg-turbo = %{version}-%{release}
|
|
@@ -110,7 +110,7 @@ pushd jpeg6
|
|
|
-DENABLE_STATIC:BOOL=NO \
|
|
|
..
|
|
|
|
|
|
-make %{?_smp_mflags} V=1
|
|
|
+%cmake_build
|
|
|
popd
|
|
|
|
|
|
mkdir jpeg8
|
|
@@ -122,19 +122,17 @@ pushd jpeg8
|
|
|
-DENABLE_STATIC:BOOL=NO \
|
|
|
..
|
|
|
|
|
|
-make %{?_smp_mflags} V=1
|
|
|
+%cmake_build
|
|
|
popd
|
|
|
|
|
|
-
|
|
|
# Fix perms
|
|
|
chmod -x README.md
|
|
|
|
|
|
|
|
|
-
|
|
|
%install
|
|
|
rm -rf %{buildroot}
|
|
|
pushd jpeg6
|
|
|
-make install DESTDIR=%{buildroot}
|
|
|
+%cmake_install
|
|
|
popd
|
|
|
|
|
|
rm -rf %{buildroot}%{_mandir}/*
|
|
@@ -144,7 +142,7 @@ rm -f %{buildroot}%{_libdir}/pkgconfig/*
|
|
|
rm -f %{buildroot}%{_libdir}/lib*.so
|
|
|
|
|
|
pushd jpeg8
|
|
|
-make install DESTDIR=%{buildroot}
|
|
|
+%cmake_install
|
|
|
popd
|
|
|
|
|
|
# Remove unwanted files
|
|
@@ -152,12 +150,13 @@ rm -f %{buildroot}/%{_libdir}/lib{,turbo}jpeg.la
|
|
|
|
|
|
|
|
|
%check
|
|
|
+export LD_LIBRARY_PATH=%{buildroot}%{_libdir}
|
|
|
pushd jpeg6
|
|
|
-LD_LIBRARY_PATH=%{buildroot}%{_libdir} make test %{?_smp_mflags}
|
|
|
+%ctest
|
|
|
popd
|
|
|
|
|
|
pushd jpeg8
|
|
|
-LD_LIBRARY_PATH=%{buildroot}%{_libdir} make test %{?_smp_mflags}
|
|
|
+%ctest
|
|
|
popd
|
|
|
|
|
|
|
|
@@ -165,11 +164,6 @@ popd
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
-%post -p /sbin/ldconfig
|
|
|
-%postun -p /sbin/ldconfig
|
|
|
-%post -n compat32-%{name} -p /sbin/ldconfig
|
|
|
-%postun -n compat32-%{name} -p /sbin/ldconfig
|
|
|
-
|
|
|
%files
|
|
|
%defattr(-,root,root,-)
|
|
|
%license LICENSE.md
|
|
@@ -179,7 +173,7 @@ rm -rf %{buildroot}
|
|
|
|
|
|
%files devel
|
|
|
%defattr(-,root,root,-)
|
|
|
-%doc coderules.txt jconfig.txt libjpeg.txt structure.txt example.c
|
|
|
+%doc coderules.txt jconfig.txt libjpeg.txt structure.txt
|
|
|
%{_includedir}/jconfig.h
|
|
|
%{_includedir}/jerror.h
|
|
|
%{_includedir}/jmorecfg.h
|
|
@@ -190,6 +184,7 @@ rm -rf %{buildroot}
|
|
|
%{_libdir}/libturbojpeg.so
|
|
|
%{_libdir}/pkgconfig/libjpeg.pc
|
|
|
%{_libdir}/pkgconfig/libturbojpeg.pc
|
|
|
+%{_libdir}/cmake/libjpeg-turbo
|
|
|
|
|
|
%files utils
|
|
|
%defattr(-,root,root,-)
|
|
@@ -218,6 +213,11 @@ rm -rf %{buildroot}
|
|
|
%endif
|
|
|
|
|
|
%changelog
|
|
|
+* Fri Jun 11 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.0-1
|
|
|
+- new upstream release.
|
|
|
+- dropped ldconfig scriptlets.
|
|
|
+- updated Patch0 and 1.
|
|
|
+
|
|
|
* Tue Dec 29 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.6-1
|
|
|
- new upstream release.
|
|
|
|