X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=ocfs2-tools.spec;h=f75c51002dddc54ec7db3b161016ea03e8c846fa;hb=180d12a8cd986045a5e08a999e99c5bbce9d631b;hp=9cc3ec717ec9e6e8692ca96a546f2e2f9645fe8b;hpb=872dff28db77c64e93890597af1567fefaf91d74;p=packages%2Focfs2-tools.git diff --git a/ocfs2-tools.spec b/ocfs2-tools.spec index 9cc3ec7..f75c510 100644 --- a/ocfs2-tools.spec +++ b/ocfs2-tools.spec @@ -1,15 +1,18 @@ 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 @@ -17,6 +20,11 @@ BuildRequires: libuuid-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 @@ -40,8 +48,11 @@ Interfejs GTK+ do narz %prep %setup -q +%patch0 -p1 %build +%{__aclocal} -I . +%{__autoconf} %configure \ --enable-dynamic-fsck=yes \ --enable-dynamic-ctl=yes \ @@ -64,8 +75,6 @@ install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/o2cb %clean rm -rf $RPM_BUILD_ROOT -%postun -p /sbin/ldconfig - %post /sbin/ldconfig /sbin/chkconfig --add o2cb @@ -81,6 +90,8 @@ if [ "$1" = "0" ]; then /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