# Copyright (C) 2007 Platform Computing Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of version 2 of the GNU General Public License as # published by the Free Software Foundation. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA # # $Id: spec.tmpl 1545 2007-06-22 10:47:02Z najib $ # %define subversion 5 Summary: kusu-util module runtime Name: kusu-util Version: 5.2 Release: 1 License: GPLv2 Group: System Environment/Base Vendor: Platform Computing Inc. BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot BuildArch: noarch Source: %{name}-%{version}.%{subversion}.tar.gz BuildRequires: python %description This package installs the kusu-util module runtime. %prep %setup -q -n %{name} %build %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT/opt/kusu/etc # Documentation install -d $RPM_BUILD_ROOT/opt/kusu/share/doc/util-%{version} install doc/COPYING $RPM_BUILD_ROOT/opt/kusu/share/doc/util-%{version} install doc/README-log.txt $RPM_BUILD_ROOT/opt/kusu/share/doc/util-%{version} # Other files install etc/distro.conf $RPM_BUILD_ROOT/opt/kusu/etc/ install -d $RPM_BUILD_ROOT/opt/kusu/lib/python/kusu/util install lib/*.py $RPM_BUILD_ROOT/opt/kusu/lib/python/kusu/util/ install -d $RPM_BUILD_ROOT/opt/kusu/lib/python/kusu/util/distro install lib/distro/*.py $RPM_BUILD_ROOT/opt/kusu/lib/python/kusu/util/distro/ %pre %post %preun %postun %clean rm -rf $RPM_BUILD_ROOT %files /opt/kusu/etc/distro.conf /opt/kusu/lib/python/kusu/util/* %dir /opt/kusu/share/doc/util-%{version} %doc /opt/kusu/share/doc/util-%{version}/COPYING %doc /opt/kusu/share/doc/util-%{version}/README-log.txt %changelog * Fri Sep 5 2008 Mike Frisch 5.7-7 - Add 'kusu-' prefix to temporary directories created by OCS (#113889) * Thu Aug 21 2008 Mark Black 5.1-6 - Reving tar file for RH * Thu Jul 31 2008 Mark Black 5.1-5 - Reset version/revision after switching build to trunk * Wed Jun 4 2008 Shawn Starr 5.1-4 - Fixed error message when entering invalid email address (#109791) * Thu Apr 3 2008 Mike Frisch 5.1-3 - Partitioning related fixes * Thu Jan 10 2008 Platform Computing - Initial release.