From 611e7bb32a53c01415779ede5c23245c1ec9add0 Mon Sep 17 00:00:00 2001 From: yogib Date: Sun, 7 Mar 2004 17:08:14 +0000 Subject: [PATCH] - initial version Changed files: dcraw.spec -> 1.1 --- dcraw.spec | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 dcraw.spec diff --git a/dcraw.spec b/dcraw.spec new file mode 100644 index 0000000..63d2a0b --- /dev/null +++ b/dcraw.spec @@ -0,0 +1,45 @@ +Summary: Raw Digital Photo Decoder +Summary(pl): Dekoder Cyfrowych Zdjêæ w formacie Raw +Name: dcraw +Version: 20040307 +Release: 0.1 +License: Free +Group: Applications +Source0: http://www.cybercom.net/~dcoffin/dcraw/%{name}.c +# Source0-md5: 31154dba3111be5798818f62d3bdfd10 +Source1: http://www.cybercom.net/~dcoffin/dcraw/%{name}.1 +# Source1-md5: fc4318e37efa0160df55ad301258404d +URL: http://www.cybercom.net/~dcoffin/dcraw/ +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +dcraw is a program that decodes any raw image from digital cameras and +produces better-quality output than the tools provided by the camera +vendor. + +%description -l pl +dcraw jest programem, który dekoduje zdjêcia z aparatów cyfrowych +zapisanych w formacie raw i produkuje lepszy jako¶ciowo wynik ni¿ +narzêdzia, które s± dostarczane przez producentów aparatów. + +%prep +%setup -qcT +cp %{SOURCE0} . + +%build +%__cc -o dcraw %rpmcflags dcraw.c -lm + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} + +install dcraw $RPM_BUILD_ROOT%{_bindir} +install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man1 + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/* +%{_mandir}/man1/* -- 2.43.0