Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-updates-src > by-pkgid > b8c1dd862ca2170e26347bacec7062ab > files > 30

openexr-2.3.0-2.3.mga7.src.rpm

%define api		2_3
%define major		24
%define libname		%mklibname ilmimf %{api} %{major}
%define develname	%mklibname %{name} -d

Name:		openexr
Summary:	A high dynamic-range (HDR) image file format
Version:	2.3.0
%define subrel	3
Release:	%mkrel 2
Group:		Graphics/Utilities
License:	BSD
URL:		http://www.openexr.com
Source0:	https://github.com/openexr/openexr/releases/download/v%{version}/openexr-%{version}.tar.gz
Patch00:	openexr-2.3.0-CVE-2017-14988.patch
Patch01:	openexr-2.3.0-CVE-2018-18444.patch
Patch02:	0001-Force-tile-sizes-to-be-less-than-INT_MAX-bytes-in-li.patch
Patch03:	0002-validate-tiles-have-valid-headers-when-raw-reading-t.patch
Patch04:	0003-Sanity-check-for-input-buffer-overruns-in-RLE-uncomp.patch
Patch05:	0004-fixes-for-DWA-uncompress-sanity-check-unknown-data-r.patch
Patch06:	0006-prevent-int-overflow-when-calculating-buffer-offsets.patch
Patch07:	0007-bypass-SSE-optimization-when-skipping-subsampled-cha.patch
Patch08:	0008-check-for-bad-bit-counts-in-Huff-encoded-data.patch
Patch09:	0009-improve-bad-count-detection-in-huf-decompress.patch
Patch10:	0010-sanity-check-data-reads-from-PIZ-data.patch
Patch11:	0011-fix-memory-leak-when-reading-damaged-PIZ-files.patch
Patch12:	0012-abort-when-file-claims-to-have-excessive-scanline-da.patch
Patch13:	0013-avoid-creating-compression-object-just-to-compute-nu.patch
Patch14:	0014-fix-check-for-valid-ruleSize.patch
Patch15:	0015-fix-memory-leak-on-DeepTiledInput-files-compressor-f.patch
Patch16:	0016-fix-memory-leak-in-test-suite.patch
Patch17:	0017-fixes-to-memory-leak-when-constructors-throw-excepti.patch
Patch18:	0018-Fix-cleanup-when-DeepScanLineInputFile-constructor-t.patch
Patch19:	0021-missing-header-for-ptrdiff_t.patch
Patch20:	0022-minor-tweaks-and-typo-fixes.patch
Patch21:	0023-force-x-y-Sampling-to-1-for-Deep-Scanline-Images.patch
Patch22:	CVE-2020-15304.patch
Patch23:	CVE-2020-15305.patch
Patch24:	CVE-2020-15306.patch
Patch25:	CVE-2020-16587.patch
Patch26:	CVE-2020-16588.patch
Patch27:	CVE-2020-16589.patch
BuildRequires:	pkgconfig(IlmBase) >= %{version}
BuildRequires:	pkgconfig(zlib)
# For autosetup
BuildRequires:	git-core

Obsoletes:	OpenEXR < 2.2.0-7
Provides:	OpenEXR = %{version}-%{release}

%description
Industrial Light & Magic developed the OpenEXR format in response to the demand
for higher color fidelity in the visual effects industry.

%package -n	%{libname}
Summary:	Dynamic libraries from %{name}
Group:		System/Libraries
Obsoletes:	%{_lib}OpenEXR22 < 2.2.0-7

%description -n	%{libname}
Dynamic libraries from %{name}.

%package -n	%{develname}
Summary:	Header files and static libraries from %{name}
Group:		Development/C
Requires:	%{libname} = %{version}-%{release}
Provides:	lib%{name}-devel = %{version}-%{release}
Provides:	%{name}-devel = %{version}-%{release}
Provides:	OpenEXR-devel = %{version}-%{release}
Obsoletes:	%{_lib}OpenEXR-devel < 2.2.0-7

%description -n	%{develname}
Libraries and includes files for developing programs based on %{name}.

%prep
%autosetup -S git

#to recognize aarch64
cp -af %{_usr}/lib/rpm/config.{guess,sub} .

%build
%configure2_5x --disable-static
%make_build

%install
%make_install

find %{buildroot} -name "*.la" -delete

# Remove doc files installed by make install, we package them in %files
rm -rf %{buildroot}%{_docdir}

