Search
j0ke.net Open Build Service
>
Projects
>
ha
>
tentakel
> tentakel.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File tentakel.spec of Package tentakel (Revision 16)
Currently displaying revision
16
,
show latest
%define python_sitelib %(%{__python} -c 'from distutils import sysconfig; print sysconfig.get_python_lib()') Summary: program that executes the same command on many hosts in parallel Name: tentakel Version: 2.2.1 Release: 3 License: GPL Group: Applications/Internet URL: http://tentakel.biskalar.de/ Source: http://dl.sf.net/tentakel/tentakel-%{version}.tgz Patch0: tentakel-2.2-setup.py.patch Patch1: tentakel-2.2.1-py26.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root Requires: python BuildRequires: python-devel %description Tentakel is a program that executes the same command on many hosts in parallel using SSH. It is designed to be easily extendable. The output of the remote command can be controlled by means of format strings. %prep %setup %patch0 %if 1%{?centos_version} || 1%{?rhel_version} %patch1 %endif %build %{__make} %install %{__rm} -rf %{buildroot} %makeinstall \ PREFIX="%{buildroot}%{_prefix}" \ sharedoc="doc-rpm" find %{buildroot} -type f -name \*.pyc -exec rm {} \; ### Clean up buildroot %{__rm} -rf %{buildroot}%{_docdir}/%{name}* %{__rm} -rf %{buildroot}/usr/share/doc/%{name}* %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc PLUGINS README TODO tentakel.1.html tentakel.conf.example %doc %{_mandir}/man1/tentakel.1* %{_bindir}/tentakel %{python_sitelib}/lekatnet/ %if 0%{?suse_version} >= 1020 %{python_sitelib}/tentakel-%{version}-py%{py_ver}.egg-info %endif %changelog * Tue Jan 19 2010 Carsten Schoene <cs@linux-administrator.com> - 2.2.1-3 - add first python 2.6 patch * Fri Dec 26 2008 Carsten Schoene <cs@linux-administrator.com> - Initial package.