xulchris 7b6b860
Name:           cksfv
xulchris dff0614
Version:        1.3.13
xulchris dff0614
Release:        1%{?dist}
xulchris 7b6b860
Summary:        Utility to manipulate SFV files
xulchris 63e7424
xulchris 7b6b860
Group:          Applications/File
xulchris 61a1993
License:        GPLv2
xulchris 7b6b860
URL:            http://zakalwe.fi/~shd/foss/cksfv
xulchris dff0614
Source0:        http://zakalwe.fi/~shd/foss/%{name}/files/%{name}-%{version}.tar.bz2
xulchris 61a1993
Patch0:         %{name}-1.3.12-rpmlint.patch
xulchris 7b6b860
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
xulchris 7b6b860
xulchris 7b6b860
%description
xulchris 7b6b860
cksfv is a utility that can create and use SFV files. SFV (Simple File
xulchris 7b6b860
Verification) files are used to verify file integrity using CRC32
xulchris 7b6b860
checksums.
xulchris 7b6b860
xulchris 61a1993
xulchris 7b6b860
%prep
xulchris 7b6b860
%setup -q
xulchris 61a1993
%patch0 -p0 -b .rpmlint~
xulchris 61a1993
xulchris 61a1993
# fix rpmlint warnings
xulchris 61a1993
iconv -f iso8859-1 -t utf-8 ChangeLog > ChangeLog.conv && mv -f ChangeLog.conv ChangeLog
xulchris 61a1993
xulchris 7b6b860
xulchris 7b6b860
%build
xulchris 7b6b860
# custom configure does not take --libdir spec
xulchris 63e7424
CFLAGS="%{optflags}" ./configure \
xulchris 7b6b860
    --bindir=%{_bindir} \
xulchris 7b6b860
    --mandir=%{_mandir} \
xulchris 7b6b860
    --prefix=%{_prefix} \
xulchris 63e7424
    --package-prefix=$RPM_BUILD_ROOT
xulchris 63e7424
make %{?_smp_mflags}
xulchris 7b6b860
xulchris 61a1993
xulchris 7b6b860
%install
xulchris 63e7424
rm -rf $RPM_BUILD_ROOT
xulchris 63e7424
make install DESTDIR=$RPM_BUILD_ROOT
xulchris 7b6b860
xulchris 61a1993
xulchris 7b6b860
%check
xulchris 63e7424
make check
xulchris 7b6b860
xulchris 61a1993
xulchris 7b6b860
%clean
xulchris 63e7424
rm -rf $RPM_BUILD_ROOT
xulchris 7b6b860
xulchris 61a1993
xulchris 7b6b860
%files
xulchris 7b6b860
%defattr(-,root,root,-)
xulchris 7b6b860
%doc AUTHORS COPYING ChangeLog README TODO
xulchris 7b6b860
%{_bindir}/%{name}
xulchris 7b6b860
%{_mandir}/man1/%{name}.1.gz
xulchris 7b6b860
xulchris 61a1993
xulchris 7b6b860
%changelog
xulchris dff0614
* Thu Sep 11 2008 Christopher Stone <chris.stone@gmail.com> 1.3.13-1
xulchris dff0614
- Upstream sync
xulchris dff0614
xulchris dff0614
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> 1.3.12-3
xulchris dff0614
- Autorebuild for GCC 4.3
xulchris dff0614
xulchris 61a1993
* Sat Oct 27 2007 Christohper Stone <chris.stone@gmail.com> 1.3.12-2
xulchris 61a1993
- Fix rpmlint issues
xulchris 61a1993
xulchris e25538a
* Sat Sep 08 2007 Christopher Stone <chris.stone@gmail.com> 1.3.12-1
xulchris e25538a
- Upstream sync
xulchris e25538a
e34b865
* Tue Aug 28 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 1.3.11-2
e34b865
- Rebuild for selinux ppc32 issue.
e34b865
xulchris f1a4636
* Fri Jul 13 2007 Christopher Stone <chris.stone@gmail.com> 1.3.11-1
xulchris f1a4636
- Upstream sync
xulchris f1a4636
xulchris 6e7b377
* Tue Mar 27 2007 Christopher Stone <chris.stone@gmail.com> 1.3.10-1
xulchris 6e7b377
- Upstream sync
xulchris 6e7b377
xulchris 63e7424
* Mon Jan 29 2007 Christopher Stone <chris.stone@gmail.com> 1.3.9-3
xulchris 63e7424
- Build with %%{optflags} (bug #225096)
xulchris 63e7424
- Remove system macros from spec
xulchris 63e7424
- Use $RPM_BUILD_ROOT instead of %%{buildroot}
xulchris 63e7424
xulchris bb4a693
* Wed Aug 30 2006 Christopher Stone <chris.stone@gmail.com> 1.3.9-2
xulchris bb4a693
- FC6 rebuild
xulchris bb4a693
xulchris 7b6b860
* Tue Jun 20 2006 Christopher Stone <chris.stone@gmail.com> 1.3.9-1
xulchris 7b6b860
- Initial release