nfs-ganesha/nfs-ganesha.spec

949 lines
27 KiB
RPMSpec
Raw Normal View History

2015-10-28 14:07:49 +00:00
%global _hardened_build 1
2013-12-02 18:19:07 +00:00
%if 0%{?fedora} >= 15 || 0%{?rhel} >= 7
%global with_nfsidmap 1
%else
%global with_nfsidmap 0
%endif
%if ( 0%{?fedora} >= 18 || 0%{?rhel} >= 7 )
%global with_systemd 1
%else
%global with_systemd 0
%endif
2014-01-04 16:21:56 +00:00
2016-06-20 15:17:07 +00:00
%if ( 0%{?suse_version} )
BuildRequires: sles-release >= 12
Requires: sles-release >= 12
%global with_systemd 1
%global with_nfsidmap 1
%endif
# Conditionally enable some FSALs, disable others.
#
# 1. rpmbuild accepts these options (gpfs as example):
# --with gpfs
# --without gpfs
2014-06-02 06:19:34 +00:00
%define on_off_switch() %%{?with_%1:ON}%%{!?with_%1:OFF}
# A few explanation about %%bcond_with and %%bcond_without
# /!\ be careful: this syntax can be quite messy
# %%bcond_with means you add a "--with" option, default = without this feature
# %%bcond_without adds a"--without" so the feature is enabled by default
2015-09-10 18:19:12 +00:00
%bcond_without nullfs
%global use_fsal_null %{on_off_switch nullfs}
2017-04-22 12:38:40 +00:00
%bcond_with mem
%global use_fsal_mem %{on_off_switch mem}
%bcond_with gpfs
%global use_fsal_gpfs %{on_off_switch gpfs}
%bcond_without xfs
%global use_fsal_xfs %{on_off_switch xfs}
2017-06-27 13:31:32 +00:00
%bcond_without ceph
%global use_fsal_ceph %{on_off_switch ceph}
2017-04-22 12:38:40 +00:00
%bcond_with rgw
2016-03-01 02:18:28 +00:00
%global use_fsal_rgw %{on_off_switch rgw}
%bcond_without gluster
%global use_fsal_gluster %{on_off_switch gluster}
%bcond_with panfs
%global use_fsal_panfs %{on_off_switch panfs}
%bcond_with rdma
%global use_rdma %{on_off_switch rdma}
%bcond_with jemalloc
%bcond_with lttng
%global use_lttng %{on_off_switch lttng}
%bcond_without utils
%global use_utils %{on_off_switch utils}
2015-03-30 11:45:15 +00:00
%bcond_without gui_utils
%global use_gui_utils %{on_off_switch gui_utils}
2015-10-12 12:32:26 +00:00
%bcond_without system_ntirpc
%global use_system_ntirpc %{on_off_switch system_ntirpc}
2017-06-12 16:24:06 +00:00
# %%global dev final
# %%global dash_dev_version 2.5-final
2017-04-22 12:38:40 +00:00
Name: nfs-ganesha
2017-04-22 12:38:40 +00:00
Version: 2.5.0
2017-06-27 13:31:32 +00:00
Release: 3%{?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
2017-06-12 16:24:06 +00:00
Source0: https://github.com/%{name}/%{name}/archive/V%{version}/%{name}-%{version}.tar.gz
2016-06-20 15:17:07 +00:00
BuildRequires: cmake
2015-10-05 12:25:25 +00:00
BuildRequires: bison
BuildRequires: flex
BuildRequires: pkgconfig
BuildRequires: krb5-devel
2016-06-20 15:17:07 +00:00
%if ( 0%{?suse_version} )
BuildRequires: dbus-1-devel
Requires: dbus-1
BuildRequires: systemd-rpm-macros
2016-06-20 15:17:07 +00:00
%else
BuildRequires: dbus-devel
2016-06-20 15:17:07 +00:00
Requires: dbus
%endif
BuildRequires: libcap-devel
BuildRequires: libblkid-devel
BuildRequires: libuuid-devel
2016-10-31 13:35:03 +00:00
BuildRequires: gcc-c++
2015-10-12 12:32:26 +00:00
%if %{with system_ntirpc}
BuildRequires: libntirpc-devel >= 1.5.2
2015-10-05 12:25:25 +00:00
%endif
2017-03-21 12:45:31 +00:00
%if ( 0%{?fedora} )
# this should effectively be a no-op, as all Fedora installs should have it
# with selinux.
Requires: policycoreutils-python
2017-03-21 12:45:31 +00:00
%endif
2015-03-30 11:45:15 +00:00
Requires: nfs-utils
2016-06-20 15:17:07 +00:00
%if ( 0%{?fedora} ) || ( 0%{?rhel} && 0%{?rhel} >= 6 ) || ( 0%{?suse_version} )
2016-02-05 09:22:34 +00:00
Requires: rpcbind
2015-11-17 13:58:54 +00:00
%else
2016-02-05 09:22:34 +00:00
Requires: portmap
2015-11-17 13:58:54 +00:00
%endif
%if %{with_nfsidmap}
2016-06-20 15:17:07 +00:00
%if ( 0%{?suse_version} )
BuildRequires: nfsidmap-devel
%else
BuildRequires: libnfsidmap-devel
2016-06-20 15:17:07 +00:00
%endif
%else
BuildRequires: nfs-utils-lib-devel
%endif
%if %{with rdma}
BuildRequires: libmooshika-devel >= 0.6-0
%endif
%if %{with jemalloc}
BuildRequires: jemalloc-devel
%endif
%if %{with_systemd}
BuildRequires: systemd
Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd
%else
BuildRequires: initscripts
%endif
2017-04-22 12:38:40 +00:00
Requires(post): psmisc
2017-05-08 10:44:21 +00:00
Requires(pre): shadow-utils
# Use CMake variables
%description
nfs-ganesha : NFS-GANESHA is a NFS Server running in user space.
It comes with various back-end modules (called FSALs) provided as
2015-09-13 11:21:22 +00:00
shared objects to support different file systems and name-spaces.
%package mount-9P
Summary: a 9p mount helper
Group: Applications/System
%description mount-9P
This package contains the mount.9P script that clients can use
to simplify mounting to NFS-GANESHA. This is a 9p mount helper.
%package vfs
Summary: The NFS-GANESHA's VFS FSAL
Group: Applications/System
BuildRequires: libattr-devel
Requires: nfs-ganesha = %{version}-%{release}
%description vfs
This package contains a FSAL shared object to
be used with NFS-Ganesha to support VFS based filesystems
%package proxy
Summary: The NFS-GANESHA's PROXY FSAL
Group: Applications/System
BuildRequires: libattr-devel
Requires: nfs-ganesha = %{version}-%{release}
%description proxy
This package contains a FSAL shared object to
be used with NFS-Ganesha to support PROXY based filesystems
%if %{with utils}
%package utils
Summary: The NFS-GANESHA's util scripts
Group: Applications/System
2016-06-20 15:17:07 +00:00
%if ( 0%{?suse_version} )
2017-04-22 12:38:40 +00:00
Requires: dbus-1-python, python-gobject2 python-pyparsing
2016-06-20 15:17:07 +00:00
%else
2017-04-22 12:38:40 +00:00
Requires: dbus-python, pygobject2, pyparsing
2016-06-20 15:17:07 +00:00
%endif
2015-03-30 11:45:15 +00:00
%if %{with gui_utils}
2016-06-20 15:17:07 +00:00
%if ( 0%{?suse_version} )
BuildRequires: python-qt4-devel
Requires: python-qt4
%else
BuildRequires: PyQt4-devel
Requires: PyQt4
2015-03-30 11:45:15 +00:00
%endif
2016-06-20 15:17:07 +00:00
%endif
BuildRequires: python2-devel
Requires: nfs-ganesha = %{version}-%{release}, python2
%description utils
This package contains utility scripts for managing the NFS-GANESHA server
%endif
%if %{with lttng}
%package lttng
Summary: The NFS-GANESHA's library for use with LTTng
Group: Applications/System
BuildRequires: lttng-ust-devel >= 2.3
Requires: nfs-ganesha = %{version}-%{release}, lttng-tools >= 2.3, lttng-ust >= 2.3
%description lttng
This package contains the libganesha_trace.so library. When preloaded
to the ganesha.nfsd server, it makes it possible to trace using LTTng.
%endif
2016-06-20 15:17:07 +00:00
# Option packages start here. use "rpmbuild --with gpfs" (or equivalent)
# for activating this part of the spec file
2015-10-05 12:25:25 +00:00
# NULL
%if %{with nullfs}
%package nullfs
Summary: The NFS-GANESHA's NULLFS Stackable FSAL
Group: Applications/System
Requires: nfs-ganesha = %{version}-%{release}
%description nullfs
This package contains a Stackable FSAL shared object to
be used with NFS-Ganesha. This is mostly a template for future (more sophisticated) stackable FSALs
%endif
2017-04-22 12:38:40 +00:00
# MEM
%if %{with mem}
%package mem
Summary: The NFS-GANESHA's Memory backed testing FSAL
Group: Applications/System
Requires: nfs-ganesha = %{version}-%{release}
%description mem
This package contains a FSAL shared object to be used with NFS-Ganesha. This
is used for speed and latency testing.
%endif
# GPFS
%if %{with gpfs}
%package gpfs
Summary: The NFS-GANESHA's GPFS FSAL
Group: Applications/System
Requires: nfs-ganesha = %{version}-%{release}
%description gpfs
This package contains a FSAL shared object to
be used with NFS-Ganesha to support GPFS backend
%endif
# CEPH
%if %{with ceph}
%package ceph
2016-07-05 11:48:53 +00:00
Summary: The NFS-GANESHA's CephFS FSAL
Group: Applications/System
Requires: nfs-ganesha = %{version}-%{release}
2017-04-22 12:38:40 +00:00
BuildRequires: libcephfs1-devel >= 10.2.7
%description ceph
This package contains a FSAL shared object to
2016-07-05 11:48:53 +00:00
be used with NFS-Ganesha to support CephFS
%endif
2016-03-01 02:18:28 +00:00
# RGW
%if %{with rgw}
%package rgw
2016-07-05 11:48:53 +00:00
Summary: The NFS-GANESHA's Ceph RGW FSAL
2016-03-01 02:18:28 +00:00
Group: Applications/System
Requires: nfs-ganesha = %{version}-%{release}
2017-04-22 12:38:40 +00:00
BuildRequires: librgw2-devel >= 10.2.7
2016-03-01 02:18:28 +00:00
%description rgw
This package contains a FSAL shared object to
2016-07-05 11:48:53 +00:00
be used with NFS-Ganesha to support Ceph RGW
2016-03-01 02:18:28 +00:00
%endif
# XFS
%if %{with xfs}
%package xfs
Summary: The NFS-GANESHA's XFS FSAL
Group: Applications/System
2015-10-05 12:25:25 +00:00
Requires: nfs-ganesha = %{version}-%{release}
BuildRequires: libattr-devel xfsprogs-devel
%description xfs
This package contains a shared object to be used with FSAL_VFS
to support XFS correctly
%endif
# PANFS
%if %{with panfs}
%package panfs
Summary: The NFS-GANESHA's PANFS FSAL
Group: Applications/System
2015-10-05 12:25:25 +00:00
Requires: nfs-ganesha = %{version}-%{release}
%description panfs
This package contains a FSAL shared object to
be used with NFS-Ganesha to support PANFS
%endif
# GLUSTER
%if %{with gluster}
%package gluster
Summary: The NFS-GANESHA's GLUSTER FSAL
Group: Applications/System
2015-10-05 12:25:25 +00:00
Requires: nfs-ganesha = %{version}-%{release}
2017-04-22 12:38:40 +00:00
BuildRequires: glusterfs-api-devel >= 3.10.0
2015-10-28 14:07:49 +00:00
BuildRequires: libattr-devel, libacl-devel
%description gluster
This package contains a FSAL shared object to
be used with NFS-Ganesha to support Gluster
%endif
%prep
2017-06-12 16:24:06 +00:00
%setup -q -n %{name}-%{version}
rm -rf contrib/libzfswrapper
%build
2017-02-07 22:13:24 +00:00
cd src && %cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DBUILD_CONFIG=rpmbuild \
2017-06-12 16:24:06 +00:00
-DDSANITIZE_ADDRESS=OFF \
2015-09-10 18:19:12 +00:00
-DUSE_FSAL_NULL=%{use_fsal_null} \
2017-04-22 12:38:40 +00:00
-DUSE_FSAL_MEM=%{use_fsal_mem} \
-DUSE_FSAL_ZFS=NO \
-DUSE_FSAL_XFS=%{use_fsal_xfs} \
-DUSE_FSAL_CEPH=%{use_fsal_ceph} \
2016-06-20 15:17:07 +00:00
-DUSE_FSAL_RGW=%{use_fsal_rgw} \
-DUSE_FSAL_GPFS=%{use_fsal_gpfs} \
-DUSE_FSAL_PANFS=%{use_fsal_panfs} \
-DUSE_FSAL_GLUSTER=%{use_fsal_gluster} \
2015-10-12 12:32:26 +00:00
-DUSE_SYSTEM_NTIRPC=%{use_system_ntirpc} \
-DUSE_9P_RDMA=%{use_rdma} \
-DUSE_LTTNG=%{use_lttng} \
-DUSE_ADMIN_TOOLS=%{use_utils} \
2015-03-30 11:45:15 +00:00
-DUSE_GUI_ADMIN_TOOLS=%{use_gui_utils} \
-DUSE_FSAL_VFS=ON \
-DUSE_FSAL_PROXY=ON \
-DUSE_DBUS=ON \
-DUSE_9P=ON \
-DDISTNAME_HAS_GIT_DATA=OFF \
%if %{with jemalloc}
-DALLOCATOR=jemalloc
%endif
make %{?_smp_mflags} || make %{?_smp_mflags} || make
%install
mkdir -p %{buildroot}%{_sysconfdir}/ganesha/
mkdir -p %{buildroot}%{_sysconfdir}/dbus-1/system.d
mkdir -p %{buildroot}%{_sysconfdir}/sysconfig
mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_sbindir}
mkdir -p %{buildroot}%{_libdir}/ganesha
mkdir -p %{buildroot}%{_localstatedir}/run/ganesha
2016-02-05 09:22:34 +00:00
mkdir -p %{buildroot}%{_libexecdir}/ganesha
cd src
install -m 644 config_samples/logrotate_ganesha %{buildroot}%{_sysconfdir}/logrotate.d/ganesha
install -m 644 scripts/ganeshactl/org.ganesha.nfsd.conf %{buildroot}%{_sysconfdir}/dbus-1/system.d
2016-02-05 09:22:34 +00:00
install -m 755 scripts/nfs-ganesha-config.sh %{buildroot}%{_libexecdir}/ganesha
install -m 755 tools/mount.9P %{buildroot}%{_sbindir}/mount.9P
install -m 644 config_samples/vfs.conf %{buildroot}%{_sysconfdir}/ganesha
2016-06-24 17:19:30 +00:00
%if %{with rgw}
install -m 644 config_samples/rgw.conf %{buildroot}%{_sysconfdir}/ganesha
%endif
%if %{with_systemd}
mkdir -p %{buildroot}%{_unitdir}
install -m 644 scripts/systemd/nfs-ganesha.service %{buildroot}%{_unitdir}/nfs-ganesha.service
install -m 644 scripts/systemd/nfs-ganesha-lock.service %{buildroot}%{_unitdir}/nfs-ganesha-lock.service
2016-02-05 09:22:34 +00:00
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
2017-05-08 10:44:21 +00:00
%if 0%{?_tmpfilesdir:1}
mkdir -p %{buildroot}%{_tmpfilesdir}
install -m 644 scripts/systemd/tmpfiles.d/ganesha.conf %{buildroot}%{_tmpfilesdir}
%endif
mkdir -p %{buildroot}%{_localstatedir}/log/ganesha
%else
mkdir -p %{buildroot}%{_sysconfdir}/init.d
2016-05-30 13:06:54 +00:00
install -m 755 scripts/init.d/nfs-ganesha.el6 %{buildroot}%{_sysconfdir}/init.d/nfs-ganesha
2015-04-13 04:58:39 +00:00
install -m 644 scripts/init.d/sysconfig/ganesha %{buildroot}%{_sysconfdir}/sysconfig/ganesha
%endif
%if %{with xfs}
install -m 644 config_samples/xfs.conf %{buildroot}%{_sysconfdir}/ganesha
%endif
%if %{with ceph}
install -m 644 config_samples/ceph.conf %{buildroot}%{_sysconfdir}/ganesha
%endif
2017-04-22 12:38:40 +00:00
%if %{with rgw}
install -m 644 config_samples/rgw.conf %{buildroot}%{_sysconfdir}/ganesha
install -m 644 config_samples/rgw_bucket.conf %{buildroot}%{_sysconfdir}/ganesha
%endif
2016-04-08 12:52:46 +00:00
%if %{with gluster}
install -m 644 config_samples/logrotate_fsal_gluster %{buildroot}%{_sysconfdir}/logrotate.d/ganesha-gfapi
%endif
%if %{with gpfs}
2016-03-01 02:18:28 +00:00
install -m 755 scripts/gpfs-epoch %{buildroot}%{_libexecdir}/ganesha
install -m 644 config_samples/gpfs.conf %{buildroot}%{_sysconfdir}/ganesha
2015-10-05 12:25:25 +00:00
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.log.conf %{buildroot}%{_sysconfdir}/ganesha
install -m 644 config_samples/gpfs.ganesha.exports.conf %{buildroot}%{_sysconfdir}/ganesha
2015-09-10 18:19:12 +00:00
%if ! %{with_systemd}
mkdir -p %{buildroot}%{_sysconfdir}/init.d
install -m 755 scripts/init.d/nfs-ganesha.gpfs %{buildroot}%{_sysconfdir}/init.d/nfs-ganesha-gpfs
%endif
%endif
2015-09-13 11:21:22 +00:00
make DESTDIR=%{buildroot} install
2015-10-28 16:38:54 +00:00
%post
2016-06-20 15:17:07 +00:00
%if ( 0%{?suse_version} )
%service_add_post nfs-ganesha.service nfs-ganesha-lock.service nfs-ganesha-config.service
%else
%if %{with_systemd}
%systemd_post nfs-ganesha.service
%systemd_post nfs-ganesha-lock.service
2016-02-05 09:22:34 +00:00
%systemd_post nfs-ganesha-config.service
%endif
2016-06-20 15:17:07 +00:00
%endif
2017-04-22 12:38:40 +00:00
killall -SIGHUP dbus-daemon >/dev/null 2>&1 || :
2017-05-08 10:44:21 +00:00
%pre
getent group ganesha > /dev/null || groupadd -r ganesha
getent passwd ganesha > /dev/null || useradd -r -g ganesha -d /var/run/ganesha -s /sbin/nologin -c "NFS-Ganesha Daemon" ganesha
exit 0
%preun
2016-06-20 15:17:07 +00:00
%if ( 0%{?suse_version} )
%service_del_preun nfs-ganesha-lock.service
%else
%if %{with_systemd}
%systemd_preun nfs-ganesha-lock.service
%endif
2016-06-20 15:17:07 +00:00
%endif
%postun
2016-06-20 15:17:07 +00:00
%if ( 0%{?suse_version} )
%service_del_postun nfs-ganesha-lock.service
%else
%if %{with_systemd}
%systemd_postun_with_restart nfs-ganesha-lock.service
%endif
2016-06-20 15:17:07 +00:00
%endif
%files
%license src/LICENSE.txt
%{_bindir}/ganesha.nfsd
2015-10-12 12:32:26 +00:00
%if ! %{with system_ntirpc}
2017-04-22 12:38:40 +00:00
%{_libdir}/libntirpc.so.1.5.0
%{_libdir}/libntirpc.so.1.5
2015-10-05 12:25:25 +00:00
%{_libdir}/libntirpc.so
%{_libdir}/pkgconfig/libntirpc.pc
%{_includedir}/ntirpc/
%endif
%config %{_sysconfdir}/dbus-1/system.d/org.ganesha.nfsd.conf
%config(noreplace) %{_sysconfdir}/sysconfig/ganesha
%config(noreplace) %{_sysconfdir}/logrotate.d/ganesha
%dir %{_sysconfdir}/ganesha/
%config(noreplace) %{_sysconfdir}/ganesha/ganesha.conf
%dir %{_defaultdocdir}/ganesha/
%{_defaultdocdir}/ganesha/*
2016-06-24 17:19:30 +00:00
%doc src/ChangeLog
%dir %{_localstatedir}/run/ganesha
2016-02-05 09:22:34 +00:00
%dir %{_libexecdir}/ganesha/
%{_libexecdir}/ganesha/nfs-ganesha-config.sh
2017-05-08 10:44:21 +00:00
%dir %attr(0755,ganesha,ganesha) %{_localstatedir}/log/ganesha
%if %{with_systemd}
%{_unitdir}/nfs-ganesha.service
%{_unitdir}/nfs-ganesha-lock.service
2016-02-05 09:22:34 +00:00
%{_unitdir}/nfs-ganesha-config.service
2017-05-08 10:44:21 +00:00
%if 0%{?_tmpfilesdir:1}
%{_tmpfilesdir}/ganesha.conf
%endif
%else
%{_sysconfdir}/init.d/nfs-ganesha
%endif
%files mount-9P
%{_sbindir}/mount.9P
%files vfs
%{_libdir}/ganesha/libfsalvfs*
%config(noreplace) %{_sysconfdir}/ganesha/vfs.conf
%files proxy
%{_libdir}/ganesha/libfsalproxy*
# Optional packages
2015-09-10 18:19:12 +00:00
%if %{with nullfs}
%files nullfs
%{_libdir}/ganesha/libfsalnull*
%endif
2017-04-22 12:38:40 +00:00
%if %{with mem}
%files mem
%defattr(-,root,root,-)
%{_libdir}/ganesha/libfsalmem*
%endif
%if %{with gpfs}
%files gpfs
%{_libdir}/ganesha/libfsalgpfs*
%config(noreplace) %{_sysconfdir}/ganesha/gpfs.conf
%config(noreplace) %{_sysconfdir}/ganesha/gpfs.ganesha.nfsd.conf
%config(noreplace) %{_sysconfdir}/ganesha/gpfs.ganesha.main.conf
%config(noreplace) %{_sysconfdir}/ganesha/gpfs.ganesha.log.conf
%config(noreplace) %{_sysconfdir}/ganesha/gpfs.ganesha.exports.conf
2016-03-01 02:18:28 +00:00
%{_libexecdir}/ganesha/gpfs-epoch
2015-09-10 18:19:12 +00:00
%if ! %{with_systemd}
%{_sysconfdir}/init.d/nfs-ganesha-gpfs
%endif
%endif
%if %{with xfs}
%files xfs
%{_libdir}/ganesha/libfsalxfs*
%config(noreplace) %{_sysconfdir}/ganesha/xfs.conf
%endif
%if %{with ceph}
%files ceph
%{_libdir}/ganesha/libfsalceph*
%config(noreplace) %{_sysconfdir}/ganesha/ceph.conf
%endif
2016-03-01 02:18:28 +00:00
%if %{with rgw}
%files rgw
%defattr(-,root,root,-)
%{_libdir}/ganesha/libfsalrgw*
%config(noreplace) %{_sysconfdir}/ganesha/rgw.conf
2017-04-22 12:38:40 +00:00
%config(noreplace) %{_sysconfdir}/ganesha/rgw_bucket.conf
2016-03-01 02:18:28 +00:00
%endif
%if %{with gluster}
%files gluster
2016-04-08 12:52:46 +00:00
%config(noreplace) %{_sysconfdir}/logrotate.d/ganesha-gfapi
%{_libdir}/ganesha/libfsalgluster*
%endif
%if %{with panfs}
%files panfs
%{_libdir}/ganesha/libfsalpanfs*
%endif
%if %{with lttng}
%files lttng
%{_libdir}/ganesha/libganesha_trace*
%endif
%if %{with utils}
%files utils
%if ( 0%{?suse_version} )
2016-06-20 15:17:07 +00:00
%{python_sitelib}/Ganesha/*
%{python_sitelib}/ganeshactl-*-info
%else
%{python2_sitelib}/Ganesha/*
%{python2_sitelib}/ganeshactl-*-info
2016-06-20 15:17:07 +00:00
%endif
2015-03-30 11:45:15 +00:00
%if %{with gui_utils}
%{_bindir}/ganesha-admin
%{_bindir}/manage_clients
%{_bindir}/manage_exports
%{_bindir}/manage_logger
%{_bindir}/ganeshactl
2015-10-05 12:25:25 +00:00
%{_bindir}/client_stats_9pOps
%{_bindir}/export_stats_9pOps
2015-03-30 11:45:15 +00:00
%endif
%{_bindir}/fake_recall
%{_bindir}/get_clientids
%{_bindir}/grace_period
%{_bindir}/purge_gids
%{_bindir}/ganesha_stats
%{_bindir}/sm_notify.ganesha
%{_bindir}/ganesha_mgr
2017-04-22 12:38:40 +00:00
%{_bindir}/ganesha_conf
%{_mandir}/*/*
%endif
%changelog
2017-06-27 13:31:32 +00:00
* Tue Jun 27 2017 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.5.0-3
- nfs-ganesha 2.5.0 rebuild with ceph
* Sun Jun 25 2017 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.5.0-2
- nfs-ganesha 2.5.0 rebuild with userspace-rcu-0.10.0 (liburcu-bp.so.6)
2017-06-12 16:24:06 +00:00
* Mon Jun 12 2017 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.5.0-1
- nfs-ganesha 2.5.0 GA
2017-06-07 05:54:32 +00:00
* Wed Jun 7 2017 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.5.0-0.10final
- nfs-ganesha 2.5 final
* Tue Jun 6 2017 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.5.0-0.9rc9
- nfs-ganesha 2.5 rc9
* Tue May 30 2017 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.5.0-0.8rc8
- nfs-ganesha 2.5 rc8, with libntirpc-1.5.2
2017-05-22 12:30:59 +00:00
* Mon May 22 2017 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.5.0-0.7rc7
- nfs-ganesha 2.5 rc7
2017-05-22 12:30:59 +00:00
2017-05-14 21:54:49 +00:00
* Sun May 14 2017 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.5.0-0.6rc6
- nfs-ganesha 2.5 rc6
2017-05-14 21:54:49 +00:00
2017-05-11 11:23:09 +00:00
* Thu May 11 2017 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.5.0-0.5rc5
- nfs-ganesha 2.5 rc5
2017-05-11 11:23:09 +00:00
2017-05-11 11:18:28 +00:00
* Wed May 10 2017 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.5.0-0.4rc4
- rebuild with libntirpc-1.5.1
* Mon May 8 2017 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.5.0-0.3rc4
- nfs-ganesha 2.5 rc4
2017-05-08 10:44:21 +00:00
2017-05-11 11:18:28 +00:00
* Mon May 1 2017 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.5.0-0.2rc3
- nfs-ganesha 2.5 rc3
2017-05-01 14:45:21 +00:00
2017-04-22 12:38:40 +00:00
* Mon Apr 24 2017 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.5.0-0.1rc2
- nfs-ganesha 2.5 rc2
2017-04-22 12:38:40 +00:00
* Wed Apr 19 2017 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.4.5-2
- nfs-ganesha 2.4.5 GA, w/ RGW again (cephfs-10.2.7)
2017-04-05 13:50:22 +00:00
* Wed Apr 5 2017 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.4.5-1
- nfs-ganesha 2.4.5 GA
2017-03-21 12:45:31 +00:00
* Tue Mar 21 2017 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.4.4-1
- nfs-ganesha 2.4.4 GA
* Thu Feb 9 2017 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.4.3-2
- nfs-ganesha 2.4.3 GA, reenable FSAL_CEPH and FSAL_RGW
2017-02-07 22:13:24 +00:00
* Tue Feb 7 2017 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.4.3-1
- nfs-ganesha 2.4.3 GA
2017-01-24 01:20:55 +00:00
* Mon Jan 23 2017 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.4.2-1
- nfs-ganesha 2.4.2 GA
* Wed Jan 18 2017 Kaleb S. KEITHLEY <kkeithle at redhat.com>
- python2 (vs. python3) cleanup
2016-12-23 12:25:07 +00:00
* Fri Dec 23 2016 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.4.1-2
- nfs-ganesha 2.4.1 w/ FSAL_RGW
2016-10-31 13:35:03 +00:00
* Mon Oct 31 2016 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.4.1-1
- nfs-ganesha 2.4.1 GA
* Fri Oct 28 2016 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.4.0-2
2016-10-26 14:01:54 +00:00
- rebuild with libntirpc-1.4.3
2016-09-22 19:44:43 +00:00
* Thu Sep 22 2016 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.4.0-1
- nfs-ganesha 2.4.0 GA
2016-09-21 11:48:51 +00:00
* Wed Sep 21 2016 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.4.0-0.22rc6
- 2.4-rc6
2016-09-16 05:25:54 +00:00
* Fri Sep 16 2016 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.4.0-0.21rc5
- 2.4-rc5
2016-09-11 14:56:46 +00:00
* Sun Sep 11 2016 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.4.0-0.20rc4
- 2.4-rc4
2016-09-07 18:19:30 +00:00
* Wed Sep 7 2016 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.4.0-0.19rc3
- 2.4-rc3
2016-09-06 13:48:40 +00:00
* Tue Sep 6 2016 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.4.0-0.18rc2
- 2.4-rc2
2016-08-29 16:34:28 +00:00
* Mon Aug 29 2016 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.4.0-0.17rc1
- 2.4-rc1
* Tue Aug 16 2016 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.4.0-0.16dev29
- 2.4-dev-29, jemalloc off by default (conflicts with glusterfs-api)
2016-08-15 17:58:11 +00:00
* Mon Aug 15 2016 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.4.0-0.15dev29
- 2.4-dev-29
2016-08-01 17:41:23 +00:00
* Mon Aug 1 2016 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.4.0-0.14dev27
- 2.4-dev-27
2016-07-25 12:13:20 +00:00
* Mon Jul 25 2016 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.4.0-0.13dev26
- 2.4-dev-26
2016-07-20 17:18:39 +00:00
* Wed Jul 20 2016 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.4.0-0.12dev25
- 2.4-dev-25 (revised 32-bit)
2016-07-19 13:06:59 +00:00
* Tue Jul 19 2016 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.4.0-0.11dev25
- 2.4-dev-25
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.0-0.10dev23
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
2016-07-05 11:48:53 +00:00
* Tue Jul 5 2016 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.4.0-0.9dev23
- 2.4-dev-23
2016-06-24 17:19:30 +00:00
* Fri Jun 24 2016 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.4.0-0.8dev21
- 2.4-dev-21 w/ FSAL_RGW
2016-06-20 15:17:07 +00:00
* Mon Jun 20 2016 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.4.0-0.7dev21
- 2.4-dev-21
2016-05-30 13:06:54 +00:00
* Mon May 30 2016 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.4.0-0.6dev19
- 2.4-dev-19
2016-05-10 11:55:18 +00:00
* Tue May 10 2016 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.4.0-0.5dev17
- 2.4-dev-17
2016-04-08 13:07:46 +00:00
* Fri Apr 8 2016 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.4.0-0.4dev14
2016-04-08 12:52:46 +00:00
- 2.4-dev-14
2016-03-31 13:36:24 +00:00
* Thu Mar 31 2016 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.4.0-0.3dev12
- 2.4-dev-12
2016-03-01 02:18:28 +00:00
* 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
2016-02-05 09:22:34 +00:00
- 2.4-dev-7
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2015-11-17 13:58:54 +00:00
* Tue Nov 17 2015 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.3.0-2
- Requires: rpcbind or portmap
2015-10-28 14:07:49 +00:00
* Wed Oct 28 2015 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.3.0-1
- 2.3.0 GA
* Tue Oct 27 2015 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.3.0-0.15rc8
- 2.3.0 RC8, rebuild with libntirpc-1.3.1, again
* Mon Oct 26 2015 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.3.0-0.14rc8
- 2.3.0 RC8, rebuild with libntirpc-1.3.1
2015-10-25 11:46:42 +00:00
* Sun Oct 25 2015 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.3.0-0.13rc8
- 2.3.0 RC8
* Thu Oct 22 2015 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.3.0-0.12rc7
- 2.3.0 RC7 (N.B. 2.3.0-0.11rc6 was really rc7)
2015-10-19 11:37:25 +00:00
* Mon Oct 19 2015 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.3.0-0.11rc7
- 2.3.0 RC7
2015-10-12 12:32:26 +00:00
* Mon Oct 12 2015 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.3.0-0.10rc6
- 2.3.0 RC6
* Thu Oct 8 2015 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.3.0-0.9rc5
- 2.3.0 RC5 w/ CMakeLists.txt.patch and config-h.in.cmake.patch
* Wed Oct 7 2015 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.3.0-0.8rc5
- 2.3.0 RC5 mount-9p w/o Requires: nfs-ganesha
* Tue Oct 6 2015 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.3.0-0.7rc5
- 2.3.0 RC5 revised scripts/ganeshactl/CMakeLists.txt.patch
2015-10-05 12:25:25 +00:00
* Mon Oct 5 2015 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.3.0-0.6rc5
- 2.3.0 RC5
2015-09-28 14:10:11 +00:00
* Mon Sep 28 2015 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.3.0-0.5rc4
- 2.3.0 RC4
2015-09-18 13:51:58 +00:00
* Fri Sep 18 2015 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.3.0-0.4rc3
- 2.3.0 RC3
2015-09-13 11:21:22 +00:00
* Fri Sep 11 2015 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.3.0-0.3rc2
- 2.3.0 RC2
* Fri Sep 11 2015 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.3.0-0.2rc1
- 2.3.0 RC1, revised .../SAL/nfs4_state_id.c.patch
* Wed Sep 9 2015 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.3.0-0.1rc1
2015-09-10 18:19:12 +00:00
- 2.3.0 RC1
* Sat Aug 29 2015 Niels de Vos <ndevos@redhat.com> 2.2.0-6
- Rebuilt for jemalloc SONAME bump
2015-07-17 17:24:37 +00:00
* Fri Jul 17 2015 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.2.0-5
- BuildRequires: libntirprc on base
2015-07-17 15:06:26 +00:00
* Fri Jul 17 2015 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.2.0-4
- link with unbundled, shared libntirpc
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Wed May 27 2015 Niels de Vos <ndevos@redhat.com>
- improve readability and allow "rpmbuild --with .." options again
* Fri May 15 2015 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.2.0-2
2015-10-28 14:07:49 +00:00
- %%license, build with glusterfs-3.7.0 GA
2015-04-21 16:31:53 +00:00
* Tue Apr 21 2015 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.2.0-1
- 2.2.0 GA
2015-04-20 13:09:55 +00:00
* Mon Apr 20 2015 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.2.0-0.13rc-final
- 2.2.0-0.13rc-final
2015-04-13 04:58:39 +00:00
* Mon Apr 13 2015 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.2.0-0.12rc8
- 2.2.0-0.12rc8
2015-04-06 05:13:05 +00:00
* Mon Apr 6 2015 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.2.0-0.11rc7
- 2.2.0-0.11rc7
* Thu Apr 2 2015 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.2.0-0.10rc6
- 2.2.0-0.10rc6, with unbundled libntirpc
2015-03-30 11:45:15 +00:00
* Mon Mar 30 2015 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.2.0-0.9rc6
- 2.2.0-0.9rc6
2015-03-23 01:28:54 +00:00
* Sun Mar 22 2015 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.2.0-0.8rc5
- 2.2.0-0.8rc5
2015-03-17 18:31:48 +00:00
* Tue Mar 17 2015 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.2.0-0.7rc4
- ntirpc-1.2.1.tar.gz
2015-03-17 14:25:37 +00:00
* Tue Mar 17 2015 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.2.0-0.6rc4
- updated ntirpc-1.2.0.tar.gz
2015-03-15 22:51:55 +00:00
* Sun Mar 15 2015 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.2.0-0.5rc4
2015-03-23 01:28:54 +00:00
- 2.2.0-0.5rc4
2015-03-15 22:51:55 +00:00
2015-02-23 19:13:49 +00:00
* Mon Feb 23 2015 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.2.0-0.4rc3
- 2.2.0-0.4rc3
* Mon Feb 16 2015 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.2.0-0.3rc2
2015-10-28 14:07:49 +00:00
- subpackage Requires: nfs-ganesha = %%{version}-%%{release}
2015-02-16 12:56:22 +00:00
* Mon Feb 16 2015 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.2.0-0.2rc2
- 2.2.0-0.2rc2
* Fri Feb 13 2015 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.2.0-0.1rc1
- 2.2.0-0.1rc1
- nfs-ganesha.spec based on upstream
* Thu Feb 12 2015 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.1.0-14
- Fedora 23/rawhide build fixes
- Ceph restored in EPEL
2015-01-19 14:07:51 +00:00
* Mon Jan 19 2015 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.1.0-13
2015-01-19 14:04:03 +00:00
- Ceph retired from EPEL 7
* Thu Nov 6 2014 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.1.0-12
- rebuild after libnfsidmap symbol version revert
2014-10-29 12:00:21 +00:00
* Wed Oct 29 2014 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.1.0-11
- PyQt -> PyQt4 typo
2014-10-28 11:36:57 +00:00
* Mon Oct 27 2014 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.1.0-10
- use upstream init.d script
* Thu Oct 2 2014 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.1.0-9
- restore exclusion of gluster gfapi on rhel
* Thu Oct 2 2014 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.1.0-8
- install /etc/dbus-1/system.d/org.ganesha.nfsd.conf
- build and install admin tools
* Mon Sep 29 2014 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.1.0-7
- install /etc/sysconfig/nfs-ganesha file
2014-08-29 11:27:00 +00:00
* Fri Aug 29 2014 Kaleb S. KEITHLEY <kkeithle at redhat.com>
- Ceph FSAL typo, #1135437
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
2014-07-24 14:09:41 +00:00
* Thu Jul 24 2014 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.1.0-5
- use upstream nfs-ganesha.service
* Fri Jul 11 2014 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.1.0-4
- keep fsal .so files, implementation now uses them
2014-07-01 15:23:25 +00:00
* Tue Jul 1 2014 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.1.0-3
- static libuid2grp
2014-07-01 11:06:55 +00:00
* Tue Jul 1 2014 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.1.0-2
- add libuid2grp.so
2014-06-30 12:14:07 +00:00
* Mon Jun 30 2014 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.1.0-1
- nfs-ganesha-2.1.0 GA
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2014-06-02 06:19:34 +00:00
* Mon Jun 2 2014 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.0.0-9
- Ceph FSAL enabled with ceph-0.80
* Wed May 21 2014 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.0.0-8
- getdents()->getdents64(), struct dirent -> struct dirent64
2014-05-10 13:57:04 +00:00
* Sat May 10 2014 Kaleb S. KEITHLEY <kkeithle at redhat.com>
- and exclude libfsalceph
2014-05-10 13:49:48 +00:00
* Sat May 10 2014 Kaleb S. KEITHLEY <kkeithle at redhat.com>
- exclude libfsalgluster correctly
* Fri May 9 2014 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.0.0-7
- Ceph FSAL, in a subpackage, (but requires ceph >= 0.78)
* Mon Mar 31 2014 Kaleb S. KEITHLEY <kkeithle at redhat.com>
- GlusterFS FSAL in a subpackage
- EPEL7 has jemalloc as of 2014-02-25
* Tue Jan 21 2014 Kaleb S. KEITHLEY <kkeithle at redhat.com>
- sussed out github archive so as to allow correct Source0
2014-01-17 19:06:53 +00:00
* Fri Jan 17 2014 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.0.0-6
- EPEL7 and xfsprogs
2014-01-17 14:38:29 +00:00
* Fri Jan 17 2014 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.0.0-5
- EPEL7
* Mon Jan 6 2014 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.0.0-4
- with glusterfs-api(-devel) >= 3.4.2
2014-01-04 16:21:56 +00:00
* 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
- Build on RHEL6. Add sample init.d script
2013-12-11 01:18:46 +00:00
* Wed Dec 11 2013 Jim Lieb <lieb@sea-troll.net> - 2.0.0-1
- Update to V2.0.0 release
2013-11-25 17:58:01 +00:00
* Mon Nov 25 2013 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.0.0-0.2.rcfinal
- update to RC-final
2013-11-25 18:01:01 +00:00
* Fri Nov 22 2013 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.0.0-0.1.rc5
- Initial commit