nfs-ganesha-2.0.0-3, add glusterfs
This commit is contained in:
parent
6fbb59cadf
commit
6c1f1e7527
@ -11,11 +11,16 @@
|
|||||||
%global _with_systemd true
|
%global _with_systemd true
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# GlusterFS is not available in EPEL
|
||||||
|
%if ( ! 0%{?rhel} )
|
||||||
|
%global with_glusterfs true
|
||||||
|
%endif
|
||||||
|
|
||||||
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
||||||
|
|
||||||
Name: nfs-ganesha
|
Name: nfs-ganesha
|
||||||
Version: %{version}
|
Version: %{version}
|
||||||
Release: 2%{?prereltag:.%{prereltag}}%{?dist}
|
Release: 3%{?prereltag:.%{prereltag}}%{?dist}
|
||||||
Summary: Ganesha NFS Server
|
Summary: Ganesha NFS Server
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
License: LGPLv3+
|
License: LGPLv3+
|
||||||
@ -57,7 +62,9 @@ BuildRequires: libnfsidmap-devel
|
|||||||
BuildRequires: libwbclient-devel
|
BuildRequires: libwbclient-devel
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: libcap-devel
|
BuildRequires: libcap-devel
|
||||||
# BuildRequires: glusterfs-api-devel
|
%if ( 0%{?with_glusterfs:1} )
|
||||||
|
BuildRequires: glusterfs-api-devel
|
||||||
|
%endif
|
||||||
|
|
||||||
%if ( 0%{?_with_systemd:1} )
|
%if ( 0%{?_with_systemd:1} )
|
||||||
Requires(post): systemd
|
Requires(post): systemd
|
||||||
@ -71,7 +78,9 @@ Requires(postun): /sbin/service
|
|||||||
%endif
|
%endif
|
||||||
Requires: dbus
|
Requires: dbus
|
||||||
Requires: jemalloc
|
Requires: jemalloc
|
||||||
# Requires: glusterfs-api
|
%if ( 0%{?with_glusterfs:1} )
|
||||||
|
Requires: glusterfs-api
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
NFS-Ganesha is a user mode file server with support for both the
|
NFS-Ganesha is a user mode file server with support for both the
|
||||||
@ -174,6 +183,9 @@ install -D -p -m 0744 %{SOURCE4} %{buildroot}%{_sbindir}/nfs_ganesha.sh
|
|||||||
%dir %{_pkgdocdir}
|
%dir %{_pkgdocdir}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jan 4 2014 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.0.0-3
|
||||||
|
- with glusterfs-api
|
||||||
|
|
||||||
* Thu Jan 2 2014 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.0.0-2
|
* Thu Jan 2 2014 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.0.0-2
|
||||||
- Build on RHEL6. Add sample init.d script
|
- Build on RHEL6. Add sample init.d script
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user