Blame SPECS/LibRaw.spec

37fa59
Summary: Library for reading RAW files obtained from digital photo cameras
37fa59
Name: LibRaw
667343
Version: 0.19.5
03b3ac
Release: 2%{?dist}
37fa59
License: BSD and (CDDL or LGPLv2)
37fa59
URL: http://www.libraw.org
37fa59
37fa59
BuildRequires: gcc-c++
37fa59
BuildRequires: pkgconfig(lcms2)
37fa59
BuildRequires: pkgconfig(jasper)
37fa59
BuildRequires: pkgconfig(libjpeg)
667343
BuildRequires: autoconf automake libtool
37fa59
37fa59
Source0: http://www.libraw.org/data/%{name}-%{version}.tar.gz
37fa59
Patch0:  LibRaw-0.6.0-pkgconfig.patch
03b3ac
Patch1:  LibRaw-CVE-2020-15503.patch
37fa59
Provides: bundled(dcraw) = 9.25
37fa59
37fa59
%description
37fa59
LibRaw is a library for reading RAW files obtained from digital photo
37fa59
cameras (CRW/CR2, NEF, RAF, DNG, and others).
37fa59
37fa59
LibRaw is based on the source codes of the dcraw utility, where part of
37fa59
drawbacks have already been eliminated and part will be fixed in future.
37fa59
37fa59
%package devel
37fa59
Summary: LibRaw development libraries
37fa59
Requires:   %{name}%{?_isa} = %{version}-%{release}
37fa59
37fa59
%description devel
37fa59
LibRaw development libraries.
37fa59
37fa59
This package contains libraries that applications can use to build
37fa59
against LibRaw.
37fa59
37fa59
%package static
37fa59
Summary: LibRaw static development libraries
37fa59
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
37fa59
37fa59
%description static
37fa59
LibRaw static development libraries.
37fa59
667343
%if 0%{?rhel} != 7
37fa59
%package samples
37fa59
Summary: LibRaw sample programs
37fa59
Requires: %{name} = %{version}-%{release}
37fa59
37fa59
%description samples
37fa59
LibRaw sample programs
667343
%endif
37fa59
37fa59
%prep
37fa59
%setup -q
37fa59
37fa59
%patch0 -p0 -b .pkgconfig
03b3ac
%patch1 -p1 -b .cve-2020-15503
37fa59
37fa59
%build
667343
autoreconf -if
37fa59
%configure \
667343
%if 0%{?rhel} == 7
667343
    --enable-examples=no \
667343
%else
37fa59
    --enable-examples=yes \
667343
%endif
37fa59
    --enable-jasper \
37fa59
    --enable-jpeg \
37fa59
    --enable-lcms \
37fa59
    --enable-openmp
