1 Summary: Tools for the OCFS2 filesystem
2 Summary(pl): Narzêdzia dla systemu plików OCFS2
7 Group: Applications/System
8 Source0: http://oss.oracle.com/projects/ocfs2-tools/dist/files/source/v1.2/%{name}-%{version}.tar.gz
9 # Source0-md5: 62c24ae0f3016eb5c15f0dfc90fe956a
12 URL: http://oss.oracle.com/projects/ocfs2-tools/
13 BuildRequires: e2fsprogs-devel
14 BuildRequires: glib2-devel
15 BuildRequires: libcom_err-devel
16 BuildRequires: libuuid-devel
17 BuildRequires: pkgconfig
18 BuildRequires: python-devel
19 BuildRequires: readline-devel
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Tools and support files for creating and managing OCFS2 volumes.
26 Narzêdzia do tworzenia i zarz±dzania wolumenami OCFS2.
29 Summary: GTK+ interface to OCFS2 Tools
30 Summary(pl): Interfejs GTK+ do narzêdzi OCFS2
31 Group: X11/Applications
32 Requires: %{name} = %{version}-%{release}
33 Requires: python-pygtk-gtk
36 GTK+ interface to OCFS2 Tools.
38 %description gtk -l pl
39 Interfejs GTK+ do narzêdzi OCFS2.
46 --enable-dynamic-fsck=yes \
47 --enable-dynamic-ctl=yes \
48 --enable-ocfs2console=yes
52 rm -rf $RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
56 DESTDIR=$RPM_BUILD_ROOT
58 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/ocfs2
59 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/o2cb
61 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
62 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
65 rm -rf $RPM_BUILD_ROOT
67 %postun -p /sbin/ldconfig
71 /sbin/chkconfig --add o2cb
72 /sbin/chkconfig --add %{name}
74 %service %{name} restart
77 if [ "$1" = "0" ]; then
78 %service -q %{name} stop
80 /sbin/chkconfig --del %{name}
81 /sbin/chkconfig --del o2cb
85 %defattr(644,root,root,755)
86 %attr(754,root,root) /etc/rc.d/init.d/o2cb
87 %attr(754,root,root) /etc/rc.d/init.d/ocfs2
88 %attr(755,root,root) /sbin/*
92 %defattr(644,root,root,755)
93 %attr(755,root,root) %{_sbindir}/*
94 %dir %{py_sitedir}/ocfs2interface
95 %attr(755,root,root) %{py_sitedir}/ocfs2interface/*.so
96 %{py_sitedir}/ocfs2interface/*.py[co]