commit
e52e70a0e1
46
python-ruamel-yaml-clib.spec
Normal file
46
python-ruamel-yaml-clib.spec
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
%global pypi_name ruamel.yaml.clib
|
||||||
|
%global pname ruamel-yaml-clib
|
||||||
|
|
||||||
|
Name: python-%{pname}
|
||||||
|
Version: 0.1.2
|
||||||
|
Release: 1
|
||||||
|
Summary: C version of reader, parser and emitter for ruamel.yaml derived from libyaml
|
||||||
|
License: MIT
|
||||||
|
URL: https://bitbucket.org/ruamel/yaml.clib
|
||||||
|
Source0: %{pypi_source}
|
||||||
|
|
||||||
|
BuildRequires: gcc libyaml-devel python3-devel python3-setuptools
|
||||||
|
|
||||||
|
%description
|
||||||
|
It is the C based reader/scanner and emitter for ruamel.yaml.
|
||||||
|
|
||||||
|
%package -n python3-%{pname}
|
||||||
|
Summary: %{summary}
|
||||||
|
Requires: python3-setuptools
|
||||||
|
|
||||||
|
%description -n python3-%{pname}
|
||||||
|
It is the C based reader/scanner and emitter for ruamel.yaml.
|
||||||
|
|
||||||
|
%package_help
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n %{pypi_name}-%{version} -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%py3_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%{__python3} setup.py install --single-version-externally-managed --skip-build --root $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%files -n python3-%{pname}
|
||||||
|
%license LICENSE
|
||||||
|
%{python3_sitearch}/_ruamel_yaml.cpython-*
|
||||||
|
%{python3_sitearch}/%{pypi_name}-%{version}-py?.?.egg-info
|
||||||
|
|
||||||
|
%files help
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc README.rst
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Mar 2 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.1.2-1
|
||||||
|
- Package init
|
||||||
BIN
ruamel.yaml.clib-0.1.2.tar.gz
Normal file
BIN
ruamel.yaml.clib-0.1.2.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user