diff options
Diffstat (limited to 'python-kukur.spec')
-rw-r--r-- | python-kukur.spec | 95 |
1 files changed, 95 insertions, 0 deletions
diff --git a/python-kukur.spec b/python-kukur.spec new file mode 100644 index 0000000..42bb607 --- /dev/null +++ b/python-kukur.spec @@ -0,0 +1,95 @@ +%global _empty_manifest_terminate_build 0 +Name: python-kukur +Version: 0.1.14 +Release: 1 +Summary: Kukur makes time series data and metadata available to the Apache Arrow ecosystem. +License: Apache-2.0 +URL: https://kukur.timeseer.ai/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/39/53/3afeb0ca2fa6ee417f711bbb9b1ccdc03970cea0c0c48bb3bd16a1ae838d/kukur-0.1.14.tar.gz +BuildArch: noarch + +Requires: python3-pyarrow +Requires: python3-dateutil +Requires: python3-pytz +Requires: python3-toml +Requires: python3-pywin32 +Requires: python3-crate +Requires: python3-deltalake +Requires: python3-influxdb +Requires: python3-azure-identity +Requires: python3-azure-kusto-data +Requires: python3-pyodbc +Requires: python3-requests +Requires: python3-requests-kerberos +Requires: python3-psycopg[binary] + +%description +**WARNING** +Kukur is under active development. +Breaking changes to the interfaces are possible. +Kukur uses semantic versioning. + +%package -n python3-kukur +Summary: Kukur makes time series data and metadata available to the Apache Arrow ecosystem. +Provides: python-kukur +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-kukur +**WARNING** +Kukur is under active development. +Breaking changes to the interfaces are possible. +Kukur uses semantic versioning. + +%package help +Summary: Development documents and examples for kukur +Provides: python3-kukur-doc +%description help +**WARNING** +Kukur is under active development. +Breaking changes to the interfaces are possible. +Kukur uses semantic versioning. + +%prep +%autosetup -n kukur-0.1.14 + +%build +%py3_build + +%install +%py3_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 +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-kukur -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.14-1 +- Package Spec generated |