Blame openexr.spec

be2314c
%{?!python3_pkgversion:%global python3_pkgversion 3}
eabecc5
%global sover 30
be2314c
be2314c
Name:           openexr
acfc8de
Version:        3.1.5
9ea56f3
Release:        2%{?dist}
be2314c
Summary:        Provides the specification and reference implementation of the EXR file format
be2314c
be2314c
License:        BSD
be2314c
URL:            https://www.openexr.com/
be2314c
Source0:        https://github.com/AcademySoftwareFoundation/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
be2314c
be2314c
BuildRequires:  cmake gcc gcc-c++
be2314c
BuildRequires:  boost-devel
a14aaf7
BuildRequires:  imath-devel
be2314c
BuildRequires:  python%{python3_pkgversion}-devel
be2314c
BuildRequires:  zlib-devel
be2314c
b95aaf7
Obsoletes:      OpenEXR < 2.5.3
b95aaf7
Provides:       OpenEXR = %{version}-%{release}
b95aaf7
be2314c
%description
be2314c
OpenEXR is an open-source high-dynamic-range floating-point image file format
be2314c
for high-quality image processing and storage. This document presents a brief
be2314c
overview of OpenEXR and explains concepts that are specific to this format.
be2314c
be2314c
This package containes the binaries for OpenEXR.
be2314c
be2314c
be2314c
%package libs
be2314c
Summary:        OpenEXR Libraries
b95aaf7
Provides:       OpenEXR-libs = %{version}-%{release}
b95aaf7
Obsoletes:      OpenEXR-libs < 2.5.3
be2314c
be2314c
%description libs
be2314c
OpenEXR is an open-source high-dynamic-range floating-point image file format
be2314c
for high-quality image processing and storage. This document presents a brief
be2314c
overview of OpenEXR and explains concepts that are specific to this format.
be2314c
be2314c
OpenEXR Features:
be2314c
be2314c
* High dynamic range and color precision.  Support for 16-bit floating-point,
be2314c
* 32-bit floating-point, and 32-bit integer pixels.
be2314c
* Multiple image compression algorithms, both lossless and lossy. Some of
be2314c
  the included codecs can achieve 2:1 lossless compression ratios on images
be2314c
  with film grain.  The lossy codecs have been tuned for visual quality and
be2314c
  decoding performance.
be2314c
* Extensibility. New compression codecs and image types can easily be added
be2314c
  by extending the C++ classes included in the OpenEXR software distribution.
be2314c
  New image attributes (strings, vectors, integers, etc.) can be added to
be2314c
  OpenEXR image headers without affecting backward compatibility with existing
be2314c
  OpenEXR applications.
be2314c
* Support for stereoscopic image workflows and a generalization
be2314c
  to multi-views.
be2314c
* Flexible support for deep data: pixels can store a variable-length list
be2314c
  of samples and, thus, it is possible to store multiple values at different
be2314c
  depths for each pixel. Hard surfaces and volumetric data representations are
be2314c
  accommodated.
be2314c
* Multipart: ability to encode separate, but related, images in one file.
be2314c
  This allows for access to individual parts without the need to read other
be2314c
  parts in the file.
be2314c
* Versioning: OpenEXR source allows for user configurable C++
be2314c
  namespaces to provide protection when using multiple versions of the library
be2314c
  in the same process space.
