diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-btrdb.spec | 98 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 100 insertions, 0 deletions
@@ -0,0 +1 @@ +/btrdb-5.28.1.tar.gz diff --git a/python-btrdb.spec b/python-btrdb.spec new file mode 100644 index 0000000..5521cbc --- /dev/null +++ b/python-btrdb.spec @@ -0,0 +1,98 @@ +%global _empty_manifest_terminate_build 0 +Name: python-btrdb +Version: 5.28.1 +Release: 1 +Summary: Bindings to interact with the Berkeley Tree Database using gRPC. +License: BSD-3-Clause +URL: http://btrdb.io/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a4/2d/fffb26036ea227738880ed64e1cbe8d2da14b9c88529807d220d74485f6e/btrdb-5.28.1.tar.gz +BuildArch: noarch + +Requires: python3-grpcio +Requires: python3-grpcio-tools +Requires: python3-pytz +Requires: python3-pyyaml +Requires: python3-certifi + +%description +# btrdb + +These are BTrDB Bindings for Python allowing you painless and productive access to the Berkeley Tree Database (BTrDB). BTrDB is a time series database focusing on blazing speed with respect to univariate time series data at the nanosecond scale. + +Please see the full documentation at: [https://btrdb.readthedocs.io/en/latest/](https://btrdb.readthedocs.io/en/latest/) particularly the quick [start guide](https://btrdb.readthedocs.io/en/latest/quick-start.html) + + + + +%package -n python3-btrdb +Summary: Bindings to interact with the Berkeley Tree Database using gRPC. +Provides: python-btrdb +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-btrdb +# btrdb + +These are BTrDB Bindings for Python allowing you painless and productive access to the Berkeley Tree Database (BTrDB). BTrDB is a time series database focusing on blazing speed with respect to univariate time series data at the nanosecond scale. + +Please see the full documentation at: [https://btrdb.readthedocs.io/en/latest/](https://btrdb.readthedocs.io/en/latest/) particularly the quick [start guide](https://btrdb.readthedocs.io/en/latest/quick-start.html) + + + + +%package help +Summary: Development documents and examples for btrdb +Provides: python3-btrdb-doc +%description help +# btrdb + +These are BTrDB Bindings for Python allowing you painless and productive access to the Berkeley Tree Database (BTrDB). BTrDB is a time series database focusing on blazing speed with respect to univariate time series data at the nanosecond scale. + +Please see the full documentation at: [https://btrdb.readthedocs.io/en/latest/](https://btrdb.readthedocs.io/en/latest/) particularly the quick [start guide](https://btrdb.readthedocs.io/en/latest/quick-start.html) + + + + +%prep +%autosetup -n btrdb-5.28.1 + +%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-btrdb -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 5.28.1-1 +- Package Spec generated @@ -0,0 +1 @@ +eb2abc5d763beb361e86b656ce6dfe48 btrdb-5.28.1.tar.gz |
