%define srcver 200410220928 %define gimpplugindir %(echo `gimptool --gimpplugindir`) Name: gimp-rawphoto Version: 1.19 Release: 2 Summary: GIMP-2.0 plug-in for reading photos (images) in RAW file format Group: Applications/Multimedia License: GPL URL: http://ptj.rozeta.com.pl/Soft/RawPhoto/ Source0: http://ptj.rozeta.com.pl/Soft/rawphoto/rawphoto-%{srcver}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gimp-devel Requires: gimp, dcraw %description This is beta code of the GIMP-2.0 plug-in for reading photos (images) in RAW file format from any digital camera supported by Dave's Coffin dcraw utility into gimp. The plug-in is based in part on the code of the original Dave's plug-in but has quite different internal workflow. There is a preview in the dialog, and all color manipulations are made with 16 bit depth. There are separate gamma, brigtnes, white-balance (with colour temperature scale) and grean/magenta cast controls. %prep %setup -q -n rawphoto-200410220910 %build make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT #make install DESTDIR=$RPM_BUILD_ROOT strip src/rawphoto mkdir -p $RPM_BUILD_ROOT/%{gimpplugindir}/ cp -p src/rawphoto $RPM_BUILD_ROOT/%{gimpplugindir}/ %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{gimpplugindir}/rawphoto %changelog * Sat Jul 2 2005 Jan ONDREJ (SAL) - first release