Name: cksfv
Version: 1.3.9
Release: 1%{?dist}
Summary: Utility to manipulate SFV files
Group: Applications/File
License: GPL
URL: http://zakalwe.fi/~shd/foss/cksfv
Source0: http://zakalwe.fi/~shd/foss/cksfv/files/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
cksfv is a utility that can create and use SFV files. SFV (Simple File
Verification) files are used to verify file integrity using CRC32
checksums.
%prep
%setup -q
%build
# custom configure does not take --libdir spec
./configure \
--bindir=%{_bindir} \
--mandir=%{_mandir} \
--prefix=%{_prefix} \
--package-prefix=%{buildroot}
%{__make} %{?_smp_mflags}
%install
%{__rm} -rf %{buildroot}
%{__make} install DESTDIR=%{buildroot}
%check
%{__make} check
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog README TODO
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1.gz
%changelog
* Tue Jun 20 2006 Christopher Stone <chris.stone@gmail.com> 1.3.9-1
- Initial release