Summary: Tools for the OCFS2 filesystem
Summary(pl): Narzêdzia dla systemu plików OCFS2
Name: ocfs2-tools
-Version: 1.2.1
+Version: 1.2.2
Release: 1
License: GPL v2
Group: Applications/System
Source0: http://oss.oracle.com/projects/ocfs2-tools/dist/files/source/v1.2/%{name}-%{version}.tar.gz
-# Source0-md5: 62c24ae0f3016eb5c15f0dfc90fe956a
+# Source0-md5: ac6357bf9c53c53ad8e60f50820955b9
Source1: ocfs2.init
Source2: o2cb.init
+Patch0: %{name}-tinfo.patch
URL: http://oss.oracle.com/projects/ocfs2-tools/
+BuildRequires: autoconf
+BuildRequires: automake
BuildRequires: e2fsprogs-devel
BuildRequires: glib2-devel
BuildRequires: libcom_err-devel
BuildRequires: pkgconfig
BuildRequires: python-devel
BuildRequires: readline-devel
+BuildRequires: rpmbuild(macros) >= 1.268
+BuildRequires: scons
+Requires(post): /sbin/ldconfig
+Requires(post,preun): /sbin/chkconfig
+Requires: rc-scripts
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%prep
%setup -q
+%patch0 -p1
%build
+%{__aclocal} -I .
+%{__autoconf}
%configure \
--enable-dynamic-fsck=yes \
--enable-dynamic-ctl=yes \
%clean
rm -rf $RPM_BUILD_ROOT
-%postun -p /sbin/ldconfig
-
%post
/sbin/ldconfig
/sbin/chkconfig --add o2cb
/sbin/chkconfig --del o2cb
fi
+%postun -p /sbin/ldconfig
+
%files
%defattr(644,root,root,755)
%attr(754,root,root) /etc/rc.d/init.d/o2cb