|
S. Thiell |
fd5a99e |
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
|
|
S. Thiell |
fd5a99e |
|
|
S. Thiell |
fd5a99e |
Name: clustershell
|
|
Stephane Thiell |
097caa2 |
Version: 1.6
|
|
|
a58eaf8 |
Release: 4%{?dist}
|
|
S. Thiell |
fd5a99e |
Summary: Python framework for efficient cluster administration
|
|
S. Thiell |
fd5a99e |
|
|
S. Thiell |
fd5a99e |
Group: System Environment/Base
|
|
S. Thiell |
fd5a99e |
License: CeCILL-C
|
|
S. Thiell |
fd5a99e |
URL: http://clustershell.sourceforge.net/
|
|
S. Thiell |
fd5a99e |
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
|
S. Thiell |
fd5a99e |
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
S. Thiell |
fd5a99e |
BuildArch: noarch
|
|
S. Thiell |
fd5a99e |
BuildRequires: python-devel python-setuptools
|
|
S. Thiell |
fd5a99e |
|
|
S. Thiell |
fd5a99e |
%description
|
|
S. Thiell |
fd5a99e |
Tools and event-based Python library to execute commands on cluster nodes in
|
|
S. Thiell |
fd5a99e |
parallel depending on selected engine and worker mechanisms. The library
|
|
S. Thiell |
fd5a99e |
provides also advanced NodeSet and NodeGroups handling methods to ease and
|
|
S. Thiell |
fd5a99e |
improve administration of large compute clusters or server farms. Three
|
|
S. Thiell |
fd5a99e |
convenient command line utilities, clush, clubak and nodeset, allow traditional
|
|
S. Thiell |
fd5a99e |
shell scripts to benefit some useful features offered by the library.
|
|
S. Thiell |
fd5a99e |
|
|
S. Thiell |
fd5a99e |
%package -n vim-%{name}
|
|
S. Thiell |
fd5a99e |
Summary: VIM files for ClusterShell
|
|
S. Thiell |
fd5a99e |
Group: System Environment/Base
|
|
S. Thiell |
fd5a99e |
Requires: clustershell = %{version}-%{release}, vim-common
|
|
S. Thiell |
fd5a99e |
|
|
S. Thiell |
fd5a99e |
%description -n vim-%{name}
|
|
S. Thiell |
fd5a99e |
Syntax highlighting in the VIM editor for ClusterShell configuration files.
|
|
S. Thiell |
fd5a99e |
|
|
S. Thiell |
fd5a99e |
|
|
S. Thiell |
fd5a99e |
%prep
|
|
S. Thiell |
fd5a99e |
%setup -q
|
|
S. Thiell |
fd5a99e |
|
|
S. Thiell |
fd5a99e |
%build
|
|
S. Thiell |
fd5a99e |
%{__python} setup.py build
|
|
S. Thiell |
fd5a99e |
|
|
S. Thiell |
fd5a99e |
%install
|
|
S. Thiell |
fd5a99e |
rm -rf %{buildroot}
|
|
S. Thiell |
fd5a99e |
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
|
|
S. Thiell |
fd5a99e |
|
|
S. Thiell |
fd5a99e |
# config files
|
|
Stephane Thiell |
097caa2 |
install -d %{buildroot}/%{_sysconfdir}/clustershell/groups.conf.d
|
|
Stephane Thiell |
097caa2 |
install -p -m 0644 conf/*.conf conf/groups %{buildroot}/%{_sysconfdir}/clustershell/
|
|
Stephane Thiell |
097caa2 |
install -p -m 0644 conf/groups.conf.d/README conf/groups.conf.d/*.conf.example %{buildroot}/%{_sysconfdir}/clustershell/groups.conf.d
|
|
S. Thiell |
fd5a99e |
|
|
S. Thiell |
fd5a99e |
# man pages
|
|
S. Thiell |
fd5a99e |
install -d %{buildroot}/%{_mandir}/{man1,man5}
|
|
S. Thiell |
fd5a99e |
install -p -m 0644 doc/man/man1/clubak.1 %{buildroot}/%{_mandir}/man1/
|
|
S. Thiell |
fd5a99e |
install -p -m 0644 doc/man/man1/clush.1 %{buildroot}/%{_mandir}/man1/
|
|
S. Thiell |
fd5a99e |
install -p -m 0644 doc/man/man1/nodeset.1 %{buildroot}/%{_mandir}/man1/
|
|
S. Thiell |
fd5a99e |
install -p -m 0644 doc/man/man5/clush.conf.5 %{buildroot}/%{_mandir}/man5/
|
|
S. Thiell |
fd5a99e |
install -p -m 0644 doc/man/man5/groups.conf.5 %{buildroot}/%{_mandir}/man5/
|
|
S. Thiell |
fd5a99e |
|
|
Stephane Thiell |
097caa2 |
# docs and example scripts
|
|
Stephane Thiell |
097caa2 |
install -d %{buildroot}/%{_defaultdocdir}/%{name}-%{version}/examples
|
|
Stephane Thiell |
097caa2 |
install -p -m 0644 README ChangeLog Licence_CeCILL-C_V1-en.txt Licence_CeCILL-C_V1-fr.txt %{buildroot}/%{_defaultdocdir}/%{name}-%{version}/
|
|
Stephane Thiell |
097caa2 |
install -p -m 0755 doc/examples/*.py %{buildroot}/%{_defaultdocdir}/%{name}-%{version}/examples/
|
|
Stephane Thiell |
097caa2 |
|
|
S. Thiell |
fd5a99e |
# vim addons
|
|
S. Thiell |
fd5a99e |
%define vimdatadir %{_datadir}/vim/vimfiles
|
|
S. Thiell |
fd5a99e |
install -d %{buildroot}/%{vimdatadir}/{ftdetect,syntax}
|
|
S. Thiell |
fd5a99e |
install -p -m 0644 doc/extras/vim/ftdetect/clustershell.vim %{buildroot}/%{vimdatadir}/ftdetect/
|
|
S. Thiell |
fd5a99e |
install -p -m 0644 doc/extras/vim/syntax/clushconf.vim %{buildroot}/%{vimdatadir}/syntax/
|
|
S. Thiell |
fd5a99e |
install -p -m 0644 doc/extras/vim/syntax/groupsconf.vim %{buildroot}/%{vimdatadir}/syntax/
|
|
S. Thiell |
fd5a99e |
|
|
S. Thiell |
fd5a99e |
|
|
S. Thiell |
fd5a99e |
%clean
|
|
S. Thiell |
fd5a99e |
rm -rf %{buildroot}
|
|
S. Thiell |
fd5a99e |
|
|
S. Thiell |
fd5a99e |
%files
|
|
S. Thiell |
fd5a99e |
%defattr(-,root,root,-)
|
|
Stephane Thiell |
097caa2 |
%doc %{_defaultdocdir}/%{name}-%{version}/
|
|
S. Thiell |
fd5a99e |
%{_mandir}/man1/clubak.1*
|
|
S. Thiell |
fd5a99e |
%{_mandir}/man1/clush.1*
|
|
S. Thiell |
fd5a99e |
%{_mandir}/man1/nodeset.1*
|
|
S. Thiell |
fd5a99e |
%{_mandir}/man5/clush.conf.5*
|
|
S. Thiell |
fd5a99e |
%{_mandir}/man5/groups.conf.5*
|
|
S. Thiell |
fd5a99e |
%dir %{_sysconfdir}/clustershell
|
|
S. Thiell |
fd5a99e |
%config(noreplace) %{_sysconfdir}/clustershell/clush.conf
|
|
Stephane Thiell |
097caa2 |
%config(noreplace) %{_sysconfdir}/clustershell/groups
|
|
S. Thiell |
fd5a99e |
%config(noreplace) %{_sysconfdir}/clustershell/groups.conf
|
|
Stephane Thiell |
097caa2 |
%dir %{_sysconfdir}/clustershell/groups.conf.d
|
|
Stephane Thiell |
097caa2 |
%doc %{_sysconfdir}/clustershell/groups.conf.d/README
|
|
Stephane Thiell |
097caa2 |
%doc %{_sysconfdir}/clustershell/groups.conf.d/*.conf.example
|
|
S. Thiell |
fd5a99e |
%{python_sitelib}/ClusterShell/
|
|
S. Thiell |
fd5a99e |
%{python_sitelib}/ClusterShell-*-py?.?.egg-info
|
|
S. Thiell |
fd5a99e |
%{_bindir}/clubak
|
|
S. Thiell |
fd5a99e |
%{_bindir}/clush
|
|
S. Thiell |
fd5a99e |
%{_bindir}/nodeset
|
|
S. Thiell |
fd5a99e |
|
|
S. Thiell |
fd5a99e |
%files -n vim-%{name}
|
|
S. Thiell |
fd5a99e |
%defattr(-,root,root,-)
|
|
S. Thiell |
fd5a99e |
%{vimdatadir}/ftdetect/clustershell.vim
|
|
S. Thiell |
fd5a99e |
%{vimdatadir}/syntax/clushconf.vim
|
|
S. Thiell |
fd5a99e |
%{vimdatadir}/syntax/groupsconf.vim
|
|
S. Thiell |
fd5a99e |
|
|
S. Thiell |
fd5a99e |
%changelog
|
|
|
a58eaf8 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-4
|
|
|
a58eaf8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
a58eaf8 |
|
|
|
e74cdbb |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-3
|
|
|
e74cdbb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
e74cdbb |
|
|
|
06b1ae5 |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-2
|
|
|
06b1ae5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
06b1ae5 |
|
|
Stephane Thiell |
097caa2 |
* Sun Apr 08 2012 Stephane Thiell <stephane.thiell@cea.fr> 1.6-1
|
|
Stephane Thiell |
097caa2 |
- update to 1.6
|
|
|
cae252e |
|
|
Stephane Thiell |
69d91b3 |
* Thu Jun 09 2011 Stephane Thiell <stephane.thiell@cea.fr> 1.5.1-1
|
|
Stephane Thiell |
69d91b3 |
- update to 1.5.1
|
|
Stephane Thiell |
69d91b3 |
|
|
Stephane Thiell |
cf77a31 |
* Wed Jun 08 2011 Stephane Thiell <stephane.thiell@cea.fr> 1.5-1
|
|
Stephane Thiell |
cf77a31 |
- update to 1.5
|
|
Stephane Thiell |
cf77a31 |
|
|
Stephane Thiell |
7878915 |
* Sat Mar 19 2011 Stephane Thiell <stephane.thiell@cea.fr> 1.4.3-1
|
|
Stephane Thiell |
7878915 |
- update to 1.4.3
|
|
Stephane Thiell |
7878915 |
|
|
Stephane Thiell |
707c60b |
* Tue Mar 15 2011 Stephane Thiell <stephane.thiell@cea.fr> 1.4.2-1
|
|
Stephane Thiell |
707c60b |
- update to 1.4.2
|
|
Stephane Thiell |
707c60b |
|
|
Stephane Thiell |
07aec60 |
* Sun Feb 13 2011 Stephane Thiell <stephane.thiell@cea.fr> 1.4.1-1
|
|
Stephane Thiell |
07aec60 |
- update to 1.4.1
|
|
Stephane Thiell |
07aec60 |
|
|
Stephane Thiell |
16fccee |
* Sat Jan 15 2011 Stephane Thiell <stephane.thiell@cea.fr> 1.4-1
|
|
Stephane Thiell |
16fccee |
- update to 1.4
|
|
Stephane Thiell |
16fccee |
|
|
Stephane Thiell - DSSI/SISR/LIGS |
b217361 |
* Wed Oct 20 2010 Stephane Thiell <stephane.thiell@cea.fr> 1.3.3-1
|
|
Stephane Thiell - DSSI/SISR/LIGS |
b217361 |
- update to 1.3.3
|
|
Stephane Thiell - DSSI/SISR/LIGS |
b217361 |
|
|
S. Thiell |
fd5a99e |
* Fri Sep 10 2010 Stephane Thiell <stephane.thiell@cea.fr> 1.3.2-1
|
|
S. Thiell |
fd5a99e |
- renamed Vim subpackage to vim-clustershell
|
|
S. Thiell |
fd5a99e |
- update to 1.3.2
|
|
S. Thiell |
fd5a99e |
|
|
S. Thiell |
fd5a99e |
* Sun Sep 05 2010 Stephane Thiell <stephane.thiell@cea.fr> 1.3.1-2
|
|
S. Thiell |
fd5a99e |
- added -vim subpackage for .vim files
|
|
S. Thiell |
fd5a99e |
|
|
S. Thiell |
fd5a99e |
* Fri Sep 03 2010 Stephane Thiell <stephane.thiell@cea.fr> 1.3.1-1
|
|
S. Thiell |
fd5a99e |
- removed -n from setup line
|
|
S. Thiell |
fd5a99e |
- own clustershell config directory for proper uninstall
|
|
S. Thiell |
fd5a99e |
- install vim syntax addons in vimfiles, thus avoiding vim version detection
|
|
S. Thiell |
fd5a99e |
- update to 1.3.1
|
|
S. Thiell |
fd5a99e |
|
|
S. Thiell |
fd5a99e |
* Sun Aug 22 2010 Stephane Thiell <stephane.thiell@cea.fr> 1.3-4
|
|
S. Thiell |
fd5a99e |
- fixed BuildRoot tag in accordance with EPEL guidelines
|
|
S. Thiell |
fd5a99e |
- python_sitelib definition: prefer global vs define
|
|
S. Thiell |
fd5a99e |
- preserve timestamps and fix permissions when installing files
|
|
S. Thiell |
fd5a99e |
|
|
S. Thiell |
fd5a99e |
* Sat Aug 21 2010 Stephane Thiell <stephane.thiell@cea.fr> 1.3-3
|
|
S. Thiell |
fd5a99e |
- use a full URL to the package in Source0
|
|
S. Thiell |
fd5a99e |
|
|
S. Thiell |
fd5a99e |
* Fri Aug 20 2010 Stephane Thiell <stephane.thiell@cea.fr> 1.3-2
|
|
S. Thiell |
fd5a99e |
- various improvements per first review request
|
|
S. Thiell |
fd5a99e |
|
|
S. Thiell |
fd5a99e |
* Thu Aug 19 2010 Stephane Thiell <stephane.thiell@cea.fr> 1.3-1
|
|
S. Thiell |
fd5a99e |
- initial build candidate for Fedora
|