update to 3.1.0 [release 3.1.0-1mamba;Sun Jun 23 2024]

This commit is contained in:
Silvan Calarco 2024-06-23 23:36:12 +02:00
parent f2ebc5debd
commit 89866f7f1a
2 changed files with 67 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# python-cfv
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.

65
python-cfv.spec Normal file
View File

@ -0,0 +1,65 @@
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
Name: python-cfv
Version: 3.1.0
Release: 1mamba
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: https://pypi.debian.net/cfv/cfv-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython311-devel
BuildRequires: python3.11dist(setuptools)
## AUTOBUILDREQ-END
%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.
%if 0%{?with_pyver}
%define py_requires_append \
Provides: cfv \
Obsoletes: cfv < 3.1.0
%pyver_package
%endif
%prep
%setup -q -n cfv-%{version}
%build
CFLAGS="%{optflags}" %{__python} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{python_inc} \
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info
%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/*
%doc COPYING
%changelog
* Sun Jun 23 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.0-1mamba
- update to 3.1.0
* 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