1 Summary: Raw Digital Photo Decoder
2 Summary(pl): Dekoder zdjêæ cyfrowych w formacie raw
6 License: Free + GPL (for some parts of code)
8 Source0: http://www.cybercom.net/~dcoffin/dcraw/dcraw.c
9 # NoSource0-md5: 9db410a5c542f75dabd47f1df13170b2
10 Source1: http://www.cybercom.net/~dcoffin/dcraw/dcraw.1
11 # NoSource1-md5: 9c091d19e6c4cc2d42b1b5624caf9dc5
12 URL: http://www.cybercom.net/~dcoffin/dcraw/
13 BuildRequires: libjpeg-devel
14 BuildRequires: lcms-devel
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 Dcraw is a program that decodes any raw image from digital cameras and
19 produces portable pixel map (PPM).
22 Dcraw jest programem, który dekoduje zdjêcia z aparatów cyfrowych
23 zapisanych w formacie raw i produkuje przeno¶n± mapê pikseli (PPM).
30 %{__cc} %{rpmldflags} -o dcraw %{rpmcflags} dcraw.c -lm -ljpeg -llcms
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
36 install dcraw $RPM_BUILD_ROOT%{_bindir}
37 install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man1
40 rm -rf $RPM_BUILD_ROOT
43 %defattr(644,root,root,755)
44 %attr(755,root,root) %{_bindir}/*