- updated to 2005/11/06.
[packages/dcraw.git] / dcraw.spec
1 Summary:        Raw Digital Photo Decoder
2 Summary(pl):    Dekoder zdjêæ cyfrowych w formacie raw
3 Name:           dcraw
4 Version:        20051106
5 Release:        1
6 License:        Free + GPL (for some parts of code)
7 Group:          Applications
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 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Dcraw is a program that decodes any raw image from digital cameras and
18 produces portable pixel map (PPM).
19
20 %description -l pl
21 Dcraw jest programem, który dekoduje zdjêcia z aparatów cyfrowych
22 zapisanych w formacie raw i produkuje przeno¶n± mapê pikseli (PPM).
23
24 %prep
25 %setup -qcT
26 cp %{SOURCE0} .
27
28 %build
29 %{__cc} %{rpmldflags} -o dcraw %{rpmcflags} dcraw.c -lm -ljpeg
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
34
35 install dcraw $RPM_BUILD_ROOT%{_bindir}
36 install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man1
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %files
42 %defattr(644,root,root,755)
43 %attr(755,root,root) %{_bindir}/*
44 %{_mandir}/man1/*
This page took 0.110787 seconds and 3 git commands to generate.