forked from pool/dcraw
139 lines
4.7 KiB
RPMSpec
139 lines
4.7 KiB
RPMSpec
#
|
|
# spec file for package dcraw (Version 1.353)
|
|
#
|
|
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# This file and all modifications and additions to the pristine
|
|
# package are under the same license as the package itself.
|
|
#
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
Name: dcraw
|
|
BuildRequires: libjpeg-devel liblcms-devel
|
|
Version: 1.353
|
|
Release: 1
|
|
License: distributable, Other License(s), see package
|
|
Group: Productivity/Graphics/Convertors
|
|
URL: http://www.cybercom.net/~dcoffin/dcraw/
|
|
Summary: Raw Digital Photo Decoding
|
|
# NOTE: call "sh update_dcraw" to update to latest version.
|
|
Source: http://www.cybercom.net/~dcoffin/dcraw/dcraw.c
|
|
Source1: http://www.cybercom.net/~dcoffin/dcraw/dcraw.1
|
|
Source2: README
|
|
Source3: README.SuSE
|
|
Source4: badpixels
|
|
Source5: http://www.cybercom.net/~dcoffin/dcraw/dcwrap
|
|
Source7: http://www.cybercom.net/~dcoffin/dcraw/fujiturn.c
|
|
Source8: http://www.cybercom.net/~dcoffin/dcraw/parse.c
|
|
Source9: update_dcraw
|
|
Autoreqprov: on
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
Command line tools for raw digital photo decoding and processing.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Dave Coffin
|
|
|
|
%prep
|
|
%setup -q -n . -D -T 0
|
|
cp -a %SOURCE0 %SOURCE1 %SOURCE2 %SOURCE3 %SOURCE4 %SOURCE5 %SOURCE7 %SOURCE8 .
|
|
mv badpixels .badpixels
|
|
chmod +x dcwrap
|
|
|
|
%build
|
|
export CFLAGS="$RPM_OPT_FLAGS"
|
|
%if %suse_version > 1000
|
|
export CFLAGS="$CFLAGS -fstack-protector-all"
|
|
%endif
|
|
for file in *.c ; do
|
|
LDFLAGS=
|
|
if test $file = dcraw.c ; then
|
|
LDFLAGS="-lm -ljpeg -llcms"
|
|
fi
|
|
gcc $CFLAGS -fno-strict-aliasing -o ${file%.c} $file $LDFLAGS
|
|
done
|
|
|
|
%install
|
|
mkdir -p $RPM_BUILD_ROOT/%_bindir
|
|
mkdir -p $RPM_BUILD_ROOT%_mandir/man1
|
|
install dcraw $RPM_BUILD_ROOT/%_bindir/
|
|
install -m 0644 dcraw.1 $RPM_BUILD_ROOT/%_mandir/man1/
|
|
install parse $RPM_BUILD_ROOT/%_bindir/dcparse
|
|
install fujiturn $RPM_BUILD_ROOT/%_bindir/
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc README README.SuSE .badpixels dcwrap
|
|
%_bindir/*
|
|
%doc %_mandir/man*/*
|
|
|
|
%changelog -n dcraw
|
|
* Mon Oct 16 2006 - postadal@suse.cz
|
|
- updated to RCS 1.353
|
|
* added support for Pentax K100D, Nikon D200, D80, E3200,
|
|
Canon EOS 400D, Panasonic DMC-LX2, DMC-FZ50
|
|
* correctly display long exposure times for CRW files
|
|
* added color matrices from Adobe DNG Converter 3.5
|
|
* display the focal length of Canon CRW images
|
|
* Thu Aug 17 2006 - postadal@suse.cz
|
|
- updated to RCS 1.340
|
|
* improved support for the Olympus E-330
|
|
* Wed Aug 02 2006 - postadal@suse.cz
|
|
- updated to RCS 1.338
|
|
* added "-H 2" option for rudimentary highlight recovery
|
|
* new "-T" option provides TIFF output with metadata and ICC profile
|
|
* replaced "-r" and "-l" options with raw white balance
|
|
* added support for Imacon Ixpress 22-Mp, Leaf Aptus 75, Leica D-Lux 2,
|
|
Sony DSLR-A100, Minolta DiMAGE G530, Sinar 4080x4080, Samsung GX-1S
|
|
* fixed camera WB for Canon EOS 10D, 300D, and clones
|
|
* added camera WB for the Kodak DCS Pro SLR models, Imacon Ixpress,
|
|
Kodak P850/P880
|
|
* Sun Mar 26 2006 - postadal@suse.cz
|
|
- updated to RCS 1.319
|
|
* new color matrix for the Nikon E700, E800, and E950
|
|
* new "-D" option to output unscaled raw pixels (totally raw)
|
|
* fixed defective pixels and columns in Phase One images
|
|
* Thu Feb 09 2006 - dmueller@suse.de
|
|
- update to RCS 1.315 (#112733)
|
|
* Wed Feb 08 2006 - dmueller@suse.de
|
|
- update to RCS 1.314:
|
|
Updated color matrices based on Adobe DNG Converter 3.3.
|
|
Added Kodak ProPhoto D65 as an output option.
|
|
* Thu Jan 26 2006 - sbrabec@suse.cz
|
|
- Updated to dcraw v8, RCS 1.313.
|
|
- Added simple update_dcraw script.
|
|
* Wed Jan 25 2006 - mls@suse.de
|
|
- converted neededforbuild to BuildRequires
|
|
* Wed Jan 11 2006 - adrian@suse.de
|
|
- add stack protector compiler flag
|
|
* Thu Oct 13 2005 - postadal@suse.cz
|
|
- update to RCS 1.290
|
|
* added as default new interpolation algorithm AHD
|
|
(Adaptive homogeneity-directed demosaicing algorithm)
|
|
* new Bilateral filtering to remove color noises in CIELAB space
|
|
- update dcraw.1, fujiturn, dcparse (parse.c)
|
|
- removed crwfixdates (fixdates.c) superseded by "dcraw -z"
|
|
* Tue Jun 07 2005 - adrian@suse.de
|
|
- update to RCS 1.263
|
|
- compile with -fno-strict-aliasing to avoid compiler errors
|
|
* Fri Jun 03 2005 - postadal@suse.cz
|
|
- Updated to current version on maintainers website.
|
|
RCS version 1.262.
|
|
* Fri Feb 04 2005 - meissner@suse.de
|
|
- Updated to current version on maintainers website.
|
|
RCS version 1.234.
|
|
* Thu Aug 26 2004 - sbrabec@suse.cz
|
|
- Updated to dcraw RCS version 1.200.
|
|
- Added more tools and documentation.
|
|
* Wed Jun 16 2004 - adrian@suse.de
|
|
- initial package of version 1.194
|