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
|
2009-03-02 16:07:38 +00:00
|
|
|
Version: 8.91
|
|
|
|
Release: 1%{?dist}
|
2004-12-01 13:35:31 +00:00
|
|
|
Group: Applications/Multimedia
|
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
|
|
|
|
BuildRequires: gettext
|
2004-12-01 13:35:31 +00:00
|
|
|
BuildRequires: libjpeg-devel
|
2006-05-23 13:00:56 +00:00
|
|
|
BuildRequires: lcms-devel
|
2007-02-01 17:04:13 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%__id_u -n)
|
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
|
2007-02-01 17:04:13 +00:00
|
|
|
%setup -q -n dcraw
|
2004-12-01 13:35:31 +00:00
|
|
|
|
|
|
|
%build
|
2007-02-01 17:11:10 +00:00
|
|
|
gcc %optflags -lm -ljpeg -llcms -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
|
|
|
|
rm -rf %buildroot
|
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
|
|
|
|
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"
|
|
|
|
done
|
2004-12-01 13:35:31 +00:00
|
|
|
|
2007-02-05 11:26:17 +00:00
|
|
|
%find_lang %{name}
|
|
|
|
|
2004-12-01 13:35:31 +00:00
|
|
|
%clean
|
|
|
|
rm -rf %buildroot
|
|
|
|
|
2007-02-05 11:26:17 +00:00
|
|
|
%files -f %{name}.lang
|
2004-12-01 13:35:31 +00:00
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_bindir}/dcraw
|
|
|
|
%{_mandir}/man1/*
|
2007-02-01 17:04:13 +00:00
|
|
|
%{_mandir}/*/man1/*
|
2004-12-01 13:35:31 +00:00
|
|
|
|
|
|
|
%changelog
|
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
|