Summary: Clustered File Storage that can scale to peta bytes
Summary(pl.UTF-8): Klastrowy system przechowywania plików skalujący się do petabajtów
Name: glusterfs
-Version: 10.3
-Release: 2
+Version: 10.5
+Release: 1
License: LGPL v3+ or GPL v2 (libraries), GPL v3+ (programs)
Group: Applications/System
Source0: https://download.gluster.org/pub/gluster/glusterfs/10/%{version}/glusterfs-%{version}.tar.gz
-# Source0-md5: 9c795c8479f244e81bca5b2499a480cc
+# Source0-md5: 8ac48f7b7f9afa0e5dfa9ad42589ee27
Source1: glusterfsd.init
+Patch0: ssl_paths.patch
+Patch1: ksh_getopts.patch
URL: https://www.gluster.org/
BuildRequires: acl-devel
BuildRequires: autoconf >= 2.50
%prep
%setup -q
+%patch0 -p1
+%patch1 -p1
%build
%{__libtoolize}
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
-# TODO: verify these scripts (see also included glusterfs.spec)
%post server
-# note: glusterfsd.init vs glusterd.service
/sbin/chkconfig --add glusterfsd
%service glusterfsd restart
-# TODO?
-#glusterd --xlator-option *.upgrade=on -N
%preun server
if [ "$1" = "0" ]; then
%{_mandir}/man8/glusterfs.8*
%{_mandir}/man8/glusterfsd.8*
+
+%dir %{_var}/lib/glusterd
%dir %{_var}/log/glusterfs
%files libs
%{_mandir}/man8/gluster-setgfid2path.8*
%{_mandir}/man8/glusterd.8*
-%dir %{_var}/lib/glusterd
%dir %{_var}/lib/glusterd/groups
%config(noreplace) %verify(not md5 mtime size) %{_var}/lib/glusterd/groups/db-workload
%config(noreplace) %verify(not md5 mtime size) %{_var}/lib/glusterd/groups/distributed-virt