python-boto3/python-boto3.spec

139 lines
4.2 KiB
RPMSpec
Raw Normal View History

2022-10-13 16:42:11 +08:00
%global _empty_manifest_terminate_build 0
Name: python-boto3
2024-02-23 19:27:55 +08:00
Version: 1.34.48
2022-10-13 16:42:11 +08:00
Release: 1
Summary: The AWS SDK for Python
License: Apache-2.0
URL: https://github.com/boto/boto3
Source0: https://files.pythonhosted.org/packages/source/b/boto3/boto3-%{version}.tar.gz
2022-10-13 16:42:11 +08:00
BuildArch: noarch
2020-11-16 11:23:11 +08:00
%description
Boto3 is the Amazon Web Services (AWS) Software Development
Kit (SDK) for Python, which allows Python developers to
write software that makes use of services like Amazon S3
and Amazon EC2.
2022-10-13 16:42:11 +08:00
%package -n python3-boto3
Summary: The AWS SDK for Python
2022-12-15 16:01:41 +08:00
Provides: python-boto3 = %{version}-%{release}
2022-10-13 16:42:11 +08:00
BuildRequires: python3-devel
2021-07-25 17:41:35 +00:00
BuildRequires: python3-s3transfer
BuildRequires: python3-jmespath
BuildRequires: python3-botocore
2022-10-13 16:42:11 +08:00
BuildRequires: python3-setuptools
%description -n python3-boto3
2020-11-16 11:23:11 +08:00
Boto3 is the Amazon Web Services (AWS) Software Development
Kit (SDK) for Python, which allows Python developers to
write software that makes use of services like Amazon S3
and Amazon EC2.
2022-10-13 16:42:11 +08:00
%package help
Summary: Development documents and examples for boto3
Provides: python3-boto3-doc
%description help
2022-12-15 16:01:41 +08:00
Boto3 is the Amazon Web Services (AWS) Software Development
Kit (SDK) for Python, which allows Python developers to
write software that makes use of services like Amazon S3
and Amazon EC2.
2022-10-13 16:42:11 +08:00
2020-11-16 11:23:11 +08:00
%prep
2022-10-13 16:42:11 +08:00
%autosetup -n boto3-%{version}
2020-11-16 11:23:11 +08:00
%build
%py3_build
%install
%py3_install
2022-10-13 16:42:11 +08:00
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 .
2020-11-16 11:23:11 +08:00
2022-10-13 16:42:11 +08:00
%files -n python3-boto3 -f filelist.lst
%dir %{python3_sitelib}/*
%files help -f doclist.lst
%{_docdir}/*
2020-11-16 11:23:11 +08:00
%changelog
2024-02-23 19:27:55 +08:00
* Fri Feb 23 2024 chendexi <chendexi@kylinos.cn> - 1.34.48-1
- Update package to version 1.34.48
* Thu Jan 11 2024 xu_ping <707078654@qq.com> - 1.34.16-1
- Update package to version 1.34.16
2023-11-17 15:30:38 +08:00
* Fri Nov 17 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 1.29.2-1
- Update package to version 1.29.2
2023-08-02 11:31:59 +08:00
* Tue Aug 01 2023 chenzixuan <chenzixuan@kylinos.cn> - 1.28.16-1
- Update package to version 1.28.16
2023-07-31 11:23:57 +08:00
* Mon Jul 31 2023 zhangchenglin <zhangchenglin@kylinos.cn> - 1.28.15-1
- Update package to version 1.28.15
2023-06-28 15:41:58 +08:00
* Wed Jun 28 2023 niuyaru <niuyaru@kylinos.cn> - 1.26.162-1
- Update package to version 1.26.162
2023-05-29 14:22:19 +08:00
* Mon May 29 2023 wubijie <wubijie@kylinos.cn> - 1.26.119-1
- Update package to version 1.26.119
2023-05-10 14:24:47 +08:00
* Wed May 10 2023 wubijie <wubijie@kylinos.cn> - 1.26.114-1
- Update package to version 1.26.114
2023-05-06 11:01:18 +08:00
* Sat May 06 2023 wubijie <wubijie@kylinos.cn> - 1.26.112-1
- Update package to version 1.26.112
2023-05-04 16:04:00 +08:00
* Thu May 04 2023 wubijie <wubijie@kylinos.cn> - 1.26.110-1
- Update package to version 1.26.110
* Fri Apr 07 2023 xu_ping <707078654@qq.com> - 1.26.108-1
- Update package to version 1.26.108
2023-03-20 14:46:45 +08:00
* Mon Mar 20 2023 wubijie <wubijie@kylinos.cn> - 1.26.94-1
- Update package to version 1.26.94
2023-02-14 15:52:46 +08:00
* Tue Feb 14 2023 wubijie <wubijie@kylinos.cn> - 1.26.70-1
- Update package to version 1.26.70
2022-12-15 16:01:41 +08:00
* Thu Dec 15 2022 liqiuyu <liqiuyu@kylinos.cn> - 1.26.30-1
- Update package to version 1.26.30
2022-11-10 14:24:50 +08:00
* Thu Nov 10 2022 liqiuyu <liqiuyu@kylinos.cn> - 1.26.6-1
- Upgrade package to version 1.26.6
2022-10-13 16:42:11 +08:00
* Thu Oct 13 2022 liqiuyu <liqiuyu@kylinos.cn> - 1.24.89-1
- Upgrade package to version 1.24.89
2022-07-05 20:11:23 +08:00
* Tue Jul 5 2022 caodongxia <caodongxia@h-partners.com> - 1.21.7-1
- Update to 1.21.7
2022-04-06 16:55:52 +08:00
* Wed Apr 6 2022 caodongxia <caodongxia@h-partners.com> - 1.20.3-1
- upgrade to v1.20.3
2021-07-25 17:41:35 +00:00
* Sun Jul 25 2021 OpenStack_SIG <openstack@openeuler.org> - 1.17.26-1
- update to 1.17.26
2020-11-16 11:23:11 +08:00
* Mon Nov 16 2020 yanan li <liyanan32@huawei.com> - 1.16.17-1
- Package init