Init project
This commit is contained in:
parent
fd594415f5
commit
d78f0939f8
BIN
pycson-0.8.tar.gz
Normal file
BIN
pycson-0.8.tar.gz
Normal file
Binary file not shown.
42
python-cson.spec
Normal file
42
python-cson.spec
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
%global srcname cson
|
||||||
|
|
||||||
|
Name: python-%{srcname}
|
||||||
|
Version: 0.8
|
||||||
|
Release: 1
|
||||||
|
Summary: A Coffescript Object Notation (CSON) parser for Python 3
|
||||||
|
License: MIT
|
||||||
|
URL: https://github.com/avakar/pycson
|
||||||
|
Source0: https://github.com/avakar/pycson/archive/%{version}/pycson-%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
A python parser for the Coffeescript Object Notation (CSON).
|
||||||
|
|
||||||
|
%package -n python3-%{srcname}
|
||||||
|
Summary: %{summary}
|
||||||
|
BuildRequires: python3-devel
|
||||||
|
BuildRequires: python3-setuptools
|
||||||
|
%{?python_provide:%python_provide python3-%{srcname}}
|
||||||
|
|
||||||
|
%description -n python3-%{srcname}
|
||||||
|
A python parser for the Coffeescript Object Notation (CSON).
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n pycson-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%py3_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%py3_install
|
||||||
|
|
||||||
|
# Note that there is no %%files section for the unversioned python module
|
||||||
|
%files -n python3-%{srcname}
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.md
|
||||||
|
%{python3_sitelib}/%{srcname}-*.egg-info/
|
||||||
|
%{python3_sitelib}/%{srcname}/
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Jun 24 2021 Li Jiaan <lijiaan@kylinos.cn> - 0.8-1
|
||||||
|
- Init project
|
||||||
Loading…
x
Reference in New Issue
Block a user