Name: dcraw Version: 1.203 Release: 1.fdr Epoch: 0 Summary: This is a portable ANSI C program to convert raw image files from any digital camera into PPM format Group: Applications/Multimedia License: free URL: http://www.cybercom.net/~dcoffin/dcraw Source0: http://www.cybercom.net/~dcoffin/dcraw/dcraw.c BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libjpeg-devel BuildRequires: glibc-devel Requires: libjpeg Requires: glibc %description Dave Coffin's raw photo decoder. Copyright 1997-2004 by Dave Coffin, dcoffin a cybercom o net. This is a portable ANSI C program to convert raw image files from any digital camera into PPM format. TIFF and CIFF parsing a based upon public specifications, but no such documentation is available for the raw sensor data, so writing this program has been an immense effort. This code is freely licensed for all uses, commercial and otherwise. Comments, questions, and encouragement are welcome. #Summary: #Group: Development/Libraries #Requires: %{name} = %{epoch}:%{version}-%{release} #%description devel # # %prep mkdir -p %{buildroot}%{_bindir} %setup -q -T -c -n dcraw %build cp -ar %{SOURCE0} . gcc -o dcraw -O3 dcraw.c -lm -ljpeg %install cp dcraw %{buildroot}%{_bindir}/ %clean rm -rf $RPM_BUILD_ROOT %post %preun %postun %files %attr(755,root,root) %{_bindir}/dcraw %changelog * Mon Sep 13 2004 Casper Pedersen - 0:1.203-1 - Initial RPM release.