automatic version update by autodist [release 2.1.0-1mamba;Sat Apr 24 2021]

This commit is contained in:
Automatic Build System 2024-01-06 04:42:38 +01:00
parent 016c3ad314
commit 72b5dc8bca

View File

@ -1,12 +1,12 @@
Name: libjpeg-turbo Name: libjpeg-turbo
Version: 2.0.6 Version: 2.1.0
Release: 1mamba Release: 1mamba
Summary: A MMX/SSE2 accelerated library for manipulating JPEG image files Summary: A MMX/SSE2 accelerated library for manipulating JPEG image files
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://sourceforge.net/projects/libjpeg-turbo URL: https://sourceforge.net/projects/libjpeg-turbo
Source: http://sourceforge.net/projects/libjpeg-turbo/files/%{version}/libjpeg-turbo-%{version}.tar.gz Source: http://sourceforge.net/projects/libjpeg-turbo/files/%{version}/libjpeg-turbo-%{version}.tar.gz
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
@ -16,13 +16,8 @@ BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
BuildRequires: libtool BuildRequires: libtool
BuildRequires: nasm BuildRequires: nasm
#%ifarch x86_64 Obsoletes: libjpeg < 2.1.0
#BuildRequires: gcc-multilib
#BuildRequires: glibc-multilib-devel
#%endif
Obsoletes: libjpeg
Provides: libjpeg Provides: libjpeg
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
libjpeg-turbo is a version of libjpeg which uses MMX, SSE, and SSE2 SIMD instructions to accelerate baseline JPEG compression/decompression by about 2-4x on x86 and x86-64 platforms. It is based on libjpeg/SIMD but has numerous enhancements. libjpeg-turbo is a version of libjpeg which uses MMX, SSE, and SSE2 SIMD instructions to accelerate baseline JPEG compression/decompression by about 2-4x on x86 and x86-64 platforms. It is based on libjpeg/SIMD but has numerous enhancements.
@ -33,56 +28,53 @@ Summary: Libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: libjpeg-devel = 8c Obsoletes: libjpeg-devel = 8c
Provides: libjpeg-turbo-devel Provides: libjpeg-turbo-devel
Obsoletes: libjpeg-turbo-devel Obsoletes: libjpeg-turbo-devel < 2.1.0
Provides: libjpeg6b-devel Provides: libjpeg6b-devel
Obsoletes: libjpeg6b-devel Obsoletes: libjpeg6b-devel < 2.1.0
Provides: libjpeg6b-turbo-devel Provides: libjpeg6b-turbo-devel
Obsoletes: libjpeg6b-turbo-devel Obsoletes: libjpeg6b-turbo-devel < 2.1.0
Provides: libjpeg7-devel Provides: libjpeg7-devel
Obsoletes: libjpeg7-devel Obsoletes: libjpeg7-devel < 2.1.0
Provides: libjpeg7-turbo-devel Provides: libjpeg7-turbo-devel
Obsoletes: libjpeg7-turbo-devel Obsoletes: libjpeg7-turbo-devel < 2.1.0
%description -n libjpeg-devel %description -n libjpeg-devel
A MMX/SSE2 accelerated library for manipulating JPEG image files. A MMX/SSE2 accelerated library for manipulating JPEG image files.
This package contains libraries and header files needed for development.
This package contains libraries and header files need for development.
%package -n libjpeg-static %package -n libjpeg-static
Group: Development/Libraries Group: Development/Libraries
Summary: Static libraries for %{name} Summary: Static libraries for %{name}
Requires: libjpeg-devel = %{?epoch:%epoch:}%{version}-%{release} Requires: libjpeg-devel = %{?epoch:%epoch:}%{version}-%{release}
Provides: libjpeg-turbo-static Provides: libjpeg-turbo-static
Obsoletes: libjpeg-turbo-static Obsoletes: libjpeg-turbo-static < 2.1.0
Provides: libjpeg6b-static Provides: libjpeg6b-static
Obsoletes: libjpeg6b-static Obsoletes: libjpeg6b-static < 2.1.0
Provides: libjpeg7-static Provides: libjpeg7-static
Obsoletes: libjpeg7-static Obsoletes: libjpeg7-static < 2.1.0
%description -n libjpeg-static %description -n libjpeg-static
A MMX/SSE2 accelerated library for manipulating JPEG image files. A MMX/SSE2 accelerated library for manipulating JPEG image files.
This package contains static libraries needed for development.
This package contains static libraries need for development.
%package utils %package utils
Group: Development/Libraries Group: Development/Libraries
Summary: Utilities for manipulating JPEG images Summary: Utilities for manipulating JPEG images
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: libjpeg6b-turbo-utils Provides: libjpeg6b-turbo-utils
Obsoletes: libjpeg6b-turbo-utils Obsoletes: libjpeg6b-turbo-utils < 2.1.0
Provides: libjpeg7-turbo-utils Provides: libjpeg7-turbo-utils
Obsoletes: libjpeg7-turbo-utils Obsoletes: libjpeg7-turbo-utils < 2.1.0
%description utils %description utils
A MMX/SSE2 accelerated library for manipulating JPEG image files. A MMX/SSE2 accelerated library for manipulating JPEG image files.
The %{name}-utils package contains simple client programs for accessing the libjpeg functions. It contains cjpeg, djpeg, jpegtran, rdjpgcom and wrjpgcom. Cjpeg compresses an image file into JPEG format. Djpeg decompresses a JPEG file into a regular image file. Jpegtran can perform various useful transformations on JPEG files. Rdjpgcom displays any text comments included in a JPEG file. Wrjpgcom inserts text comments into a JPEG file. The %{name}-utils package contains simple client programs for accessing the libjpeg functions. It contains cjpeg, djpeg, jpegtran, rdjpgcom and wrjpgcom. Cjpeg compresses an image file into JPEG format. Djpeg decompresses a JPEG file into a regular image file. Jpegtran can perform various useful transformations on JPEG files. Rdjpgcom displays any text comments included in a JPEG file. Wrjpgcom inserts text comments into a JPEG file.
%package -n libjpeg6b-turbo %package -n libjpeg6b-turbo
Group: System/Libraries Group: System/Libraries
Summary: A MMX/SSE2 accelerated library for manipulating JPEG image files Summary: A MMX/SSE2 accelerated library for manipulating JPEG image files
Provides: libjpeg6b Provides: libjpeg6b
Obsoletes: libjpeg6b Obsoletes: libjpeg6b < 2.1.0
%description -n libjpeg6b-turbo %description -n libjpeg6b-turbo
libjpeg-turbo is a version of libjpeg which uses MMX, SSE, and SSE2 SIMD instructions to accelerate baseline JPEG compression/decompression by about 2-4x on x86 and x86-64 platforms. It is based on libjpeg/SIMD but has numerous enhancements. libjpeg-turbo is a version of libjpeg which uses MMX, SSE, and SSE2 SIMD instructions to accelerate baseline JPEG compression/decompression by about 2-4x on x86 and x86-64 platforms. It is based on libjpeg/SIMD but has numerous enhancements.
@ -91,28 +83,11 @@ libjpeg-turbo is a version of libjpeg which uses MMX, SSE, and SSE2 SIMD instruc
Group: System/Libraries Group: System/Libraries
Summary: A MMX/SSE2 accelerated library for manipulating JPEG image files Summary: A MMX/SSE2 accelerated library for manipulating JPEG image files
Provides: libjpeg7 Provides: libjpeg7
Obsoletes: libjpeg7 Obsoletes: libjpeg7 < 2.1.0
%description -n libjpeg7-turbo %description -n libjpeg7-turbo
libjpeg-turbo is a version of libjpeg which uses MMX, SSE, and SSE2 SIMD instructions to accelerate baseline JPEG compression/decompression by about 2-4x on x86 and x86-64 platforms. It is based on libjpeg/SIMD but has numerous enhancements. libjpeg-turbo is a version of libjpeg which uses MMX, SSE, and SSE2 SIMD instructions to accelerate baseline JPEG compression/decompression by about 2-4x on x86 and x86-64 platforms. It is based on libjpeg/SIMD but has numerous enhancements.
%package -n lib32-libjpeg-turbo
Summary: A MMX/SSE2 accelerated library for manipulating JPEG image files
Group: System/Libraries
%description -n lib32-libjpeg-turbo
A MMX/SSE2 accelerated library for manipulating JPEG image files.
%package -n lib32-libjpeg-turbo-devel
Summary: Devel package for lib32-libjpeg-turbo
Group: Development/Libraries
Requires: lib32-libjpeg-turbo = %{?epoch:%epoch:}%{version}-%{release}
Requires: libjpeg-turbo-devel = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib32-libjpeg-turbo-devel
A MMX/SSE2 accelerated library for manipulating JPEG image files.
This package contains static libraries and header files needed for development.
%debug_package %debug_package
%prep %prep
@ -126,20 +101,30 @@ mv %{name}-%{version} %{name}-7
%build %build
cd %{name}-6b cd %{name}-6b
%cmake -d build %cmake -d build \
\
%ifarch arm
-DWITH_SIMD=0
%endif
%make %make
cd ../.. cd ../..
cd %{name}-7 cd %{name}-7
%cmake -d build \ %cmake -d build \
-DWITH_JPEG7=TRUE -DWITH_JPEG7=TRUE \
%ifarch arm
-DWITH_SIMD=0
%endif
%make %make
cd ../.. cd ../..
%cmake -d build \ %cmake -d build \
-DWITH_JPEG8=TRUE -DWITH_JPEG8=TRUE \
%ifarch arm
-DWITH_SIMD=0
%endif
%make %make
@ -187,14 +172,12 @@ cp -a lib32/%{_prefix}/lib %{buildroot}%{_prefix}/
%post -n libjpeg7-turbo -p /sbin/ldconfig %post -n libjpeg7-turbo -p /sbin/ldconfig
%postun -n libjpeg7-turbo -p /sbin/ldconfig %postun -n libjpeg7-turbo -p /sbin/ldconfig
%post -n lib32-libjpeg-turbo -p /sbin/ldconfig
%postun -n lib32-libjpeg-turbo -p /sbin/ldconfig
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libjpeg.so.8 %{_libdir}/libjpeg.so.8
%{_libdir}/libjpeg.so.8.* %{_libdir}/libjpeg.so.8.*
%{_libdir}/libturbojpeg.so.* %{_libdir}/libturbojpeg.so.*
%doc LICENSE.md
%files -n libjpeg-devel %files -n libjpeg-devel
%defattr(-,root,root) %defattr(-,root,root)
@ -209,6 +192,8 @@ cp -a lib32/%{_prefix}/lib %{buildroot}%{_prefix}/
%{_libdir}/pkgconfig/libturbojpeg.pc %{_libdir}/pkgconfig/libturbojpeg.pc
%dir %{_docdir}/%{name} %dir %{_docdir}/%{name}
%{_docdir}/%{name}/* %{_docdir}/%{name}/*
%dir %{_libdir}/cmake/libjpeg-turbo
%{_libdir}/cmake/libjpeg-turbo/libjpeg-turbo*.cmake
%doc coderules.txt jconfig.txt libjpeg.txt structure.txt change.log %doc coderules.txt jconfig.txt libjpeg.txt structure.txt change.log
%files -n libjpeg-static %files -n libjpeg-static
@ -234,32 +219,18 @@ cp -a lib32/%{_prefix}/lib %{buildroot}%{_prefix}/
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libjpeg.so.62 %{_libdir}/libjpeg.so.62
%{_libdir}/libjpeg.so.62.* %{_libdir}/libjpeg.so.62.*
#%doc README-turbo.txt %doc LICENSE.md
%files -n libjpeg7-turbo %files -n libjpeg7-turbo
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libjpeg.so.7 %{_libdir}/libjpeg.so.7
%{_libdir}/libjpeg.so.7.* %{_libdir}/libjpeg.so.7.*
#%doc README-turbo.txt %doc LICENSE.md
%ifarch x86_64_disabled
%files -n lib32-libjpeg-turbo
%defattr(-,root,root)
%{_prefix}/lib/libjpeg.so.8
%{_prefix}/lib/libjpeg.so.8.*
%{_prefix}/lib/libturbojpeg.so.*
%files -n lib32-libjpeg-turbo-devel
%defattr(-,root,root)
%{_prefix}/lib/libjpeg.a
%{_prefix}/lib/libjpeg.so
%{_prefix}/lib/libturbojpeg.a
%{_prefix}/lib/libturbojpeg.so
%{_prefix}/lib/pkgconfig/libjpeg.pc
%{_prefix}/lib/pkgconfig/libturbojpeg.pc
%endif
%changelog %changelog
* Sat Apr 24 2021 Automatic Build System <autodist@mambasoft.it> 2.1.0-1mamba
- automatic version update by autodist
* Sun Nov 22 2020 Automatic Build System <autodist@mambasoft.it> 2.0.6-1mamba * Sun Nov 22 2020 Automatic Build System <autodist@mambasoft.it> 2.0.6-1mamba
- automatic version update by autodist - automatic version update by autodist