diff --git a/jsonschema_specifications-2023.7.1.tar.gz b/jsonschema_specifications-2023.7.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..64342c02c319f111a5dae0dcd5e822375daa741d Binary files /dev/null and b/jsonschema_specifications-2023.7.1.tar.gz differ diff --git a/python-jsonschema-specifications.spec b/python-jsonschema-specifications.spec new file mode 100644 index 0000000000000000000000000000000000000000..d945f0e22c9367bb0fef2701ca9ecad21a6234c7 --- /dev/null +++ b/python-jsonschema-specifications.spec @@ -0,0 +1,66 @@ +%define anolis_release 1 + +Name: python-jsonschema-specifications +Version: 2023.7.1 +Release: %{anolis_release}%{?dist} +Summary: The JSON Schema meta-schemas and vocabularies, exposed as a Registry. +License: MIT +URL: https://github.com/python-jsonschema/jsonschema-specifications +Source0: https://files.pythonhosted.org/packages/12/ce/eb5396b34c28cbac19a6a8632f0e03d309135d77285536258b82120198d8/jsonschema_specifications-2023.7.1.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pbr +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python3-hatchling +BuildRequires: python3-hatch-vcs + +%description +The JSON Schema meta-schemas and vocabularies, exposed as a Registry. + + +%package -n python3-jsonschema-specifications +Summary: The JSON Schema meta-schemas and vocabularies, exposed as a Registry. +Provides: python-jsonschema-specifications +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-hatchling +%description -n python3-jsonschema-specifications +The JSON Schema meta-schemas and vocabularies, exposed as a Registry. + +%package -n python3-jsonschema-specifications-doc +Summary: Development documents and examples for jsonschema-specifications +Provides: python3-jsonschema-specifications-doc + +%description -n python3-jsonschema-specifications-doc +Development documents and examples for jsonschema-specifications. + +%prep +%autosetup -n jsonschema_specifications-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi + +%files -n python3-jsonschema-specifications +%doc README.rst +%license COPYING +%{python3_sitelib}/jsonschema_specifications +%{python3_sitelib}/jsonschema_specifications*.dist-info/ + + +%files -n python3-jsonschema-specifications-doc +%{_docdir}/* + +%changelog +* Tue Aug 12 2025 wenxin - 2023.7.1-1 +- Init package \ No newline at end of file