1 Summary: Tools for the OCFS2 filesystem
6 Group: Applications/System
7 Source0: http://oss.oracle.com/projects/ocfs2-tools/dist/files/source/v1.1/%{name}-%{version}.tar.gz
8 # Source0-md5: f2412153cf33db29e10549c855c43e35
9 URL: http://oss.oracle.com/projects/ocfs2-tools/
10 BuildRequires: e2fsprogs-devel
11 BuildRequires: glib2-devel
12 BuildRequires: libcom_err-devel
13 BuildRequires: libuuid-devel
14 BuildRequires: pkgconfig
15 BuildRequires: python-devel
16 BuildRequires: readline-devel
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 Tools and support files for creating and managing OCFS2 volumes.
23 Summary: GTK interface to OCFS2 Tools
24 Group: X11/Applications
25 Requires: %{name} = %{version}-%{release}
26 Requires: python-pygtk-gtk
29 GTK interface to OCFS2 Tools.
36 --enable-dynamic-fsck=yes \
37 --enable-dynamic-ctl=yes \
38 --enable-ocfs2console=yes
42 rm -rf $RPM_BUILD_ROOT
45 DESTDIR=$RPM_BUILD_ROOT
47 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
48 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
51 rm -rf $RPM_BUILD_ROOT
53 %post -p /sbin/ldconfig
54 %postun -p /sbin/ldconfig
57 %defattr(644,root,root,755)
58 %attr(755,root,root) /sbin/*
62 %defattr(644,root,root,755)
63 %attr(755,root,root) %{_sbindir}/*
64 %dir %{py_sitedir}/ocfs2interface
65 %attr(755,root,root) %{py_sitedir}/ocfs2interface/*.so
66 %{py_sitedir}/ocfs2interface/*.py[co]