37fa59
37fa59
# https://fedoraproject.org/wiki/Packaging:Guidelines#Beware_of_Rpath
37fa59
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
37fa59
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
37fa59
37fa59
%make_build
37fa59
37fa59
%install
37fa59
cp -pr doc manual
37fa59
chmod 644 LICENSE.CDDL LICENSE.LGPL COPYRIGHT Changelog.txt
37fa59
chmod 644 manual/*.html
37fa59
37fa59
# The Libraries
37fa59
%make_install
37fa59
37fa59
rm -rfv samples/.deps
37fa59
rm -fv samples/.dirstamp
37fa59
rm -fv samples/*.o
37fa59
37fa59
rm -fv %{buildroot}%{_libdir}/lib*.la
37fa59
37fa59
%ldconfig_scriptlets
37fa59
37fa59
%files
37fa59
%doc Changelog.txt
37fa59
%license LICENSE.CDDL LICENSE.LGPL COPYRIGHT
37fa59
%{_libdir}/libraw.so.19*
37fa59
%{_libdir}/libraw_r.so.19*
37fa59
37fa59
%files static
37fa59
%{_libdir}/libraw.a
37fa59
%{_libdir}/libraw_r.a
37fa59
37fa59
%files devel
37fa59
%doc manual
37fa59
%doc samples
37fa59
%{_includedir}/libraw/
37fa59
%{_libdir}/libraw.so
37fa59
%{_libdir}/libraw_r.so
37fa59
%{_libdir}/pkgconfig/libraw.pc
37fa59
%{_libdir}/pkgconfig/libraw_r.pc
37fa59
%exclude %{_docdir}/libraw/*
37fa59
667343
%if 0%{?rhel} != 7
37fa59
%files samples
37fa59
%{_bindir}/*
667343
%endif
37fa59
37fa59
37fa59
%changelog
03b3ac
* Mon Aug 10 2020 Debarshi Ray <rishi@fedoraproject.org> - 0.19.5-2
03b3ac
- Backport fix for CVE-2020-15503 from Fedora
03b3ac
Resolves: #1853529
03b3ac
667343
* Wed Oct 30 2019 Debarshi Ray <rishi@fedoraproject.org> - 0.19.5-1
667343
- 0.19.5
667343
Resolves: #1671744
667343
37fa59
* Fri Dec 14 2018 Debarshi Ray <rishi@fedoraproject.org> - 0.19.1-1
37fa59
- 0.19.1
37fa59
Resolves: #1654688
37fa59
37fa59
* Mon Oct 08 2018 Debarshi Ray <rishi@fedoraproject.org> - 0.19.0-3
37fa59
- Remove the build artifacts for the samples
37fa59
Resolves: #1633708
37fa59
37fa59
* Mon Oct 08 2018 Debarshi Ray <rishi@fedoraproject.org> - 0.19.0-2
37fa59
- Bind the samples sub-package more tightly to the main package
37fa59
Resolves: #1633708
37fa59
37fa59
* Thu Sep 27 2018 Debarshi Ray <rishi@fedoraproject.org> - 0.19.0-1
37fa59
- 0.19.0
37fa59
- Fix License
37fa59
- Explicitly enable JPEG and OpenMP support to avoid surprises
37fa59
- Tighten %%files, mostly so api/soname changes will no longer be a surpise
37fa59
- Use %%make_build %%ldconfig_scriptlets
37fa59
Resolves: #1633708
37fa59
37fa59
* Thu Jul 19 2018 Debarshi Ray <rishi@fedoraproject.org> - 0.18.13-1
37fa59
- 0.18.13.
37fa59
37fa59
* Wed Apr 25 2018 Gwyn Ciesla <limburgher@gmail.com> - 0.18.9-1
37fa59
- 0.18.9.
37fa59
37fa59
* Sat Feb 24 2018 Gwyn Ciesla <limburgher@gmail.com> - 0.18.8-1
37fa59
- 0.18.8.
37fa59
37fa59
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.18.7-3
37fa59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
37fa59
37fa59
* Fri Feb 02 2018 Gwyn Ciesla <limburgher@gmail.com> - 0.18.7-2
37fa59
- Patch for updated glibc.
37fa59
37fa59
* Fri Jan 19 2018 Gwyn Ciesla <limburgher@gmail.com> - 0.18.7-1
37fa59
- 0.18.7
37fa59
- Patch for ambiguous function call.
37fa59
37fa59
* Wed Dec 06 2017 Gwyn Ciesla <limburgher@gmail.com> - 0.18.6-1
37fa59
- 0.18.6
37fa59
37fa59
* Fri Sep 22 2017 Gwyn Ciesla <limburgher@gmail.com> - 0.18.5-1
37fa59
- 0.18.5
37fa59
37fa59
* Fri Sep 15 2017 Gwyn Ciesla <limburgher@gmail.com> - 0.18.4-2
37fa59
- Patch for CVE-2017-14348.
37fa59
37fa59
* Tue Sep 12 2017 Gwyn Ciesla <limburgher@gmail.com> - 0.18.4-1
37fa59
- 0.18.4
37fa59
37fa59
* Mon Sep 11 2017 Gwyn Ciesla <limburgher@gmail.com> - 0.18.3-1
37fa59
- 0.18.3
37fa59
37fa59
* Wed Sep 06 2017 Gwyn Ciesla <limburgher@gmail.com> - 0.18.2-5
37fa59
- Patch for CVE-2017-13735.
37fa59
37fa59
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.18.2-4
37fa59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
37fa59
37fa59
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.18.2-3
37fa59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
37fa59
37fa59
* Fri Apr 14 2017 Rex Dieter <rdieter@fedoraproject.org> - 0.18.2-2
37fa59
- fix rpath, tighten subpkg dependencies, use %%license
37fa59
37fa59
* Thu Mar 09 2017 Jon Ciesla <limburgher@gmail.com> - 0.18.2-1
37fa59
- 0.18.2.
37fa59
37fa59
* Mon Feb 13 2017 Jon Ciesla <limburgher@gmail.com> - 0.18.1-1
37fa59
- 0.18.1.
37fa59
37fa59
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.18.0-2
37fa59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
37fa59
37fa59
* Tue Dec 27 2016 Jon Ciesla <limburgher@gmail.com> - 0.18.0-1
37fa59
- 0.18.0.
37fa59
37fa59
* Thu Dec  1 2016 Tom Callaway <spot@fedoraproject.org> - 0.17.2-2
37fa59
- rebuild for deps
37fa59
37fa59
* Sun May 15 2016 Jon Ciesla <limburgher@gmail.com> - 0.17.2-1
37fa59
- 0.17.2.
37fa59
37fa59
* Mon Feb 22 2016 Jon Ciesla <limburgher@gmail.com> - 0.17.1-4
37fa59
- Patch to fix FTBFS, BZ 1307280.
37fa59
37fa59
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.17.1-3
37fa59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
37fa59
37fa59
* Tue Dec 01 2015 Jon Ciesla <limburgher@gmail.com> - 0.17.1-2
37fa59
- Patch for CVE-2015-8366 and CVE-2015-8367, BZ 1287057.
37fa59
37fa59
* Sun Nov 29 2015 Jon Ciesla <limburgher@gmail.com> - 0.17.1-1
37fa59
- 0.17.1.
37fa59
37fa59
* Mon Aug 17 2015 Jon Ciesla <limburgher@gmail.com> - 0.17.0-1
37fa59
- 0.17.0.
37fa59
37fa59
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16.2-2
37fa59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
37fa59
37fa59
* Sat May 16 2015 Jon Ciesla <limburgher@gmail.com> - 0.16.2-1
37fa59
- 0.16.2, BZ 1222258.
37fa59
37fa59
* Thu May 14 2015 Jon Ciesla <limburgher@gmail.com> - 0.16.1-7
37fa59
- Add provides for bundled dcraw, https://fedorahosted.org/fpc/ticket/530
37fa59
- Fix EVR in changelog.
37fa59
37fa59
* Mon May 11 2015 Jon Ciesla <limburgher@gmail.com> - 0.16.1-6
37fa59
- 0.16.1, BZ 1220382.
37fa59
37fa59
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.16.0-5
37fa59
- Rebuilt for GCC 5 C++11 ABI change
37fa59
37fa59
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16.0-4
37fa59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
37fa59
37fa59
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16.0-3
37fa59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
37fa59
37fa59
* Thu Feb 20 2014 Jon Ciesla <limburgher@gmail.com> - 0.16.0-2
37fa59
- Fix pkg-config flags, BZ 837248.
37fa59
37fa59
* Tue Jan 21 2014 Jon Ciesla <limburgher@gmail.com> - 0.16.0-1
37fa59
- 0.16.0, BZ 1055281.
37fa59
37fa59
* Fri Aug 30 2013 Jon Ciesla <limburgher@gmail.com> - 0.15.4-1
37fa59
- 0.15.4, CVE-2013-1439, BZ 1002717.
37fa59
37fa59
* Wed Aug 07 2013 Jon Ciesla <limburgher@gmail.com> - 0.15.3-3
37fa59
- Enable samples, BZ 991514,
37fa59
37fa59
* Fri Aug 02 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15.3-2
37fa59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
37fa59
37fa59
* Tue Jul 09 2013 Jon Ciesla <limburgher@gmail.com> - 0.15.3-1
37fa59
- 0.15.3.
37fa59
37fa59
* Wed May 29 2013 Jon Ciesla <limburgher@gmail.com> - 0.15.2-1
37fa59
- Latest upstream, two security fixes.
37fa59
37fa59
* Wed May 29 2013 Jon Ciesla <limburgher@gmail.com> - 0.14.8-2
37fa59
- Patch for double free, CVE-2013-2126, BZ 968387.
37fa59
37fa59
* Wed May 29 2013 Jon Ciesla <limburgher@gmail.com> - 0.14.8-1
37fa59
- Latest upstream, fixes gcc 4.8 issues.
37fa59
37fa59
* Thu Apr 11 2013 Jon Ciesla <limburgher@gmail.com> - 0.14.7-4
37fa59
- Revert prior patch.
37fa59
37fa59
* Thu Apr 11 2013 Jon Ciesla <limburgher@gmail.com> - 0.14.7-3
37fa59
- Patch for segfault, BZ 948628.
37fa59
37fa59
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14.7-2
37fa59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
37fa59
37fa59
* Mon Nov 26 2012 Jon Ciesla <limburgher@gmail.com> - 0.14.7-1
37fa59
- New upstream 0.14.7
37fa59
37fa59
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14.6-3
37fa59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
37fa59
37fa59
* Sat Jun  2 2012 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> - 0.14.6-2
37fa59
- Use lcms2.
37fa59
37fa59
* Sat Jun  2 2012 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> - 0.14.6-1
37fa59
- New upstream 0.14.6
37fa59
37fa59
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14.3-4
37fa59
- Rebuilt for c++ ABI breakage
37fa59
37fa59
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14.3-3
37fa59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
37fa59
37fa59
* Fri Dec  9 2011 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> - 0.14.3-2
37fa59
- Add demosaic packs (bz #760638)
37fa59
- Change license to GPLv3+ due to above change
37fa59
37fa59
* Wed Nov 16 2011 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> - 0.14.3-1
37fa59
- Rebase to upstream 0.14.3
37fa59
37fa59
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.3-3
37fa59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
37fa59
37fa59
* Sun Dec 12 2010 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> 0.11.3-2
37fa59
- Of course, you need to upload the new sources.
37fa59
37fa59
* Sun Dec 12 2010 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> 0.11.3-1
37fa59
- upstream 0.11.3
37fa59
37fa59
* Sat Nov 13 2010 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> 0.9.1-9
37fa59
- Build position independent object code
37fa59
37fa59
* Thu Jul 08 2010 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> 0.9.1-8
37fa59
- Remove LibRaw license since we're not distributing LibRaw under its terms
37fa59
37fa59
* Wed Jul 07 2010 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> 0.9.1-7
37fa59
- Buildroot is unnecessary
37fa59
- Corrected license to LGPLv2 or CDDL
37fa59
37fa59
* Sun Jul 04 2010 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> 0.9.1-6
37fa59
- Do not impose -O4 and -w in build options
37fa59
- Change package group to Development/Libraries
37fa59
- Corrected license to LGPLv2
37fa59
- setup macro no longer needs the name and version arguments
37fa59
- Rename patches to include name and version
37fa59
37fa59
* Wed Jun 30 2010 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> 0.9.1-5
37fa59
- Use optflags for build
37fa59
- Install the documentation in a cleaner way
37fa59
37fa59
* Tue Jun 29 2010 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> 0.9.1-4
37fa59
- Use upstream package name (libRaw) instead of libraw
37fa59
37fa59
* Tue Jun 29 2010 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> 0.9.1-3
37fa59
- Remove the clean section since it is not needed in F-13 and later
37fa59
- Correct installation of docs into defaultdocdir instead of docdir
37fa59
37fa59
* Thu Jun 10 2010 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> 0.9.1-2
37fa59
- Disable lcms and openmp support by default so that we're in line with
37fa59
  upstream default
37fa59
37fa59
* Fri Jun 04 2010 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> 0.9.1-1
37fa59
- New package
37fa59