nfs-ganesha 2.5.1 GA

This commit is contained in:
Kaleb S. KEITHLEY 2017-07-21 22:35:04 -04:00
parent 5e04aa1acd
commit 2bc3ae1b1f
2 changed files with 67 additions and 13 deletions

View File

@ -14,8 +14,14 @@
%endif %endif
%if ( 0%{?suse_version} ) %if ( 0%{?suse_version} )
BuildRequires: distribution-release
%if ( ! 0%{?is_opensuse} )
BuildRequires: sles-release >= 12 BuildRequires: sles-release >= 12
Requires: sles-release >= 12 Requires: sles-release >= 12
%else
BuildRequires: openSUSE-release
Requires: openSUSE-release
%endif
%global with_systemd 1 %global with_systemd 1
%global with_nfsidmap 1 %global with_nfsidmap 1
@ -75,12 +81,16 @@ Requires: sles-release >= 12
%bcond_without system_ntirpc %bcond_without system_ntirpc
%global use_system_ntirpc %{on_off_switch system_ntirpc} %global use_system_ntirpc %{on_off_switch system_ntirpc}
# %%global dev final %bcond_without man_page
# %%global dash_dev_version 2.5-final %global use_man_page %{on_off_switch man_page}
# %%global dev final
# %%global dash_dev_version 2.5-final
Name: nfs-ganesha Name: nfs-ganesha
Version: 2.5.0 Version: 2.5.1
Release: 4%{?dev:%{dev}}%{?dist} Release: 1%{?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+
@ -111,7 +121,7 @@ BuildRequires: libntirpc-devel >= 1.5.3
%if ( 0%{?fedora} ) %if ( 0%{?fedora} )
# this should effectively be a no-op, as all Fedora installs should have it # this should effectively be a no-op, as all Fedora installs should have it
# with selinux. # with selinux.
Requires: policycoreutils-python Requires: policycoreutils-python
%endif %endif
Requires: nfs-utils Requires: nfs-utils
%if ( 0%{?fedora} ) || ( 0%{?rhel} && 0%{?rhel} >= 6 ) || ( 0%{?suse_version} ) %if ( 0%{?fedora} ) || ( 0%{?rhel} && 0%{?rhel} >= 6 ) || ( 0%{?suse_version} )
@ -142,6 +152,9 @@ Requires(postun): systemd
%else %else
BuildRequires: initscripts BuildRequires: initscripts
%endif %endif
%if %{with man_page}
BuildRequires: python-sphinx
%endif
Requires(post): psmisc Requires(post): psmisc
Requires(pre): shadow-utils Requires(pre): shadow-utils
@ -198,8 +211,13 @@ BuildRequires: PyQt4-devel
Requires: PyQt4 Requires: PyQt4
%endif %endif
%endif %endif
BuildRequires: python2-devel %if ( 0%{?suse_version} )
BuildRequires: python-devel
Requires: nfs-ganesha = %{version}-%{release}, python
%else
BuildRequires: python2-devel
Requires: nfs-ganesha = %{version}-%{release}, python2 Requires: nfs-ganesha = %{version}-%{release}, python2
%endif
%description utils %description utils
This package contains utility scripts for managing the NFS-GANESHA server This package contains utility scripts for managing the NFS-GANESHA server
@ -210,7 +228,7 @@ This package contains utility scripts for managing the NFS-GANESHA server
Summary: The NFS-GANESHA's library for use with LTTng Summary: The NFS-GANESHA's library for use with LTTng
Group: Applications/System Group: Applications/System
BuildRequires: lttng-ust-devel >= 2.3 BuildRequires: lttng-ust-devel >= 2.3
Requires: nfs-ganesha = %{version}-%{release}, lttng-tools >= 2.3, lttng-ust >= 2.3 Requires: nfs-ganesha = %{version}-%{release}, lttng-tools >= 2.3, lttng-ust >= 2.3
%description lttng %description lttng
This package contains the libganesha_trace.so library. When preloaded This package contains the libganesha_trace.so library. When preloaded
@ -240,7 +258,7 @@ Group: Applications/System
Requires: nfs-ganesha = %{version}-%{release} Requires: nfs-ganesha = %{version}-%{release}
%description mem %description mem
This package contains a FSAL shared object to be used with NFS-Ganesha. This This package contains a FSAL shared object to be used with NFS-Ganesha. This
is used for speed and latency testing. is used for speed and latency testing.
%endif %endif
@ -348,6 +366,7 @@ cd src && %cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DUSE_DBUS=ON \ -DUSE_DBUS=ON \
-DUSE_9P=ON \ -DUSE_9P=ON \
-DDISTNAME_HAS_GIT_DATA=OFF \ -DDISTNAME_HAS_GIT_DATA=OFF \
-DUSE_MAN_PAGE=%{use_man_page} \
%if %{with jemalloc} %if %{with jemalloc}
-DALLOCATOR=jemalloc -DALLOCATOR=jemalloc
%endif %endif
@ -377,7 +396,7 @@ install -m 644 config_samples/rgw.conf %{buildroot}%{_sysconfdir}/ganesha
%if %{with_systemd} %if %{with_systemd}
mkdir -p %{buildroot}%{_unitdir} mkdir -p %{buildroot}%{_unitdir}
install -m 644 scripts/systemd/nfs-ganesha.service %{buildroot}%{_unitdir}/nfs-ganesha.service install -m 644 scripts/systemd/nfs-ganesha.service.el7 %{buildroot}%{_unitdir}/nfs-ganesha.service
install -m 644 scripts/systemd/nfs-ganesha-lock.service %{buildroot}%{_unitdir}/nfs-ganesha-lock.service install -m 644 scripts/systemd/nfs-ganesha-lock.service %{buildroot}%{_unitdir}/nfs-ganesha-lock.service
install -m 644 scripts/systemd/nfs-ganesha-config.service %{buildroot}%{_unitdir}/nfs-ganesha-config.service install -m 644 scripts/systemd/nfs-ganesha-config.service %{buildroot}%{_unitdir}/nfs-ganesha-config.service
install -m 644 scripts/systemd/sysconfig/nfs-ganesha %{buildroot}%{_sysconfdir}/sysconfig/ganesha install -m 644 scripts/systemd/sysconfig/nfs-ganesha %{buildroot}%{_sysconfdir}/sysconfig/ganesha
@ -454,6 +473,7 @@ exit 0
%postun %postun
%if ( 0%{?suse_version} ) %if ( 0%{?suse_version} )
%service_del_postun nfs-ganesha-lock.service %service_del_postun nfs-ganesha-lock.service
%debug_package
%else %else
%if %{with_systemd} %if %{with_systemd}
%systemd_postun_with_restart nfs-ganesha-lock.service %systemd_postun_with_restart nfs-ganesha-lock.service
@ -494,17 +514,33 @@ exit 0
%{_sysconfdir}/init.d/nfs-ganesha %{_sysconfdir}/init.d/nfs-ganesha
%endif %endif
%if %{with man_page}
%{_mandir}/*/ganesha-config.8.gz
%{_mandir}/*/ganesha-core-config.8.gz
%{_mandir}/*/ganesha-export-config.8.gz
%{_mandir}/*/ganesha-cache-config.8.gz
%{_mandir}/*/ganesha-log-config.8.gz
%endif
%files mount-9P %files mount-9P
%{_sbindir}/mount.9P %{_sbindir}/mount.9P
%if %{with man_page}
%{_mandir}/*/ganesha-9p-config.8.gz
%endif
%files vfs %files vfs
%{_libdir}/ganesha/libfsalvfs* %{_libdir}/ganesha/libfsalvfs*
%config(noreplace) %{_sysconfdir}/ganesha/vfs.conf %config(noreplace) %{_sysconfdir}/ganesha/vfs.conf
%if %{with man_page}
%{_mandir}/*/ganesha-vfs-config.8.gz
%endif
%files proxy %files proxy
%{_libdir}/ganesha/libfsalproxy* %{_libdir}/ganesha/libfsalproxy*
%if %{with man_page}
%{_mandir}/*/ganesha-proxy-config.8.gz
%endif
# Optional packages # Optional packages
%if %{with nullfs} %if %{with nullfs}
@ -530,18 +566,27 @@ exit 0
%if ! %{with_systemd} %if ! %{with_systemd}
%{_sysconfdir}/init.d/nfs-ganesha-gpfs %{_sysconfdir}/init.d/nfs-ganesha-gpfs
%endif %endif
%if %{with man_page}
%{_mandir}/*/ganesha-gpfs-config.8.gz
%endif
%endif %endif
%if %{with xfs} %if %{with xfs}
%files xfs %files xfs
%{_libdir}/ganesha/libfsalxfs* %{_libdir}/ganesha/libfsalxfs*
%config(noreplace) %{_sysconfdir}/ganesha/xfs.conf %config(noreplace) %{_sysconfdir}/ganesha/xfs.conf
%if %{with man_page}
%{_mandir}/*/ganesha-xfs-config.8.gz
%endif
%endif %endif
%if %{with ceph} %if %{with ceph}
%files ceph %files ceph
%{_libdir}/ganesha/libfsalceph* %{_libdir}/ganesha/libfsalceph*
%config(noreplace) %{_sysconfdir}/ganesha/ceph.conf %config(noreplace) %{_sysconfdir}/ganesha/ceph.conf
%if %{with man_page}
%{_mandir}/*/ganesha-ceph-config.8.gz
%endif
%endif %endif
%if %{with rgw} %if %{with rgw}
@ -550,12 +595,18 @@ exit 0
%{_libdir}/ganesha/libfsalrgw* %{_libdir}/ganesha/libfsalrgw*
%config(noreplace) %{_sysconfdir}/ganesha/rgw.conf %config(noreplace) %{_sysconfdir}/ganesha/rgw.conf
%config(noreplace) %{_sysconfdir}/ganesha/rgw_bucket.conf %config(noreplace) %{_sysconfdir}/ganesha/rgw_bucket.conf
%if %{with man_page}
%{_mandir}/*/ganesha-rgw-config.8.gz
%endif
%endif %endif
%if %{with gluster} %if %{with gluster}
%files gluster %files gluster
%config(noreplace) %{_sysconfdir}/logrotate.d/ganesha-gfapi %config(noreplace) %{_sysconfdir}/logrotate.d/ganesha-gfapi
%{_libdir}/ganesha/libfsalgluster* %{_libdir}/ganesha/libfsalgluster*
%if %{with man_page}
%{_mandir}/*/ganesha-gluster-config.8.gz
%endif
%endif %endif
%if %{with panfs} %if %{with panfs}
@ -594,10 +645,13 @@ exit 0
%{_bindir}/sm_notify.ganesha %{_bindir}/sm_notify.ganesha
%{_bindir}/ganesha_mgr %{_bindir}/ganesha_mgr
%{_bindir}/ganesha_conf %{_bindir}/ganesha_conf
%{_mandir}/*/* %{_mandir}/*/ganesha_conf.8.gz
%endif %endif
%changelog %changelog
* Fri Jul 21 2017 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.5.1-1
- nfs-ganesha 2.5.1 GA
* Wed Jul 19 2017 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.5.0-4 * Wed Jul 19 2017 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.5.0-4
- nfs-ganesha 2.5.0 rebuild with libntirpc-1.5.3 - nfs-ganesha 2.5.0 rebuild with libntirpc-1.5.3

View File

@ -1 +1 @@
SHA512 (nfs-ganesha-2.5.0.tar.gz) = 6f00125d71c250fd163e3a7663b30367cbe11d2cb868f36c28ced6ece8e24094d8b62e3649ed669e9b03dfc8d72cdc12ac1ab51bad9b77353a82f30a9f6dd1a9 SHA512 (nfs-ganesha-2.5.1.tar.gz) = f6c49da23e8fe9aa0db07119c98669872e75e83bac39dbbfeb057b36e4a681526869c1dd31b30a6c30b4dda75ab5bfde2cd218f2636e19062ef9175304ca55e4