diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-10 11:34:03 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-10 11:34:03 +0000 |
| commit | 5826bd88ec34910623c2aa83943ce7ed745ce902 (patch) | |
| tree | 34c235eaf1e239de2321ebcd5ce006eb01dbd35f /python-salesforce-bulk.spec | |
| parent | 2deef20d2f3830816366d1c42022e63063103298 (diff) | |
automatic import of python-salesforce-bulk
Diffstat (limited to 'python-salesforce-bulk.spec')
| -rw-r--r-- | python-salesforce-bulk.spec | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/python-salesforce-bulk.spec b/python-salesforce-bulk.spec new file mode 100644 index 0000000..fcda09b --- /dev/null +++ b/python-salesforce-bulk.spec @@ -0,0 +1,75 @@ +%global _empty_manifest_terminate_build 0 +Name: python-salesforce-bulk +Version: 2.2.0 +Release: 1 +Summary: Python interface to the Salesforce.com Bulk API. +License: MIT +URL: https://github.com/heroku/salesforce-bulk +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/02/45/ae6a5566997e180755b0e02dac3374ae10071f44300c917a3958a41d324a/salesforce-bulk-2.2.0.tar.gz +BuildArch: noarch + + +%description +Python client library for accessing the asynchronous Salesforce.com Bulk +API. + +%package -n python3-salesforce-bulk +Summary: Python interface to the Salesforce.com Bulk API. +Provides: python-salesforce-bulk +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-salesforce-bulk +Python client library for accessing the asynchronous Salesforce.com Bulk +API. + +%package help +Summary: Development documents and examples for salesforce-bulk +Provides: python3-salesforce-bulk-doc +%description help +Python client library for accessing the asynchronous Salesforce.com Bulk +API. + +%prep +%autosetup -n salesforce-bulk-2.2.0 + +%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-salesforce-bulk -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 2.2.0-1 +- Package Spec generated |
