Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP2
libjpeg-turbo.15341
libjpeg62-turbo.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libjpeg62-turbo.spec of Package libjpeg-turbo.15341
# # spec file for package libjpeg62-turbo # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define major 62 %define minor 2 %define micro 0 %define srcver 1.5.3 %define libver %{major}.%{minor}.%{micro} Name: libjpeg62-turbo Version: %{srcver} Release: 0 Summary: A MMX/SSE2 accelerated library for manipulating JPEG image files License: BSD-3-Clause Group: Productivity/Graphics/Convertors Url: http://sourceforge.net/projects/libjpeg-turbo Source0: http://downloads.sf.net/libjpeg-turbo/libjpeg-turbo-%{version}.tar.gz Source1: baselibs.conf Patch1: libjpeg-turbo-1.3.0-tiff-ojpeg.patch Patch2: libjpeg-1.4.0-ocloexec.patch Patch3: libjpeg-turbo-CVE-2018-11813.patch Patch4: libjpeg-turbo-CVE-2018-1152.patch # CVE-2018-14498 [bsc#1128712] Patch5: libjpeg-turbo-CVE-2018-14498.patch # CVE-2019-2201 [bsc#1156402] Patch6: libjpeg-turbo-CVE-2019-2201.patch # CVE-2020-13790 [bsc#1172491], heap-based buffer over-read in get_rgb_row() in rdppm.c via a malformed PPM input file Patch7: libjpeg-turbo-CVE-2020-13790.patch BuildRequires: gcc-c++ BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: yasm BuildRoot: %{_tmppath}/%{name}-%{version}-build Conflicts: jpeg%{major} %description The libjpeg-turbo package contains a library of functions for manipulating JPEG images. %package -n libjpeg%{major} Version: %{libver} Release: 0 Summary: The MMX/SSE accelerated JPEG compression/decompression library Group: System/Libraries Obsoletes: libjpeg = 6.2.0 # bug437293 %ifarch ppc64 Obsoletes: libjpeg-64bit < %{version} %endif # %description -n libjpeg%{major} This library contains MMX/SSE accelerated functions for manipulating JPEG images. %package -n libjpeg%{major}-devel Version: %{libver} Release: 0 Summary: Development Tools for applications which will use the Libjpeg Library Group: Development/Libraries/C and C++ Requires: libjpeg%{major} = %{version} Provides: libjpeg-devel = %{version} Obsoletes: libjpeg-devel < %{version} Conflicts: otherproviders(libjpeg-devel) # bug437293 %ifarch ppc64 Obsoletes: libjpeg-devel-64bit < %{version} %endif # %description -n libjpeg%{major}-devel The libjpeg-devel package includes the header files and libraries necessary for compiling and linking programs which will manipulate JPEG files using the libjpeg library. %prep %setup -q -n libjpeg-turbo-%{srcver} %patch1 %patch2 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p1 %build export LDFLAGS="-Wl,-z,relro,-z,now" %configure --disable-static \ --with-build-date=$(date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y%m%d) make %{?_smp_mflags} %check make test libdir=%{_libdir} %install %make_install # Remove unwanted files rm -f %{buildroot}%{_libdir}/lib{,turbo}jpeg.la rm %{buildroot}%{_bindir}/* rm %{buildroot}%{_mandir}/man1/* # libjpegturbo is provided with libjpeg-turbo.spec yet rm %{buildroot}%{_includedir}/turbojpeg.h rm %{buildroot}%{_libdir}/libturbojpeg.so* # Remove docs, we'll select docs manually rm -rf %{buildroot}%{_datadir}/doc/ %post -n libjpeg%{major} -p /sbin/ldconfig %postun -n libjpeg%{major} -p /sbin/ldconfig %files %defattr(-,root,root) %doc README.md change.log ChangeLog.md %doc usage.txt wizard.txt %files -n libjpeg%{major} %defattr(-,root,root) %{_libdir}/libjpeg.so.%{major} %{_libdir}/libjpeg.so.%{libver} %files -n libjpeg%{major}-devel %defattr(-,root,root) %{_includedir}/*.h %{_libdir}/libjpeg.so %{_libdir}/pkgconfig/libjpeg.pc %{_libdir}/pkgconfig/libturbojpeg.pc %doc coderules.txt jconfig.txt libjpeg.txt structure.txt example.c %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor