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 +- 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 +- 1.0.0-20120612.1 +- Move the datestr to release per Packaging:NamingGuidelines#Release_Tag + +* Wed Jun 13 2012 Pete Zaitcev +- 1.0.0.20120612-1 +- Use a reproducible tarball with a specific commit id (5c74ba04) + +* Tue Jun 12 2012 Pete Zaitcev +- 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