auto-import dcraw-0.0.20041128-1 on branch devel from
dcraw-0.0.20041128-1.src.rpm
This commit is contained in:
parent
3bea9fa2fa
commit
84e3183638
46
dcraw.spec
Normal file
46
dcraw.spec
Normal file
@ -0,0 +1,46 @@
|
||||
%define dcrawdate 20041128
|
||||
%define dcrawmandate 20041022
|
||||
|
||||
Summary: A tool for decoding raw image data from digital cameras.
|
||||
Name: dcraw
|
||||
Version: 0.0.%dcrawdate
|
||||
Release: 1
|
||||
Group: Applications/Multimedia
|
||||
License: freely distributable
|
||||
#The next file is actually http://www.cybercom.net/~dcoffin/dcraw/dcraw.c
|
||||
#but as it doesn't contain any version info in the file name...
|
||||
Source0: dcraw-%{dcrawdate}.c
|
||||
#Actually http://www.cybercom.net/~dcoffin/dcraw/dcraw.1
|
||||
Source1: dcraw-%{dcrawmandate}.1
|
||||
BuildRequires: libjpeg-devel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||
|
||||
%description
|
||||
This package contains dcraw, a command line tool to decode raw image data
|
||||
downloaded from digital cameras.
|
||||
|
||||
%prep
|
||||
%setup -c -T
|
||||
cp %{SOURCE0} dcraw.c
|
||||
|
||||
%build
|
||||
gcc -g -O3 -lm -ljpeg -o dcraw dcraw.c
|
||||
|
||||
%install
|
||||
rm -rf %buildroot
|
||||
install -d -m 0755 %{buildroot}%{_bindir} %{buildroot}%{_mandir}/man1
|
||||
install -m 0755 dcraw %{buildroot}%{_bindir}
|
||||
install -m 0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/dcraw.1
|
||||
|
||||
%clean
|
||||
rm -rf %buildroot
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%{_bindir}/dcraw
|
||||
%{_mandir}/man1/*
|
||||
|
||||
%changelog
|
||||
* Wed Dec 01 2004 Nils Philippsen <nphilipp@redhat.com>
|
||||
- version of 2004-11-28
|
||||
- initial build
|
Loading…
Reference in New Issue
Block a user