diff options
Diffstat (limited to 'python-omegaconf.spec')
-rw-r--r-- | python-omegaconf.spec | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/python-omegaconf.spec b/python-omegaconf.spec new file mode 100644 index 0000000..532076a --- /dev/null +++ b/python-omegaconf.spec @@ -0,0 +1,50 @@ +%global _empty_manifest_terminate_build 0 +Name: python-omegaconf +Version: 2.3.0 +Release: 1 +Summary: omegaconf package for python3 +License: BSD 3-Clause +URL: https://github.com/omry/omegaconf +Source0: https://github.com/omry/omegaconf/archive/refs/tags/v2.3.0.tar.gz#/%{name}-%{version}.tar.gz +Requires: python3-pyaml >= 5.1.0 +Requires: python3-antlr4-runtime == 4.9 + +%description +OmegaConf is a hierarchical configuration system, with support for merging configurations from multiple sources (YAML config files, dataclasses/objects and CLI arguments) providing a consistent API regardless of how the configuration was created. + +%package -n python3-omegaconf +Summary: omegaconf package for python3 +Provides: python-omegaconf +BuildRequires: python3-setuptools +BuildRequires: java-11-openjdk +BuildRequires: python3-pip +BuildRequires: python3-wheel + +%description -n python3-omegaconf +transformer description + +%package help +Summary: Development documents and examples for omegaconf +Provides: python3-omegaconf-doc +%description help +help document omegaconf for python3 + +%prep +%autosetup -p1 -n omegaconf-%{version} + +%build +%pyproject_build + +%install +%pyproject_install + +%files -n python3-omegaconf +%doc *.md +%license LICENSE +%{python3_sitelib}/omegaconf/* +%{python3_sitelib}/pydevd_plugins/* +%{python3_sitelib}/omegaconf-%{version}.dist-info/* + +%changelog +* Mon Jan 22 2024 menma <1316818279@qq.com> - 0.9.5-1 +- Package init |