2.4-dev-10
This commit is contained in:
parent
2bad9cc406
commit
cd40e4bb53
@ -38,6 +38,9 @@
|
|||||||
%bcond_without ceph
|
%bcond_without ceph
|
||||||
%global use_fsal_ceph %{on_off_switch ceph}
|
%global use_fsal_ceph %{on_off_switch ceph}
|
||||||
|
|
||||||
|
%bcond_with rgw
|
||||||
|
%global use_fsal_rgw %{on_off_switch rgw}
|
||||||
|
|
||||||
%bcond_with lustre
|
%bcond_with lustre
|
||||||
%global use_fsal_lustre %{on_off_switch lustre}
|
%global use_fsal_lustre %{on_off_switch lustre}
|
||||||
|
|
||||||
@ -78,18 +81,15 @@
|
|||||||
|
|
||||||
Name: nfs-ganesha
|
Name: nfs-ganesha
|
||||||
Version: 2.4.0
|
Version: 2.4.0
|
||||||
%global dev dev7
|
%global dev dev10
|
||||||
%global dash_dev_version 2.4-dev-7
|
%global dash_dev_version 2.4-dev-10
|
||||||
Release: 0.1%{?dev:%{dev}}%{?dist}
|
Release: 0.2%{?dev:%{dev}}%{?dist}
|
||||||
Summary: NFS-Ganesha is a NFS Server running in user space
|
Summary: NFS-Ganesha is a NFS Server running in user space
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
License: LGPLv3+
|
License: LGPLv3+
|
||||||
Url: https://github.com/nfs-ganesha/nfs-ganesha/wiki
|
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
|
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: cmake
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
@ -250,6 +250,20 @@ This package contains a FSAL shared object to
|
|||||||
be used with NFS-Ganesha to support LUSTRE
|
be used with NFS-Ganesha to support LUSTRE
|
||||||
%endif
|
%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
|
# SHOOK
|
||||||
%if %{with shook}
|
%if %{with shook}
|
||||||
%package shook
|
%package shook
|
||||||
@ -332,9 +346,6 @@ be used with NFS-Ganesha to support Gluster
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{dash_dev_version}
|
%setup -q -n %{name}-%{dash_dev_version}
|
||||||
rm -rf contrib/libzfswrapper
|
rm -rf contrib/libzfswrapper
|
||||||
%patch0 -p1
|
|
||||||
%patch1 -p1
|
|
||||||
%patch2 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cd src && %cmake . -DCMAKE_BUILD_TYPE=Debug \
|
cd src && %cmake . -DCMAKE_BUILD_TYPE=Debug \
|
||||||
@ -343,6 +354,7 @@ cd src && %cmake . -DCMAKE_BUILD_TYPE=Debug \
|
|||||||
-DUSE_FSAL_ZFS=NO \
|
-DUSE_FSAL_ZFS=NO \
|
||||||
-DUSE_FSAL_XFS=%{use_fsal_xfs} \
|
-DUSE_FSAL_XFS=%{use_fsal_xfs} \
|
||||||
-DUSE_FSAL_CEPH=%{use_fsal_ceph} \
|
-DUSE_FSAL_CEPH=%{use_fsal_ceph} \
|
||||||
|
-DUSE_FSAL_RGW=%{use_fsal_rgw} \
|
||||||
-DUSE_FSAL_LUSTRE=%{use_fsal_lustre} \
|
-DUSE_FSAL_LUSTRE=%{use_fsal_lustre} \
|
||||||
-DUSE_FSAL_SHOOK=%{use_fsal_shook} \
|
-DUSE_FSAL_SHOOK=%{use_fsal_shook} \
|
||||||
-DUSE_FSAL_GPFS=%{use_fsal_gpfs} \
|
-DUSE_FSAL_GPFS=%{use_fsal_gpfs} \
|
||||||
@ -420,6 +432,7 @@ install -m 755 config_samples/lustre.conf %{buildroot}%{_sysconfdir}/ganesha
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with gpfs}
|
%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.conf %{buildroot}%{_sysconfdir}/ganesha
|
||||||
install -m 644 config_samples/gpfs.ganesha.nfsd.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
|
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.main.conf
|
||||||
%config(noreplace) %{_sysconfdir}/ganesha/gpfs.ganesha.log.conf
|
%config(noreplace) %{_sysconfdir}/ganesha/gpfs.ganesha.log.conf
|
||||||
%config(noreplace) %{_sysconfdir}/ganesha/gpfs.ganesha.exports.conf
|
%config(noreplace) %{_sysconfdir}/ganesha/gpfs.ganesha.exports.conf
|
||||||
|
%{_libexecdir}/ganesha/gpfs-epoch
|
||||||
%if ! %{with_systemd}
|
%if ! %{with_systemd}
|
||||||
%{_sysconfdir}/init.d/nfs-ganesha-gpfs
|
%{_sysconfdir}/init.d/nfs-ganesha-gpfs
|
||||||
%endif
|
%endif
|
||||||
@ -526,6 +540,13 @@ killall -SIGHUP dbus-daemon 2>&1 > /dev/null
|
|||||||
%config(noreplace) %{_sysconfdir}/ganesha/ceph.conf
|
%config(noreplace) %{_sysconfdir}/ganesha/ceph.conf
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if %{with rgw}
|
||||||
|
%files rgw
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_libdir}/ganesha/libfsalrgw*
|
||||||
|
%config(noreplace) %{_sysconfdir}/ganesha/rgw.conf
|
||||||
|
%endif
|
||||||
|
|
||||||
%if %{with lustre}
|
%if %{with lustre}
|
||||||
%files lustre
|
%files lustre
|
||||||
%config(noreplace) %{_sysconfdir}/ganesha/lustre.conf
|
%config(noreplace) %{_sysconfdir}/ganesha/lustre.conf
|
||||||
@ -586,7 +607,10 @@ killall -SIGHUP dbus-daemon 2>&1 > /dev/null
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%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
|
- 2.4-dev-7
|
||||||
|
|
||||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-3
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-3
|
||||||
|
Loading…
Reference in New Issue
Block a user