update to 2.1.18 [release 2.1.18-1mamba;Thu Mar 09 2023]
This commit is contained in:
parent
8c3f6380f9
commit
06586c38ab
@ -1,2 +1,4 @@
|
|||||||
# python-faust-cchardet
|
# python-faust-cchardet
|
||||||
|
|
||||||
|
A high speed universal character encoding detector.
|
||||||
|
|
||||||
|
66
python-faust-cchardet.spec
Normal file
66
python-faust-cchardet.spec
Normal file
@ -0,0 +1,66 @@
|
|||||||
|
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
||||||
|
Name: python-faust-cchardet
|
||||||
|
Version: 2.1.18
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: A high speed universal character encoding detector
|
||||||
|
Group: System/Libraries
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
URL: https://github.com/faust-streaming/cChardet
|
||||||
|
Source: https://pypi.debian.net/faust-cchardet/faust-cchardet-%{version}.tar.gz
|
||||||
|
License: LGPL
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libgcc
|
||||||
|
BuildRequires: libpython3-devel
|
||||||
|
BuildRequires: libstdc++6-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
|
||||||
|
%description
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
|
%if 0%{?with_pyver}
|
||||||
|
%if "%{?with_pyver}" == "3"
|
||||||
|
%define py_requires_append \
|
||||||
|
Provides: python-cchardet \
|
||||||
|
Obsoletes: python-cchardet-py3 <= 2.1.7
|
||||||
|
%endif
|
||||||
|
%pyver_package
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n faust-cchardet-%{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
|
||||||
|
* Thu Mar 09 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.18-1mamba
|
||||||
|
- update to 2.1.18
|
||||||
|
|
||||||
|
* Mon Feb 14 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.7-2mamba
|
||||||
|
- rebuilt with distdeps
|
||||||
|
|
||||||
|
* Mon Nov 09 2020 Automatic Build System <autodist@mambasoft.it> 2.1.7-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Sun Sep 27 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.6-1mamba
|
||||||
|
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user