2.4-dev-10

This commit is contained in:
Kaleb S KEITHLEY 2016-02-29 21:18:28 -05:00
parent 2bad9cc406
commit cd40e4bb53
2 changed files with 35 additions and 11 deletions

View File

@ -38,6 +38,9 @@
%bcond_without ceph
%global use_fsal_ceph %{on_off_switch ceph}
%bcond_with rgw
%global use_fsal_rgw %{on_off_switch rgw}
%bcond_with lustre
%global use_fsal_lustre %{on_off_switch lustre}
@ -78,18 +81,15 @@
Name: nfs-ganesha
Version: 2.4.0
%global dev dev7
%global dash_dev_version 2.4-dev-7
Release: 0.1%{?dev:%{dev}}%{?dist}
%global dev dev10
%global dash_dev_version 2.4-dev-10
Release: 0.2%{?dev:%{dev}}%{?dist}
Summary: NFS-Ganesha is a NFS Server running in user space
Group: Applications/System
License: LGPLv3+
Url: https://github.com/nfs-ganesha/nfs-ganesha/wiki
Source0: https://github.com/%{name}/%{name}/archive/V%{dash_dev_version}/%{name}-%{dash_dev_version}.tar.gz
Patch0: nfs-ganesha-2.4dev7-RPCAL-rpc_tools.patch
Patch1: nfs-ganesha-2.4dev7-FSAL-FSAL_CEPHFS-mds.patch
Patch2: nfs-ganesha-2.4dev7-SAL-9p_owner.patch
BuildRequires: cmake
BuildRequires: bison
@ -250,6 +250,20 @@ This package contains a FSAL shared object to
be used with NFS-Ganesha to support LUSTRE
%endif
# RGW
%if %{with rgw}
%package rgw
Summary: The NFS-GANESHA's RGW FSAL
Group: Applications/System
Requires: nfs-ganesha = %{version}-%{release}
Requires: rgw >= 0.78
BuildRequires: rgw-devel >= 0.78
%description rgw
This package contains a FSAL shared object to
be used with NFS-Ganesha to support RGW
%endif
# SHOOK
%if %{with shook}
%package shook
@ -332,9 +346,6 @@ be used with NFS-Ganesha to support Gluster
%prep
%setup -q -n %{name}-%{dash_dev_version}
rm -rf contrib/libzfswrapper
%patch0 -p1
%patch1 -p1
%patch2 -p1
%build
cd src && %cmake . -DCMAKE_BUILD_TYPE=Debug \
@ -343,6 +354,7 @@ cd src && %cmake . -DCMAKE_BUILD_TYPE=Debug \
-DUSE_FSAL_ZFS=NO \
-DUSE_FSAL_XFS=%{use_fsal_xfs} \
-DUSE_FSAL_CEPH=%{use_fsal_ceph} \
-DUSE_FSAL_RGW=%{use_fsal_rgw} \
-DUSE_FSAL_LUSTRE=%{use_fsal_lustre} \
-DUSE_FSAL_SHOOK=%{use_fsal_shook} \
-DUSE_FSAL_GPFS=%{use_fsal_gpfs} \
@ -420,6 +432,7 @@ install -m 755 config_samples/lustre.conf %{buildroot}%{_sysconfdir}/ganesha
%endif
%if %{with gpfs}
install -m 755 scripts/gpfs-epoch %{buildroot}%{_libexecdir}/ganesha
install -m 644 config_samples/gpfs.conf %{buildroot}%{_sysconfdir}/ganesha
install -m 644 config_samples/gpfs.ganesha.nfsd.conf %{buildroot}%{_sysconfdir}/ganesha
install -m 644 config_samples/gpfs.ganesha.main.conf %{buildroot}%{_sysconfdir}/ganesha
@ -509,6 +522,7 @@ killall -SIGHUP dbus-daemon 2>&1 > /dev/null
%config(noreplace) %{_sysconfdir}/ganesha/gpfs.ganesha.main.conf
%config(noreplace) %{_sysconfdir}/ganesha/gpfs.ganesha.log.conf
%config(noreplace) %{_sysconfdir}/ganesha/gpfs.ganesha.exports.conf
%{_libexecdir}/ganesha/gpfs-epoch
%if ! %{with_systemd}
%{_sysconfdir}/init.d/nfs-ganesha-gpfs
%endif
@ -526,6 +540,13 @@ killall -SIGHUP dbus-daemon 2>&1 > /dev/null
%config(noreplace) %{_sysconfdir}/ganesha/ceph.conf
%endif
%if %{with rgw}
%files rgw
%defattr(-,root,root,-)
%{_libdir}/ganesha/libfsalrgw*
%config(noreplace) %{_sysconfdir}/ganesha/rgw.conf
%endif
%if %{with lustre}
%files lustre
%config(noreplace) %{_sysconfdir}/ganesha/lustre.conf
@ -586,7 +607,10 @@ killall -SIGHUP dbus-daemon 2>&1 > /dev/null
%endif
%changelog
* Fri Feb 5 2016 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.4.0-0dev7
* Mon Feb 29 2016 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.4.0-0.2dev10
- 2.4-dev-10
* Fri Feb 5 2016 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.4.0-0.1dev7
- 2.4-dev-7
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-3

View File

@ -1 +1 @@
8a5c66e84ff7a8f11b1a9e1430ebe826 nfs-ganesha-2.4-dev-7.tar.gz
1d3d83281aec10f0f740cbf085286c07 nfs-ganesha-2.4-dev-10.tar.gz