File imgkap.spec of Package imgkap

Summary: imgkap - image to BSB Charts - by MdJ
Name: imgkap
Version: 1.11
Release: 1
License: LGPL
Group: Productivity/Other
URL: http://www.dacust.com/inlandwaters/imgkap/
Distribution: OpenSuse
Source:  imgkap.c 
BuildRequires: gcc-c++
BuildRequires: libfreeimage3 freeimage-devel

%description
Convert kap a file from/to a image file and kml to kap 

%prep
#%setup -q
cp $RPM_SOURCE_DIR/imgkap.c $RPM_BUILD_DIR/

%build
cd $RPM_BUILD_DIR/
gcc imgkap.c -O3 -s -lfreeimage -lm -o imgkap
 
%install
mkdir -p %{buildroot}%{_bindir}/
cp imgkap %{buildroot}%{_bindir}/imgkap
 
%files
%defattr(-, root, root)
%{_bindir}/imgkap
 
%changelog
openSUSE Build Service is sponsored by