/[packages]/updates/1/cpufreq/current/SPECS/cpufreq.spec
ViewVC logotype

Diff of /updates/1/cpufreq/current/SPECS/cpufreq.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 223552 by kamil, Tue Feb 21 07:02:53 2012 UTC revision 223553 by kamil, Thu Mar 15 22:58:47 2012 UTC
# Line 1  Line 1 
1  %define subrel 1  %define subrel 2
2    
3  Name:           cpufreq  Name:           cpufreq
4  Version:        1.0  Version:        1.0
# Line 6  Release:        %mkrel 35 Line 6  Release:        %mkrel 35
6  Summary:        An initscript to set CPU frequency settings  Summary:        An initscript to set CPU frequency settings
7  License:        GPL  License:        GPL
8  Group:          System/Servers  Group:          System/Servers
9  # (kail) 2012-02-08 - please in future releases use new URL https://wiki.mageia.org/en/Power_saving  URL:            https://wiki.mageia.org/en/Power_saving
 URL:            https://wiki.mageia.org/en/Power_Saving  
10  Source0:        %{name}.init  Source0:        %{name}.init
11  Source1:        %{name}.sysconfig  Source1:        %{name}.sysconfig
12    # (kamil) fix condrestart and status (mga #4607)
13    Patch0:         %{name}-1.0-mga-fix-condrestart-and-status.patch
14    
15  BuildArch:      noarch  BuildArch:      noarch
16    
17  Requires(pre):  rpm-helper  Requires(pre):  rpm-helper
18  Requires(postun): rpm-helper  Requires(postun): rpm-helper
19    
   
20  Requires:       pciutils, sed, gawk, grep, coreutils  Requires:       pciutils, sed, gawk, grep, coreutils
21    
   
22  %description  %description
23  cpufreq is a simple initscript to set CPU frequency settings.  cpufreq is a simple initscript to set CPU frequency settings.
24    
# Line 28  cpufreq is a simple initscript to set CP Line 27  cpufreq is a simple initscript to set CP
27  %setup -q -c -T  %setup -q -c -T
28  cp %{_sourcedir}/%{name}.init .  cp %{_sourcedir}/%{name}.init .
29  cp %{_sourcedir}/%{name}.sysconfig .  cp %{_sourcedir}/%{name}.sysconfig .
30    %patch0 -p0
31    
32  %build  %build
33  # (kamil) fix paths in scripts for condrestart and status (mga #4607)  # nothing to do
 sed -i "s@/var/log@/var/lock@gi" %{name}.init  
34    
35  %install  %install
36  # init  # init

Legend:
Removed from v.223552  
changed lines
  Added in v.223553

  ViewVC Help
Powered by ViewVC 1.1.28