|
|
@ -1,22 +1,30 @@
|
|
|
|
%global somajor 23
|
|
|
|
|
|
|
|
|
|
|
|
# feature macro to enable samples (or not)
|
|
|
|
|
|
|
|
%if 0%{?rhel} != 7
|
|
|
|
|
|
|
|
%global samples 1
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
Summary: Library for reading RAW files obtained from digital photo cameras
|
|
|
|
Summary: Library for reading RAW files obtained from digital photo cameras
|
|
|
|
Name: LibRaw
|
|
|
|
Name: LibRaw
|
|
|
|
Version: 0.21.3
|
|
|
|
Version: 0.20.2
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 6%{?dist}
|
|
|
|
License: BSD-3-Clause and (CDDL-1.0 or LGPL-2.1-only)
|
|
|
|
License: BSD and LGPLv2
|
|
|
|
URL: https://www.libraw.org
|
|
|
|
URL: http://www.libraw.org
|
|
|
|
Source0: %{url}/data/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
Patch0: LibRaw-pkgconfig.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: pkgconfig(lcms2)
|
|
|
|
BuildRequires: pkgconfig(lcms2)
|
|
|
|
BuildRequires: pkgconfig(jasper)
|
|
|
|
BuildRequires: pkgconfig(jasper)
|
|
|
|
BuildRequires: pkgconfig(libjpeg)
|
|
|
|
BuildRequires: pkgconfig(libjpeg)
|
|
|
|
BuildRequires: pkgconfig(zlib)
|
|
|
|
|
|
|
|
BuildRequires: autoconf automake libtool
|
|
|
|
BuildRequires: autoconf automake libtool
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Source0: http://github.com/LibRaw/LibRaw/archive/%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Patch0: LibRaw-pkgconfig.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=2172140
|
|
|
|
|
|
|
|
Patch1: LibRaw-check-for-input-buffer-size-on-datastream-gets.patch
|
|
|
|
|
|
|
|
|
|
|
|
Provides: bundled(dcraw) = 9.25
|
|
|
|
Provides: bundled(dcraw) = 9.25
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
@ -28,7 +36,7 @@ drawbacks have already been eliminated and part will be fixed in future.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: LibRaw development libraries
|
|
|
|
Summary: LibRaw development libraries
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
%description devel
|
|
|
|
LibRaw development libraries.
|
|
|
|
LibRaw development libraries.
|
|
|
@ -45,7 +53,7 @@ LibRaw static development libraries.
|
|
|
|
|
|
|
|
|
|
|
|
%package samples
|
|
|
|
%package samples
|
|
|
|
Summary: LibRaw sample programs
|
|
|
|
Summary: LibRaw sample programs
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description samples
|
|
|
|
%description samples
|
|
|
|
LibRaw sample programs
|
|
|
|
LibRaw sample programs
|
|
|
@ -56,12 +64,11 @@ LibRaw sample programs
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
autoreconf -if
|
|
|
|
autoreconf -if
|
|
|
|
%configure \
|
|
|
|
%configure \
|
|
|
|
--enable-examples=yes \
|
|
|
|
--enable-examples=%{?samples:yes}%{!?samples:no} \
|
|
|
|
--enable-jasper \
|
|
|
|
--enable-jasper \
|
|
|
|
--enable-jpeg \
|
|
|
|
--enable-jpeg \
|
|
|
|
--enable-lcms \
|
|
|
|
--enable-lcms \
|
|
|
|
--enable-openmp \
|
|
|
|
--enable-openmp
|
|
|
|
--enable-zlib
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# https://fedoraproject.org/wiki/Packaging:Guidelines#Beware_of_Rpath
|
|
|
|
# https://fedoraproject.org/wiki/Packaging:Guidelines#Beware_of_Rpath
|
|
|
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
@ -83,11 +90,13 @@ rm -fv samples/*.o
|
|
|
|
|
|
|
|
|
|
|
|
rm -fv %{buildroot}%{_libdir}/lib*.la
|
|
|
|
rm -fv %{buildroot}%{_libdir}/lib*.la
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%doc Changelog.txt
|
|
|
|
%doc Changelog.txt
|
|
|
|
%license LICENSE.CDDL LICENSE.LGPL COPYRIGHT
|
|
|
|
%license LICENSE.CDDL LICENSE.LGPL COPYRIGHT
|
|
|
|
%{_libdir}/libraw.so.%{somajor}{,.*}
|
|
|
|
%{_libdir}/libraw.so.20*
|
|
|
|
%{_libdir}/libraw_r.so.%{somajor}{,.*}
|
|
|
|
%{_libdir}/libraw_r.so.20*
|
|
|
|
|
|
|
|
|
|
|
|
%files static
|
|
|
|
%files static
|
|
|
|
%{_libdir}/libraw.a
|
|
|
|
%{_libdir}/libraw.a
|
|
|
@ -103,74 +112,27 @@ rm -fv %{buildroot}%{_libdir}/lib*.la
|
|
|
|
%{_libdir}/pkgconfig/libraw_r.pc
|
|
|
|
%{_libdir}/pkgconfig/libraw_r.pc
|
|
|
|
%exclude %{_docdir}/libraw/*
|
|
|
|
%exclude %{_docdir}/libraw/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?samples}
|
|
|
|
%files samples
|
|
|
|
%files samples
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_bindir}/*
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Wed Dec 25 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.21.3-1
|
|
|
|
* Tue Apr 04 2023 Debarshi Ray <rishi@fedoraproject.org> - 0.20.2-6
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
- Fix CVE-2021-32142
|
|
|
|
|
|
|
|
Resolves: #2172140
|
|
|
|
* Fri Sep 20 2024 Gwyn Ciesla <gwync@protonmail.com> - 0.21.3-1
|
|
|
|
|
|
|
|
- 0.21.3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.21.2-6
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.21.2-5
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.21.2-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.21.2-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 09 2024 Gwyn Ciesla <gwync@protonmail.com> - 0.21.2-2
|
|
|
|
|
|
|
|
- CR3-Qstep table: avoid wrong 64-bit code generation patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Dec 21 2023 Gwyn Ciesla <gwync@protonmail.com> - 0.21.2-1
|
|
|
|
|
|
|
|
- 0.21.2, enable zlib support.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Nov 28 2023 Orion Poplawski <orion@nwra.com> - 0.21.1-7
|
|
|
|
|
|
|
|
- Rebuild for jasper 4.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Oct 10 2023 Neal Gompa <ngompa@fedoraproject.org> - 0.21.1-6
|
|
|
|
|
|
|
|
- Clean and simplify spec and drop EL7 stuff
|
|
|
|
|
|
|
|
- Use official released tarball
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.21.1-5
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon May 08 2023 Gwyn Ciesla <gwync@protonmail.com> - 0.21.1-4
|
|
|
|
|
|
|
|
- Patch for CVE-2023-1729
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Mar 13 2023 Gwyn Ciesla <gwync@protonmail.com> - 0.21.1-3
|
|
|
|
|
|
|
|
- migrate to SPDX license
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.21.1-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 05 2023 Gwyn Ciesla <gwync@protonmail.com> - 0.21.1-1
|
|
|
|
|
|
|
|
- 0.21.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Dec 19 2022 Gwyn Ciesla <gwync@protonmail.com> - 0.21.0-1
|
|
|
|
|
|
|
|
- 0.21.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.20.2-7
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Feb 13 2022 Josef Ridky <jridky@redhat.com> - 0.20.2-6
|
|
|
|
|
|
|
|
- Rebuilt for libjasper.so.6
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.20.2-5
|
|
|
|
* Mon Dec 13 2021 Debarshi Ray <rishi@fedoraproject.org> - 0.20.2-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
- CDDL is not an approved license
|
|
|
|
|
|
|
|
Resolves: #2031918
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Dec 13 2021 Debarshi Ray <rishi@fedoraproject.org> - 0.20.2-4
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.20.2-4
|
|
|
|
- CDDL is not an approved license, but CDDL-1.0 is
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.20.2-3
|
|
|
|
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 0.20.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.20.2-2
|
|
|
|
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.20.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|