Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:etrash:Dropped
pwrkap
pwrkap.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pwrkap.spec of Package pwrkap
# # spec file for package pwrkap # # norootforbuild Name: pwrkap Summary: Energy Monitor and Power Capping software for Linux Version: 7.20 Release: 2 License: GPL BuildArch: noarch Group: System/Daemons Source0: %{name}-%version.tar.bz2 # PATCH-FIX-OPENSUSE pwrkap-makefile.patch claes.backstrom@fsfe.org Patch0: pwrkap-makefile.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-build Requires: ipmitool python python-gtk %description pwrkap is a set of utilities that monitor computer energy consumption and enforces an upper limit on the amount of power consumed by the computer at any given time. %prep %setup -q -n %{name} %patch0 -p1 %build make PREFIX=%_prefix all %install make INST_PREFIX=%buildroot PREFIX=%_prefix install mkdir -p %buildroot/etc/init.d/ mkdir -p %buildroot/usr/sbin cp -pRdu redhat/init-script %buildroot/etc/init.d/pwrkap ln -sf ../../etc/init.d/pwrkap %buildroot/usr/sbin/rcpwrkap %clean make clean %post %{fillup_and_insserv pwrkap} %preun %stop_on_removal pwrkap %postun %restart_on_update pwrkap %insserv_cleanup %files %defattr(-,root,root) %dir /usr/lib/pwrkap/ %dir %{_datadir}/pwrkap/ %{_initrddir}/pwrkap %{_sbindir}/rcpwrkap /usr/lib/pwrkap/* %{_datadir}/pwrkap/* %{_bindir}/pcap_* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor