From 0e947628094639efc99b352c65a43ffd2ec61f63 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 10 Apr 2023 08:39:16 +0000 Subject: automatic import of python-azure-datalake-store --- python-azure-datalake-store.spec | 78 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 python-azure-datalake-store.spec (limited to 'python-azure-datalake-store.spec') diff --git a/python-azure-datalake-store.spec b/python-azure-datalake-store.spec new file mode 100644 index 0000000..2f4f0bd --- /dev/null +++ b/python-azure-datalake-store.spec @@ -0,0 +1,78 @@ +%global _empty_manifest_terminate_build 0 +Name: python-azure-datalake-store +Version: 0.0.52 +Release: 1 +Summary: Azure Data Lake Store Filesystem Client Library for Python +License: MIT License +URL: https://github.com/Azure/azure-data-lake-store-python +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/13/8b/2c151c9f4c3f5345d9a32889e15a471d98e426851b9fcf13dc9f134f5b93/azure-datalake-store-0.0.52.tar.gz +BuildArch: noarch + +Requires: python3-cffi +Requires: python3-adal +Requires: python3-requests +Requires: python3-azure-nspkg +Requires: python3-pathlib2 +Requires: python3-futures + +%description +This project is the Python filesystem library for Azure Data Lake Store. + +%package -n python3-azure-datalake-store +Summary: Azure Data Lake Store Filesystem Client Library for Python +Provides: python-azure-datalake-store +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-azure-datalake-store +This project is the Python filesystem library for Azure Data Lake Store. + +%package help +Summary: Development documents and examples for azure-datalake-store +Provides: python3-azure-datalake-store-doc +%description help +This project is the Python filesystem library for Azure Data Lake Store. + +%prep +%autosetup -n azure-datalake-store-0.0.52 + +%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-azure-datalake-store -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot - 0.0.52-1 +- Package Spec generated -- cgit v1.2.3