%files
%doc AUTHORS ChangeLog NEWS doc/*
%{_bindir}/*

%files -n %{libname}
%{_libdir}/lib*%{api}.so.%{major}{,.*}

%files -n %{develname}
%{_includedir}/*
%{_libdir}/*.so
%{_datadir}/aclocal/*.m4
%{_libdir}/pkgconfig/*.pc


%changelog
* Sat Jan 09 2021 guillomovitch <guillomovitch> 2.3.0-2.3.mga7
+ Revision: 1670056
- fix CVE-2020-1658[789] and CVE-2020-1530[456]
+ ns80 <ns80>
- add patches from Ubuntu for CVE-2020-1175[89] and CVE-2020-1176[0-5] (mga#26551)
+ daviddavid <daviddavid>
- add opensuse patch to fix CVE-2017-14988 (mga#25758)

* Wed May 08 2019 mrambo3501 <mrambo3501> 2.3.0-2.mga7
+ Revision: 1396760
- add upstream patch which fixes CVE-2018-18444 (mga#24759)

* Mon Oct 15 2018 zezinho <zezinho> 2.3.0-1.mga7
+ Revision: 1320440
- new version 2.3.0
+ daviddavid <daviddavid>
- rebuild for new ilmbase 2.3.0

* Sun Sep 23 2018 umeabot <umeabot> 2.2.1-2.mga7
+ Revision: 1300013
- Mageia 7 Mass Rebuild

* Sun May 27 2018 wally <wally> 2.2.1-1.mga7
+ Revision: 1232387
- new version 2.2.1
- new lib major 23
- drop upstreamed patches

* Tue Jan 09 2018 neoclust <neoclust> 2.2.0-11.mga7
+ Revision: 1191900
- Rebuild against new IlmBase

* Sat Jul 01 2017 akien <akien> 2.2.0-10.mga6
+ Revision: 1108837
- Backport upstream PR to fix CVE-2017-911[026] (mga#20912)

* Wed Dec 28 2016 wally <wally> 2.2.0-9.mga6
+ Revision: 1078508
- obsolete old OpenEXR pkg

* Wed Dec 28 2016 wally <wally> 2.2.0-8.mga6
+ Revision: 1078475
- add provides for OpenEXR-devel

* Wed Dec 28 2016 wally <wally> 2.2.0-7.mga6
+ Revision: 1078452
- use lower case source pkg name
- fix lib pkg name (but keep old lower cased devel pkg name)

* Fri Feb 12 2016 umeabot <umeabot> 2.2.0-6.mga6
+ Revision: 956545
- Mageia 6 Mass Rebuild

* Tue Aug 25 2015 cjw <cjw> 2.2.0-5.mga6
+ Revision: 869264
- rebuild with gcc 5

* Wed Oct 15 2014 umeabot <umeabot> 2.2.0-4.mga5
+ Revision: 739717
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 2.2.0-3.mga5
+ Revision: 686714
- Rebuild to fix library dependencies

* Tue Sep 16 2014 umeabot <umeabot> 2.2.0-2.mga5
+ Revision: 677645
- Mageia 5 Mass Rebuild

* Sat Aug 23 2014 luigiwalser <luigiwalser> 2.2.0-1.mga5
+ Revision: 666901
- 2.2.0
- library major is now 22

* Fri Apr 25 2014 shlomif <shlomif> 2.1.0-1.mga5
+ Revision: 617985
- New version 2.1.0

* Sat Oct 19 2013 umeabot <umeabot> 2.0.1-2.mga4
+ Revision: 534405
- Mageia 4 Mass Rebuild

* Thu Sep 12 2013 fwang <fwang> 2.0.1-1.mga4
+ Revision: 477838
- br zlib
- try build normally
- fltk is not required
- disable test prog
- new version 2.0.1

* Fri Jan 11 2013 umeabot <umeabot> 1.7.1-2.mga3
+ Revision: 345071
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild
+ boklm <boklm>
- Update group: Graphics/Other -> Graphics/Utilities

* Sun Dec 02 2012 fwang <fwang> 1.7.1-1.mga3
+ Revision: 324982
- new version 1.7.1

* Fri Jan 14 2011 mikala <mikala> 1.7.0-1.mga2
+ Revision: 18057
- Drop mdk macros
- Remove BuildRoot
- imported package OpenEXR