Group :: System/Configuration/Hardware
RPM: powertweak
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: powertweak
Version: 0.99.5
Release: alt2
Summary: Powertweak - tune system to optimal performance
License: GPL
Group: System/Configuration/Hardware
Url: http://powertweak.sourceforge.net
Source0: %name-%version.tar.bz2
Source1: %name.init
Source2: %name.control
BuildPreReq: pciutils kernel-headers-std
ExclusiveArch: %ix86
# Automatically added by buildreq on Thu Sep 11 2003
BuildRequires: XFree86-devel XFree86-libs gcc-c++ glib-devel gtk+-devel libgpm-devel libxml2-devel zlib-devel
Conflicts: lib%name < 0.99.5-alt2
%description
Powertweak is a utility for tweaking your Linux system to peak performance.
It can tune many parts of your system. Tunes PCI devices to use optimal
settings. Enables performance enhancing features of the CPU(s).
%prep
%setup -q
%build
unset CC
%configure --disable-rpath
%make_build
%install
%make DESTDIR=%buildroot install
%__cat > %name.menu << __EOF__
?package(%name): \
command="%_bindir/gpowertweak" \
title="Powertweak" \
longtitle="System tuner" \
needs="x11" \
icon="hardware_section.png" \
section="Configuration/Hardware"
__EOF__
%__install -pD -m644 %name.menu %buildroot%_menudir/%name
%__install -pD -m755 %SOURCE1 %buildroot%_initdir/powertweakd
%__install -pD -m755 %SOURCE2 %buildroot%_controldir/%name
%pre
%pre_control %name
%post
%post_service powertweakd
%post_control %name
%update_menus
%preun
%preun_service powertweakd
%postun
%clean_menus
%files
%doc Documentation AUTHORS ChangeLog NEWS README
%_bindir/*
%_sbindir/*
%_initdir/*
%_datadir/%name
%config(noreplace) %_sysconfdir/%name
%_menudir/*
%_libdir/%name/*/*.so
%_libdir/%name/*/*.so.*
%_libdir/%name/*/*/*.so
%_libdir/%name/*/*/*.so.*
%_controldir/%name
# TODO:
# - separate server, client and gtk+ parts?
# - clean up spec (configure/make)
%changelog
…
Full changelog you can see here
Version: 0.99.5
Release: alt2
Summary: Powertweak - tune system to optimal performance
License: GPL
Group: System/Configuration/Hardware
Url: http://powertweak.sourceforge.net
Source0: %name-%version.tar.bz2
Source1: %name.init
Source2: %name.control
BuildPreReq: pciutils kernel-headers-std
ExclusiveArch: %ix86
# Automatically added by buildreq on Thu Sep 11 2003
BuildRequires: XFree86-devel XFree86-libs gcc-c++ glib-devel gtk+-devel libgpm-devel libxml2-devel zlib-devel
Conflicts: lib%name < 0.99.5-alt2
%description
Powertweak is a utility for tweaking your Linux system to peak performance.
It can tune many parts of your system. Tunes PCI devices to use optimal
settings. Enables performance enhancing features of the CPU(s).
%prep
%setup -q
%build
unset CC
%configure --disable-rpath
%make_build
%install
%make DESTDIR=%buildroot install
%__cat > %name.menu << __EOF__
?package(%name): \
command="%_bindir/gpowertweak" \
title="Powertweak" \
longtitle="System tuner" \
needs="x11" \
icon="hardware_section.png" \
section="Configuration/Hardware"
__EOF__
%__install -pD -m644 %name.menu %buildroot%_menudir/%name
%__install -pD -m755 %SOURCE1 %buildroot%_initdir/powertweakd
%__install -pD -m755 %SOURCE2 %buildroot%_controldir/%name
%pre
%pre_control %name
%post
%post_service powertweakd
%post_control %name
%update_menus
%preun
%preun_service powertweakd
%postun
%clean_menus
%files
%doc Documentation AUTHORS ChangeLog NEWS README
%_bindir/*
%_sbindir/*
%_initdir/*
%_datadir/%name
%config(noreplace) %_sysconfdir/%name
%_menudir/*
%_libdir/%name/*/*.so
%_libdir/%name/*/*.so.*
%_libdir/%name/*/*/*.so
%_libdir/%name/*/*/*.so.*
%_controldir/%name
# TODO:
# - separate server, client and gtk+ parts?
# - clean up spec (configure/make)
%changelog
…
Full changelog you can see here