8475e4a53e
to GPL
69 lines
1.8 KiB
RPMSpec
69 lines
1.8 KiB
RPMSpec
%define dcrawdate 20060521
|
|
%define dcrawmandate 20060521
|
|
|
|
Summary: A tool for decoding raw image data from digital cameras.
|
|
Name: dcraw
|
|
Version: 0.0.%dcrawdate
|
|
Release: 1
|
|
Group: Applications/Multimedia
|
|
License: GPL
|
|
#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 %optflags -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
|
|
* Tue May 23 2006 Nils Philippsen <nphilipp@redhat.com> - 0.0.20060521-1
|
|
- program and manpage version of 2006-05-21
|
|
- use %%optflags
|
|
- change license tag to GPL
|
|
|
|
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.0.20051211-1.2
|
|
- bump again for double-long bug on ppc(64)
|
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.0.20051211-1.1
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
* Wed Dec 14 2005 Nils Philippsen <nphilipp@redhat.com>
|
|
- version of 2005-12-11
|
|
- manpage of 2005-09-29
|
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
- rebuilt
|
|
|
|
* Wed Mar 02 2005 Nils Philippsen <nphilipp@redhat.com>
|
|
- version of 2005-02-27
|
|
- manpage of 2005-01-19
|
|
|
|
* Wed Dec 01 2004 Nils Philippsen <nphilipp@redhat.com>
|
|
- version of 2004-11-28
|
|
- initial build
|