package created using the webbuild interface [release 4.0.2-1mamba;Mon Apr 12 2021]
This commit is contained in:
parent
caa6958d94
commit
d436fbdec9
@ -1,2 +1,4 @@
|
|||||||
# python-ujson
|
# python-ujson
|
||||||
|
|
||||||
|
Ultra fast JSON encoder and decoder for Python.
|
||||||
|
|
||||||
|
52
python-ujson.spec
Normal file
52
python-ujson.spec
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
Name: python-ujson
|
||||||
|
Version: 4.0.2
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: Ultra fast JSON encoder and decoder for Python
|
||||||
|
Group: System/Libraries
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
URL: https://github.com/ultrajson/ultrajson
|
||||||
|
Source: https://pypi.debian.net/ujson/ujson-%{version}.tar.gz
|
||||||
|
License: BSD
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libgcc
|
||||||
|
BuildRequires: libpython3-devel
|
||||||
|
BuildRequires: libstdc++6-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRequires: libpython-devel
|
||||||
|
Requires: python >= %python_version
|
||||||
|
|
||||||
|
%description
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
|
%if 0%{?with_pyver}
|
||||||
|
%pyver_package
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n ujson-%{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}/ujson-%{version}-py*.egg-info
|
||||||
|
%{python_sitearch}/ujson-%{version}-py*.egg-info/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Apr 12 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.2-1mamba
|
||||||
|
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user