be2314c
be2314c
The IlmBase Library:
be2314c
be2314c
Also a part of OpenEXR, the IlmBase library is a basic, light-weight, and
be2314c
efficient representation of 2D and 3D vectors and matrices and other simple but
be2314c
useful mathematical objects, functions, and data types common in computer
be2314c
graphics applications, including the “half” 16-bit floating-point type.
be2314c
be2314c
be2314c
%package devel
be2314c
Requires:       %{name}-libs%{?_isa} = %{version}-%{release}
be2314c
be2314c
Provides:       OpenEXR-devel = %{version}-%{release}
be2314c
Provides:       OpenEXR-devel%{?_isa} = %{version}-%{release}
be2314c
Obsoletes:      OpenEXR-devel < 2.5.3
be2314c
be2314c
Provides:       ilmbase-devel = %{version}-%{release}
be2314c
Provides:       ilmbase-devel%{?_isa} = %{version}-%{release}
be2314c
Obsoletes:      ilmbase-devel < 2.5.3
be2314c
be2314c
Summary:        Development files for %{name}
be2314c
be2314c
%description devel
be2314c
%{summary}.
be2314c
be2314c
be2314c
%prep
be2314c
%autosetup -p1
be2314c
be2314c
be2314c
%build
be2314c
%cmake
be2314c
%cmake_build
be2314c
be2314c
be2314c
%install
be2314c
%cmake_install
be2314c
be2314c
be2314c
%check
906fead
# A few tests fail on s390x and ppc64le
b278b7e
# https://github.com/AcademySoftwareFoundation/openexr/issues/1175
906fead
%ifnarch s390x ppc64le
be2314c
%ctest
be2314c
%endif
be2314c
be2314c
be2314c
%files
be2314c
%{_bindir}/*
be2314c
be2314c
%files libs
be2314c
%doc CHANGES.md CONTRIBUTING.md GOVERNANCE.md SECURITY.md CODE_OF_CONDUCT.md CONTRIBUTORS.md README.md
be2314c
%license LICENSE.md
be2314c
%{_libdir}/*.so.%{sover}*
be2314c
be2314c
%files devel
be2314c
%{_docdir}/OpenEXR/
be2314c
%{_includedir}/OpenEXR/
be2314c
%{_libdir}/*.so
be2314c
%{_libdir}/cmake/OpenEXR/
be2314c
%{_libdir}/pkgconfig/OpenEXR.pc
be2314c
be2314c
be2314c
%changelog
9ea56f3
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.5-2
9ea56f3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
9ea56f3
acfc8de
* Tue Apr 12 2022 Richard Shaw <hobbes1069@gmail.com> - 3.1.5-1
acfc8de
- Update to 3.1.5.
acfc8de
16427f4
* Thu Mar 10 2022 Josef Ridky <jridky@redhat.com> - 3.1.4-1
16427f4
- Update to 3.1.4
16427f4
50feaa0
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.3-2
50feaa0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
50feaa0
26b03f8
* Wed Nov 03 2021 Richard Shaw <hobbes1069@gmail.com> - 3.1.3-1
26b03f8
- Update to 3.1.3.
26b03f8
b278b7e
* Wed Oct 06 2021 Richard Shaw <hobbes1069@gmail.com> - 3.1.2-1
b278b7e
- Update to 3.1.2.
b278b7e
eabecc5
* Wed Aug 11 2021 Richard Shaw <hobbes1069@gmail.com> - 3.1.1-1
eabecc5
- Update to 3.1.1.
eabecc5
9cdb3cf
* Thu Aug 05 2021 Richard Shaw <hobbes1069@gmail.com> - 3.0.5-3
9cdb3cf
- Remove Threads::Threads from link libraries in f35+
9cdb3cf
d74e32f
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.5-2
d74e32f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
d74e32f
a14aaf7
* Tue Jul 20 2021 Richard Shaw <hobbes1069@gmail.com> - 3.0.5-1
a14aaf7
- Update to 3.0.5.
a14aaf7
cb1fae0
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.5.5-2
cb1fae0
- Rebuilt for Python 3.10
cb1fae0
1970d80
* Mon Mar 15 2021 Richard Shaw <hobbes1069@gmail.com> - 2.5.5-1
1970d80
- Update to 2.5.5.
1970d80
1a55ba1
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.4-4
1a55ba1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
1a55ba1
0d83f6a
* Fri Jan 22 2021 Jonathan Wakely <jwakely@redhat.com> - 2.5.4-3
0d83f6a
- Rebuilt for Boost 1.75
0d83f6a
b95aaf7
* Mon Jan 18 2021 Richard Shaw <hobbes1069@gmail.com> - 2.5.4-2
b95aaf7
- Fix Provides/Obsoletes of OpenEXR package.
b95aaf7
3272b5b
* Wed Jan 06 2021 Richard Shaw <hobbes1069@gmail.com> - 2.5.4-1
3272b5b
- Update to 2.5.4.
3272b5b
be2314c
* Wed Dec  9 2020 Richard Shaw <hobbes1069@gmail.com> - 2.5.3-1
be2314c
- Repackaged due to massive changes in build system and inclusion of IlmBase.