This commit is contained in:
Gwyn Ciesla 2018-06-29 09:24:32 -05:00
parent b6d6b62d95
commit 1b3f672b6b
3 changed files with 8 additions and 16 deletions

1
.gitignore vendored
View File

@ -70,3 +70,4 @@ LibRaw-0.9.1.tar.gz
/LibRaw-0.18.10.tar.gz
/LibRaw-0.18.11.tar.gz
/LibRaw-0.18.12.tar.gz
/LibRaw-0.19.0.tar.gz

View File

@ -1,6 +1,6 @@
Summary: Library for reading RAW files obtained from digital photo cameras
Name: LibRaw
Version: 0.18.12
Version: 0.19.0
Release: 1%{?dist}
License: GPLv3+
URL: http://www.libraw.org
@ -10,15 +10,8 @@ BuildRequires: lcms2-devel
BuildRequires: jasper-devel
Source0: http://www.libraw.org/data/%{name}-%{version}.tar.gz
#Source1: http://www.libraw.org/data/%{name}-demosaic-pack-GPL2-%{version}.tar.gz
#Source2: http://www.libraw.org/data/%{name}-demosaic-pack-GPL3-%{version}.tar.gz
# No changes to demosaic packs for 0.18.9
Source1: http://www.libraw.org/data/%{name}-demosaic-pack-GPL2-0.18.8.tar.gz
Source2: http://www.libraw.org/data/%{name}-demosaic-pack-GPL3-0.18.8.tar.gz
Patch0: LibRaw-0.6.0-pkgconfig.patch
Patch1: LibRaw-0.17.1-CVE-2015-8366-8367.patch
#Patch2: LibRaw-0.18.7-ambiguous.patch
#Patch3: 158398653a14e8b5884d744ec711ba31a8ceafdc.patch
Provides: bundled(dcraw) = 9.25
%description
@ -52,16 +45,13 @@ Summary: LibRaw sample programs
LibRaw sample programs
%prep
%setup -q -a1 -a2
%setup -q
%patch0 -p0 -b .pkgconfig
%patch1 -p1 -b .CVE-2015-8366
#%patch2 -p0 -b .ambiguous
#%patch3 -p1 -b .powf
%build
%configure --enable-examples=yes --enable-jasper --enable-lcms \
--enable-demosaic-pack-gpl2 --enable-demosaic-pack-gpl3
%configure --enable-examples=yes --enable-jasper --enable-lcms
# https://fedoraproject.org/wiki/Packaging:Guidelines#Beware_of_Rpath
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
@ -102,6 +92,9 @@ make install DESTDIR=%{buildroot}
%postun -p /sbin/ldconfig
%changelog
* Fri Jun 29 2018 Gwyn Ciesla <limburgher@gmail.com> - 0.19.0-1
- 0.19.0.
* Mon Jun 11 2018 Gwyn Ciesla <limburgher@gmail.com> - 0.18.12-1
- 0.18.12.

View File

@ -1,3 +1 @@
SHA512 (LibRaw-0.18.12.tar.gz) = 8fcf1e24295457f09a654a14d77869ca401a21e9f4386d91fb0fd5bc9aa20a882bf490a64c183108e645b5fa70401f97868c83837a057cb707f58fa31a417d44
SHA512 (LibRaw-demosaic-pack-GPL2-0.18.8.tar.gz) = c34419cec055ea976a348c342f5ec2141e2686b5eb50dd23d7b9fd707eefd86779d331f06b4570dedb1682c33fcd6ac0446b3167ca1f3e3fd2566a0c66c6fd3d
SHA512 (LibRaw-demosaic-pack-GPL3-0.18.8.tar.gz) = 10e8cb6694159d04deb813a88e5c3195eed6e2e438f41533db91b17997af1b9d54f286303447ca6e3d1b377922e388f6fcc8a8370254011e11b85612c914d500
SHA512 (LibRaw-0.19.0.tar.gz) = 33d0e9a031add901bdd10ffcde6a0f7837a4f4bec0bbbd21ad661e518dadcb1699133f17b3b2f6cd6cefe87ef3017cb7e1b816c4ce3dfebaaf5d9b2ff6b65238