This repository has been archived on 2024-11-07. You can view files and clone it, but cannot push or open issues or pull requests.
cfv/cfv.spec

52 lines
1.6 KiB
RPMSpec

Name: cfv
Version: 1.18.3
Release: 3mamba
Summary: A utility to both test and create .sfv, .csv, .crc, .md5(sfv-like), md5sum, bsd md5, sha1sum, and .torrent files
Group: System/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://cfv.sourceforge.net/
Source: http://downloads.sourceforge.net/sourceforge/cfv/cfv-%{version}.tar.gz
Patch0: cfv-1.18.3-python2-shebang.patch
License: GPL
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
Requires: python27
%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 -q
%patch0 -p1
%build
%make PYTHON=python2 prefix=%{_prefix} mandir=%{_mandir}
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall PYTHON=python2 prefix=%{_prefix} mandir=%{_mandir}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/cfv
%{_mandir}/man1/cfv.1*
%doc COPYING
%changelog
* Tue Dec 13 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.18.3-3mamba
- python2 shebang patch
* Tue Jul 16 2013 Automatic Build System <autodist@mambasoft.it> 1.18.3-2mamba
- automatic rebuild by autodist
* Thu Jul 02 2009 Automatic Build System <autodist@mambasoft.it> 1.18.3-1mamba
- automatic update by autodist
* Fri Apr 17 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.18.2-1mamba
- package created by autospec