Sophie

Sophie

distrib > Mandriva > 2009.1 > x86_64 > media > main-release-src > by-pkgid > 5cd328f15862fe2fcd25cb6f0e9141cd > files > 2

cpufreq-1.0-31mdv2009.1.src.rpm

%define name cpufreq
%define version 1.0
%define release %mkrel 31

Summary: An initscript to set CPU frequency settings
Name: %{name}
Version: %{version}
Release: %{release}
Source0: cpufreq.init
Source1: cpufreq.sysconfig
License: GPL
Group: System/Servers
BuildRoot: %{_tmppath}/%{name}-buildroot
Requires(pre): rpm-helper
Requires(postun): rpm-helper
BuildArch: noarch
Url:       http://cvs.mandriva.com/cgi-bin/cvsweb.cgi/SPECS/cpufreq/
Requires:  pciutils, sed, gawk, grep, coreutils

%description
cpufreq is a simple initscript to set CPU frequency settings.

%prep

%build

%install
rm -rf %{buildroot}
mkdir -p  %{buildroot}%_initrddir %{buildroot}%_sysconfdir/sysconfig
install -D -m755 %{SOURCE0} %{buildroot}%_initrddir/%{name}
install -D -m644 %{SOURCE1} %{buildroot}%_sysconfdir/sysconfig/%{name}

%clean
rm -rf %{buildroot}

%post
%_post_service %{name}

%preun
%_preun_service  %{name}

%files
%defattr(-,root,root)
%attr(755,root,root) %_initrddir/%{name}
%config(noreplace) %_sysconfdir/sysconfig/%{name}


%changelog
* Mon Dec 29 2008 Oden Eriksson <oeriksson@mandriva.com> 1.0-31mdv2009.1
+ Revision: 321089
- rebuild

* Mon Sep 29 2008 Olivier Blin <oblin@mandriva.com> 1.0-30mdv2009.0
+ Revision: 289167
- implement service status (to be fastinit compatible)

* Tue Aug 05 2008 Olivier Blin <oblin@mandriva.com> 1.0-29mdv2009.0
+ Revision: 264028
- use ondemand governor by default (#42310)

* Mon Jun 16 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.0-28mdv2009.0
+ Revision: 220512
- rebuild

* Tue Feb 12 2008 Olivier Blin <oblin@mandriva.com> 1.0-27mdv2008.1
+ Revision: 166314
- do not require obsolete acpi service in initscript

* Fri Jan 11 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.0-26mdv2008.1
+ Revision: 149131
- rebuild
- kill re-definition of %%buildroot on Pixel's request

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

* Fri Jun 22 2007 Adam Williamson <awilliamson@mandriva.com> 1.0-25mdv2008.0
+ Revision: 42542
- rebuild for 2008
- Import cpufreq




* Mon Jul 10 2006 Olivier Blin <oblin@mandriva.com> 1.0-24mdv2007.0
- drop modules probing, this is done by harddrake now
- drop chkconfig comments in initscript

* Mon Jan  9 2006 Olivier Blin <oblin@mandriva.com> 1.0-23mdk
- from Andrey Borzenkov (#20523): fix startup order and add comments

* Mon Jan  9 2006 Olivier Blin <oblin@mandriva.com> 1.0-22mdk
- convert parallel init to LSB
- acpi-cpufreq support (Andrey Borzenkov, #20519)

* Mon Jan  2 2006 Olivier Blin <oblin@mandriva.com> 1.0-21mdk
- parallel init support

* Tue Dec 20 2005 Olivier Blin <oblin@mandriva.com> 1.0-20mdk
- adapt to new "lspci -n" format  (Michael Reinsch, #20275)

* Mon Oct  3 2005 Olivier Blin <oblin@mandriva.com> 1.0-19mdk
- fix typo in service description (#18961)

* Mon Sep 19 2005 Olivier Blin <oblin@mandriva.com> 1.0-18mdk
- don't unload module on stop, but try to reload it on restart (#18460)

* Mon Aug 29 2005 Austin Acton <austin@mandriva.org> 1.0-17mdk
- add conservative governor module

* Mon Aug 08 2005 Frederic Crozat <fcrozat@mandriva.com> 1.0-16mdk 
- Update source0 and add source1 : add support for setting
  governor, max and min frequencies after loading modules
- Fix url

* Mon Jun 13 2005 Erwan Velu <velu@seanodes.com> 1.0-15mdk
- Fixing rights

* Thu Mar 17 2005 Olivier Blin <oblin@mandrakesoft.com> 1.0-14mdk
- AMD 64 support (#14687)

* Mon Mar 14 2005 Olivier Blin <oblin@mandrakesoft.com> 1.0-13mdk
- do not look for cpufreq entry in /proc (obsolete)
  or in /sysfs (dynamically created by cpufreq modules) (#13289)

* Sat Feb 12 2005 Olivier Blin <oblin@mandrakesoft.com> 1.0-12mdk
- probe speedstep-smi module (#13015)

* Wed Feb  2 2005 Olivier Blin <oblin@mandrakesoft.com> 1.0-11mdk
- PPC support and misc fixes (from Danny Tholen)

* Tue Feb  1 2005 Olivier Blin <blino@mandrake.org> 1.0-10mdk
- load all cpufreq governors (#13290)
  (performance, ondemand, userspace, powersave)

* Wed Jan  5 2005 Olivier Blin <blino@mandrake.org> 1.0-9mdk
- handle one more centrino CPU (Dothan, model 13)
- merge patch0

* Fri Oct 22 2004 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 1.0-8.1mdk
- handle powernow-k8

* Wed Sep  8 2004 Frederic Lepied <flepied@mandrakesoft.com> 1.0-8mdk
- applied patch from Jan Ciger (bug #11309)

* Sat Sep  4 2004 Erwan Velu <erwan@mandrakesoft.com> 1.0-7mdk
- Oups, fixing stupid friday syntax

* Fri Sep  3 2004 Erwan Velu <erwan@mandrakesoft.com> 1.0-6mdk
- Probing the chipset drivers first
- 2.4 kernel support was missing
- Adding requires

* Fri Sep  3 2004 Juan Quintela <quintela@n5.mandrakesoft.com> 1.0-5mdk
- we need to ask for ich before P4, otherwise, P4 wins always.

* Sat Aug 28 2004 Michael Scherer <misc@mandrake.org> 1.0-4mdk 
- add a Requires on pci-utils ( fix #11049 )
- add Url

* Thu Aug 26 2004 Erwan Velu <erwan@mandrakesoft.com> 1.0-3mdk
- Fixing stupid parsing in /proc : ht & smp systems were buggy #10976

* Wed Aug 25 2004 Robert Vojta <robert.vojta@mandrake.org> 1.0-2mdk
- next ICH added (8086:244c) (#10940)
- probe_P4() function fixed (#10940)
- it's a simple script -> i586 moved to noarch

* Mon Aug 23 2004 Erwan Velu <erwan@mandrakesoft.com> 1.0-1mdk
- Initial release
# end of file