File cfv.spec of Package cfv
Summary: checksum tool
Name: cfv
Version: 1.18.1
Release: 1
Vendor: Mark Fullmer <maf@splintered.net>
Packager: Carsten Schoene <cs@linux-administrator.com>
Source0: %{name}-%{version}.tar.gz
Patch0: %{name}-%{version}.diff
URL: http://cfv.sourceforge.net/
License: GPL
Group: Applications/System
Buildroot: /var/tmp/%{name}-%{version}-%{release}-root
Requires: python
BuildRequires: python-devel
%description
cfv is a utility to both test and create .sfv, .csv, .crc, .md5(sfv-like),
md5sum, bsd md5, sha1sum, and .torrent files. These files are commonly used
to ensure the correct retrieval or storage of data.
%prep
%setup
%patch0 -p1
%build
%makeinstall
mkdir -p $RPM_BUILD_ROOT/usr/share/doc/packages/cfv
install -m 644 Changelog README COPYING $RPM_BUILD_ROOT/usr/share/doc/packages/cfv/
cd $RPM_BUILD_ROOT
find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > $RPM_BUILD_DIR/%{name}.list
find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/%{name}.list
find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/%{name}.list
%files -f ../%{name}.list
%clean
rm -rf $RPM_BUILD_ROOT
%changelog
* Sun Sep 09 2007 Carsten Schoene <cs@linux-administrator.com>
- moved spec to buildservice
* Mon Oct 24 2005 Carsten Schoene <cs@linux-administrator.com>
- rebuild for SuSE 10.0
* Sat Apr 09 2005 Carsten Schoene <cs@linux-administrator.com>
- rebuild for SuSE9.3
* Mon Mar 28 2005 Carsten Schoene <cs@linux-administrator.com>
- initial release of version 1.18.1 for SuSE 9.2