
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 <junaid@redhat.com> Reviewed-on: http://review.gluster.com/3390 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vijay@gluster.com>
61 lines
2.1 KiB
RPMSpec
61 lines
2.1 KiB
RPMSpec
############################################################################################################
|
|
# 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}/
|