Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Alexander_Naumov:SLE-12:Update
ClusterTools2
ClusterTools2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ClusterTools2.spec of Package ClusterTools2
# # spec file for package ClusterTools2 # # Copyright (c) 2008-2010 SUSE LINUX GmbH, Germany. # Copyright (c) 2011-2014 SUSE LINUX Products GmbH, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # GNU Public License # # please send bugfixes or comments to feedback@suse.de. # Name: ClusterTools2 License: GPL-2.0 Group: Productivity/Clustering/HA Autoreqprov: on Summary: Cluster Tools to control some functions easy Version: 2.5.3 #Release: 0.1 Release: 14 Source: %{name}-%{version}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch Vendor: SUSE Linux Products GmbH Requires: pacemaker > 1.1.1 Requires: perl-TermReadLine-Gnu >= 1.16 Requires: cron Requires: logrotate %package doc Summary: Cluster Tools to control some functions easy Group: Productivity/Clustering/HA %description ClusterTools2 provides tools for setting up and managing a corosync/ pacemaker cluster. - wow helps you to create Linux-ha system resources. The wow package countains some agents (which are used to figure out config values) and templates (which are used to create the crm- snipsets to be inserted into the cluster). - ClusterService is the main tool for managing a Linux-ha cluster. There are some other commandline tools to make life easier. %description doc ClusterTools2 provides tools for setting up and managing a corosync/ pacemaker cluster. This Subpackage includes the manual pages and documentation. %prep %setup -c -T -a 0 %build ( cd man5; for mp in *5; do gzip $mp; done ) ( cd man7; for mp in *7; do gzip $mp; done ) ( cd man8; for mp in *8; do gzip $mp; done ) mkdir -p etc/ClusterTools2 %clean test "$RPM_BUILD_ROOT" != "/" && rm -rf $RPM_BUILD_ROOT %install mkdir -p %{buildroot}/etc/ClusterTools2 mkdir -p %{buildroot}/etc/cron.d mkdir -p %{buildroot}/etc/logrotate.d mkdir -p %{buildroot}/usr/sbin mkdir -p %{buildroot}/usr/share/ClusterTools2 mkdir -p %{buildroot}/usr/share/ClusterTools2/cli mkdir -p %{buildroot}/usr/share/ClusterTools2/samples mkdir -p %{buildroot}/usr/lib/ClusterTools2 mkdir -p %{buildroot}/usr/lib/ClusterTools2/agents #mkdir -p %{buildroot}/usr/lib/ClusterTools2/check mkdir -p %{buildroot}/usr/lib/ClusterTools2/scripts mkdir -p %{buildroot}/usr/share/man/man5 mkdir -p %{buildroot}/usr/share/man/man7 mkdir -p %{buildroot}/usr/share/man/man8 mkdir -p %{buildroot}/usr/lib/ClusterTools2/supportconfig/plugins # # "binaries" # cp -va sbin/* %{buildroot}/usr/sbin/ cp -va plugins/* %{buildroot}/usr/lib/ClusterTools2/supportconfig/plugins # # etc # cp -va etc/ClusterTools2/* %{buildroot}/etc/ClusterTools2/ cp -va etc/cron.d/* %{buildroot}/etc/cron.d/ cp -va etc/logrotate.d/* %{buildroot}/etc/logrotate.d/ # # share # cp -a share/* %{buildroot}/usr/share/ClusterTools2/ cp -a cli/* %{buildroot}/usr/share/ClusterTools2/cli/ chmod 0755 samples/*.pl cp -a samples/* %{buildroot}/usr/share/ClusterTools2/samples/ cp -a lib/* %{buildroot}/usr/lib/ClusterTools2/ #cp -a lib/check/* %{buildroot}/usr/lib/ClusterTools2/check cp -a agents/* %{buildroot}/usr/lib/ClusterTools2/agents/ cp -a scripts/* %{buildroot}/usr/lib/ClusterTools2/scripts # # man pages and license # cp -a man5/*.gz %{buildroot}/usr/share/man/man5/ cp -a man7/*.gz %{buildroot}/usr/share/man/man7/ cp -a man8/*.gz %{buildroot}/usr/share/man/man8/ %post mkdir -p /usr/lib/supportconfig/plugins cp /usr/lib/ClusterTools2/supportconfig/plugins/* /usr/lib/supportconfig/plugins %files %defattr(-,root,root) /usr/sbin/* /usr/share/ClusterTools2 /usr/lib/ClusterTools2 %config(noreplace) /etc/ClusterTools2 %config(noreplace) /etc/cron.d/* %config(noreplace) /etc/logrotate.d/* %files doc %defattr(-,root,root) %doc /usr/share/man/man5/*.gz %doc /usr/share/man/man7/*.gz %doc /usr/share/man/man8/*.gz %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor