2 # - package ganesha specific files? (no ganesha in PLD yet)
3 # - Find pidfiles killproc --pidfile ${PIDFILE} -TERM instead of kill -TERM ${PID}
4 # - Check transport-ibverbs package and ibverbs bcond
5 # - Add passing options from /etc/sysconfig/glusterfsd to glusterfsd
6 # - package /etc/glusterfs/glusterfs-logrotate as logrotate config
7 # - Fix/provide working systemd service files.
8 # As for 3.7.11, package provided seems be non-working.
9 # - configuration for firewalld? (--enable-firewalld, but checks for firewalld executable)
12 %bcond_without ibverbs # ib-verbs transport
13 %bcond_without systemtap # systemtap/dtrace support
15 Summary: Clustered File Storage that can scale to peta bytes
16 Summary(pl.UTF-8): Klastrowy system przechowywania plików skalujący się do petabajtów
20 License: LGPL v3+ or GPL v2 (libraries), GPL v3+ (programs)
21 Group: Applications/System
22 Source0: http://download.gluster.org/pub/gluster/glusterfs/3.10/LATEST/glusterfs-%{version}.tar.gz
23 # Source0-md5: a14b97098baec020054943d061261d61
24 Source1: glusterfsd.init
25 Patch0: %{name}-link.patch
26 Patch1: %{name}-noquiet.patch
27 Patch2: %{name}-python.patch
28 URL: http://www.gluster.org/
29 BuildRequires: acl-devel
30 BuildRequires: autoconf >= 2.50
31 BuildRequires: automake
33 #BuildRequires: cmocka-devel >= 1.0.1 for unittest
35 BuildRequires: device-mapper-devel >= 2.02.79
37 BuildRequires: glib2-devel >= 2.0
38 BuildRequires: libaio-devel
39 BuildRequires: libfuse-devel >= 2.6
40 %{?with_ibverbs:BuildRequires: libibverbs-devel >= 1.0.4}
41 %{?with_ibverbs:BuildRequires: librdmacm-devel >= 1.0.15}
42 BuildRequires: libtool
43 BuildRequires: libuuid-devel
44 BuildRequires: libxml2-devel >= 1:2.6.19
45 BuildRequires: openssl-devel
46 BuildRequires: pkgconfig
47 BuildRequires: python >= 1:2.4
48 BuildRequires: python-devel >= 1:2.4
49 BuildRequires: readline-devel
50 BuildRequires: rpm-pythonprov
51 BuildRequires: rpmbuild(macros) >= 1.228
52 BuildRequires: sqlite3-devel >= 3
53 %{?with_systemtap:BuildRequires: systemtap-sdt-devel}
54 BuildRequires: userspace-rcu-devel >= 0.8
55 BuildRequires: zlib-devel >= 1.2.0
56 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
59 GlusterFS is a clustered file-system capable of scaling to several
60 peta-bytes. It aggregates various storage bricks over Infiniband RDMA
61 or TCP/IP interconnect into one large parallel network file system.
62 GlusterFS is one of the most sophisticated file system in terms of
63 features and extensibility. It borrows a powerful concept called
64 Translators from GNU Hurd kernel. Much of the code in GlusterFS is in
65 userspace and easily manageable.
67 %description -l pl.UTF-8
68 GlusterFS to klastrowy system plików skalujący się do petabajtów.
69 Scala różne kawałki miejsca po łączach Infiniband RDMA lub TCP/IP w
70 jeden duży, równoległy sieciowy system plików. GlusterFS to jeden z
71 najbardziej wyszukanych systemów plików jeśli chodzi o możliwości i
72 rozszerzalność. Zapożycza potężną ideę o nazwie Translators z jądra
73 GNU Hurd. Duża część kodu GlusterFS działa w przestrzeni użytkownika i
74 jest łatwo zarządzalna.
77 Summary: GlusterFS common files including Translators
78 Summary(pl.UTF-8): Wspólne pliki GlusterFS-a, w tym translatory
80 Requires: libxml2 >= 1:2.6.19
81 Requires: zlib >= 1.2.0
84 GlusterFS is a clustered file-system capable of scaling to several
85 peta-bytes. It aggregates various storage bricks over Infiniband RDMA
86 or TCP/IP interconnect into one large parallel network file system.
87 GlusterFS is one of the most sophisticated file system in terms of
88 features and extensibility. It borrows a powerful concept called
89 Translators from GNU Hurd kernel. Much of the code in GlusterFS is in
90 userspace and easily manageable.
92 This package includes libglusterfs and glusterfs translator modules
93 common to both GlusterFS server and client framework.
95 %description common -l pl.UTF-8
96 GlusterFS to klastrowy system plików skalujący się do petabajtów.
97 Scala różne kawałki miejsca po łączach Infiniband RDMA lub TCP/IP w
98 jeden duży, równoległy sieciowy system plików. GlusterFS to jeden z
99 najbardziej wyszukanych systemów plików jeśli chodzi o możliwości i
100 rozszerzalność. Zapożycza potężną ideę o nazwie Translators z jądra
101 GNU Hurd. Duża część kodu GlusterFS działa w przestrzeni użytkownika i
102 jest łatwo zarządzalna.
104 Ten pakiet zawiera libglusterfs i moduły translatorów glusterfs
105 wspólne dla klienta jak i serwera GlusterFS-a.
108 Summary: GlusterFS libraries
109 Summary(pl.UTF-8): Biblioteki GlusterFS-a
111 Conflicts: glusterfs-common < 3.4.0
116 %description libs -l pl.UTF-8
117 Biblioteki GlusterFS-a.
120 Summary: GlusterFS development files
121 Summary(pl.UTF-8): Pliki programistyczne GlusterFS-a
122 Group: Development/Libraries
123 Requires: %{name}-libs = %{version}-%{release}
126 Requires: openssl-devel
127 Obsoletes: glusterfs-static
130 This package provides the development files for GlusterFS library.
132 %description devel -l pl.UTF-8
133 Ten pakiet udostępnia pliki programistyczne biblioteki GlusterFS-a.
135 %package -n python-gluster
136 Summary: Python interface to GlusterFS libraries
137 Summary(pl.UTF-8): Interfejs Pythona do bibliotek GlusterFS
138 Group: Libraries/Python
139 Requires: %{name}-libs = %{version}-%{release}
141 %description -n python-gluster
142 Python interface to GlusterFS libraries.
144 %description -n python-gluster -l pl.UTF-8
145 Interfejs Pythona do bibliotek GlusterFS.
147 %package transport-ibverbs
148 Summary: InfiniBand "verbs" transport plugins for GlusterFS
149 Summary(pl.UTF-8): Wtyczki transportu "verbs" InfiniBand dla GlusterFS-a
151 Requires: %{name}-common = %{version}-%{release}
152 Requires: libibverbs >= 1.0.4
153 Requires: librdmacm >= 1.0.15
155 %description transport-ibverbs
156 InfiniBand "verbs" transport plugins for GlusterFS.
158 %description transport-ibverbs -l pl.UTF-8
159 Wtyczki transportu "verbs" InfiniBand dla GlusterFS-a.
162 Summary: GlusterFS Server
163 Summary(pl.UTF-8): Serwer GlusterFS-a
165 Requires: %{name}-client = %{version}-%{release}
166 Requires: %{name}-common = %{version}-%{release}
167 Requires(post,preun): /sbin/chkconfig
169 Requires: python-modules
172 This package provides the glusterfs server daemon.
174 %description server -l pl.UTF-8
175 Ten pakiet zawiera część serwerową GlusterFS-a.
178 Summary: GlusterFS Client
179 Summary(pl.UTF-8): Klient GlusterFS
180 Group: Applications/System
181 Requires: %{name}-common = %{version}-%{release}
182 Requires: libfuse >= 2.6
185 This package provides the FUSE based GlusterFS client.
187 %description client -l pl.UTF-8
188 Ten pakiet udostępnia opartego na FUSE klienta GlusterFS-a.
190 %package resource-agents
191 Summary: OCF Resource Agents for GlusterFS processes
192 Summary(pl.UTF-8): Agenci OCF do monitorowania procesów GlusterFS-a
193 Group: Applications/System
194 Requires: %{name}-server = %{version}-%{release}
195 Requires: resource-agents
197 %description resource-agents
198 OCF Resource Agents for GlusterFS processes.
200 %description resource-agents -l pl.UTF-8
201 Agenci OCF do monitorowania procesów GlusterFS-a.
203 %package -n emacs-glusterfs-mode
204 Summary: Emacs mode to edit GlusterFS configuration
205 Summary(pl.UTF-8): Tryb Emacsa do edycji konfiguracji GlusterFS-a
206 Group: Applications/Editors
207 Requires: %{name}-common = %{version}-%{release}
208 Requires: emacs-common
210 %description -n emacs-glusterfs-mode
211 Emacs mode to edit GlusterFS configuration.
213 %description -n emacs-glusterfs-mode -l pl.UTF-8
214 Tryb Emacsa do edycji konfiguracji GlusterFS-a.
216 %package -n vim-syntax-glusterfs
217 Summary: Vim syntax file to edit GlusterFS configuration
218 Summary(pl.UTF-8): Plik składni Vima do edycji konfiguracji GlusterFS-a
219 Group: Applications/Editors
220 Requires: %{name}-common = %{version}-%{release}
221 Requires: vim-rt >= 4:7.2.170
223 %description -n vim-syntax-glusterfs
224 Vim syntax file to edit GlusterFS configuration.
226 %description -n vim-syntax-glusterfs -l pl.UTF-8
227 Plik składni Vima do edycji konfiguracji GlusterFS-a.
242 --disable-silent-rules \
243 --enable-fusermount \
244 %{!?with_ibverbs:--disable-ibverbs} \
245 --enable-systemtap%{!?with_systemtap:=no} \
246 --with-initdir=/etc/rc.d/init.d
251 rm -rf $RPM_BUILD_ROOT
252 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
254 %{__make} -j1 install \
255 DESTDIR=$RPM_BUILD_ROOT
257 # No idea why installs elsewhere than later expects to be
258 %{__mv} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/glusterd.vol $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/glusterfsd.vol
260 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/glusterfsd
262 install -d $RPM_BUILD_ROOT%{_datadir}/{emacs/site-lisp,vim/syntax}
263 %{__mv} $RPM_BUILD_ROOT%{_docdir}/glusterfs/glusterfs.vim $RPM_BUILD_ROOT%{_datadir}/vim/syntax
264 %{__mv} $RPM_BUILD_ROOT%{_docdir}/glusterfs/glusterfs-mode.el $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp
266 %{__rm} $RPM_BUILD_ROOT%{_libdir}/glusterfs/%{version}/*/*.la
267 %{__rm} $RPM_BUILD_ROOT%{_libdir}/glusterfs/%{version}/*/*/*.la
268 %{__rm} $RPM_BUILD_ROOT%{_libdir}/glusterfs/%{version}/*/*/*/*.la
270 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/glusterfs/benchmarking
271 %{__rm} $RPM_BUILD_ROOT%{_libdir}/glusterfs/python/syncdaemon/README.md
272 # example, installed as /var/lib/glusterd/groups/virt
273 %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/glusterfs/group-virt.example
278 rm -rf $RPM_BUILD_ROOT
280 %post libs -p /sbin/ldconfig
281 %postun libs -p /sbin/ldconfig
284 %defattr(644,root,root,755)
285 %doc ChangeLog NEWS README.md THANKS
286 %dir %{_sysconfdir}/%{name}
287 %attr(755,root,root) %{_bindir}/glusterfind
288 %attr(755,root,root) %{_sbindir}/glfsheal
289 # NOTE: glusterfs is link to glusterfsd and is needed by client mount
290 %attr(755,root,root) %{_sbindir}/glusterfs
291 %attr(755,root,root) %{_sbindir}/glusterfsd
293 %attr(755,root,root) %{_sbindir}/gluster-eventsapi
294 %attr(755,root,root) %{_sbindir}/gluster-georep-sshkey
295 %attr(755,root,root) %{_sbindir}/gluster-mountbroker
296 %attr(755,root,root) %{_sbindir}/glustereventsd
298 #%attr(755,root,root) %{_libdir}/ganesha/create-export-ganesha.sh
299 #%attr(755,root,root) %{_libdir}/ganesha/dbus-send.sh
300 #%attr(755,root,root) %{_libdir}/ganesha/ganesha-ha.sh
301 #%attr(755,root,root) %{_libdir}/ganesha/generate-epoch.py
303 %dir %{_libdir}/glusterfs
305 %dir %{_libdir}/glusterfs/%{version}
306 %dir %{_libdir}/glusterfs/%{version}/auth
307 %attr(755,root,root) %{_libdir}/glusterfs/%{version}/auth/addr.so
308 %attr(755,root,root) %{_libdir}/glusterfs/%{version}/auth/login.so
310 %dir %{_libdir}/glusterfs/%{version}/rpc-transport
311 %attr(755,root,root) %{_libdir}/glusterfs/%{version}/rpc-transport/socket.so
313 %dir %{_libdir}/glusterfs/%{version}/xlator
314 %attr(755,root,root) %{_libdir}/glusterfs/%{version}/xlator/meta.so
315 %dir %{_libdir}/glusterfs/%{version}/xlator/cluster
316 %attr(755,root,root) %{_libdir}/glusterfs/%{version}/xlator/cluster/*.so
317 %dir %{_libdir}/glusterfs/%{version}/xlator/debug
318 %attr(755,root,root) %{_libdir}/glusterfs/%{version}/xlator/debug/*.so
319 %dir %{_libdir}/glusterfs/%{version}/xlator/encryption
320 %attr(755,root,root) %{_libdir}/glusterfs/%{version}/xlator/encryption/*.so*
321 %dir %{_libdir}/glusterfs/%{version}/xlator/features
322 %attr(755,root,root) %{_libdir}/glusterfs/%{version}/xlator/features/*.so*
323 %dir %{_libdir}/glusterfs/%{version}/xlator/features/glupy
324 %{_libdir}/glusterfs/%{version}/xlator/features/glupy/*.py*
325 %dir %{_libdir}/glusterfs/%{version}/xlator/mgmt
326 %attr(755,root,root) %{_libdir}/glusterfs/%{version}/xlator/mgmt/glusterd.so
327 %dir %{_libdir}/glusterfs/%{version}/xlator/mount
328 %attr(755,root,root) %{_libdir}/glusterfs/%{version}/xlator/mount/api.so
329 %attr(755,root,root) %{_libdir}/glusterfs/%{version}/xlator/mount/fuse.so
330 %dir %{_libdir}/glusterfs/%{version}/xlator/nfs
331 %attr(755,root,root) %{_libdir}/glusterfs/%{version}/xlator/nfs/server.so
332 %dir %{_libdir}/glusterfs/%{version}/xlator/performance
333 %attr(755,root,root) %{_libdir}/glusterfs/%{version}/xlator/performance/*.so*
334 %dir %{_libdir}/glusterfs/%{version}/xlator/protocol
335 %attr(755,root,root) %{_libdir}/glusterfs/%{version}/xlator/protocol/*.so
336 %dir %{_libdir}/glusterfs/%{version}/xlator/storage
337 %attr(755,root,root) %{_libdir}/glusterfs/%{version}/xlator/storage/*.so
338 %dir %{_libdir}/glusterfs/%{version}/xlator/system
339 %attr(755,root,root) %{_libdir}/glusterfs/%{version}/xlator/system/posix-acl.so
340 %dir %{_libdir}/glusterfs/%{version}/xlator/testing
341 %dir %{_libdir}/glusterfs/%{version}/xlator/testing/features
342 %attr(755,root,root) %{_libdir}/glusterfs/%{version}/xlator/testing/features/*.so
343 %dir %{_libdir}/glusterfs/%{version}/xlator/testing/performance
344 %attr(755,root,root) %{_libdir}/glusterfs/%{version}/xlator/testing/performance/*.so
346 %dir %{_libdir}/glusterfs/events
347 %{_libdir}/glusterfs/events/*.py*
349 %attr(755,root,root) %{_libdir}/glusterfs/gsyncd
350 %attr(755,root,root) %{_libdir}/glusterfs/gverify.sh
351 %attr(755,root,root) %{_libdir}/glusterfs/peer_add_secret_pub
352 %attr(755,root,root) %{_libdir}/glusterfs/peer_gsec_create
354 %dir %{_libdir}/glusterfs/gfind_missing_files
355 %attr(755,root,root) %{_libdir}/glusterfs/gfind_missing_files/*
357 %{_libdir}/glusterfs/glusterfind
359 %dir %{_libdir}/glusterfs/python
360 %dir %{_libdir}/glusterfs/python/syncdaemon
361 # gsyncd.py is a script, the rest probably don't require *.py
362 %{_libdir}/glusterfs/python/syncdaemon/*.py*
364 %attr(755,root,root) %{_libdir}/glusterfs/peer_eventsapi.py
365 %attr(755,root,root) %{_libdir}/glusterfs/peer_georep-sshkey.py
366 %attr(755,root,root) %{_libdir}/glusterfs/peer_mountbroker.py
367 %attr(755,root,root) %{_libdir}/glusterfs/peer_mountbroker
368 %attr(755,root,root) %{_libdir}/glusterfs/set_geo_rep_pem_keys.sh
370 %dir %{_datadir}/glusterfs
371 %dir %{_datadir}/glusterfs/scripts
372 %attr(755,root,root) %{_datadir}/glusterfs/scripts/eventsdash.py
373 %attr(755,root,root) %{_datadir}/glusterfs/scripts/generate-gfid-file.sh
374 %attr(755,root,root) %{_datadir}/glusterfs/scripts/get-gfid.sh
375 %attr(755,root,root) %{_datadir}/glusterfs/scripts/gsync-sync-gfid
376 %attr(755,root,root) %{_datadir}/glusterfs/scripts/gsync-upgrade.sh
377 %attr(755,root,root) %{_datadir}/glusterfs/scripts/post-upgrade-script-for-quota.sh
378 %attr(755,root,root) %{_datadir}/glusterfs/scripts/pre-upgrade-script-for-quota.sh
379 %attr(755,root,root) %{_datadir}/glusterfs/scripts/schedule_georep.py
380 %attr(755,root,root) %{_datadir}/glusterfs/scripts/slave-upgrade.sh
381 %attr(755,root,root) %{_datadir}/glusterfs/scripts/stop-all-gluster-processes.sh
383 %{_mandir}/man8/glusterfs.8*
384 %{_mandir}/man8/glusterfsd.8*
385 %dir %{_var}/log/glusterfs
388 %defattr(644,root,root,755)
389 %attr(755,root,root) %{_libdir}/libgfapi.so.*.*.*
390 %attr(755,root,root) %ghost %{_libdir}/libgfapi.so.0
391 %attr(755,root,root) %{_libdir}/libgfchangelog.so.*.*.*
392 %attr(755,root,root) %ghost %{_libdir}/libgfchangelog.so.0
393 %attr(755,root,root) %{_libdir}/libgfdb.so.*.*.*
394 %attr(755,root,root) %ghost %{_libdir}/libgfdb.so.0
395 %attr(755,root,root) %{_libdir}/libgfrpc.so.*.*.*
396 %attr(755,root,root) %ghost %{_libdir}/libgfrpc.so.0
397 %attr(755,root,root) %{_libdir}/libgfxdr.so.*.*.*
398 %attr(755,root,root) %ghost %{_libdir}/libgfxdr.so.0
399 %attr(755,root,root) %{_libdir}/libglusterfs.so.*.*.*
400 %attr(755,root,root) %ghost %{_libdir}/libglusterfs.so.0
403 %defattr(644,root,root,755)
404 %attr(755,root,root) %{_libdir}/libgfapi.so
405 %attr(755,root,root) %{_libdir}/libgfchangelog.so
406 %attr(755,root,root) %{_libdir}/libgfdb.so
407 %attr(755,root,root) %{_libdir}/libgfrpc.so
408 %attr(755,root,root) %{_libdir}/libgfxdr.so
409 %attr(755,root,root) %{_libdir}/libglusterfs.so
410 %{_libdir}/libgfapi.la
411 %{_libdir}/libgfchangelog.la
412 %{_libdir}/libgfdb.la
413 %{_libdir}/libgfrpc.la
414 %{_libdir}/libgfxdr.la
415 %{_libdir}/libglusterfs.la
416 %dir %{_includedir}/glusterfs
417 %{_includedir}/glusterfs/api
418 %{_includedir}/glusterfs/gfchangelog
419 %{_includedir}/glusterfs/gfdb
420 %{_includedir}/glusterfs/rpc
421 %{_includedir}/glusterfs/server
422 %{_includedir}/glusterfs/*.h
423 %{_pkgconfigdir}/glusterfs-api.pc
424 %{_pkgconfigdir}/libgfchangelog.pc
425 %{_pkgconfigdir}/libgfdb.pc
427 %files -n python-gluster
428 %defattr(644,root,root,755)
429 %dir %{py_sitescriptdir}/gluster
430 %{py_sitescriptdir}/gluster/*.py[co]
431 %{py_sitescriptdir}/gluster/cliutils
432 %{py_sitescriptdir}/gluster/glupy
433 # created only when using py_build/py_install in xlators/features/glupy/src
434 #%{py_sitescriptdir}/glusterfs_glupy-%{version}-py*.egg-info
437 %files transport-ibverbs
438 %defattr(644,root,root,755)
439 %attr(755,root,root) %{_libdir}/glusterfs/%{version}/rpc-transport/rdma.so
443 %defattr(644,root,root,755)
444 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/eventsconfig.json
445 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/glusterfsd.vol
446 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/group-metadata-cache
447 %attr(754,root,root) /etc/rc.d/init.d/glusterfsd
448 %attr(755,root,root) %{_sbindir}/conf.py
449 %attr(755,root,root) %{_sbindir}/gcron.py
450 %attr(755,root,root) %{_sbindir}/gf_attach
451 %attr(755,root,root) %{_sbindir}/gfind_missing_files
452 %attr(755,root,root) %{_sbindir}/glusterd
453 %attr(755,root,root) %{_sbindir}/snap_scheduler.py
455 %{_mandir}/man8/glusterd.8*
456 %dir %{_var}/lib/glusterd
457 %dir %{_var}/lib/glusterd/groups
458 %config(noreplace) %verify(not md5 mtime size) %{_var}/lib/glusterd/groups/virt
459 %config(noreplace) %verify(not md5 mtime size) %{_var}/lib/glusterd/groups/metadata-cache
460 %dir %{_var}/lib/glusterd/hooks
461 %dir %{_var}/lib/glusterd/hooks/1
462 %dir %{_var}/lib/glusterd/hooks/1/add-brick
463 %dir %{_var}/lib/glusterd/hooks/1/add-brick/post
464 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_var}/lib/glusterd/hooks/1/add-brick/post/disabled-quota-root-xattr-heal.sh
465 %dir %{_var}/lib/glusterd/hooks/1/add-brick/pre
466 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_var}/lib/glusterd/hooks/1/add-brick/pre/S28Quota-enable-root-xattr-heal.sh
467 %dir %{_var}/lib/glusterd/hooks/1/delete
468 %dir %{_var}/lib/glusterd/hooks/1/delete/post
469 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_var}/lib/glusterd/hooks/1/delete/post/S57glusterfind-delete-post
470 %dir %{_var}/lib/glusterd/hooks/1/gsync-create
471 %dir %{_var}/lib/glusterd/hooks/1/gsync-create/post
472 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_var}/lib/glusterd/hooks/1/gsync-create/post/S56glusterd-geo-rep-create-post.sh
473 %dir %{_var}/lib/glusterd/hooks/1/set
474 %dir %{_var}/lib/glusterd/hooks/1/set/post
475 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_var}/lib/glusterd/hooks/1/set/post/S30samba-set.sh
476 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_var}/lib/glusterd/hooks/1/set/post/S32gluster_enable_shared_storage.sh
477 %dir %{_var}/lib/glusterd/hooks/1/start
478 %dir %{_var}/lib/glusterd/hooks/1/start/post
479 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_var}/lib/glusterd/hooks/1/start/post/S29CTDBsetup.sh
480 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_var}/lib/glusterd/hooks/1/start/post/S30samba-start.sh
481 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_var}/lib/glusterd/hooks/1/start/post/S31ganesha-start.sh
482 %dir %{_var}/lib/glusterd/hooks/1/stop
483 %dir %{_var}/lib/glusterd/hooks/1/stop/pre
484 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_var}/lib/glusterd/hooks/1/stop/pre/S29CTDB-teardown.sh
485 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_var}/lib/glusterd/hooks/1/stop/pre/S30samba-stop.sh
486 %dir %{_var}/run/gluster
489 %defattr(644,root,root,755)
490 %attr(755,root,root) %{_bindir}/fusermount-glusterfs
491 %attr(755,root,root) /sbin/mount.glusterfs
492 %attr(755,root,root) %{_sbindir}/gluster
493 %{_mandir}/man8/gluster.8*
494 %{_mandir}/man8/mount.glusterfs.8*
496 %files resource-agents
497 %defattr(644,root,root,755)
498 %dir %{_prefix}/lib/ocf/resource.d/glusterfs
499 %attr(755,root,root) %{_prefix}/lib/ocf/resource.d/glusterfs/glusterd
500 %attr(755,root,root) %{_prefix}/lib/ocf/resource.d/glusterfs/volume
501 #%{_prefix}/lib/ocf/resource.d/heartbeat/ganesha_grace
502 #%{_prefix}/lib/ocf/resource.d/heartbeat/ganesha_mon
503 #%{_prefix}/lib/ocf/resource.d/heartbeat/ganesha_nfsd
505 %files -n emacs-glusterfs-mode
506 %defattr(644,root,root,755)
507 %{_datadir}/emacs/site-lisp/glusterfs-mode.el
509 %files -n vim-syntax-glusterfs
510 %defattr(644,root,root,755)
511 %{_datadir}/vim/syntax/glusterfs.vim