Sophie

Sophie

distrib > Mandriva > 2006.0 > x86_64 > by-pkgid > 8d22dceab2144ff42d26091a9b6be661 > files > 2

schedtool-1.2.5-1mdk.src.rpm

Name: schedtool
Version: 1.2.5
Release: 1mdk

Summary: Tool for setting and querying scheduling parameters
License: GPL
Group: System/Kernel and hardware
Url: http://freequaos.host.sk/schedtool/
Source: %name-%version.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-root

%description
schedtool can set all scheduling parameters Linux is capable of or dis-
play information for given processes.
													
Long-running, non-interactive tasks may  benefit  from  SCHED_BATCH  as
timeslices are longer, less system-time is wasted by computing the next
runnable process and the caches stay stable.
													
Audio/video or other near-realtime applications may run with less skip-
ping  if  set  to SCHED_RR.  Use the static priority-switch -p to fine-
tune inter-process-hierarchies.
													
schedtool now supports setting the  CPU-affinity  introduced  in  linux
2.5.8.

%prep
%setup -q

%build
%make
# CFLAGS="$RPM_OPT_FLAGS"

%install
rm -rf %{buildroot}
install -m755 -d $RPM_BUILD_ROOT/%_bindir/
install -m755  %name $RPM_BUILD_ROOT/%_bindir/%name
install -m755 -d $RPM_BUILD_ROOT/%{_mandir}/man8/
install -m611  %name.8 $RPM_BUILD_ROOT/%{_mandir}/man8/%name.8.bz2

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%attr(755,root,root) %_bindir/*
%doc CHANGES INSTALL LICENSE PACKAGERS README SCHED_DESIGN TUNING
%attr(644,root,root) %{_mandir}/man8/%name.*

%changelog
* Mon Jul 04 2005 Lenny Cartier <lenny@mandriva.com> 1.2.5-1mdk
- 1.2.5

* Wed Mar 30 2005 Danny Tholen <obiwan@mailmij.org> 1.2.4-1mdk
- updated to latest version
- fix manpage

* Thu Aug 12 2004 Svetoslav Slavtchev <svetljo@gmx.de> 1.1.1-1mdk
- recompile for contrib

* Mon Jul 19 2004 Torbjorn Turpeinen <tobbe@nyvalls.se> 1.1.1-1thac
- Updated to latest version.

* Thu Jun 17 2004 Torbjorn Turpeinen <tobbe@nyvalls.se> 1.0-3thac
- Changed defattr to root,root
- 
* Thu Jun 17 2004 Torbjorn Turpeinen <tobbe@nyvalls.se> 1.0-2thac
- Moved to bindir

* Sat Jun 12 2004 Torbjorn Turpeinen <tobbe@nyvalls.se> 1.0-1thac
- Built for Mandrake 10.0