diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-12 06:04:22 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-12 06:04:22 +0000 |
| commit | 7787b22e33a9f6f99813289f37d4244c5a4f0958 (patch) | |
| tree | e504fb1e6196d9873b8084a700d0eb4ff9a88101 /python-bcolz.spec | |
| parent | 238c425ec4b806cac06df4bd22a54e2e73010216 (diff) | |
automatic import of python-bcolz
Diffstat (limited to 'python-bcolz.spec')
| -rw-r--r-- | python-bcolz.spec | 99 |
1 files changed, 99 insertions, 0 deletions
diff --git a/python-bcolz.spec b/python-bcolz.spec new file mode 100644 index 0000000..f61c070 --- /dev/null +++ b/python-bcolz.spec @@ -0,0 +1,99 @@ +%global _empty_manifest_terminate_build 0 +Name: python-bcolz +Version: 1.2.1 +Release: 1 +Summary: columnar and compressed data containers. +License: BSD +URL: https://github.com/Blosc/bcolz +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/5c/4e/23942de9d5c0fb16f10335fa83e52b431bcb8c0d4a8419c9ac206268c279/bcolz-1.2.1.tar.gz +BuildArch: noarch + + +%description + +bcolz provides columnar and compressed data containers. Column +storage allows for efficiently querying tables with a large number of +columns. It also allows for cheap addition and removal of column. In +addition, bcolz objects are compressed by default for reducing +memory/disk I/O needs. The compression process is carried out +internally by Blosc, a high-performance compressor that is optimized +for binary data. + + + +%package -n python3-bcolz +Summary: columnar and compressed data containers. +Provides: python-bcolz +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-bcolz + +bcolz provides columnar and compressed data containers. Column +storage allows for efficiently querying tables with a large number of +columns. It also allows for cheap addition and removal of column. In +addition, bcolz objects are compressed by default for reducing +memory/disk I/O needs. The compression process is carried out +internally by Blosc, a high-performance compressor that is optimized +for binary data. + + + +%package help +Summary: Development documents and examples for bcolz +Provides: python3-bcolz-doc +%description help + +bcolz provides columnar and compressed data containers. Column +storage allows for efficiently querying tables with a large number of +columns. It also allows for cheap addition and removal of column. In +addition, bcolz objects are compressed by default for reducing +memory/disk I/O needs. The compression process is carried out +internally by Blosc, a high-performance compressor that is optimized +for binary data. + + + +%prep +%autosetup -n bcolz-1.2.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-bcolz -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed Apr 12 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2.1-1 +- Package Spec generated |
