summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPete Zaitcev <zaitcev@kotori.zaitcev.us>2012-06-18 19:07:32 (GMT)
committerPete Zaitcev <zaitcev@kotori.zaitcev.us>2012-06-18 19:07:32 (GMT)
commit8c173b20341359cf7ec8c91366d0b4fc32a97433 (patch)
treeefcb32caf2de416027f2527076b1853b17dac633
parent973d92708fec31e771df60ead546c8f9014f2e7b (diff)
downloadopenstack-swift-plugin-swift3-8c173b2.zip
openstack-swift-plugin-swift3-8c173b2.tar.gz
openstack-swift-plugin-swift3-8c173b2.tar.xz
Initial commit, openstack-swift-plugin-swift3-1.0.0-0.20120612git
-rw-r--r--.gitignore1
-rw-r--r--openstack-swift-plugin-swift3.spec59
-rw-r--r--sources1
3 files changed, 61 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..5874159 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/swift3-1.0.0-5c74ba04.tar.xz
diff --git a/openstack-swift-plugin-swift3.spec b/openstack-swift-plugin-swift3.spec
new file mode 100644
index 0000000..a3cec51
--- /dev/null
+++ b/openstack-swift-plugin-swift3.spec
@@ -0,0 +1,59 @@
+Name: openstack-swift-plugin-swift3
+Version: 1.0.0
+Release: 0.20120612git%{?dist}
+Summary: The swift3 plugin for Openstack Swift
+
+License: ASL 2.0
+URL: https://github.com/fujita/swift3
+# git archive --format=tar --prefix=swift3-1.0.0-5c74ba04/ 5c74ba04 | \
+# xz - > ../swift3-1.0.0-5c74ba04.tar.xz
+Source0: swift3-1.0.0-5c74ba04.tar.xz
+
+BuildArch: noarch
+BuildRequires: python2-devel
+BuildRequires: python-setuptools
+
+Requires: openstack-swift >= 1.5.0
+
+%description
+The swift3 plugin permits accessing Openstack Swift via the
+Amazon S3 API.
+
+%prep
+%setup -q -n swift3-1.0.0-5c74ba04
+
+%build
+%{__python} setup.py build
+sed -i 's/\r//' LICENSE
+
+%install
+rm -rf %{buildroot}
+%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+#{python_sitelib}/#{name}-#{version}-*.egg-info/
+%{python_sitelib}/swift3-%{version}-*.egg-info/
+%{python_sitelib}/swift3/
+%doc AUTHORS LICENSE README.md
+
+%changelog
+* Thu Jun 14 2012 Pete Zaitcev <zaitcev@redhat.com>
+- 1.0.0-0.20120612git
+- Rename once again to match guidelines for pre-releases
+- Drop Group: per review bz#831871 c#3
+
+* Wed Jun 13 2012 Pete Zaitcev <zaitcev@redhat.com>
+- 1.0.0-20120612.1
+- Move the datestr to release per Packaging:NamingGuidelines#Release_Tag
+
+* Wed Jun 13 2012 Pete Zaitcev <zaitcev@redhat.com>
+- 1.0.0.20120612-1
+- Use a reproducible tarball with a specific commit id (5c74ba04)
+
+* Tue Jun 12 2012 Pete Zaitcev <zaitcev@redhat.com>
+- 1.0.0.20120601-1
+- Initial revision
diff --git a/sources b/sources
index e69de29..460e519 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+b21822c4fbfaa40f4164b371764abf76 swift3-1.0.0-5c74ba04.tar.xz