Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
python-boto.1852
python-boto.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-boto.spec of Package python-boto.1852
# # spec file for package python-boto # # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: python-boto Version: 2.38.0 Release: 0 Url: https://github.com/boto/boto/ Summary: Amazon Web Services Library License: MIT Group: Development/Languages/Python Source: https://pypi.python.org/packages/source/b/boto/boto-%{version}.tar.gz Source1: boto.cfg Patch1: region_support.patch BuildRequires: fdupes BuildRequires: python-devel BuildRequires: python-paramiko BuildRequires: python-setuptools BuildRequires: python-xml # Documentation requirement BuildRequires: python-Sphinx Requires: python-paramiko Requires: python-xml Requires(post): update-alternatives Requires(postun): update-alternatives BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %else BuildArch: noarch %endif %description An integrated interface to current and future infrastructural services offered by Amazon Web Services. At the moment, boto supports: * Compute - Amazon Elastic Compute Cloud (EC2) - Amazon Elastic Map Reduce (EMR) - AutoScaling - Amazon Kinesis * Content Delivery - Amazon CloudFront * Database - Amazon Relational Data Service (RDS) - Amazon DynamoDB - Amazon SimpleDB - Amazon ElastiCache - Amazon Redshift * Deployment and Management - AWS Elastic Beanstalk - AWS CloudFormation - AWS Data Pipeline - AWS Opsworks - AWS CloudTrail * Identity & Access - AWS Identity and Access Management (IAM) * Application Services - Amazon CloudSearch - Amazon Elastic Transcoder - Amazon Simple Workflow Service (SWF) - Amazon Simple Queue Service (SQS) - Amazon Simple Notification Server (SNS) - Amazon Simple Email Service (SES) * Monitoring - Amazon CloudWatch (EC2 Only) - Amazon CloudWatch Logs * Networking - Amazon Route53 - Amazon Virtual Private Cloud (VPC) - Elastic Load Balancing (ELB) - AWS Direct Connect * Payments and Billing - Amazon Flexible Payment Service (FPS) * Storage - Amazon Simple Storage Service (S3) - Amazon Glacier - Amazon Elastic Block Store (EBS) - Google Cloud Storage * Workforce - Amazon Mechanical Turk * Other - Marketplace Web Services - AWS Support %package doc Summary: Documentation for %{name} Group: Documentation/Other Requires: %{name} = %{version} %description doc An integrated interface to current and future infrastructural services offered by Amazon Web Services. This subpackage contains the documentation for %{name}. %prep %setup -q -n boto-%{version} # remove unwanted shebang sed -i '/^#!/d' boto/{services/bs,services/result,pyami/launch_ami}.py %patch1 # break the dependency between the doc generation and boto sed -i -e '/import boto/d' -e "s/boto\.__version__/\'%{version}\'/" docs/source/conf.py %build python setup.py build # build HTML documentation cd docs && make html && rm -f build/html/.buildinfo %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} %fdupes %{buildroot}%{_prefix} mkdir %{buildroot}%{_sysconfdir} cp %{SOURCE1} %{buildroot}%{_sysconfdir} %fdupes docs/build/html/ # Prepare for update-alternatives usage mkdir -p %{buildroot}%{_sysconfdir}/alternatives for p in asadmin bundle_image cfadmin cq cwutil dynamodb_dump dynamodb_load elbadmin fetch_file glacier instance_events kill_instance launch_instance list_instances lss3 mturk pyami_sendmail route53 s3put sdbadmin taskadmin ; do mv %{buildroot}%{_bindir}/$p %{buildroot}%{_bindir}/$p-%{py_ver} ln -s -f %{_sysconfdir}/alternatives/$p %{buildroot}%{_bindir}/$p # create a dummy target for /etc/alternatives/$p touch %{buildroot}%{_sysconfdir}/alternatives/$p done mv %{buildroot}%{_sysconfdir}/boto.cfg %{buildroot}%{_sysconfdir}/boto-%{py_ver}.cfg ln -s -f %{_sysconfdir}/alternatives/boto.cfg %{buildroot}%{_sysconfdir}/boto.cfg # create a dummy target for /etc/alternatives/boto.cfg touch %{buildroot}%{_sysconfdir}/alternatives/boto.cfg %post %_sbindir/update-alternatives \ --install %{_bindir}/asadmin asadmin %{_bindir}/asadmin-%{py_ver} 30 \ --slave %{_bindir}/bundle_image bundle_image %{_bindir}/bundle_image-%{py_ver} \ --slave %{_bindir}/cfadmin cfadmin %{_bindir}/cfadmin-%{py_ver} \ --slave %{_bindir}/cq cq %{_bindir}/cq-%{py_ver} \ --slave %{_bindir}/cwutil cwutil %{_bindir}/cwutil-%{py_ver} \ --slave %{_bindir}/dynamodb_dump dynamodb_dump %{_bindir}/dynamodb_dump-%{py_ver} \ --slave %{_bindir}/dynamodb_load dynamodb_load %{_bindir}/dynamodb_load-%{py_ver} \ --slave %{_bindir}/elbadmin elbadmin %{_bindir}/elbadmin-%{py_ver} \ --slave %{_bindir}/fetch_file fetch_file %{_bindir}/fetch_file-%{py_ver} \ --slave %{_bindir}/glacier glacier %{_bindir}/glacier-%{py_ver} \ --slave %{_bindir}/instance_events instance_events %{_bindir}/instance_events-%{py_ver} \ --slave %{_bindir}/kill_instance kill_instance %{_bindir}/kill_instance-%{py_ver} \ --slave %{_bindir}/launch_instance launch_instance %{_bindir}/launch_instance-%{py_ver} \ --slave %{_bindir}/list_instances list_instances %{_bindir}/list_instances-%{py_ver} \ --slave %{_bindir}/lss3 lss3 %{_bindir}/lss3-%{py_ver} \ --slave %{_bindir}/mturk mturk %{_bindir}/mturk-%{py_ver} \ --slave %{_bindir}/pyami_sendmail pyami_sendmail %{_bindir}/pyami_sendmail-%{py_ver} \ --slave %{_bindir}/route53 route53 %{_bindir}/route53-%{py_ver} \ --slave %{_bindir}/s3put s3put %{_bindir}/s3put-%{py_ver} \ --slave %{_bindir}/sdbadmin sdbadmin %{_bindir}/sdbadmin-%{py_ver} \ --slave %{_bindir}/taskadmin taskadmin %{_bindir}/taskadmin-%{py_ver} \ --slave %{_sysconfdir}/boto.cfg boto.cfg %{_sysconfdir}/boto-%{py_ver}.cfg %preun if [ $1 -eq 0 ] ; then %_sbindir/update-alternatives --remove asadmin %{_bindir}/asadmin-%{py_ver} fi %files %defattr(-,root,root,-) %doc README.rst %config %{_sysconfdir}/boto.cfg %{_bindir}/asadmin %{_bindir}/bundle_image %{_bindir}/cfadmin %{_bindir}/cq %{_bindir}/cwutil %{_bindir}/dynamodb_dump %{_bindir}/dynamodb_load %{_bindir}/elbadmin %{_bindir}/fetch_file %{_bindir}/glacier %{_bindir}/instance_events %{_bindir}/kill_instance %{_bindir}/launch_instance %{_bindir}/list_instances %{_bindir}/lss3 %{_bindir}/mturk %{_bindir}/pyami_sendmail %{_bindir}/route53 %{_bindir}/s3put %{_bindir}/sdbadmin %{_bindir}/taskadmin %config %{_sysconfdir}/boto-%{py_ver}.cfg %{_bindir}/asadmin-%{py_ver} %{_bindir}/bundle_image-%{py_ver} %{_bindir}/cfadmin-%{py_ver} %{_bindir}/cq-%{py_ver} %{_bindir}/cwutil-%{py_ver} %{_bindir}/dynamodb_dump-%{py_ver} %{_bindir}/dynamodb_load-%{py_ver} %{_bindir}/elbadmin-%{py_ver} %{_bindir}/fetch_file-%{py_ver} %{_bindir}/glacier-%{py_ver} %{_bindir}/instance_events-%{py_ver} %{_bindir}/kill_instance-%{py_ver} %{_bindir}/launch_instance-%{py_ver} %{_bindir}/list_instances-%{py_ver} %{_bindir}/lss3-%{py_ver} %{_bindir}/mturk-%{py_ver} %{_bindir}/pyami_sendmail-%{py_ver} %{_bindir}/route53-%{py_ver} %{_bindir}/s3put-%{py_ver} %{_bindir}/sdbadmin-%{py_ver} %{_bindir}/taskadmin-%{py_ver} %ghost %{_sysconfdir}/alternatives/boto.cfg %ghost %{_sysconfdir}/alternatives/asadmin %ghost %{_sysconfdir}/alternatives/bundle_image %ghost %{_sysconfdir}/alternatives/cfadmin %ghost %{_sysconfdir}/alternatives/cq %ghost %{_sysconfdir}/alternatives/cwutil %ghost %{_sysconfdir}/alternatives/dynamodb_dump %ghost %{_sysconfdir}/alternatives/dynamodb_load %ghost %{_sysconfdir}/alternatives/elbadmin %ghost %{_sysconfdir}/alternatives/fetch_file %ghost %{_sysconfdir}/alternatives/glacier %ghost %{_sysconfdir}/alternatives/instance_events %ghost %{_sysconfdir}/alternatives/kill_instance %ghost %{_sysconfdir}/alternatives/launch_instance %ghost %{_sysconfdir}/alternatives/list_instances %ghost %{_sysconfdir}/alternatives/lss3 %ghost %{_sysconfdir}/alternatives/mturk %ghost %{_sysconfdir}/alternatives/pyami_sendmail %ghost %{_sysconfdir}/alternatives/route53 %ghost %{_sysconfdir}/alternatives/s3put %ghost %{_sysconfdir}/alternatives/sdbadmin %ghost %{_sysconfdir}/alternatives/taskadmin %{python_sitelib}/* %files doc %defattr(-,root,root,-) %doc docs/BotoCheatSheet.pdf %doc docs/build/html %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor