diff --git a/python-trove-classifiers.spec b/python-trove-classifiers.spec new file mode 100644 index 0000000000000000000000000000000000000000..0818ae8f837a3e2e51beaf97bc42498426f649d1 --- /dev/null +++ b/python-trove-classifiers.spec @@ -0,0 +1,63 @@ +%global _empty_manifest_terminate_build 0 +Name: python-trove-classifiers +Version: 2023.10.18 +Release: 1 +Summary: Canonical source for classifiers on PyPI (pypi.org). +License: Apache-2.0 +URL: https://github.com/pypa/trove-classifiers +Source0: https://files.pythonhosted.org/packages/5b/fa/49b6a09e4f389d4d9406d2947a685de1462ffb676ea6e61c50905e27b0f4/trove-classifiers-2023.10.18.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pbr +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python3-hatchling + +%description +Canonical source for classifiers on PyPI (pypi.org). + +%package -n python3-trove-classifiers +Summary: Canonical source for classifiers on PyPI (pypi.org). +Provides: python-trove-classifiers +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-hatchling +%description -n python3-trove-classifiers +Canonical source for classifiers on PyPI (pypi.org). + +%package help +Summary: Development documents and examples for trove-classifiers +Provides: python3-trove-classifiers-doc + +%description help +Development documents and examples for trove-classifiers. + +%prep +%autosetup -n trove-classifiers-%{version} + +%build +%pyproject_build + +%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-trove-classifiers +%doc README.md +%license LICENSE +%{python3_sitelib}/trove_classifiers +%{python3_sitelib}/trove_classifiers*.dist-info/ + + +%files help +%{_docdir}/* + +%changelog +* Thu Nov 2 2023 Dongxing Wang - 2023.10.18-1 +- Init package diff --git a/trove-classifiers-2023.10.18.tar.gz b/trove-classifiers-2023.10.18.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..aa3b73c6a1b396d625d4ad56c624d71e1fcc18b1 Binary files /dev/null and b/trove-classifiers-2023.10.18.tar.gz differ