2007-02-05 11:26:17 +00:00
|
|
|
Summary: Tool for decoding raw image data from digital cameras
|
2004-12-01 13:35:31 +00:00
|
|
|
Name: dcraw
|
2018-06-14 11:56:24 +00:00
|
|
|
Version: 9.28.0
|
|
|
|
Release: 1%{?dist}
|
2007-11-30 11:02:58 +00:00
|
|
|
License: GPLv2+
|
2007-02-01 17:04:13 +00:00
|
|
|
URL: http://cybercom.net/~dcoffin/dcraw
|
|
|
|
Source0: http://cybercom.net/~dcoffin/dcraw/archive/dcraw-%{version}.tar.gz
|
2016-06-09 10:04:54 +00:00
|
|
|
Patch0: dcraw-9.21-lcms2-error-reporting.patch
|
2018-02-20 16:07:36 +00:00
|
|
|
BuildRequires: gcc
|
2007-02-01 17:04:13 +00:00
|
|
|
BuildRequires: gettext
|
2004-12-01 13:35:31 +00:00
|
|
|
BuildRequires: libjpeg-devel
|
2013-09-13 15:29:03 +00:00
|
|
|
BuildRequires: lcms2-devel
|
2011-08-01 15:08:22 +00:00
|
|
|
BuildRequires: jasper-devel
|
2015-05-20 15:52:01 +00:00
|
|
|
Provides: bundled(dcraw)
|
2004-12-01 13:35:31 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains dcraw, a command line tool to decode raw image data
|
|
|
|
downloaded from digital cameras.
|
|
|
|
|
|
|
|
%prep
|
2016-06-09 10:06:49 +00:00
|
|
|
%autosetup -n dcraw
|
2004-12-01 13:35:31 +00:00
|
|
|
|
|
|
|
%build
|
2018-02-23 12:01:27 +00:00
|
|
|
gcc %optflags $RPM_LD_FLAGS \
|
2013-09-13 15:29:03 +00:00
|
|
|
-lm -ljpeg -llcms2 -ljasper \
|
|
|
|
-DLOCALEDIR="\"%{_datadir}/locale\"" \
|
|
|
|
-o dcraw dcraw.c
|
2007-02-01 17:04:13 +00:00
|
|
|
# build language catalogs
|
|
|
|
for catsrc in dcraw_*.po; do
|
|
|
|
lang="${catsrc%.po}"
|
|
|
|
lang="${lang#dcraw_}"
|
|
|
|
msgfmt -o "dcraw_${lang}.mo" "$catsrc"
|
|
|
|
done
|
2004-12-01 13:35:31 +00:00
|
|
|
|
|
|
|
%install
|
2007-02-01 17:14:56 +00:00
|
|
|
install -d -m 0755 %{buildroot}%{_bindir}
|
2004-12-01 13:35:31 +00:00
|
|
|
install -m 0755 dcraw %{buildroot}%{_bindir}
|
2007-02-01 17:04:13 +00:00
|
|
|
|
|
|
|
# install language catalogs
|
|
|
|
for catalog in dcraw_*.mo; do
|
|
|
|
lang="${catalog%.mo}"
|
|
|
|
lang="${lang#dcraw_}"
|
|
|
|
install -d -m 0755 "%{buildroot}%{_datadir}/locale/${lang}/LC_MESSAGES"
|
|
|
|
install -m 0644 "$catalog" "%{buildroot}%{_datadir}/locale/${lang}/LC_MESSAGES/dcraw.mo"
|
|
|
|
done
|
|
|
|
|
|
|
|
install -d -m 0755 %{buildroot}%{_bindir} %{buildroot}%{_mandir}/man1
|
2007-02-01 17:16:44 +00:00
|
|
|
install -m 0644 dcraw.1 %{buildroot}%{_mandir}/man1/dcraw.1
|
2007-02-01 17:04:13 +00:00
|
|
|
# localized manpages
|
2010-06-02 15:41:44 +00:00
|
|
|
rm -f %{name}-man-files
|
|
|
|
touch %{name}-man-files
|
2007-02-01 17:04:13 +00:00
|
|
|
for manpage in dcraw_*.1; do
|
|
|
|
lang="${manpage%.1}"
|
|
|
|
lang="${lang#dcraw_}"
|
|
|
|
install -d -m 0755 "%{buildroot}%{_mandir}/${lang}/man1"
|
|
|
|
install -m 0644 "${manpage}" "%{buildroot}%{_mandir}/${lang}/man1/dcraw.1"
|
2010-06-02 15:41:44 +00:00
|
|
|
echo "%%lang($lang) %%{_mandir}/${lang}/man1/*" >> %{name}-man-files
|
2007-02-01 17:04:13 +00:00
|
|
|
done
|
2004-12-01 13:35:31 +00:00
|
|
|
|
2007-02-05 11:26:17 +00:00
|
|
|
%find_lang %{name}
|
|
|
|
|
2010-06-02 15:41:44 +00:00
|
|
|
%files -f %{name}.lang -f %{name}-man-files
|
2004-12-01 13:35:31 +00:00
|
|
|
%{_bindir}/dcraw
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
|
|
|
|
%changelog
|
2018-06-14 11:56:24 +00:00
|
|
|
* Thu Jun 14 2018 Josef Ridky <jridky@redhat.com> - 9.28.0-1
|
|
|
|
- New upstream release 9.28.0 (#1585348)
|
|
|
|
|
2018-02-23 12:01:27 +00:00
|
|
|
* Fri Feb 23 2018 Florian Weimer <fweimer@redhat.com> - 9.27.0-8
|
|
|
|
- Use LDFLAGS from redhat-rpm-config
|
|
|
|
|
2018-02-20 16:07:36 +00:00
|
|
|
* Tue Feb 20 2018 Nils Philippsen <nils@tiptoe.de> - 9.27.0-7
|
|
|
|
- require gcc for building
|
|
|
|
|
2018-02-07 06:27:49 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 9.27.0-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-08-02 19:30:35 +00:00
|
|
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 9.27.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 06:01:53 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 9.27.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-10 08:13:48 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 9.27.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-12-05 11:50:11 +00:00
|
|
|
* Mon Dec 05 2016 Than Ngo <than@redhat.com> - 9.27.0-2
|
|
|
|
- rebuild against new jasper-2.0.0
|
|
|
|
|
2016-06-09 10:04:54 +00:00
|
|
|
* Thu Jun 09 2016 Nils Philippsen <nils@redhat.com> - 9.27.0
|
|
|
|
- version 9.27.0
|
2016-06-09 10:06:49 +00:00
|
|
|
- use %%autosetup
|
2016-06-09 10:07:03 +00:00
|
|
|
- remove packaging cruft
|
2016-06-09 10:04:54 +00:00
|
|
|
|
2016-02-03 18:31:47 +00:00
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 9.25.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-17 03:48:33 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.25.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-05-20 15:52:47 +00:00
|
|
|
* Wed May 20 2015 Nils Philippsen <nils@redhat.com> - 9.25.0-2
|
2015-05-20 15:52:01 +00:00
|
|
|
- add Provides: bundled(dcraw)
|
2015-05-20 15:52:33 +00:00
|
|
|
- don't manually specify, clean buildroot
|
2015-05-20 15:52:01 +00:00
|
|
|
|
2015-05-20 15:15:28 +00:00
|
|
|
* Wed May 20 2015 Nils Philippsen <nils@redhat.com> - 9.25.0-1
|
|
|
|
- version 9.25.0
|
2015-05-20 15:16:22 +00:00
|
|
|
- remove unnecessary check from CVE-2013-1438 patch
|
2015-05-20 15:17:49 +00:00
|
|
|
- avoid writing past array boundaries when reading certain raw formats
|
|
|
|
(CVE-2015-3885)
|
2015-05-20 15:15:28 +00:00
|
|
|
|
2015-04-08 13:54:34 +00:00
|
|
|
* Wed Apr 08 2015 Nils Philippsen <nils@redhat.com> - 9.24.4-1
|
|
|
|
- version 9.24.4
|
|
|
|
|
2015-02-14 11:19:49 +00:00
|
|
|
* Sat Feb 14 2015 Nils Philippsen <nils@redhat.com> - 9.23.0-1
|
|
|
|
- version 9.23.0
|
|
|
|
|
2014-08-16 02:26:22 +00:00
|
|
|
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.22-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-30 11:45:50 +00:00
|
|
|
* Mon Jun 30 2014 Nils Philippsen <nils@redhat.com> - 9.22-1
|
|
|
|
- version 9.22
|
|
|
|
|
2014-06-07 06:59:02 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.21-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-06-03 14:30:51 +00:00
|
|
|
* Tue May 06 2014 Nils Philippsen <nils@redhat.com> - 9.21-1
|
|
|
|
- report lcms2 errors
|
|
|
|
|
2014-05-05 15:30:09 +00:00
|
|
|
* Mon May 05 2014 Nils Philippsen <nils@redhat.com> - 9.21-1
|
|
|
|
- version 9.21
|
|
|
|
|
2014-04-26 16:25:07 +00:00
|
|
|
* Sat Apr 26 2014 Nils Philippsen <nils@redhat.com> - 9.20-2
|
|
|
|
- new upstream tarball with unchanged version number (RCS id 1.461 instead of
|
|
|
|
1.458), obsoletes lcms2 patch
|
|
|
|
|
2014-01-15 15:59:24 +00:00
|
|
|
* Wed Jan 15 2014 Nils Philippsen <nils@redhat.com> - 9.20-1
|
|
|
|
- version 9.20
|
|
|
|
|
2013-12-06 17:43:25 +00:00
|
|
|
* Fri Dec 06 2013 Nils Philippsen <nils@redhat.com> - 9.19-4
|
|
|
|
- harden against corrupt input files (CVE-2013-1438)
|
|
|
|
|
2013-09-13 15:29:03 +00:00
|
|
|
* Fri Sep 13 2013 Nils Philippsen <nils@redhat.com> - 9.19-3
|
|
|
|
- build against the currently maintained version of lcms (2.x)
|
|
|
|
|
2013-08-03 06:51:00 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.19-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-06-20 10:22:49 +00:00
|
|
|
* Thu Jun 20 2013 Nils Philippsen <nils@redhat.com> - 9.19-1
|
|
|
|
- version 9.19
|
|
|
|
|
2013-06-03 14:30:31 +00:00
|
|
|
* Mon Jun 03 2013 Nils Philippsen <nils@redhat.com> - 9.18-1
|
|
|
|
- version 9.18
|
|
|
|
|
2013-02-13 19:31:48 +00:00
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.17-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2013-01-18 15:43:09 +00:00
|
|
|
* Fri Jan 18 2013 Adam Tkac <atkac redhat com> - 9.17-2
|
|
|
|
- rebuild due to "jpeg8-ABI" feature drop
|
|
|
|
|
2013-01-14 16:36:21 +00:00
|
|
|
* Mon Jan 14 2013 Nils Philippsen <nils@redhat.com> - 9.17-1
|
|
|
|
- version 9.17
|
|
|
|
|
2012-12-21 14:28:41 +00:00
|
|
|
* Fri Dec 21 2012 Adam Tkac <atkac redhat com> - 9.16-4
|
|
|
|
- rebuild against new libjpeg
|
|
|
|
|
2012-10-18 09:27:47 +00:00
|
|
|
* Thu Oct 18 2012 Nils Philippsen <nils@redhat.com> - 9.16-3
|
|
|
|
- upstream changed 9.16 tarball, adds support for Samsung NX1000, Sony
|
|
|
|
DSC-RX100 models
|
|
|
|
|
2012-07-18 20:26:16 +00:00
|
|
|
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.16-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-10-18 09:28:11 +00:00
|
|
|
* Wed Jul 04 2012 Nils Philippsen <nils@redhat.com> - 9.16-1
|
2012-07-04 09:23:44 +00:00
|
|
|
- version 9.16
|
|
|
|
|
2012-06-19 08:24:48 +00:00
|
|
|
* Tue Jun 19 2012 Nils Philippsen <nils@redhat.com> - 9.15-1
|
|
|
|
- version 9.15
|
|
|
|
|
2012-01-10 14:50:12 +00:00
|
|
|
* Tue Jan 10 2012 Nils Philippsen <nils@redhat.com> - 9.12-2
|
|
|
|
- rebuild for gcc 4.7
|
|
|
|
|
2011-12-22 12:37:37 +00:00
|
|
|
* Thu Dec 22 2011 Nils Philippsen <nils@redhat.com> - 9.12-1
|
|
|
|
- version 9.12
|
|
|
|
|
2011-10-12 11:22:51 +00:00
|
|
|
* Wed Oct 12 2011 Nils Philippsen <nils@redhat.com> - 9.11-1
|
|
|
|
- version 9.11
|
|
|
|
|
2011-08-01 14:44:29 +00:00
|
|
|
* Mon Aug 01 2011 Nils Philippsen <nils@redhat.com> - 9.10-1
|
|
|
|
- version 9.10
|
2011-08-01 15:31:57 +00:00
|
|
|
- add BR: jasper-devel, link with jasper library
|
2011-08-01 14:44:29 +00:00
|
|
|
|
2011-05-23 09:48:25 +00:00
|
|
|
* Mon May 23 2011 Nils Philippsen <nils@redhat.com> - 9.08-1
|
|
|
|
- version 9.08
|
|
|
|
|
2011-04-14 09:39:21 +00:00
|
|
|
* Thu Apr 14 2011 Nils Philippsen <nils@redhat.com> - 9.07-1
|
|
|
|
- version 9.07
|
|
|
|
|
2011-03-04 11:27:01 +00:00
|
|
|
* Fri Mar 04 2011 Nils Philippsen <nils@redhat.com> - 9.06-1
|
|
|
|
- version 9.06
|
|
|
|
|
2011-02-08 13:16:25 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.04-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-08-03 10:40:33 +00:00
|
|
|
* Tue Aug 03 2010 Nils Philippsen <nils@redhat.com> - 9.04-1
|
|
|
|
- version 9.04
|
|
|
|
|
2010-06-02 15:41:44 +00:00
|
|
|
* Wed Jun 02 2010 Nils Philippsen <nils@redhat.com> - 9.01-1
|
|
|
|
- version 9.01
|
|
|
|
- color man page files with %%lang()
|
|
|
|
|
2010-02-12 15:08:07 +00:00
|
|
|
* Fri Feb 12 2010 Nils Philippsen <nils@redhat.com> - 8.99-1
|
|
|
|
- version 8.99
|
|
|
|
|
2009-08-18 15:04:02 +00:00
|
|
|
* Tue Aug 18 2009 Nils Philippsen <nils@redhat.com> - 8.96-1
|
|
|
|
- version 8.96
|
|
|
|
|
2009-07-24 20:05:07 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.91-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-03-02 16:07:38 +00:00
|
|
|
* Mon Mar 02 2009 Nils Philippsen <nils@redhat.com> - 8.91-1
|
|
|
|
- version 8.91
|
|
|
|
|
2009-02-24 11:10:19 +00:00
|
|
|
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.89-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-11-27 14:31:59 +00:00
|
|
|
* Thu Nov 27 2008 Nils Philippsen <nphilipp@redhat.com> - 8.89-1
|
|
|
|
- version 8.89
|
|
|
|
- remove obsolete gps patch
|
|
|
|
|
2008-02-25 14:46:02 +00:00
|
|
|
* Mon Feb 25 2008 Nils Philippsen <nphilipp@redhat.com> - 8.82-1
|
|
|
|
- version 8.82
|
|
|
|
|
2008-02-19 16:24:27 +00:00
|
|
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 8.81-2
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2008-01-14 09:09:46 +00:00
|
|
|
* Mon Jan 14 2008 Nils Philippsen <nphilipp@redhat.com> - 8.81-1
|
|
|
|
- version 8.81
|
|
|
|
- add support for GPS data (#428600, patch by Ulrich Drepper)
|
|
|
|
|
2007-11-30 11:02:58 +00:00
|
|
|
* Fri Nov 30 2007 Nils Philippsen <nphilipp@redhat.com> - 8.80-1
|
|
|
|
- version 8.80
|
|
|
|
- change license tag to GPLv2+
|
|
|
|
|
2007-09-14 21:26:50 +00:00
|
|
|
* Mon Feb 05 2007 Nils Philippsen <nphilipp@redhat.com> - 8.77-2
|
|
|
|
- rebuild with pristine source tarball
|
|
|
|
|
2007-08-06 07:53:44 +00:00
|
|
|
* Mon Feb 05 2007 Nils Philippsen <nphilipp@redhat.com> - 8.77-1
|
|
|
|
- version 8.77
|
|
|
|
|
2007-02-05 11:26:17 +00:00
|
|
|
* Mon Feb 05 2007 Nils Philippsen <nphilipp@redhat.com> - 8.53-2
|
|
|
|
- fix summary, use %%find_lang (#225678)
|
|
|
|
|
2007-02-01 17:04:13 +00:00
|
|
|
* Thu Feb 01 2007 Nils Philippsen <nphilipp@redhat.com> - 8.53-1
|
|
|
|
- upstream finally has a tarball, use that and its version (#209016)
|
|
|
|
- use dist tag
|
|
|
|
|
2006-07-12 05:32:32 +00:00
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.0.20060521-1.1
|
|
|
|
- rebuild
|
|
|
|
|
2006-05-23 12:53:30 +00:00
|
|
|
* Tue May 23 2006 Nils Philippsen <nphilipp@redhat.com> - 0.0.20060521-1
|
|
|
|
- program and manpage version of 2006-05-21
|
|
|
|
- use %%optflags
|
|
|
|
- change license tag to GPL
|
2006-05-23 13:00:56 +00:00
|
|
|
- use lcms
|
2006-05-23 12:53:30 +00:00
|
|
|
|
2006-02-11 02:24:12 +00:00
|
|
|
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.0.20051211-1.2
|
|
|
|
- bump again for double-long bug on ppc(64)
|
|
|
|
|
2006-02-07 11:21:07 +00:00
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.0.20051211-1.1
|
|
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
|
2005-12-14 16:52:07 +00:00
|
|
|
* Wed Dec 14 2005 Nils Philippsen <nphilipp@redhat.com>
|
|
|
|
- version of 2005-12-11
|
|
|
|
- manpage of 2005-09-29
|
|
|
|
|
2005-12-09 22:40:09 +00:00
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2005-03-02 15:21:07 +00:00
|
|
|
* Wed Mar 02 2005 Nils Philippsen <nphilipp@redhat.com>
|
|
|
|
- version of 2005-02-27
|
|
|
|
- manpage of 2005-01-19
|
|
|
|
|
2004-12-01 13:35:31 +00:00
|
|
|
* Wed Dec 01 2004 Nils Philippsen <nphilipp@redhat.com>
|
|
|
|
- version of 2004-11-28
|
|
|
|
- initial build
|