Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37735701
en ru br
Репозитории ALT
4.1: 1.0.3-alt1
4.0: 1.0.3-alt1
www.altlinux.org/Changes

Группа :: Система/Ядро и оборудование
Пакет: ccs

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: ccs
Version: 1.0.3
Release: alt1

Summary: The library connects to the CCS daemon, ccsd, which accesses the local cluster.conf file
License: GPL

Group: System/Kernel and hardware

Source: %name-%version.tar
URL: http://sourceware.org/cluster/ccs/
BuildRequires: libmagma-devel libmagma libxml2-devel
Patch1: ccs-1.0.3-alt-initscripts.patch

%package -n libccs-devel
Group: System/Kernel and hardware
Summary: The library connects to the CCS daemon, ccsd, which accesses the local cluster.conf file

%package -n libccs-devel-static
Summary: The library connects to the CCS daemon, ccsd, which accesses the local cluster.conf file
Group: System/Kernel and hardware

%description
A program that needs information from cluster.conf uses the CCS library, libccs. The library connects
to the CCS daemon, ccsd, which accesses the local cluster.conf file. Ccsd finds the most recent cluster.conf file in
the cluster when CMAN first connects to it. It then keeps the local copy of cluster.conf in sync with the copies
on other nodes. Ccsd is the first clustering system started on a node -- just before cman_tool is run to join the cluster.

The cluster.conf file is initially created by hand or using a UI. If created on a cluster node it should be saved
in /etc/cluster/ and no other steps need to be taken; ccsd will distribute it to other nodes. If cluster.conf is created
outside the cluster it should be copied manually into /etc/cluster/ on one of the nodes where ccsd will find it.

CCS consists of userspace programs and a library. It depends on a cluster manager (this dependancy is only necessary
when live updates are made to cluster.conf)


%description -n  libccs-devel
A program that needs information from cluster.conf uses the CCS library, libccs. The library connects
to the CCS daemon, ccsd, which accesses the local cluster.conf file. Ccsd finds the most recent cluster.conf file in
the cluster when CMAN first connects to it. It then keeps the local copy of cluster.conf in sync with the copies
on other nodes. Ccsd is the first clustering system started on a node -- just before cman_tool is run to join the cluster.

The cluster.conf file is initially created by hand or using a UI. If created on a cluster node it should be saved
in /etc/cluster/ and no other steps need to be taken; ccsd will distribute it to other nodes. If cluster.conf is created
outside the cluster it should be copied manually into /etc/cluster/ on one of the nodes where ccsd will find it.

CCS consists of userspace programs and a library. It depends on a cluster manager (this dependancy is only necessary
when live updates are made to cluster.conf)

%description  -n libccs-devel-static
A program that needs information from cluster.conf uses the CCS library, libccs. The library connects
to the CCS daemon, ccsd, which accesses the local cluster.conf file. Ccsd finds the most recent cluster.conf file in
the cluster when CMAN first connects to it. It then keeps the local copy of cluster.conf in sync with the copies
on other nodes. Ccsd is the first clustering system started on a node -- just before cman_tool is run to join the cluster.

The cluster.conf file is initially created by hand or using a UI. If created on a cluster node it should be saved
in /etc/cluster/ and no other steps need to be taken; ccsd will distribute it to other nodes. If cluster.conf is created
outside the cluster it should be copied manually into /etc/cluster/ on one of the nodes where ccsd will find it.

CCS consists of userspace programs and a library. It depends on a cluster manager (this dependancy is only necessary
when live updates are made to cluster.conf)


%prep
%setup
%patch1 -p2

%build
%make

%install
mkdir $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d/
mv $RPM_BUILD_ROOT/etc/init.d/* $RPM_BUILD_ROOT/etc/rc.d/init.d/
mkdir $RPM_BUILD_ROOT/etc/sysconfig
echo > $RPM_BUILD_ROOT/etc/sysconfig/cluster
mkdir $RPM_BUILD_ROOT/etc/cluster

%files
/etc/cluster
/sbin/*
%attr(755,root,root) %config %_initdir/*
/etc/sysconfig/cluster
%_man8dir/*
%_man5dir/*
%_man7dir/*


%files -n libccs-devel
/usr/include/*


%files -n libccs-devel-static
/usr/lib/*.a

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin