1 %global _hardened_build 1
3 %global _for_fedora_koji_builds 0
5 # uncomment and add '%' to use the prereltag for pre-releases
6 # %%global prereltag qa3
8 ##-----------------------------------------------------------------------------
9 ## All argument definitions should be placed here and keep them sorted
12 # if you wish to compile an rpm with debugging...
13 # rpmbuild -ta @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz --with debug
14 %{?_with_debug:%global _with_debug --enable-debug}
16 # if you wish to compile an rpm with cmocka unit testing...
17 # rpmbuild -ta @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz --with cmocka
18 %{?_with_cmocka:%global _with_cmocka --enable-cmocka}
20 # if you wish to compile an rpm without rdma support, compile like this...
21 # rpmbuild -ta @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz --without rdma
22 %{?_without_rdma:%global _without_rdma --disable-ibverbs}
24 # No RDMA Support on s390(x)
26 %global _without_rdma --disable-ibverbs
29 # if you wish to compile an rpm without epoll...
30 # rpmbuild -ta @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz --without epoll
31 %{?_without_epoll:%global _without_epoll --disable-epoll}
33 # if you wish to compile an rpm without fusermount...
34 # rpmbuild -ta @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz --without fusermount
35 %{?_without_fusermount:%global _without_fusermount --disable-fusermount}
37 # if you wish to compile an rpm without geo-replication support, compile like this...
38 # rpmbuild -ta @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz --without georeplication
39 %{?_without_georeplication:%global _without_georeplication --disable-georeplication}
41 # Disable geo-replication on EL5, as its default Python is too old
42 %if ( 0%{?rhel} && 0%{?rhel} < 6 )
43 %global _without_georeplication --disable-georeplication
46 # if you wish to compile an rpm without the OCF resource agents...
47 # rpmbuild -ta @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz --without ocf
48 %{?_without_ocf:%global _without_ocf --without-ocf}
50 # if you wish to build rpms without syslog logging, compile like this
51 # rpmbuild -ta @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz --without syslog
52 %{?_without_syslog:%global _without_syslog --disable-syslog}
54 # disable syslog forcefully as rhel <= 6 doesn't have rsyslog or rsyslog-mmcount
55 # Fedora deprecated syslog, see
56 # https://fedoraproject.org/wiki/Changes/NoDefaultSyslog
57 # (And what about RHEL7?)
58 %if ( 0%{?fedora} && 0%{?fedora} >= 20 ) || ( 0%{?rhel} && 0%{?rhel} <= 6 )
59 %global _without_syslog --disable-syslog
62 # if you wish to compile an rpm without the BD map support...
63 # rpmbuild -ta @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz --without bd
64 %{?_without_bd:%global _without_bd --disable-bd-xlator}
66 %if ( 0%{?rhel} && 0%{?rhel} < 6 || 0%{?sles_version} )
67 %define _without_bd --disable-bd-xlator
70 # if you wish to compile an rpm without the qemu-block support...
71 # rpmbuild -ta @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz --without qemu-block
72 %{?_without_qemu_block:%global _without_qemu_block --disable-qemu-block}
74 %if ( 0%{?rhel} && 0%{?rhel} < 6 )
75 # xlators/features/qemu-block fails to build on RHEL5, disable it
76 %define _without_qemu_block --disable-qemu-block
79 # Disable data-tiering on EL5, sqlite is too old
80 %if ( 0%{?rhel} && 0%{?rhel} < 6 )
81 %global _without_tiering --disable-tiering
84 ##-----------------------------------------------------------------------------
85 ## All %global definitions should be placed here and keep them sorted
88 %if ( 0%{?fedora} && 0%{?fedora} > 16 ) || ( 0%{?rhel} && 0%{?rhel} > 6 )
89 %global _with_systemd true
92 %if ( 0%{?fedora} ) || ( 0%{?rhel} && 0%{?rhel} >= 7 )
93 %global _with_firewalld --enable-firewalld
96 %if 0%{?_tmpfilesdir:1}
97 %define _with_tmpfilesdir --with-tmpfilesdir=%{_tmpfilesdir}
99 %define _with_tmpfilesdir --without-tmpfilesdir
102 # From https://fedoraproject.org/wiki/Packaging:Python#Macros
103 %if ( 0%{?rhel} && 0%{?rhel} <= 5 )
104 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
105 %{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
108 %if ( 0%{?_with_systemd:1} )
109 %define _init_enable() /bin/systemctl enable %1.service ;
110 %define _init_disable() /bin/systemctl disable %1.service ;
111 %define _init_restart() /bin/systemctl try-restart %1.service ;
112 %define _init_start() /bin/systemctl start %1.service ;
113 %define _init_stop() /bin/systemctl stop %1.service ;
114 %define _init_install() install -D -p -m 0644 %1 %{buildroot}%{_unitdir}/%2.service ;
115 # can't seem to make a generic macro that works
116 %define _init_glusterd %{_unitdir}/glusterd.service
117 %define _init_glusterfsd %{_unitdir}/glusterfsd.service
119 %define _init_enable() /sbin/chkconfig --add %1 ;
120 %define _init_disable() /sbin/chkconfig --del %1 ;
121 %define _init_restart() /sbin/service %1 condrestart &>/dev/null ;
122 %define _init_start() /sbin/service %1 start &>/dev/null ;
123 %define _init_stop() /sbin/service %1 stop &>/dev/null ;
124 %define _init_install() install -D -p -m 0755 %1 %{buildroot}%{_sysconfdir}/init.d/%2 ;
125 # can't seem to make a generic macro that works
126 %define _init_glusterd %{_sysconfdir}/init.d/glusterd
127 %define _init_glusterfsd %{_sysconfdir}/init.d/glusterfsd
130 %if ( 0%{_for_fedora_koji_builds} )
131 %if ( 0%{?_with_systemd:1} )
132 %global glusterfsd_service glusterfsd.service
134 %global glusterfsd_service glusterfsd.init
138 %{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
140 %if ( 0%{?rhel} && 0%{?rhel} < 6 )
141 # _sharedstatedir is not provided by RHEL5
142 %define _sharedstatedir /var/lib
145 # We do not want to generate useless provides and requires for xlator
146 # .so files to be set for glusterfs packages.
147 # Filter all generated:
149 # TODO: RHEL5 does not have a convenient solution
150 %if ( 0%{?rhel} == 6 )
151 # filter_setup exists in RHEL6 only
152 %filter_provides_in %{_libdir}/glusterfs/%{version}/
153 %global __filter_from_req %{?__filter_from_req} | grep -v -P '^(?!lib).*\.so.*$'
156 # modern rpm and current Fedora do not generate requires when the
157 # provides are filtered
158 %global __provides_exclude_from ^%{_libdir}/glusterfs/%{version}/.*$
162 ##-----------------------------------------------------------------------------
163 ## All package definitions should be placed here and keep them sorted
165 Summary: Distributed File System
166 %if ( 0%{_for_fedora_koji_builds} )
169 Release: 0.1%{?prereltag:.%{prereltag}}%{?dist}
170 Vendor: Fedora Project
173 Version: @PACKAGE_VERSION@
174 Release: 0.@PACKAGE_RELEASE@%{?dist}
175 Vendor: Gluster Community
177 License: GPLv2 or LGPLv3+
178 Group: System Environment/Base
179 URL: http://www.gluster.org/docs/index.php/GlusterFS
180 %if ( 0%{_for_fedora_koji_builds} )
181 Source0: http://bits.gluster.org/pub/gluster/glusterfs/src/glusterfs-%{version}%{?prereltag}.tar.gz
182 Source1: glusterd.sysconfig
183 Source2: glusterfsd.sysconfig
184 Source6: rhel5-load-fuse-modules
185 Source7: glusterfsd.service
186 Source8: glusterfsd.init
188 Source0: @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz
191 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
193 %if ( 0%{?rhel} && 0%{?rhel} <= 5 )
194 BuildRequires: python-simplejson
196 %if ( 0%{?_with_systemd:1} )
197 BuildRequires: systemd-units
200 Requires: %{name}-libs = %{version}-%{release}
201 BuildRequires: bison flex
202 BuildRequires: gcc make automake libtool
203 BuildRequires: ncurses-devel readline-devel
204 BuildRequires: libxml2-devel openssl-devel
205 BuildRequires: libaio-devel libacl-devel
206 BuildRequires: python-devel
207 BuildRequires: python-ctypes
208 BuildRequires: userspace-rcu-devel >= 0.7
209 %if ( 0%{?rhel} && 0%{?rhel} <= 5 )
210 BuildRequires: e2fsprogs-devel
212 BuildRequires: libuuid-devel
214 %if ( 0%{?_with_cmocka:1} )
215 BuildRequires: libcmocka-devel >= 1.0.1
217 %if ( 0%{!?_without_tiering:1} )
218 BuildRequires: sqlite-devel
220 %if ( 0%{!?_without_bd:1} )
221 BuildRequires: lvm2-devel
223 %if ( 0%{!?_without_qemu_block:1} )
224 BuildRequires: glib2-devel
226 %if ( 0%{!?_without_georeplication:1} )
227 BuildRequires: libattr-devel
230 %if (0%{?_with_firewalld:1})
231 BuildRequires: firewalld
235 Obsoletes: %{name}-common < %{version}-%{release}
236 Obsoletes: %{name}-core < %{version}-%{release}
237 Obsoletes: %{name}-ufo
238 Provides: %{name}-common = %{version}-%{release}
239 Provides: %{name}-core = %{version}-%{release}
242 GlusterFS is a distributed file-system capable of scaling to several
243 petabytes. It aggregates various storage bricks over Infiniband RDMA
244 or TCP/IP interconnect into one large parallel network file
245 system. GlusterFS is one of the most sophisticated file systems in
246 terms of features and extensibility. It borrows a powerful concept
247 called Translators from GNU Hurd kernel. Much of the code in GlusterFS
248 is in user space and easily manageable.
250 This package includes the glusterfs binary, the glusterfsd daemon and the
251 libglusterfs and glusterfs translator modules common to both GlusterFS server
252 and client framework.
255 Summary: GlusterFS api library
256 Group: System Environment/Daemons
257 Requires: %{name} = %{version}-%{release}
258 Requires: %{name}-client-xlators = %{version}-%{release}
259 # we provide the Python package/namespace 'gluster'
260 #Provides: python-gluster = %{version}-%{release}
263 GlusterFS is a distributed file-system capable of scaling to several
264 petabytes. It aggregates various storage bricks over Infiniband RDMA
265 or TCP/IP interconnect into one large parallel network file
266 system. GlusterFS is one of the most sophisticated file systems in
267 terms of features and extensibility. It borrows a powerful concept
268 called Translators from GNU Hurd kernel. Much of the code in GlusterFS
269 is in user space and easily manageable.
271 This package provides the glusterfs libgfapi library.
274 Summary: Development Libraries
275 Group: Development/Libraries
276 Requires: %{name} = %{version}-%{release}
277 Requires: %{name}-devel = %{version}-%{release}
278 Requires: libacl-devel
280 %description api-devel
281 GlusterFS is a distributed file-system capable of scaling to several
282 petabytes. It aggregates various storage bricks over Infiniband RDMA
283 or TCP/IP interconnect into one large parallel network file
284 system. GlusterFS is one of the most sophisticated file systems in
285 terms of features and extensibility. It borrows a powerful concept
286 called Translators from GNU Hurd kernel. Much of the code in GlusterFS
287 is in user space and easily manageable.
289 This package provides the api include files.
292 Summary: GlusterFS CLI
293 Group: Applications/File
294 Requires: %{name}-libs = %{version}-%{release}
297 GlusterFS is a distributed file-system capable of scaling to several
298 petabytes. It aggregates various storage bricks over Infiniband RDMA
299 or TCP/IP interconnect into one large parallel network file
300 system. GlusterFS is one of the most sophisticated file systems in
301 terms of features and extensibility. It borrows a powerful concept
302 called Translators from GNU Hurd kernel. Much of the code in GlusterFS
303 is in user space and easily manageable.
305 This package provides the GlusterFS CLI application and its man page
308 Summary: Development Libraries
309 Group: Development/Libraries
310 Requires: %{name} = %{version}-%{release}
311 # Needed for the Glupy examples to work
312 Requires: %{name}-extra-xlators = %{version}-%{release}
315 GlusterFS is a distributed file-system capable of scaling to several
316 petabytes. It aggregates various storage bricks over Infiniband RDMA
317 or TCP/IP interconnect into one large parallel network file
318 system. GlusterFS is one of the most sophisticated file systems in
319 terms of features and extensibility. It borrows a powerful concept
320 called Translators from GNU Hurd kernel. Much of the code in GlusterFS
321 is in user space and easily manageable.
323 This package provides the development libraries and include files.
325 %package extra-xlators
326 Summary: Extra Gluster filesystem Translators
327 Group: Applications/File
328 # We need python-gluster rpm for gluster module's __init__.py in Python
330 Requires: python-gluster = %{version}-%{release}
331 Requires: python python-ctypes
333 %description extra-xlators
334 GlusterFS is a distributed file-system capable of scaling to several
335 petabytes. It aggregates various storage bricks over Infiniband RDMA
336 or TCP/IP interconnect into one large parallel network file
337 system. GlusterFS is one of the most sophisticated file systems in
338 terms of features and extensibility. It borrows a powerful concept
339 called Translators from GNU Hurd kernel. Much of the code in GlusterFS
340 is in user space and easily manageable.
342 This package provides extra filesystem Translators, such as Glupy,
347 Group: Applications/File
348 BuildRequires: fuse-devel
351 Requires: %{name} = %{version}-%{release}
352 Requires: %{name}-client-xlators = %{version}-%{release}
354 Obsoletes: %{name}-client < %{version}-%{release}
355 Provides: %{name}-client = %{version}-%{release}
358 GlusterFS is a distributed file-system capable of scaling to several
359 petabytes. It aggregates various storage bricks over Infiniband RDMA
360 or TCP/IP interconnect into one large parallel network file
361 system. GlusterFS is one of the most sophisticated file systems in
362 terms of features and extensibility. It borrows a powerful concept
363 called Translators from GNU Hurd kernel. Much of the code in GlusterFS
364 is in user space and easily manageable.
366 This package provides support to FUSE based clients and inlcudes the
370 Summary: NFS-Ganesha configuration
371 Group: Applications/File
373 Requires: %{name}-server = %{version}-%{release}
374 Requires: nfs-ganesha-gluster
378 GlusterFS is a distributed file-system capable of scaling to several
379 petabytes. It aggregates various storage bricks over Infiniband RDMA
380 or TCP/IP interconnect into one large parallel network file
381 system. GlusterFS is one of the most sophisticated file systems in
382 terms of features and extensibility. It borrows a powerful concept
383 called Translators from GNU Hurd kernel. Much of the code in GlusterFS
384 is in user space and easily manageable.
386 This package provides the configuration and related files for using
387 NFS-Ganesha as the NFS server using GlusterFS
389 %if ( 0%{!?_without_georeplication:1} )
390 %package geo-replication
391 Summary: GlusterFS Geo-replication
392 Group: Applications/File
393 Requires: %{name} = %{version}-%{release}
394 Requires: %{name}-server = %{version}-%{release}
395 Requires: python python-ctypes
398 %description geo-replication
399 GlusterFS is a distributed file-system capable of scaling to several
400 peta-bytes. It aggregates various storage bricks over Infiniband RDMA
401 or TCP/IP interconnect into one large parallel network file
402 system. GlusterFS is one of the most sophisticated file system in
403 terms of features and extensibility. It borrows a powerful concept
404 called Translators from GNU Hurd kernel. Much of the code in GlusterFS
405 is in userspace and easily manageable.
407 This package provides support to geo-replication.
411 Summary: GlusterFS common libraries
412 Group: Applications/File
413 %if ( 0%{!?_without_syslog:1} )
414 %if ( 0%{?fedora} ) || ( 0%{?rhel} && 0%{?rhel} > 6 )
415 Requires: rsyslog-mmjsonparse
417 %if ( 0%{?rhel} && 0%{?rhel} == 6 )
418 Requires: rsyslog-mmcount
423 GlusterFS is a distributed file-system capable of scaling to several
424 petabytes. It aggregates various storage bricks over Infiniband RDMA
425 or TCP/IP interconnect into one large parallel network file
426 system. GlusterFS is one of the most sophisticated file systems in
427 terms of features and extensibility. It borrows a powerful concept
428 called Translators from GNU Hurd kernel. Much of the code in GlusterFS
429 is in user space and easily manageable.
431 This package provides the base GlusterFS libraries
433 %package -n python-gluster
434 Summary: GlusterFS python library
435 Group: Development/Tools
436 %if ( ! ( 0%{?rhel} && 0%{?rhel} < 6 || 0%{?sles_version} ) )
437 # EL5 does not support noarch sub-packages
442 %description -n python-gluster
443 GlusterFS is a distributed file-system capable of scaling to several
444 petabytes. It aggregates various storage bricks over Infiniband RDMA
445 or TCP/IP interconnect into one large parallel network file
446 system. GlusterFS is one of the most sophisticated file systems in
447 terms of features and extensibility. It borrows a powerful concept
448 called Translators from GNU Hurd kernel. Much of the code in GlusterFS
449 is in user space and easily manageable.
451 This package contains the python modules of GlusterFS and own gluster
455 %if ( 0%{!?_without_rdma:1} )
457 Summary: GlusterFS rdma support for ib-verbs
458 Group: Applications/File
459 BuildRequires: libibverbs-devel
460 BuildRequires: librdmacm-devel >= 1.0.15
461 Requires: %{name} = %{version}-%{release}
464 GlusterFS is a distributed file-system capable of scaling to several
465 petabytes. It aggregates various storage bricks over Infiniband RDMA
466 or TCP/IP interconnect into one large parallel network file
467 system. GlusterFS is one of the most sophisticated file systems in
468 terms of features and extensibility. It borrows a powerful concept
469 called Translators from GNU Hurd kernel. Much of the code in GlusterFS
470 is in user space and easily manageable.
472 This package provides support to ib-verbs library.
475 %package regression-tests
476 Summary: Development Tools
477 Group: Development/Tools
478 Requires: %{name} = %{version}-%{release}
479 Requires: %{name}-fuse = %{version}-%{release}
480 Requires: %{name}-server = %{version}-%{release}
481 ## thin provisioning support
482 Requires: lvm2 >= 2.02.89
483 Requires: perl(App::Prove) perl(Test::Harness) gcc util-linux-ng
484 Requires: python attr dbench file git libacl-devel net-tools
485 Requires: nfs-utils xfsprogs yajl
487 %description regression-tests
488 The Gluster Test Framework, is a suite of scripts used for
489 regression testing of Gluster.
491 %if ( 0%{!?_without_ocf:1} )
492 %package resource-agents
493 Summary: OCF Resource Agents for GlusterFS
495 %if ( ! ( 0%{?rhel} && 0%{?rhel} < 6 || 0%{?sles_version} ) )
496 # EL5 does not support noarch sub-packages
499 # this Group handling comes from the Fedora resource-agents package
500 %if ( 0%{?fedora} || 0%{?centos_version} || 0%{?rhel} )
501 Group: System Environment/Base
503 Group: Productivity/Clustering/HA
506 Requires: %{name}-server
507 # depending on the distribution, we need pacemaker or resource-agents
508 Requires: %{_prefix}/lib/ocf/resource.d
510 %description resource-agents
511 GlusterFS is a distributed file-system capable of scaling to several
512 petabytes. It aggregates various storage bricks over Infiniband RDMA
513 or TCP/IP interconnect into one large parallel network file
514 system. GlusterFS is one of the most sophisticated file systems in
515 terms of features and extensibility. It borrows a powerful concept
516 called Translators from GNU Hurd kernel. Much of the code in GlusterFS
517 is in user space and easily manageable.
519 This package provides the resource agents which plug glusterd into
520 Open Cluster Framework (OCF) compliant cluster resource managers,
525 Summary: Clustered file-system server
526 Group: System Environment/Daemons
527 Requires: %{name} = %{version}-%{release}
528 Requires: %{name}-libs = %{version}-%{release}
529 Requires: %{name}-cli = %{version}-%{release}
530 # some daemons (like quota) use a fuse-mount, glusterfsd is part of -fuse
531 Requires: %{name}-fuse = %{version}-%{release}
532 # self-heal daemon, rebalance, nfs-server etc. are actually clients
533 Requires: %{name}-client-xlators = %{version}-%{release}
534 # psmisc for killall, lvm2 for snapshot, and nfs-utils and
535 # rpcbind/portmap for gnfs server
539 %if ( 0%{?_with_systemd:1} )
540 Requires(post): systemd-units
541 Requires(preun): systemd-units
542 Requires(postun): systemd-units
544 Requires(post): /sbin/chkconfig
545 Requires(preun): /sbin/service
546 Requires(preun): /sbin/chkconfig
547 Requires(postun): /sbin/service
549 %if ( 0%{?fedora} ) || ( 0%{?rhel} && 0%{?rhel} >= 6 )
554 %if ( 0%{?rhel} && 0%{?rhel} < 6 )
555 Obsoletes: %{name}-geo-replication = %{version}-%{release}
557 %if ( 0%{?rhel} && 0%{?rhel} <= 6 )
558 Requires: python-argparse
563 GlusterFS is a distributed file-system capable of scaling to several
564 petabytes. It aggregates various storage bricks over Infiniband RDMA
565 or TCP/IP interconnect into one large parallel network file
566 system. GlusterFS is one of the most sophisticated file systems in
567 terms of features and extensibility. It borrows a powerful concept
568 called Translators from GNU Hurd kernel. Much of the code in GlusterFS
569 is in user space and easily manageable.
571 This package provides the glusterfs server daemon.
573 %package client-xlators
574 Summary: GlusterFS client-side translators
575 Group: Applications/File
577 %description client-xlators
578 GlusterFS is a distributed file-system capable of scaling to several
579 petabytes. It aggregates various storage bricks over Infiniband RDMA
580 or TCP/IP interconnect into one large parallel network file
581 system. GlusterFS is one of the most sophisticated file systems in
582 terms of features and extensibility. It borrows a powerful concept
583 called Translators from GNU Hurd kernel. Much of the code in GlusterFS
584 is in user space and easily manageable.
586 This package provides the translators needed on any GlusterFS client.
589 %setup -q -n %{name}-%{version}%{?prereltag}
592 %if ( 0%{?rhel} && 0%{?rhel} < 6 )
593 CFLAGS=-DUSE_INSECURE_OPENSSL
597 ./autogen.sh && %configure \
600 %{?_with_tmpfilesdir} \
603 %{?_without_fusermount} \
604 %{?_without_georeplication} \
605 %{?_with_firewalld} \
607 %{?_without_qemu_block} \
609 %{?_without_syslog} \
612 # fix hardening and remove rpath in shlibs
613 %if ( 0%{?fedora} && 0%{?fedora} > 17 ) || ( 0%{?rhel} && 0%{?rhel} > 6 )
614 sed -i 's| \\\$compiler_flags |&\\\$LDFLAGS |' libtool
616 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|' libtool
617 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|' libtool
622 pushd xlators/features/glupy/src
623 FLAGS="$RPM_OPT_FLAGS" python setup.py build
631 make install DESTDIR=%{buildroot}
632 # install the Glupy Python library in /usr/lib/python*/site-packages
633 pushd xlators/features/glupy/src
634 python setup.py install --skip-build --verbose --root %{buildroot}
636 # Install include directory
637 install -p -m 0644 contrib/uuid/*.h \
638 %{buildroot}%{_includedir}/glusterfs/
639 %if ( 0%{_for_fedora_koji_builds} )
640 install -D -p -m 0644 %{SOURCE1} \
641 %{buildroot}%{_sysconfdir}/sysconfig/glusterd
642 install -D -p -m 0644 %{SOURCE2} \
643 %{buildroot}%{_sysconfdir}/sysconfig/glusterfsd
645 install -D -p -m 0644 extras/glusterd-sysconfig \
646 %{buildroot}%{_sysconfdir}/sysconfig/glusterd
649 %if ( 0%{_for_fedora_koji_builds} )
650 %if ( 0%{?rhel} && 0%{?rhel} <= 5 )
651 install -D -p -m 0755 %{SOURCE6} \
652 %{buildroot}%{_sysconfdir}/sysconfig/modules/glusterfs-fuse.modules
656 mkdir -p %{buildroot}%{_localstatedir}/log/glusterd
657 mkdir -p %{buildroot}%{_localstatedir}/log/glusterfs
658 mkdir -p %{buildroot}%{_localstatedir}/log/glusterfsd
659 mkdir -p %{buildroot}%{_localstatedir}/run/gluster
660 touch %{buildroot}%{python_sitelib}/gluster/__init__.py
663 # Remove unwanted files from all the shared libraries
664 find %{buildroot}%{_libdir} -name '*.a' -delete
665 find %{buildroot}%{_libdir} -name '*.la' -delete
667 # Remove installed docs, the ones we want are included by %%doc, in
668 # /usr/share/doc/glusterfs or /usr/share/doc/glusterfs-x.y.z depending
669 # on the distribution
670 %if ( 0%{?fedora} && 0%{?fedora} > 19 ) || ( 0%{?rhel} && 0%{?rhel} > 6 )
671 rm -rf %{buildroot}%{_pkgdocdir}/*
673 rm -rf %{buildroot}%{_defaultdocdir}/%{name}
674 mkdir -p %{buildroot}%{_pkgdocdir}
676 head -50 ChangeLog > ChangeLog.head && mv ChangeLog.head ChangeLog
677 cat << EOM >> ChangeLog
679 More commit messages for this ChangeLog can be found at
680 https://forge.gluster.org/glusterfs-core/glusterfs/commits/v%{version}%{?prereltag}
683 # Remove benchmarking and other unpackaged files
684 %if ( 0%{?rhel} && 0%{?rhel} < 6 )
685 rm -rf %{buildroot}/benchmarking
686 rm -f %{buildroot}/glusterfs-mode.el
687 rm -f %{buildroot}/glusterfs.vim
689 # make install always puts these in %%{_defaultdocdir}/%%{name} so don't
690 # use %%{_pkgdocdir}; that will be wrong on later Fedora distributions
691 rm -rf %{buildroot}%{_defaultdocdir}/%{name}/benchmarking
692 rm -f %{buildroot}%{_defaultdocdir}/%{name}/glusterfs-mode.el
693 rm -f %{buildroot}%{_defaultdocdir}/%{name}/glusterfs.vim
696 # Create working directory
697 mkdir -p %{buildroot}%{_sharedstatedir}/glusterd
699 # Update configuration file to /var/lib working directory
700 sed -i 's|option working-directory /etc/glusterd|option working-directory %{_sharedstatedir}/glusterd|g' \
701 %{buildroot}%{_sysconfdir}/glusterfs/glusterd.vol
703 # Install glusterfsd .service or init.d file
704 %if ( 0%{_for_fedora_koji_builds} )
705 %_init_install %{glusterfsd_service} glusterfsd
708 install -D -p -m 0644 extras/glusterfs-logrotate \
709 %{buildroot}%{_sysconfdir}/logrotate.d/glusterfs
711 %if ( 0%{!?_without_georeplication:1} )
713 mkdir -p %{buildroot}%{_sharedstatedir}/glusterd/geo-replication
714 touch %{buildroot}%{_sharedstatedir}/glusterd/geo-replication/gsyncd_template.conf
715 install -D -p -m 0644 extras/glusterfs-georep-logrotate \
716 %{buildroot}%{_sysconfdir}/logrotate.d/glusterfs-georep
719 %if ( 0%{!?_without_syslog:1} )
720 %if ( 0%{?fedora} ) || ( 0%{?rhel} && 0%{?rhel} > 6 )
721 install -D -p -m 0644 extras/gluster-rsyslog-7.2.conf \
722 %{buildroot}%{_sysconfdir}/rsyslog.d/gluster.conf.example
725 %if ( 0%{?rhel} && 0%{?rhel} == 6 )
726 install -D -p -m 0644 extras/gluster-rsyslog-5.8.conf \
727 %{buildroot}%{_sysconfdir}/rsyslog.d/gluster.conf.example
730 %if ( 0%{?fedora} ) || ( 0%{?rhel} && 0%{?rhel} >= 6 )
731 install -D -p -m 0644 extras/logger.conf.example \
732 %{buildroot}%{_sysconfdir}/glusterfs/logger.conf.example
736 # the rest of the ghosts
737 touch %{buildroot}%{_sharedstatedir}/glusterd/glusterd.info
738 touch %{buildroot}%{_sharedstatedir}/glusterd/options
739 mkdir -p %{buildroot}%{_sharedstatedir}/glusterd/hooks
740 mkdir -p %{buildroot}%{_sharedstatedir}/glusterd/hooks/1
741 mkdir -p %{buildroot}%{_sharedstatedir}/glusterd/hooks/1/stop
742 mkdir -p %{buildroot}%{_sharedstatedir}/glusterd/hooks/1/stop/post
743 mkdir -p %{buildroot}%{_sharedstatedir}/glusterd/hooks/1/stop/pre
744 mkdir -p %{buildroot}%{_sharedstatedir}/glusterd/hooks/1/start
745 mkdir -p %{buildroot}%{_sharedstatedir}/glusterd/hooks/1/start/post
746 mkdir -p %{buildroot}%{_sharedstatedir}/glusterd/hooks/1/start/pre
747 mkdir -p %{buildroot}%{_sharedstatedir}/glusterd/hooks/1/reset
748 mkdir -p %{buildroot}%{_sharedstatedir}/glusterd/hooks/1/reset/post
749 mkdir -p %{buildroot}%{_sharedstatedir}/glusterd/hooks/1/reset/pre
750 mkdir -p %{buildroot}%{_sharedstatedir}/glusterd/hooks/1/remove-brick
751 mkdir -p %{buildroot}%{_sharedstatedir}/glusterd/hooks/1/remove-brick/post
752 mkdir -p %{buildroot}%{_sharedstatedir}/glusterd/hooks/1/remove-brick/pre
753 mkdir -p %{buildroot}%{_sharedstatedir}/glusterd/hooks/1/add-brick
754 mkdir -p %{buildroot}%{_sharedstatedir}/glusterd/hooks/1/add-brick/post
755 mkdir -p %{buildroot}%{_sharedstatedir}/glusterd/hooks/1/add-brick/pre
756 mkdir -p %{buildroot}%{_sharedstatedir}/glusterd/hooks/1/set
757 mkdir -p %{buildroot}%{_sharedstatedir}/glusterd/hooks/1/set/post
758 mkdir -p %{buildroot}%{_sharedstatedir}/glusterd/hooks/1/set/pre
759 mkdir -p %{buildroot}%{_sharedstatedir}/glusterd/hooks/1/create
760 mkdir -p %{buildroot}%{_sharedstatedir}/glusterd/hooks/1/create/post
761 mkdir -p %{buildroot}%{_sharedstatedir}/glusterd/hooks/1/create/pre
762 mkdir -p %{buildroot}%{_sharedstatedir}/glusterd/hooks/1/delete
763 mkdir -p %{buildroot}%{_sharedstatedir}/glusterd/hooks/1/delete/post
764 mkdir -p %{buildroot}%{_sharedstatedir}/glusterd/hooks/1/delete/pre
765 mkdir -p %{buildroot}%{_sharedstatedir}/glusterd/hooks/1/copy-file
766 mkdir -p %{buildroot}%{_sharedstatedir}/glusterd/hooks/1/copy-file/post
767 mkdir -p %{buildroot}%{_sharedstatedir}/glusterd/hooks/1/copy-file/pre
768 mkdir -p %{buildroot}%{_sharedstatedir}/glusterd/hooks/1/gsync-create
769 mkdir -p %{buildroot}%{_sharedstatedir}/glusterd/hooks/1/gsync-create/post
770 mkdir -p %{buildroot}%{_sharedstatedir}/glusterd/hooks/1/gsync-create/pre
771 mkdir -p %{buildroot}%{_sharedstatedir}/glusterd/glustershd
772 mkdir -p %{buildroot}%{_sharedstatedir}/glusterd/peers
773 mkdir -p %{buildroot}%{_sharedstatedir}/glusterd/vols
774 mkdir -p %{buildroot}%{_sharedstatedir}/glusterd/nfs/run
775 touch %{buildroot}%{_sharedstatedir}/glusterd/nfs/nfs-server.vol
776 touch %{buildroot}%{_sharedstatedir}/glusterd/nfs/run/nfs.pid
778 %{__install} -p -m 0744 extras/hook-scripts/start/post/*.sh \
779 %{buildroot}%{_sharedstatedir}/glusterd/hooks/1/start/post
780 %{__install} -p -m 0744 extras/hook-scripts/stop/pre/*.sh \
781 %{buildroot}%{_sharedstatedir}/glusterd/hooks/1/stop/pre
782 %{__install} -p -m 0744 extras/hook-scripts/set/post/*.sh \
783 %{buildroot}%{_sharedstatedir}/glusterd/hooks/1/set/post
784 %{__install} -p -m 0744 extras/hook-scripts/add-brick/post/*.sh \
785 %{buildroot}%{_sharedstatedir}/glusterd/hooks/1/add-brick/post
786 %{__install} -p -m 0744 extras/hook-scripts/add-brick/pre/*.sh \
787 %{buildroot}%{_sharedstatedir}/glusterd/hooks/1/add-brick/pre
788 %{__install} -p -m 0744 extras/hook-scripts/reset/post/*.sh \
789 %{buildroot}%{_sharedstatedir}/glusterd/hooks/1/reset/post
792 find ./tests ./run-tests.sh -type f | cpio -pd %{buildroot}%{_prefix}/share/glusterfs
794 ## Install bash completion for cli
795 install -p -m 0744 -D extras/command-completion/gluster.bash \
796 %{buildroot}%{_sysconfdir}/bash_completion.d/gluster
802 ##-----------------------------------------------------------------------------
803 ## All %post should be placed here and keep them sorted
806 %if ( 0%{!?_without_syslog:1} )
807 %if ( 0%{?fedora} ) || ( 0%{?rhel} && 0%{?rhel} >= 6 )
808 %_init_restart rsyslog
816 %if ( 0%{?rhel} == 5 )
820 %if ( 0%{!?_without_georeplication:1} )
821 %post geo-replication
823 if [ $1 -ge 1 ]; then
824 %_init_restart glusterd
833 %_init_enable glusterd
834 %_init_enable glusterfsd
835 # ".cmd_log_history" is renamed to "cmd_history.log" in GlusterFS-3.7 .
836 # While upgrading glusterfs-server package form GlusterFS version <= 3.6 to
837 # GlusterFS version 3.7, ".cmd_log_history" should be renamed to
838 # "cmd_history.log" to retain cli command history contents.
839 if [ -f %{_localstatedir}/log/glusterfs/.cmd_log_history ]; then
840 mv %{_localstatedir}/log/glusterfs/.cmd_log_history \
841 %{_localstatedir}/log/glusterfs/cmd_history.log
844 # Genuine Fedora (and EPEL) builds never put gluster files in /etc; if
845 # there are any files in /etc from a prior gluster.org install, move them
846 # to /var/lib. (N.B. Starting with 3.3.0 all gluster files are in /var/lib
847 # in gluster.org RPMs.) Be careful to copy them on the off chance that
848 # /etc and /var/lib are on separate file systems
849 if [ -d /etc/glusterd -a ! -h %{_sharedstatedir}/glusterd ]; then
850 mkdir -p %{_sharedstatedir}/glusterd
851 cp -a /etc/glusterd %{_sharedstatedir}/glusterd
853 ln -sf %{_sharedstatedir}/glusterd /etc/glusterd
856 # Rename old volfiles in an RPM-standard way. These aren't actually
857 # considered package config files, so %%config doesn't work for them.
858 if [ -d %{_sharedstatedir}/glusterd/vols ]; then
859 for file in $(find %{_sharedstatedir}/glusterd/vols -name '*.vol'); do
860 newfile=${file}.rpmsave
861 echo "warning: ${file} saved as ${newfile}"
862 cp ${file} ${newfile}
866 # add marker translator
867 # but first make certain that there are no old libs around to bite us
869 if [ -e /etc/ld.so.conf.d/glusterfs.conf ]; then
870 rm -f /etc/ld.so.conf.d/glusterfs.conf
874 %if (0%{?_with_firewalld:1})
875 #reload service files if firewalld running
876 if $(systemctl is-active firewalld 1>/dev/null 2>&1); then
877 #firewalld-filesystem is not available for rhel7, so command used for reload.
878 firewall-cmd --reload
882 pidof -c -o %PPID -x glusterd &> /dev/null
883 if [ $? -eq 0 ]; then
884 kill -9 `pgrep -f gsyncd.py` &> /dev/null
886 killall --wait glusterd &> /dev/null
887 glusterd --xlator-option *.upgrade=on -N
889 #Cleaning leftover glusterd socket file which is created by glusterd in
890 #rpm_script_t context.
891 rm -rf /var/run/glusterd.socket
893 # glusterd _was_ running, we killed it, it exited after *.upgrade=on,
895 %_init_start glusterd
897 glusterd --xlator-option *.upgrade=on -N
899 #Cleaning leftover glusterd socket file which is created by glusterd in
900 #rpm_script_t context.
901 rm -rf /var/run/glusterd.socket
904 ##-----------------------------------------------------------------------------
905 ## All %preun should be placed here and keep them sorted
908 if [ $1 -eq 0 ]; then
909 if [ -f %_init_glusterfsd ]; then
910 %_init_stop glusterfsd
913 if [ -f %_init_glusterfsd ]; then
914 %_init_disable glusterfsd
916 %_init_disable glusterd
918 if [ $1 -ge 1 ]; then
919 if [ -f %_init_glusterfsd ]; then
920 %_init_restart glusterfsd
922 %_init_restart glusterd
925 ##-----------------------------------------------------------------------------
926 ## All %postun should be placed here and keep them sorted
930 %if ( 0%{!?_without_syslog:1} )
931 %if ( 0%{?fedora} ) || ( 0%{?rhel} && 0%{?rhel} >= 6 )
932 %_init_restart rsyslog
940 %if (0%{?_with_firewalld:1})
941 #reload service files if firewalld running
942 if $(systemctl is-active firewalld 1>/dev/null 2>&1); then
943 firewall-cmd --reload
951 ##-----------------------------------------------------------------------------
952 ## All files should be placed here and keep them grouped
955 %doc ChangeLog COPYING-GPLV2 COPYING-LGPLV3 INSTALL README.md THANKS
956 %if ( 0%{!?_without_syslog:1} )
957 %if ( 0%{?fedora} ) || ( 0%{?rhel} && 0%{?rhel} >= 6 )
958 %{_sysconfdir}/rsyslog.d/gluster.conf.example
961 %{_mandir}/man8/*gluster*.8*
962 %exclude %{_mandir}/man8/gluster.8*
963 %dir %{_localstatedir}/log/glusterfs
964 %if ( 0%{!?_without_rdma:1} )
965 %exclude %{_libdir}/glusterfs/%{version}%{?prereltag}/rpc-transport/rdma*
967 %dir %{_datadir}/glusterfs/scripts
968 %{_datadir}/glusterfs/scripts/post-upgrade-script-for-quota.sh
969 %{_datadir}/glusterfs/scripts/pre-upgrade-script-for-quota.sh
970 # xlators that are needed on the client- and on the server-side
971 %dir %{_libdir}/glusterfs/%{version}%{?prereltag}/auth
972 %{_libdir}/glusterfs/%{version}%{?prereltag}/auth/addr.so
973 %{_libdir}/glusterfs/%{version}%{?prereltag}/auth/login.so
974 %dir %{_libdir}/glusterfs/%{version}%{?prereltag}/rpc-transport
975 %{_libdir}/glusterfs/%{version}%{?prereltag}/rpc-transport/socket.so
976 %dir %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/debug
977 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/debug/error-gen.so
978 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/debug/io-stats.so
979 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/debug/trace.so
980 %if ( ! ( 0%{?rhel} && 0%{?rhel} < 6 ) )
981 # RHEL-5 based distributions have a too old openssl
982 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/encryption/crypt.so
984 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/access-control.so
985 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/barrier.so
986 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/cdc.so
987 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/changelog.so
988 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/gfid-access.so
989 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/read-only.so
990 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/shard.so
991 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/snapview-client.so
992 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/worm.so
993 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/meta.so
994 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/performance/io-cache.so
995 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/performance/io-threads.so
996 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/performance/md-cache.so
997 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/performance/open-behind.so
998 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/performance/quick-read.so
999 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/performance/read-ahead.so
1000 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/performance/readdir-ahead.so
1001 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/performance/stat-prefetch.so
1002 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/performance/write-behind.so
1003 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/system/posix-acl.so
1007 %exclude %{_libdir}/*.so
1009 %{_libdir}/libgfapi.*
1010 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/mount/api.so
1013 %{_libdir}/pkgconfig/glusterfs-api.pc
1014 %{_libdir}/libgfapi.so
1015 %{_includedir}/glusterfs/api/*
1019 %{_mandir}/man8/gluster.8*
1020 %{_sysconfdir}/bash_completion.d/gluster
1023 %dir %{_includedir}/glusterfs
1024 %{_includedir}/glusterfs/*
1025 %exclude %{_includedir}/glusterfs/api
1026 %exclude %{_libdir}/libgfapi.so
1028 # Glupy Translator examples
1029 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/glupy/debug-trace.*
1030 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/glupy/helloworld.*
1031 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/glupy/negative.*
1032 %{_libdir}/pkgconfig/libgfchangelog.pc
1033 %if ( 0%{!?_without_tiering:1} )
1034 %{_libdir}/pkgconfig/libgfdb.pc
1037 %files client-xlators
1038 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/cluster/*.so
1039 %exclude %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/cluster/pump.so
1040 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/ganesha.so
1041 %if ( 0%{!?_without_qemu_block:1} )
1042 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/qemu-block.so
1044 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/protocol/client.so
1046 %files extra-xlators
1047 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/encryption/rot-13.so
1048 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/glupy.so
1049 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/mac-compat.so
1050 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/prot_client.so
1051 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/prot_dht.so
1052 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/prot_server.so
1053 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/quiesce.so
1054 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/testing/features/template.so
1055 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/testing/performance/symlink-cache.so
1056 # Glupy Python files
1057 %{python_sitelib}/gluster/glupy/*
1058 # Don't expect a .egg-info file on EL5
1059 %if ( ! ( 0%{?rhel} && 0%{?rhel} < 6 ) )
1060 %{python_sitelib}/glusterfs_glupy*.egg-info
1064 # glusterfs is a symlink to glusterfsd, -server depends on -fuse.
1065 %{_sbindir}/glusterfs
1066 %{_sbindir}/glusterfsd
1067 %config(noreplace) %{_sysconfdir}/logrotate.d/glusterfs
1068 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/mount/fuse.so
1069 /sbin/mount.glusterfs
1070 %if ( 0%{!?_without_fusermount:1} )
1071 %{_bindir}/fusermount-glusterfs
1073 %if ( 0%{_for_fedora_koji_builds} )
1074 %if ( 0%{?rhel} && 0%{?rhel} <= 5 )
1075 %{_sysconfdir}/sysconfig/modules/glusterfs-fuse.modules
1080 %{_sysconfdir}/ganesha/*
1081 %attr(0755,-,-) %{_libexecdir}/ganesha/*
1082 %attr(0755,-,-) %{_prefix}/lib/ocf/resource.d/heartbeat/*
1084 %if ( 0%{!?_without_georeplication:1} )
1085 %files geo-replication
1086 %config(noreplace) %{_sysconfdir}/logrotate.d/glusterfs-georep
1087 %{_libexecdir}/glusterfs/gsyncd
1088 %{_libexecdir}/glusterfs/python/syncdaemon/*
1089 %{_libexecdir}/glusterfs/gverify.sh
1090 %{_libexecdir}/glusterfs/set_geo_rep_pem_keys.sh
1091 %{_libexecdir}/glusterfs/peer_gsec_create
1092 %{_libexecdir}/glusterfs/peer_mountbroker
1093 %ghost %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/geo-replication
1094 %dir %{_sharedstatedir}/glusterd/hooks
1095 %dir %{_sharedstatedir}/glusterd/hooks/1
1096 %dir %{_sharedstatedir}/glusterd/hooks/1/gsync-create
1097 %dir %{_sharedstatedir}/glusterd/hooks/1/gsync-create/post
1098 %{_sharedstatedir}/glusterd/hooks/1/gsync-create/post/S56glusterd-geo-rep-create-post.sh
1099 %{_datadir}/glusterfs/scripts/get-gfid.sh
1100 %{_datadir}/glusterfs/scripts/slave-upgrade.sh
1101 %{_datadir}/glusterfs/scripts/gsync-upgrade.sh
1102 %{_datadir}/glusterfs/scripts/generate-gfid-file.sh
1103 %{_datadir}/glusterfs/scripts/gsync-sync-gfid
1104 %ghost %attr(0644,-,-) %{_sharedstatedir}/glusterd/geo-replication/gsyncd_template.conf
1105 %{_libexecdir}/glusterfs/gfind_missing_files
1106 %{_sbindir}/gfind_missing_files
1111 %exclude %{_libdir}/libgfapi.*
1112 %if ( 0%{!?_without_tiering:1} )
1113 # libgfdb is only needed server-side
1114 %exclude %{_libdir}/libgfdb.*
1117 %files -n python-gluster
1118 # introducing glusterfs module in site packages.
1119 # so that all other gluster submodules can reside in the same namespace.
1120 %{python_sitelib}/gluster/__init__.*
1122 %if ( 0%{!?_without_rdma:1} )
1124 %{_libdir}/glusterfs/%{version}%{?prereltag}/rpc-transport/rdma*
1127 %files regression-tests
1128 %{_prefix}/share/glusterfs/run-tests.sh
1129 %{_prefix}/share/glusterfs/tests
1130 %exclude %{_prefix}/share/glusterfs/tests/basic/rpm.t
1132 %if ( 0%{!?_without_ocf:1} )
1133 %files resource-agents
1134 # /usr/lib is the standard for OCF, also on x86_64
1135 %{_prefix}/lib/ocf/resource.d/glusterfs
1139 %doc extras/clear_xattrs.sh
1140 %config(noreplace) %{_sysconfdir}/sysconfig/glusterd
1141 %config(noreplace) %{_sysconfdir}/glusterfs
1142 %dir %{_localstatedir}/run/gluster
1143 %if 0%{?_tmpfilesdir:1}
1144 %{_tmpfilesdir}/gluster.conf
1146 %dir %{_sharedstatedir}/glusterd
1147 %dir %{_sharedstatedir}/glusterd/groups
1148 %config(noreplace) %{_sharedstatedir}/glusterd/groups/virt
1150 %if ( 0%{_for_fedora_koji_builds} )
1151 %config(noreplace) %{_sysconfdir}/sysconfig/glusterfsd
1153 %config %{_sharedstatedir}/glusterd/hooks/1/add-brick/post/disabled-quota-root-xattr-heal.sh
1154 %config %{_sharedstatedir}/glusterd/hooks/1/add-brick/pre/S28Quota-enable-root-xattr-heal.sh
1155 %config %{_sharedstatedir}/glusterd/hooks/1/set/post/S30samba-set.sh
1156 %config %{_sharedstatedir}/glusterd/hooks/1/set/post/S32gluster_enable_shared_storage.sh
1157 %config %{_sharedstatedir}/glusterd/hooks/1/start/post/S29CTDBsetup.sh
1158 %config %{_sharedstatedir}/glusterd/hooks/1/start/post/S30samba-start.sh
1159 %config %{_sharedstatedir}/glusterd/hooks/1/start/post/S31ganesha-start.sh
1160 %config %{_sharedstatedir}/glusterd/hooks/1/stop/pre/S30samba-stop.sh
1161 %config %{_sharedstatedir}/glusterd/hooks/1/stop/pre/S29CTDB-teardown.sh
1162 %config %{_sharedstatedir}/glusterd/hooks/1/reset/post/S31ganesha-reset.sh
1165 %if ( 0%{_for_fedora_koji_builds} )
1169 %{_sbindir}/glusterd
1170 %{_sbindir}/glfsheal
1171 # {_sbindir}/glusterfsd is the actual binary, but glusterfs (client) is a
1172 # symlink. The binary itself (and symlink) are part of the glusterfs-fuse
1173 # package, because glusterfs-server depends on that anyway.
1174 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/cluster/pump.so
1175 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/arbiter.so
1176 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/bit-rot.so
1177 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/bitrot-stub.so
1178 %if ( 0%{!?_without_tiering:1} )
1179 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/changetimerecorder.so
1181 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/index.so
1182 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/locks.so
1183 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/posix*
1184 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/snapview-server.so
1185 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/marker.so
1186 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/quota*
1187 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/trash.so
1188 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/upcall.so
1189 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/mgmt*
1190 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/nfs*
1191 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/protocol/server*
1192 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/storage*
1193 %if ( 0%{!?_without_tiering:1} )
1194 %{_libdir}/libgfdb.so.*
1198 %{_sbindir}/snap_scheduler.py
1199 %{_sbindir}/gcron.py
1202 %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks
1203 %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1
1204 %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/add-brick
1205 %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/add-brick/post
1206 %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/add-brick/pre
1207 %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/set
1208 %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/set/post
1209 %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/start
1210 %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/start/post
1211 %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/stop
1212 %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/stop/pre
1213 %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/delete
1214 %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/delete/post
1216 %ghost %attr(0644,-,-) %config(noreplace) %{_sharedstatedir}/glusterd/glusterd.info
1217 %ghost %attr(0600,-,-) %{_sharedstatedir}/glusterd/options
1218 # This is really ugly, but I have no idea how to mark these directories in
1219 # any other way. They should belong to the glusterfs-server package, but
1220 # don't exist after installation. They are generated on the first start...
1221 %ghost %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/stop/post
1222 %ghost %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/start/pre
1223 %ghost %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/remove-brick
1224 %ghost %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/remove-brick/post
1225 %ghost %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/remove-brick/pre
1226 %ghost %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/set/pre
1227 %ghost %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/create
1228 %ghost %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/create/post
1229 %ghost %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/create/pre
1230 %ghost %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/delete/pre
1231 %ghost %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/glustershd
1232 %ghost %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/vols
1233 %ghost %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/peers
1234 %ghost %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/nfs
1235 %ghost %attr(0600,-,-) %{_sharedstatedir}/glusterd/nfs/nfs-server.vol
1236 %ghost %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/nfs/run
1237 %ghost %attr(0600,-,-) %{_sharedstatedir}/glusterd/nfs/run/nfs.pid
1239 # Extra utility script
1240 %{_datadir}/glusterfs/scripts/stop-all-gluster-processes.sh
1243 %{_libexecdir}/glusterfs/glusterfind
1244 %{_bindir}/glusterfind
1245 %{_libexecdir}/glusterfs/peer_add_secret_pub
1246 %{_sharedstatedir}/glusterd/hooks/1/delete/post/S57glusterfind-delete-post.py
1248 %if ( 0%{?_with_firewalld:1} )
1249 /usr/lib/firewalld/services/glusterfs.xml
1254 * Tue Sep 1 2015 Kaleb S. KEITHLEY <kkeithle@redhat.com>
1255 - erroneous ghost of ../hooks/1/delete causes install failure (#1258975)
1257 * Tue Aug 25 2015 Anand Nekkunti <anekkunt@redhat.com>
1258 - adding glusterfs-firewalld service (#1253967)
1260 * Tue Aug 18 2015 Niels de Vos <ndevos@redhat.com>
1261 - Include missing directories for glusterfind hooks scripts (#1225465)
1263 * Mon Jun 15 2015 Niels de Vos <ndevos@redhat.com>
1264 - Replace hook script S31ganesha-set.sh by S31ganesha-start.sh (#1231738)
1266 * Fri Jun 12 2015 Aravinda VK <avishwan@redhat.com>
1267 - Added rsync as dependency to georeplication rpm (#1231205)
1269 * Tue Jun 02 2015 Aravinda VK <avishwan@redhat.com>
1270 - Added post hook for volume delete as part of glusterfind (#1225465)
1272 * Wed May 27 2015 Aravinda VK <avishwan@redhat.com>
1273 - Added stop-all-gluster-processes.sh in glusterfs-server section (#1204641)
1275 * Wed May 20 2015 Kaleb S. KEITHLEY <kkeithle@redhat.com>
1276 - python-gluster should be 'noarch' (#1219954)
1278 * Wed May 20 2015 Kaleb S. KEITHLEY <kkeithle@redhat.com>
1279 - move libgf{db,changelog}.pc from -api-devel to -devel (#1223385)
1281 * Wed May 20 2015 Anand Nekkunti <anekkunt@redhat.com>
1282 - glusterd.socket file cleanup during post run upgrade (#1210404)
1284 * Tue May 19 2015 Avra Sengupta <asengupt@redhat.com>
1285 - Added S32gluster_enable_shared_storage.sh as volume set hook script (#1222013)
1287 * Mon May 18 2015 Milind Changire <mchangir@redhat.com>
1288 - Move file peer_add_secret_pub to the server RPM to support glusterfind (#1221544)
1290 * Sun May 17 2015 Niels de Vos <ndevos@redhat.com>
1291 - Fix building on RHEL-5 based distributions (#1222317)
1293 * Tue May 05 2015 Niels de Vos <ndevos@redhat.com>
1294 - Introduce glusterfs-client-xlators to reduce dependencies (#1195947)
1296 * Wed Apr 15 2015 Humble Chirammal <hchiramm@redhat.com>
1297 - Introducing python-gluster package to own gluster namespace in sitelib (#1211848)
1299 * Sat Mar 28 2015 Mohammed Rafi KC <rkavunga@redhat.com>
1300 - Add dependency for librdmacm version >= 1.0.15 (#1206744)
1302 * Thu Mar 26 2015 Kaleb S. KEITHLEY <kkeithle@redhat.com>
1303 - attr dependency (#1174627)
1305 * Tue Mar 24 2015 Niels de Vos <ndevos@redhat.com>
1306 - move libgfdb (with sqlite dependency) to -server subpackage (#1194753)
1308 * Tue Mar 17 2015 Kaleb S. KEITHLEY <kkeithle@redhat.com>
1309 - glusterfs-ganesha sub-package
1311 * Thu Mar 12 2015 Kotresh H R <khiremat@redhat.com>
1312 - gfind_missing_files tool is included (#1187140)
1314 * Tue Mar 03 2015 Aravinda VK <avishwan@redhat.com>
1315 - Included glusterfind files as part of server package.
1317 * Sun Mar 1 2015 Avra Sengupta <asengupt@redhat.com>
1318 - Added installation of snap-scheduler
1320 * Thu Feb 26 2015 Kaleb S. KEITHLEY <kkeithle@redhat.com>
1321 - enable cmocka unittest support only when asked for (#1067059)
1323 * Tue Feb 24 2015 Niels de Vos <ndevos@redhat.com>
1324 - POSIX ACL conversion needs BuildRequires libacl-devel (#1185654)
1326 * Wed Feb 18 2015 Andreas Schneider <asn@redhat.com>
1327 - Change cmockery2 to cmocka.
1329 * Wed Feb 18 2015 Kaushal M <kaushal@redhat.com>
1330 - add userspace-rcu as a requirement
1332 * Fri Feb 13 2015 Gaurav Kumar Garg <ggarg@redhat.com>
1333 - .cmd_log_history file should be renamed to cmd_history.log post
1336 * Fri Jan 30 2015 Nandaja Varma <nvarma@redhat.com>
1337 - remove checks for rpmbuild/mock from run-tests.sh (#178008)
1339 * Fri Jan 16 2015 Niels de Vos <ndevos@redhat.com>
1340 - add support for /run/gluster through a tmpfiles.d config file (#1182934)
1342 * Tue Jan 6 2015 Aravinda VK<avishwan@redhat.com>
1343 - Added new libexec script for mountbroker user management (peer_mountbroker)
1345 * Fri Dec 12 2014 Niels de Vos <ndevos@redhat.com>
1346 - do not package all /usr/share/glusterfs/* files in regression-tests (#1169005)
1348 * Fri Sep 26 2014 Kaleb S. KEITHLEY <kkeithle@redhat.com>
1349 - smarter logic in %%post server (#1146426)
1351 * Wed Sep 24 2014 Balamurugan Arumugam <barumuga@redhat.com>
1352 - remove /sbin/ldconfig as interpreter (#1145989)
1354 * Fri Sep 5 2014 Lalatendu Mohanty <lmohanty@redhat.com>
1355 - Changed the description as "GlusterFS a distributed filesystem"
1357 * Tue Aug 5 2014 Kaleb S. KEITHLEY <kkeithle@redhat.com>
1358 - logrotate files (#1126832)
1360 * Wed Jul 16 2014 Luis Pabon <lpabon@redhat.com>
1361 - Added cmockery2 dependency
1363 * Fri Jun 27 2014 Kaleb S. KEITHLEY <kkeithle@redhat.com>
1364 - killall --wait in %%post server, (#1113543)
1366 * Thu Jun 19 2014 Humble Chirammal <hchiramm@redhat.com>
1367 - Added dynamic loading of fuse module with glusterfs-fuse package installation in el5.
1369 * Thu Jun 12 2014 Varun Shastry <vshastry@redhat.com>
1370 - Add bash completion config to the cli package
1372 * Tue Jun 03 2014 Vikhyat Umrao <vumrao@redhat.com>
1373 - add nfs-utils package dependency for server package (#1065654)
1375 * Thu May 22 2014 Poornima G <pgurusid@redhat.com>
1376 - Rename old hookscripts in an RPM-standard way.
1378 * Tue May 20 2014 Niels de Vos <ndevos@redhat.com>
1379 - Almost drop calling ./autogen.sh
1381 * Fri Apr 25 2014 Kaleb S. KEITHLEY <kkeithle@redhat.com>
1382 - Sync with Fedora spec (#1091408, #1091392)
1384 * Fri Apr 25 2014 Arumugam Balamurugan <barumuga@redhat.com>
1385 - fix RHEL 7 build failure "Installed (but unpackaged) file(s) found" (#1058188)
1387 * Wed Apr 02 2014 Arumugam Balamurugan <barumuga@redhat.com>
1388 - cleanup to rearrange spec file elements
1390 * Wed Apr 02 2014 Arumugam Balamurugan <barumuga@redhat.com>
1391 - add version/release dynamically (#1074919)
1393 * Wed Mar 26 2014 Poornima G <pgurusid@redhat.com>
1394 - Include the hook scripts of add-brick, volume start, stop and set
1396 * Wed Feb 26 2014 Niels de Vos <ndevos@redhat.com>
1397 - Drop glusterfs-devel dependency from glusterfs-api (#1065750)
1399 * Wed Feb 19 2014 Justin Clift <justin@gluster.org>
1400 - Rename gluster.py to glupy.py to avoid namespace conflict (#1018619)
1401 - Move the main Glupy files into glusterfs-extra-xlators rpm
1402 - Move the Glupy Translator examples into glusterfs-devel rpm
1404 * Thu Feb 06 2014 Aravinda VK <avishwan@redhat.com>
1405 - Include geo-replication upgrade scripts and hook scripts.
1407 * Wed Jan 15 2014 Niels de Vos <ndevos@redhat.com>
1408 - Install /var/lib/glusterd/groups/virt by default
1410 * Sat Jan 4 2014 Niels de Vos <ndevos@redhat.com>
1411 - The main glusterfs package should not provide glusterfs-libs (#1048489)
1413 * Tue Dec 10 2013 Kaleb S. KEITHLEY <kkeithle@redhat.com>
1414 - Sync with Fedora glusterfs.spec 3.5.0-0.1.qa3
1416 * Fri Oct 11 2013 Harshavardhana <fharshav@redhat.com>
1417 - Add '_sharedstatedir' macro to `/var/lib` on <= RHEL5 (#1003184)
1419 * Wed Oct 9 2013 Kaleb S. KEITHLEY <kkeithle@redhat.com>
1420 - Sync with Fedora glusterfs.spec 3.4.1-2+
1422 * Wed Oct 9 2013 Niels de Vos <ndevos@redhat.com>
1423 - glusterfs-api-devel requires glusterfs-devel (#1016938, #1017094)
1425 * Mon Sep 30 2013 Niels de Vos <ndevos@redhat.com>
1426 - Package gfapi.py into the Python site-packages path (#1005146)
1428 * Tue Sep 17 2013 Harshavardhana <fharshav@redhat.com>
1429 - Provide a new package called "glusterfs-regression-tests" for standalone
1432 * Thu Aug 22 2013 Niels de Vos <ndevos@redhat.com>
1433 - Correct the day/date for some entries in this changelog (#1000019)
1435 * Wed Aug 7 2013 Kaleb S. KEITHLEY <kkeithle@redhat.com>
1436 - Sync with Fedora glusterfs.spec
1438 - add -cli subpackage,
1439 - fix other minor differences with Fedora glusterfs.spec
1441 * Tue Jul 30 2013 Kaleb S. KEITHLEY <kkeithle@redhat.com>
1442 - Sync with Fedora glusterfs.spec, add glusterfs-libs RPM for oVirt/qemu-kvm
1444 * Thu Jul 25 2013 Csaba Henk <csaba@redhat.com>
1445 - Added peer_add_secret_pub and peer_gsec_create to %%{_libexecdir}/glusterfs
1447 * Thu Jul 25 2013 Aravinda VK <avishwan@redhat.com>
1448 - Added gverify.sh to %%{_libexecdir}/glusterfs directory.
1450 * Thu Jul 25 2013 Harshavardhana <fharshav@redhat.com>
1451 - Allow to build with '--without bd' to disable 'bd' xlator
1453 * Thu Jun 27 2013 Kaleb S. KEITHLEY <kkeithle@redhat.com>
1454 - fix the hardening fix for shlibs, use %%sed macro, shorter ChangeLog
1456 * Wed Jun 26 2013 Niels de Vos <ndevos@redhat.com>
1457 - move the mount/api xlator to glusterfs-api
1459 * Fri Jun 7 2013 Kaleb S. KEITHLEY <kkeithle@redhat.com>
1460 - Sync with Fedora glusterfs.spec, remove G4S/UFO and Swift
1462 * Mon Mar 4 2013 Niels de Vos <ndevos@redhat.com>
1463 - Package /var/run/gluster so that statedumps can be created
1465 * Wed Feb 6 2013 Kaleb S. KEITHLEY <kkeithle@redhat.com>
1466 - Sync with Fedora glusterfs.spec
1468 * Tue Dec 11 2012 Filip Pytloun <filip.pytloun@gooddata.com>
1469 - add sysconfig file
1471 * Thu Oct 25 2012 Niels de Vos <ndevos@redhat.com>
1472 - Add a sub-package for the OCF resource agents
1474 * Wed Sep 05 2012 Niels de Vos <ndevos@redhat.com>
1475 - Don't use python-ctypes on SLES (from Jörg Petersen)
1477 * Tue Jul 10 2012 Niels de Vos <ndevos@redhat.com>
1478 - Include extras/clear_xattrs.sh in the glusterfs-server sub-package
1480 * Thu Jun 07 2012 Niels de Vos <ndevos@redhat.com>
1481 - Mark /var/lib/glusterd as owned by glusterfs, subdirs belong to -server
1483 * Wed May 9 2012 Kaleb S. KEITHLEY <kkeithle[at]redhat.com>
1484 - Add BuildRequires: libxml2-devel so that configure will DTRT on for
1485 - Fedora's Koji build system
1487 * Wed Nov 9 2011 Joe Julian <me@joejulian.name> - git master
1488 - Merge fedora specfile into gluster's spec.in.
1489 - Add conditionals to allow the same spec file to be used for both 3.1 and 3.2
1490 - http://bugs.gluster.com/show_bug.cgi?id=2970
1492 * Wed Oct 5 2011 Joe Julian <me@joejulian.name> - 3.2.4-1
1494 - Removed the $local_fs requirement from the init scripts as in RHEL/CentOS that's provided
1495 - by netfs, which needs to be started after glusterd.
1497 * Sun Sep 25 2011 Joe Julian <me@joejulian.name> - 3.2.3-2
1498 - Merged in upstream changes
1499 - Fixed version reporting 3.2git
1500 - Added nfs init script (disabled by default)
1502 * Thu Sep 1 2011 Joe Julian <me@joejulian.name> - 3.2.3-1
1505 * Tue Jul 19 2011 Joe Julian <me@joejulian.name> - 3.2.2-3
1506 - Add readline and libtermcap dependencies
1508 * Tue Jul 19 2011 Joe Julian <me@joejulian.name> - 3.2.2-2
1509 - Critical patch to prevent glusterd from walking outside of its own volume during rebalance
1511 * Thu Jul 14 2011 Joe Julian <me@joejulian.name> - 3.2.2-1
1514 * Wed Jul 13 2011 Joe Julian <me@joejulian.name> - 3.2.1-2
1515 - fix hardcoded path to gsyncd in source to match the actual file location
1517 * Tue Jun 21 2011 Joe Julian <me@joejulian.name> - 3.2.1
1520 * Mon Jun 20 2011 Joe Julian <me@joejulian.name> - 3.1.5
1523 * Tue May 31 2011 Joe Julian <me@joejulian.name> - 3.1.5-qa1.4
1526 * Sun May 29 2011 Joe Julian <me@joejulian.name> - 3.1.5-qa1.2
1527 - set _sharedstatedir to /var/lib for FHS compliance in RHEL5/CentOS5
1528 - mv /etc/glusterd, if it exists, to the new state dir for upgrading from gluster packaging
1530 * Sat May 28 2011 Joe Julian <me@joejulian.name> - 3.1.5-qa1.1
1531 - Update to 3.1.5-qa1
1532 - Add patch to remove optimization disabling
1533 - Add patch to remove forced 64 bit compile
1534 - Obsolete glusterfs-core to allow for upgrading from gluster packaging
1536 * Sat Mar 19 2011 Jonathan Steffan <jsteffan@fedoraproject.org> - 3.1.3-1
1538 - Merge in more upstream SPEC changes
1539 - Remove patches from GlusterFS bugzilla #2309 and #2311
1540 - Remove inode-gen.patch
1542 * Sun Feb 06 2011 Jonathan Steffan <jsteffan@fedoraproject.org> - 3.1.2-3
1543 - Add back in legacy SPEC elements to support older branches
1545 * Thu Feb 03 2011 Jonathan Steffan <jsteffan@fedoraproject.org> - 3.1.2-2
1546 - Add patches from CloudFS project
1548 * Tue Jan 25 2011 Jonathan Steffan <jsteffan@fedoraproject.org> - 3.1.2-1
1551 * Wed Jan 5 2011 Dan Horák <dan[at]danny.cz> - 3.1.1-3
1552 - no InfiniBand on s390(x)
1554 * Sat Jan 1 2011 Jonathan Steffan <jsteffan@fedoraproject.org> - 3.1.1-2
1555 - Update to support readline
1556 - Update to not parallel build
1558 * Mon Dec 27 2010 Silas Sewell <silas@sewell.ch> - 3.1.1-1
1560 - Change package names to mirror upstream
1562 * Mon Dec 20 2010 Jonathan Steffan <jsteffan@fedoraproject.org> - 3.0.7-1
1565 * Wed Jul 28 2010 Jonathan Steffan <jsteffan@fedoraproject.org> - 3.0.5-1
1568 * Sat Apr 10 2010 Jonathan Steffan <jsteffan@fedoraproject.org> - 2.0.9-2
1569 - Move python version requires into a proper BuildRequires otherwise
1570 the spec always turned off python bindings as python is not part
1571 of buildsys-build and the chroot will never have python unless we
1573 - Temporarily set -D_FORTIFY_SOURCE=1 until upstream fixes code
1574 GlusterFS Bugzilla #197 (#555728)
1575 - Move glusterfs-volgen to devel subpackage (#555724)
1576 - Update description (#554947)
1578 * Sat Jan 2 2010 Jonathan Steffan <jsteffan@fedoraproject.org> - 2.0.9-1
1581 * Sun Nov 8 2009 Jonathan Steffan <jsteffan@fedoraproject.org> - 2.0.8-1
1583 - Remove install of glusterfs-volgen, it's properly added to
1584 automake upstream now
1586 * Sat Oct 31 2009 Jonathan Steffan <jsteffan@fedoraproject.org> - 2.0.7-1
1588 - Install glusterfs-volgen, until it's properly added to automake
1590 - Add macro to be able to ship more docs
1592 * Thu Sep 17 2009 Peter Lemenkov <lemenkov@gmail.com> 2.0.6-2
1593 - Rebuilt with new fuse
1595 * Sat Sep 12 2009 Matthias Saou <http://freshrpms.net/> 2.0.6-1
1597 - No longer default to disable the client on RHEL5 (#522192).
1598 - Update spec file URLs.
1600 * Mon Jul 27 2009 Matthias Saou <http://freshrpms.net/> 2.0.4-1
1603 * Thu Jun 11 2009 Matthias Saou <http://freshrpms.net/> 2.0.1-2
1604 - Remove libglusterfs/src/y.tab.c to fix koji F11/devel builds.
1606 * Sat May 16 2009 Matthias Saou <http://freshrpms.net/> 2.0.1-1
1609 * Thu May 7 2009 Matthias Saou <http://freshrpms.net/> 2.0.0-1
1610 - Update to 2.0.0 final.
1612 * Wed Apr 29 2009 Matthias Saou <http://freshrpms.net/> 2.0.0-0.3.rc8
1613 - Move glusterfsd to common, since the client has a symlink to it.
1615 * Fri Apr 24 2009 Matthias Saou <http://freshrpms.net/> 2.0.0-0.2.rc8
1616 - Update to 2.0.0rc8.
1618 * Sun Apr 12 2009 Matthias Saou <http://freshrpms.net/> 2.0.0-0.2.rc7
1619 - Update glusterfsd init script to the new style init.
1620 - Update files to match the new default vol file names.
1621 - Include logrotate for glusterfsd, use a pid file by default.
1622 - Include logrotate for glusterfs, using killall for lack of anything better.
1624 * Sat Apr 11 2009 Matthias Saou <http://freshrpms.net/> 2.0.0-0.1.rc7
1625 - Update to 2.0.0rc7.
1626 - Rename "libs" to "common" and move the binary, man page and log dir there.
1628 * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
1629 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
1631 * Mon Feb 16 2009 Matthias Saou <http://freshrpms.net/> 2.0.0-0.1.rc1
1632 - Update to 2.0.0rc1.
1633 - Include new libglusterfsclient.h.
1635 * Mon Feb 16 2009 Matthias Saou <http://freshrpms.net/> 1.3.12-1
1637 - Remove no longer needed ocreat patch.
1639 * Thu Jul 17 2008 Matthias Saou <http://freshrpms.net/> 1.3.10-1
1641 - Remove mount patch, it's been included upstream now.
1643 * Fri May 16 2008 Matthias Saou <http://freshrpms.net/> 1.3.9-1
1646 * Fri May 9 2008 Matthias Saou <http://freshrpms.net/> 1.3.8-1
1647 - Update to 1.3.8 final.
1649 * Wed Apr 23 2008 Matthias Saou <http://freshrpms.net/> 1.3.8-0.10
1650 - Include short patch to include fixes from latest TLA 751.
1652 * Tue Apr 22 2008 Matthias Saou <http://freshrpms.net/> 1.3.8-0.9
1653 - Update to 1.3.8pre6.
1654 - Include glusterfs binary in both the client and server packages, now that
1655 glusterfsd is a symlink to it instead of a separate binary.
1656 * Sun Feb 3 2008 Matthias Saou <http://freshrpms.net/> 1.3.8-0.8
1657 - Add python version check and disable bindings for version < 2.4.
1659 * Sun Feb 3 2008 Matthias Saou <http://freshrpms.net/> 1.3.8-0.7
1660 - Add --without client rpmbuild option, make it the default for RHEL (no fuse).
1661 (I hope "rhel" is the proper default macro name, couldn't find it...)
1663 * Wed Jan 30 2008 Matthias Saou <http://freshrpms.net/> 1.3.8-0.6
1664 - Add --without ibverbs rpmbuild option to the package.
1666 * Mon Jan 14 2008 Matthias Saou <http://freshrpms.net/> 1.3.8-0.5
1667 - Update to current TLA again, patch-636 which fixes the known segfaults.
1669 * Thu Jan 10 2008 Matthias Saou <http://freshrpms.net/> 1.3.8-0.4
1670 - Downgrade to glusterfs--mainline--2.5--patch-628 which is more stable.
1672 * Tue Jan 8 2008 Matthias Saou <http://freshrpms.net/> 1.3.8-0.3
1673 - Update to current TLA snapshot.
1674 - Include umount.glusterfs wrapper script (really needed? dunno).
1675 - Include patch to mount wrapper to avoid multiple identical mounts.
1677 * Sun Dec 30 2007 Matthias Saou <http://freshrpms.net/> 1.3.8-0.1
1678 - Update to current TLA snapshot, which includes "volume-name=" fstab option.
1680 * Mon Dec 3 2007 Matthias Saou <http://freshrpms.net/> 1.3.7-6
1681 - Re-add the /var/log/glusterfs directory in the client sub-package (required).
1682 - Include custom patch to support vol= in fstab for -n glusterfs client option.
1684 * Mon Nov 26 2007 Matthias Saou <http://freshrpms.net/> 1.3.7-4
1685 - Re-enable libibverbs.
1686 - Check and update License field to GPLv3+.
1687 - Add glusterfs-common obsoletes, to provide upgrade path from old packages.
1688 - Include patch to add mode to O_CREATE opens.
1690 * Thu Nov 22 2007 Matthias Saou <http://freshrpms.net/> 1.3.7-3
1691 - Remove Makefile* files from examples.
1692 - Include RHEL/Fedora type init script, since the included ones don't do.
1694 * Wed Nov 21 2007 Matthias Saou <http://freshrpms.net/> 1.3.7-1
1695 - Major spec file cleanup.
1696 - Add missing %%clean section.
1697 - Fix ldconfig calls (weren't set for the proper sub-package).
1699 * Sat Aug 4 2007 Matt Paine <matt@mattsoftware.com> - 1.3.pre7
1700 - Added support to build rpm without ibverbs support (use --without ibverbs
1703 * Sun Jul 15 2007 Matt Paine <matt@mattsoftware.com> - 1.3.pre6