############################################################################### ############################################################################### ## ## Copyright (C) 2004-2010 Red Hat, Inc. All rights reserved. ## ## This copyrighted material is made available to anyone wishing to use, ## modify, copy, or redistribute it subject to the terms and conditions ## of the GNU General Public License v.2. ## ############################################################################### ############################################################################### Name: gfs2-utils Version: 3.1.0 Release: 2%{?dist} License: GPLv2+ and LGPLv2+ Group: System Environment/Kernel Summary: Utilities for managing the global filesystem (GFS2) Requires(post): chkconfig Requires(preun): initscripts Requires(preun): chkconfig Requires: ncurses Requires: file BuildRequires: ncurses-devel BuildRequires: glibc-kernheaders BuildRequires: automake BuildRequires: perl BuildRequires: corosynclib-devel BuildRequires: clusterlib-devel BuildRequires: openaislib-devel BuildRequires: libtool URL: http://sources.redhat.com/cluster/wiki/ # The source for this package was pulled from the upstream git tree. # Use the following commands to generate the tarball: # git clone git://git.fedorahosted.org/gfs2-utils.git # cd gfs2-utils # ./make-tarball.sh # Source0: gfs2-utils-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %prep %setup -q -n gfs2-utils %build ./autogen.sh %configure make %{_smp_mflags} %install rm -rf %{buildroot} # gfs and group installed separately to avoid pulling in the docs make -C gfs2 install DESTDIR=%{buildroot} make -C group install DESTDIR=%{buildroot} install -D -m 0755 ./gfs2/init.d/gfs2 %{buildroot}%{_sysconfdir}/rc.d/init.d/gfs2 install -D -m 0755 ./gfs2/init.d/gfs2-cluster %{buildroot}%{_sysconfdir}/rc.d/init.d/gfs2-cluster %clean rm -rf %{buildroot} %description -n gfs2-utils The gfs2-utils package contains a number of utilities for creating, mounting, checking, modifying, and correcting any inconsistencies in GFS2 filesystems. This package can be used standalone for single node GFS2 filesystems, but for multi-node filesystems (i.e. the normal case), the gfs2-cluster package is required as well. %post -n gfs2-utils /sbin/chkconfig --add gfs2 %preun -n gfs2-utils if [ "$1" = 0 ]; then /sbin/service gfs2 stop >/dev/null 2>&1 /sbin/chkconfig --del gfs2 fi exit 0 %files -n gfs2-utils %defattr(-,root,root,-) %doc doc/COPYING.* doc/COPYRIGHT doc/README.licence doc/*.txt %{_sysconfdir}/rc.d/init.d/gfs2 /sbin/* %{_sbindir}/gfs2_* %{_sbindir}/gfs2_tool %{_sbindir}/tunegfs2 %{_mandir}/man8/*gfs2* %{_mandir}/man5/* %package -n gfs2-cluster Group: System Environment/Base Summary: Cluster daemons for GFS2 Requires(post): chkconfig Requires(preun): initscripts Requires(preun): chkconfig Requires: corosync >= 1.2.7-1 Requires: openais >= 1.1.2-1 Requires: cman >= 3.1.0-1 Obsoletes: gfs-pcmk < 3.1.0 Provides: gfs-pcmk = %{version} %description -n gfs2-cluster This package contains the gfs_controld daemon and associated tools required to use GFS2 in a cluster. Virtually every user of GFS2 will need to install this package. %post -n gfs2-cluster /sbin/chkconfig --add gfs2-cluster %preun -n gfs2-cluster if [ "$1" = 0 ]; then /sbin/service stop gfs2-cluster >/dev/null 2>&1 /sbin/chkconfig --del gfs2-cluster fi %files -n gfs2-cluster %defattr(-,root,root,-) %doc doc/COPYING.* doc/COPYRIGHT doc/README.licence %{_sysconfdir}/rc.d/init.d/gfs2-cluster %{_sbindir}/gfs_control* %{_mandir}/man8/gfs_control* %changelog * Fri Dec 3 2010 Fabio M. Di Nitto - 3.1.0-2 - gfs2-cluster should Obsoletes/Provides gfs-pcmk * Tue Sep 30 2010 Steven Whitehouse - 3.1.0-1 - Bringing this package back for upstream GFS2 Addition of gfs2tune to the utils Merge of gfs_controld from cman * Thu Jan 22 2009 Fabio M. Di Nitto - 2.03.11-1 - New upstream release Fix several bugs and drastically improve startup errors. * Wed Dec 10 2008 Fabio M. Di Nitto - 2.03.10-1 - New upstream release Fix several bugs and port gfs1 code to match 2.6.27 kernel. * Fri Oct 31 2008 Fabio M. Di Nitto - 2.03.09-1 - New upstream release Fix rhbz#468966 Addresses several security issues similar to CVE-2008-4192 and CVE-2008-4579 after deep code audit from upstream - cleanup patches to match 2.6.26 kernel in F-9 * Tue Oct 21 2008 Fabio M. Di Nitto - 2.03.08-1 - New upstream release Fix rhbz#460376 CVE-2008-4192 Fix rhbz#467386 CVE-2008-4579 - cleanup/update patches to match 2.6.26 kernel in F-9 * Thu Aug 14 2008 Fabio M. Di Nitto - 2.03.07-1 - New upstream release - Fix rgmanager startup locking issues - Apply patch to include kernel headers from 2.6.26 required to build userland. Userland will run in 2.6.25 compatibility mode - Apply patch to keep kernel modules at 2.6.25 (upstream is at 2.6.26) (this patch is purely cosmetic since we don't build kernel modules but keep the source in sync is Good (tm)) - Cleanup packaging for installed docs and file permissions * Mon Jul 14 2008 Fabio M. Di Nitto - 2.03.05-1 - New upstream release - Cleanup installed doc after upstream * Wed Jun 11 2008 Fabio M. Di Nitto 2.03.04-1 - New upstream release - Resolves: #446995 #318271 #447378 #445662 - Update license tags after major upstream cleanup - Include COPYRIGHT file * Fri May 30 2008 Fabio M. Di Nitto 2.03.03-1 - New upstream release - Fix several build warnings - Update spec files to use macros - Update Requires to use packages rather than pointing at files - Drop BR on kernel-devel since it's not required anymore - Update build section to use proper _sysconfdir, libdir and sbindir - Avoid abusing cd when we can ask make to do the work for us - Remove /usr/sbin from file section. We don't have any file there and we can avoid shipping stuff by mistake * Mon Apr 14 2008 Steven Whitehouse 2.03.00-3 - Fabbione saves the day. We can get rid of the sed stuff after all * Mon Apr 14 2008 Steven Whitehouse 2.03.00-1 - New upstream sources - Eric Sandeen's solution to kernel version dep * Wed Apr 09 2008 Steven Whitehouse 0.1.25.2.02.01-15 - Remove obsolete chkconfig patch for initscript - Enable parallel make - Remove obsolete copy of gfs2_ondisk.h (this should be in glibc-kernheaders) * Wed Apr 09 2008 Steven Whitehouse 0.1.25.2.02.01-14 - Update URL - Fix license spec * Fri Mar 14 2008 Chris Feist 0.1.25.2.02.00-2 - New upstream sources. * Tue Jan 16 2007 Chris Feist 0.1.24-1 - New upstream sources. - Resolves: rhbz#222747 * Wed Jan 03 2007 Chris Feist 0.1.24-1 - Updated sources - Resolves: rhbz#218560 * Thu Dec 21 2006 Chris Feist 0.1.23-1 - Updated sources - Resolves: rhbz#218560 * Tue Dec 19 2006 Chris Feist 0.1.22-1 - New upstream sources. - Resolves: rhbz#219878 * Tue Dec 04 2006 Chris Feist 0.1.21-1 - New upstream sources. - Resolves: rhbz#218134 rhbz#215962 * Thu Nov 30 2006 Chris Feist 0.1.19-1 - New upstream sources. - Resolves: rhbz#217798 * Wed Nov 29 2006 Chris Feist 0.1.18-1 - New upstream sources. - Resolves: rhbz#217460 * Thu Oct 26 2006 Chris Feist 0.1.14-1 - New upstream sources. * Fri Oct 13 2006 Chris Feist 0.1.12-1 - New Upstream sources. * Fri Oct 13 2006 Chris Feist 0.1.10-1 - New Upstream sources. * Mon Oct 09 2006 Chris Feist 0.1.9-1 - New Upstream sources. * Mon Sep 25 2006 Chris Feist 0.1.8-1 - New Upstream sources. * Wed Sep 13 2006 Chris Feist 0.1.7-1 - New Upstream sources. * Thu Sep 07 2006 Chris Feist 0.1.6-2 - Fix typo in uninstall script (turn off gfs2 instead of gfs) * Mon Aug 28 2006 Chris Feist 0.1.6-1 - New Upstream sources. * Tue Aug 22 2006 Chris Feist 0.1.5-1 - New Upstream sources. * Mon Aug 14 2006 Chris Feist 0.1.3-0 - New Upstream sources, use dist tag. * Fri Jul 14 2006 Chris Feist - Rebuild with updated sources * Wed Jul 12 2006 Jesse Keating - rebuild * Tue Jun 27 2006 Florian La Roche - fix typo in preun script * Fri Jun 09 2006 Chris Feist - 0.1.0-1.fc6.3 - Initial build of gfs-utils.