LibRaw/LibRaw.spec

342 lines
11 KiB
RPMSpec
Raw Normal View History

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