diff --git a/README.md b/README.md index c37e67b..6f53a80 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-botocore +A low-level interface to a growing number of Amazon Web Services. + diff --git a/python-botocore.spec b/python-botocore.spec new file mode 100644 index 0000000..9b86079 --- /dev/null +++ b/python-botocore.spec @@ -0,0 +1,43 @@ +Name: python-botocore +Version: 1.3.12 +Release: 1mamba +Summary: A low-level interface to a growing number of Amazon Web Services +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/boto/botocore +Source: https://pypi.python.org/packages/source/b/botocore/botocore-%{version}.tar.gz +License: Apache License 2.0 +## AUTOBUILDREQ-BEGIN +BuildRequires: libpython-devel +## AUTOBUILDREQ-END +Requires: python >= %python_version +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +%{summary}. + +%prep +%setup -q -n botocore-%{version} + +%build +CFLAGS="%{optflags}" %{__python} setup.py build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%{__python} setup.py install \ + -O1 --skip-build \ + --root="%{buildroot}" \ + --install-headers=%{_includedir}/python \ + --install-lib=%{python_sitearch} \ + --record=%{name}.filelist + +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist + +%files -f %{name}.filelist +%defattr(-,root,root) + +%changelog +* Mon Dec 21 2015 Silvan Calarco 1.3.12-1mamba +- package created using the webbuild interface