2010-07-09 19:35:35 +00:00
|
|
|
|
|
|
|
Summary: Library for reading RAW files obtained from digital photo cameras
|
|
|
|
Name: LibRaw
|
2013-05-29 15:34:40 +00:00
|
|
|
Version: 0.14.8
|
2013-05-31 10:40:22 +00:00
|
|
|
Release: 2%{?dist}
|
2011-12-09 13:41:07 +00:00
|
|
|
License: GPLv3+
|
2010-07-09 19:35:35 +00:00
|
|
|
Group: Development/Libraries
|
|
|
|
URL: http://www.libraw.org
|
|
|
|
|
2012-06-02 05:37:19 +00:00
|
|
|
BuildRequires: lcms2-devel
|
2011-11-16 08:35:35 +00:00
|
|
|
BuildRequires: jasper-devel
|
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
|
2011-12-09 13:41:07 +00:00
|
|
|
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
|
2013-04-11 19:40:01 +00:00
|
|
|
#Patch0: LibRaw-0.14.7-segfault.patch
|
2013-05-31 10:40:22 +00:00
|
|
|
Patch1: LibRaw-0.14.8-errorhandling.patch
|
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
|
|
|
|
Group: Development/Libraries
|
2011-11-16 08:35:35 +00:00
|
|
|
Requires: %{name} = %{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
|
|
|
|
Group: Development/Libraries
|
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
|
|
|
|
|
|
|
%prep
|
2011-12-09 13:41:07 +00:00
|
|
|
%setup -q -a1 -a2
|
2013-04-11 19:40:01 +00:00
|
|
|
#%patch0 -p0
|
2013-05-31 10:40:22 +00:00
|
|
|
%patch1 -p1
|
2010-07-09 19:35:35 +00:00
|
|
|
|
|
|
|
%build
|
2012-06-02 05:25:07 +00:00
|
|
|
%configure --enable-examples=no --enable-jasper --enable-lcms \
|
|
|
|
--enable-demosaic-pack-gpl2 --enable-demosaic-pack-gpl3
|
2011-11-16 08:35:35 +00:00
|
|
|
make %{?_smp_mflags}
|
2010-07-09 19:35:35 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
cp -pr doc manual
|
2011-11-16 08:35:35 +00:00
|
|
|
chmod 644 LICENSE.CDDL LICENSE.LGPL COPYRIGHT Changelog.txt Changelog.rus
|
|
|
|
chmod 644 manual/*.html
|
2010-07-09 19:35:35 +00:00
|
|
|
|
|
|
|
# The Libraries
|
2011-11-16 08:35:35 +00:00
|
|
|
make install DESTDIR=%{buildroot}
|
2010-07-09 19:35:35 +00:00
|
|
|
|
2011-11-16 08:35:35 +00:00
|
|
|
%files
|
2010-07-09 19:35:35 +00:00
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc LICENSE.CDDL LICENSE.LGPL COPYRIGHT Changelog.txt Changelog.rus
|
2011-11-16 08:35:35 +00:00
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
%files static
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/*.a
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
2010-07-09 19:35:35 +00:00
|
|
|
%doc manual
|
2010-12-12 06:36:38 +00:00
|
|
|
%doc samples
|
2010-07-09 19:35:35 +00:00
|
|
|
%dir %{_includedir}/libraw
|
|
|
|
%{_includedir}/libraw/*.h
|
2011-11-16 08:35:35 +00:00
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%exclude %{_libdir}/*.la
|
|
|
|
%exclude %{_docdir}/libraw/*
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
2010-07-09 19:35:35 +00:00
|
|
|
|
|
|
|
%changelog
|
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.
|
|
|
|
|
2013-02-13 15:19:42 +00:00
|
|
|
* 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
|
|
|
|
|
2012-07-18 13:31:02 +00:00
|
|
|
* 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
|
|
|
|
|
2012-01-12 20:22:32 +00:00
|
|
|
* 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
|
|
|
|
|
2011-12-09 13:41:07 +00:00
|
|
|
* 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
|
|
|
|
|
2011-02-07 23:46:49 +00:00
|
|
|
* 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
|
|
|
|
|
2010-07-09 19:35:35 +00:00
|
|
|
* Sun Jul 08 2010 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> 0.9.1-8
|
|
|
|
- Remove LibRaw license since we're not distributing LibRaw under its terms
|
|
|
|
|
|
|
|
* Sun Jul 07 2010 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> 0.9.1-7
|
|
|
|
- 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
|
|
|
|
|
|
|
|
* Fri Jun 10 2010 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> 0.9.1-2
|
|
|
|
- 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
|
|
|
|
|