# $Id: kusu-driverpatch.spec 4018 2008-12-29 10:48:55Z ltsai $ # # 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 # # %define subversion 4 Summary: Driver handling Name: kusu-driverpatch Version: 5.2 Release: 1 License: GPLv2 Group: System Environment/Base Vendor: Project Kusu BuildArch: noarch Source: %{name}-%{version}.%{subversion}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root URL: http://www.osgdc.org BuildRequires: python %description This package contain a tool handling drivers for different kernels. %prep %setup -q -n %{name} %build %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT/opt/kusu/lib/python/kusu/driverpatch install -d $RPM_BUILD_ROOT/opt/kusu/bin install -d $RPM_BUILD_ROOT/opt/kusu/share/doc/driverpatch-%{version} install -m755 bin/driverpatch $RPM_BUILD_ROOT/opt/kusu/bin install -m755 bin/patchpcitable-script $RPM_BUILD_ROOT/opt/kusu/bin install -m644 lib/control.py $RPM_BUILD_ROOT/opt/kusu/lib/python/kusu/driverpatch install -m644 lib/dkms.py $RPM_BUILD_ROOT/opt/kusu/lib/python/kusu/driverpatch install -m644 lib/kernel.py $RPM_BUILD_ROOT/opt/kusu/lib/python/kusu/driverpatch install -m644 lib/modules.py $RPM_BUILD_ROOT/opt/kusu/lib/python/kusu/driverpatch install -m644 lib/modulesfactory.py $RPM_BUILD_ROOT/opt/kusu/lib/python/kusu/driverpatch install -m644 lib/__init__.py $RPM_BUILD_ROOT/opt/kusu/lib/python/kusu/driverpatch install -m644 doc/COPYING $RPM_BUILD_ROOT/opt/kusu/share/doc/driverpatch-%{version} %pre %post %preun %postun %files /opt/kusu/lib/python/kusu/driverpatch/* /opt/kusu/bin/driverpatch /opt/kusu/bin/patchpcitable-script %doc /opt/kusu/share/doc/driverpatch-%{version}/COPYING %clean rm -rf $RPM_BUILD_ROOT %changelog * Thu Aug 21 2008 Mark Black 5.1-12 - Reving tar file for RH * Wed Aug 13 2008 Mike Frisch 5.1-11 - Move log file from /tmp/kusu (#113531) * Tue Feb 26 2008 Najib Ninaba - Added patchpcitable-script * Mon Jan 2 2008 Shawn Starr - Initial release