[python-cloudfiles] initial import

derks derks at fedoraproject.org
Fri Mar 4 21:33:14 UTC 2011


commit f42d500c00bf6697dbccb15cd74c87a08e0c7514
Author: BJ Dierkes <wdierkes at 5dollarwhitebox.org>
Date:   Fri Mar 4 15:33:06 2011 -0600

    initial import

 .gitignore             |    1 +
 python-cloudfiles.spec |   68 ++++++++++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 3 files changed, 70 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..75b2a6f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/python-cloudfiles-1.7.8.tar.gz
diff --git a/python-cloudfiles.spec b/python-cloudfiles.spec
new file mode 100644
index 0000000..5095be2
--- /dev/null
+++ b/python-cloudfiles.spec
@@ -0,0 +1,68 @@
+
+%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
+%endif
+
+Name:       python-cloudfiles        
+Version:    1.7.8
+Release:    1%{?dist}
+Summary:    Python language bindings for Rackspace CloudFiles API
+
+Group:      Development/Libraries           
+License:    MIT    
+URL:        https://github.com/rackspace/python-cloudfiles
+
+Source0:    http://pypi.python.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz 
+BuildArch:  noarch
+BuildRoot:  %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+
+BuildRequires:  python-setuptools, python-nose 
+Requires:       python2
+
+%description
+Python language bindings for Rackspace CloudFiles API
+
+%prep
+%setup -q 
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf %{buildroot}
+%{__python} setup.py install -O1 \
+    --skip-build \
+    --root %{buildroot}
+
+%check
+nosetests
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+#%%doc ChangeLog COPYING
+%{python_sitelib}/cloudfiles/
+%{python_sitelib}/python_cloudfiles-*-py*.egg-info/
+
+%changelog
+* Tue Feb 15 2011 BJ Dierkes <wdierkes at rackspace.com> - 1.7.8-1
+- Latest sources.
+- Use PyPi as upstream Source0
+
+* Mon Jan 31 2011 BJ Dierkes <wdierkes at rackspace.com> - 1.7.7-1
+- Latest sources.
+- Removed Patch0: broken_tests.patch (applied upstream).
+
+* Tue Jan 25 2011 BJ Dierkes <wdierkes at rackspace.com> - 1.7.6.1-1
+- Latest sources
+- Fixed Source0 to a usable URL
+- BR: python-nose, and run nosetests in %%check
+- Added Patch0: broken_tests.patch.  Resolves GH#23
+  https://github.com/rackspace/python-cloudfiles/issues#issue/23
+
+* Mon Jan 17 2011 BJ Dierkes <wdierkes at rackspace.com> - 1.7.5-1
+- Initial spec build
+
diff --git a/sources b/sources
index e69de29..7e3691e 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+fd5c6d773d56a7c6fe9c06020063bbf6  python-cloudfiles-1.7.8.tar.gz


More information about the scm-commits mailing list