Name: cksfv Version: 1.3.14 Release: %mkrel 4 Summary: Simple File Verification program License: GPLv2+ Group: File tools URL: http://zakalwe.fi/~shd/foss/cksfv/ Source0: http://zakalwe.fi/~shd/foss/cksfv/files/%{name}-%{version}.tar.bz2 Source1: cksfv.bash-completion %description Some files that you download will come with a .sfv file. This is used to verify that the files that you received are the same as the originals. cksfv is a program that can use the .sfv file to verify the downloaded files. Also, it can be used to create new .sfv files. %prep %setup -q %build %before_configure ./configure --prefix=%{_prefix} \ --package-prefix=%{buildroot} \ --bindir=%{_bindir} \ --mandir=%{_mandir} %make %install rm -rf %{buildroot} %{makeinstall_std} #bash completion install -Dm644 %{SOURCE1} %{buildroot}%{_sysconfdir}/bash_completion.d/%{name} %check %make check %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc ChangeLog README TODO %doc scripts/ %{_bindir}/cksfv %{_mandir}/man1/* %config(noreplace) %{_sysconfdir}/bash_completion.d/%{name} %changelog * Fri Jan 11 2013 umeabot <umeabot> 1.3.14-4.mga3 + Revision: 347803 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sat Oct 01 2011 wally <wally> 1.3.14-3.mga2 + Revision: 150664 - fix urls * Sat Feb 19 2011 wally <wally> 1.3.14-2.mga1 + Revision: 54355 - drop buildroot definition - fix url and source tags - change description - clean .spec - imported package cksfv