Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37391164
en ru br
ALT Linux repositórios
S:1.8.7-alt2
5.0: 1.4.1-alt3
4.1: 1.2.7-alt2

Group :: Sistema/Kernel e hardware
RPM: ocfs2-tools

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Summary: Tools for managing the Oracle Cluster Filesystem 2
Name: ocfs2-tools
Version: 1.2.7
Release: alt2
License: GPL
Group: System/Kernel and hardware
Source: %name-%version.tar.bz2
Patch0: %name-initscript.patch
Url: http://oss.oracle.com/projects/ocfs2-tools/
Vendor: Oracle
Packager: Vitaly Kuznetsov <vitty at altlinux.ru>
Requires: coreutils, net-tools, modutils, e2fsprogs, glib2 >= 2.2.3,readline, ncurses, libe2fs
BuildRequires: e2fsprogs-devel, glib2-devel >= 2.2.3, python-module-pygtk , python-dev, readline-devel, ncurses-devel, libe2fs-devel

%description
Tools to manage Oracle Cluster Filesystem 2 volumes.

%package -n ocfs2console
Summary: GUI frontend for OCFS2 management
Group: System/Kernel and hardware
Requires: e2fsprogs, glib2 >= 2.2.3, python-module-pygtk , python >= 2.5, ocfs2-tools = %version
Provides: python2.5(o2cb), python2.5(ocfs2), python2.5(plist)

%description -n ocfs2console
GUI frontend for management and debugging of Oracle Cluster Filesystem 2
volumes.

%package -n ocfs2-tools-devel
Summary: Headers and static archives for ocfs2-tools
Group: Development/Other
Requires: e2fsprogs-devel, glib2-devel >= 2.2.3, ocfs2-tools = %version

%description -n ocfs2-tools-devel
ocfs2-tools-devel contains the libraries and header files needed to
develop ocfs2 filesystem-specific programs.

%prep
%setup -n ocfs2-tools-%version
%patch0 -p1

%build
%configure --enable-dynamic-ctl=yes --enable-dynamic-fsck=yes --disable-debug --prefix=/usr --mandir=%_datadir/man --libdir=%_libdir
make

%install
mkdir -p %buildroot%_sysconfdir/sysconfig %buildroot%_initdir
install -m755 vendor/common/o2cb.init %buildroot%_initdir/o2cb
install -m755 vendor/common/ocfs2.init %buildroot%_initdir/ocfs2
install -m644 vendor/common/o2cb.sysconfig %buildroot%_sysconfdir/sysconfig/o2cb

make DESTDIR="%buildroot" install

%__python -c "import compileall; compileall.compile_dir('%buildroot/%python_sitelibdir/ocfs2interface', ddir='%_libdir/%python_sitelibdir/ocfs2interface')"

%post
%post_service o2cb
%post_service ocfs2

%preun
%preun_service ocfs2
%preun_service o2cb

%files
%doc README.O2CB COPYING CREDITS MAINTAINERS
%doc documentation/users_guide.txt
/sbin/*
%_initdir/*
%config(noreplace) %_sysconfdir/sysconfig/o2cb
%_man8dir/debugfs.ocfs2.8.gz
%_man8dir/fsck.ocfs2.8.gz
%_man8dir/fsck.ocfs2.checks.8.bz2
%_man8dir/mkfs.ocfs2.8.gz
%_man8dir/tunefs.ocfs2.8.gz
%_man8dir/mount.ocfs2.8.gz
%_man8dir/mounted.ocfs2.8.gz
%_man8dir/o2cb_ctl.8.gz
%_man8dir/ocfs2_hb_ctl.8.gz
%_man8dir/ocfs2cdsl.8.gz

%files -n ocfs2console
%_libdir/python%__python_version/site-packages/ocfs2interface
%_sbindir/ocfs2console
%_man8dir/ocfs2console.8.gz

%files -n ocfs2-tools-devel
%_libdir/*.a
%_libdir/pkgconfig/*.pc
%_includedir/o2cb
%_includedir/o2dlm
%_includedir/ocfs2

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009