From 69392d4daa9df0612630813713ae02a99cc068e0 Mon Sep 17 00:00:00 2001 From: Mohammed Junaid Date: Mon, 21 May 2012 15:47:28 +0530 Subject: swift: Passing account name in container_update. This patch also contains fixes to bugs * 811501 * 812498 * 821310 Also, removed the default set of users in the proxy-server.conf file. Change-Id: Ief83905d10ff7bf7c43685ada4d7f05959cee9d1 BUG: 821310 Signed-off-by: Mohammed Junaid Reviewed-on: http://review.gluster.com/3440 Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- swift/1.4.8/gluster-swift-plugin.spec | 60 +++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 swift/1.4.8/gluster-swift-plugin.spec (limited to 'swift/1.4.8/gluster-swift-plugin.spec') diff --git a/swift/1.4.8/gluster-swift-plugin.spec b/swift/1.4.8/gluster-swift-plugin.spec new file mode 100644 index 00000000000..746f75c5f5d --- /dev/null +++ b/swift/1.4.8/gluster-swift-plugin.spec @@ -0,0 +1,60 @@ +############################################################################################################ +# Command to build rpms.# +# $ rpmbuild -ta %{name}-%{version}-%{release}.tar.gz # +############################################################################################################ +# Setting up the environment. # +# * Create a directory %{name}-%{version} under $HOME/rpmbuild/SOURCES # +# * Copy the contents of plugins directory into $HOME/rpmbuild/SOURCES/%{name}-%{version} # +# * tar zcvf %{name}-%{version}-%{release}.tar.gz $HOME/rpmbuild/SOURCES/%{name}-%{version} %{name}.spec # +# For more information refer # +# http://fedoraproject.org/wiki/How_to_create_an_RPM_package # +############################################################################################################ + +%define _confdir /etc/swift +%define _swiftdir /usr/lib/python2.6/site-packages/swift +%define _ufo_version 1.0 +%define _ufo_release 3 + +Summary : GlusterFS Unified File and Object Storage. +Name : gluster-swift-plugin +Version : %{_ufo_version} +Release : %{_ufo_release} +Group : Application/File +Vendor : Red Hat Inc. +Source0 : %{name}-%{version}-%{release}.tar.gz +Packager : gluster-users@gluster.org +License : Apache +BuildArch: noarch +Requires : memcached +Requires : openssl +Requires : python +Requires : gluster-swift + +%description +Gluster Unified File and Object Storage unifies NAS and object storage +technology. This provides a system for data storage that enables users to access +the same data as an object and as a file, simplifying management and controlling +storage costs. + +%prep +%setup -q + +%install +rm -rf %{buildroot} + +mkdir -p %{buildroot}/%{_swiftdir}/plugins +mkdir -p %{buildroot}/%{_confdir}/ + +cp constraints.py %{buildroot}/%{_swiftdir}/plugins +cp DiskDir.py %{buildroot}/%{_swiftdir}/plugins +cp DiskFile.py %{buildroot}/%{_swiftdir}/plugins +cp Glusterfs.py %{buildroot}/%{_swiftdir}/plugins +cp __init__.py %{buildroot}/%{_swiftdir}/plugins +cp utils.py %{buildroot}/%{_swiftdir}/plugins + +cp -r conf/* %{buildroot}/%{_confdir}/ + +%files +%defattr(-,root,root) +%{_swiftdir}/plugins +%{_confdir}/ -- cgit