%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %define modulename comoonics Summary: Comoonics cdsl utilities and library written in Python Name: comoonics-cdsl-py Version: 0.2 Release: 18 Source0: http://www.open-sharedroot.org/development/comoonics-cdsl-py/comoonics-cdsl-py-%{version}.tar.gz License: GPLv2+ Group: Development/Libraries BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildArch: noarch Requires: python PyXML comoonics-base-py comoonics-cluster-py Url: http://www.open-sharedroot.org/development/comoonics-cdsl-py BuildRequires: python-devel %description Comoonics cdsl utilities and library written in Python %prep %setup -q %build python setup.py %{name} build %install rm -rf $RPM_BUILD_ROOT python setup.py %{name} install --root=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{python_sitelib}/*.egg-info %dir %{python_sitelib}/comoonics/cdsl %{python_sitelib}/comoonics/cdsl/*.py %{python_sitelib}/comoonics/cdsl/*.pyc %{python_sitelib}/comoonics/cdsl/*.pyo /usr/share/man/man1/com-mkcdslinfrastructure.1.gz /usr/share/man/man1/com-mkcdsl.1.gz /usr/share/man/man1/com-cdslinvchk.1.gz /usr/share/man/man1/com-rmcdsl.1.gz %attr(0755, root, root) /usr/bin/com-mkcdsl %attr(0755, root, root) /usr/bin/com-mkcdslinfrastructure %attr(0755, root, root) /usr/bin/com-cdslinvchk %attr(0755, root, root) /usr/bin/com-rmcdsl %doc README.txt LICENSE.txt %changelog * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.2-17 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild * Tue Jul 21 2009 MG <grimme@atix.de>, 0.2-16 - Made Fedora compliant * Tue Jul 14 2009 MG <grimme@atix.de>, 0.2-15 - Made dependent on comoonics-base-py * Mon Jul 06 2009 MG <grimme@atix.de>, 0.2-14 - Made python 2.6 compatible - review/write off whole code * Tue Feb 24 2009 MG <grimme@atix.de>, 0.2-12 - To understand error messages better - removed more * includes * Wed Jun 04 2008 MG <grimme@atix.de>, 0.2-11 - changed error msgs - removed * includes - introduced constants * Tue Apr 08 2008 AO <offermann@atix.de>, 0.2-9 - Added support to prepare filesystem for additional nodes (copy defaultdir) - changed comoonicsCdslRepository to handle initialisations with less than five options - changed CdslRepository to expect filenames without a maybe used chroot-directory - changed CdslValidate to not delete an old logfile, instead of change it to logfile.old - changed binaries to fix use of log parameters * Thu Jan 24 2008 MG <grimme@atix.de>, 0.2-8 - rebuild for rpmspecfile updates * Mon Sep 10 2007 AO <offermann@atix.de>, 0.2-7 - Fixed Bug BZ #104 by adding requirement comoonics-cluster-py to build-script - Added documention for ComoonicsCdsl._pathdepth() - Replaced some code which removes content before recreation in cdsl_link when force is set (line 339/354 in ComCdsl.py) * Mon Sep 10 2007 AO <offermann@atix.de>, 0.2-3 - Fixed Bug BZ #104 by adding requirement comoonics-cluster-py to build-script - Added documention for ComoonicsCdsl._pathdepth() - Replaced some code which removes content before recreation in cdsl_link when force is set (line 339/354 in ComCdsl.py) * Thu Sep 06 2007 AO <offermann@atix.de>, 0.2-2 - Fixed Bugs BZ #102 and #103 * Thu Sep 04 2007 MH <hlawatschek@atix.de>, 0.2-1 - new version - added rmcdsls * Thu Sep 04 2007 MH <hlawatschek@atix.de>, 0.1-5 - removed rmcdsls for this release * Thu Sep 04 2007 AO <offermann@atix.de>, 0.1-4 - Added possibility to delete cdsls - Added manpages, automatically generated from docbook - Fixed behaviour when working with chroot * Fri Aug 06 2007 AO <offermann@atix.de>, 0.1-3 fixes #78 * Fri Aug 06 2007 AO <offermann@atix.de>, 0.1-2 bug fixes * Fri Aug 03 2007 AO <offermann@atix.de>, 0.1-1 initial revision