]> git.pld-linux.org Git - packages/athcool.git/blob - athcool.spec
This commit was manufactured by cvs2git to create branch 'RA-branch'.
[packages/athcool.git] / athcool.spec
1 Summary:        Athlon Powersaving bits enabler
2 Summary(ja):    AMD Athlon/Duron ¤Î¾ÊÅÅÎϵ¡Ç½¤òÍ­¸ú¤Ë¤¹¤ë
3 Summary(pl):    Narzêdzie do w³±czania trybu oszczêdno¶ci energii procesorów Athlon
4 Name:           athcool
5 Version:        0.3.5
6 Release:        1.1
7 License:        GPL v2
8 Group:          Applications/System
9 Source0:        http://members.jcom.home.ne.jp/jacobi/linux/files/%{name}-%{version}.tar.gz
10 # Source0-md5:  6611dfbe78dfdcde4612e53e2537075d
11 Source1:        %{name}.init
12 Source2:        %{name}.sysconfig
13 URL:            http://members.jcom.home.ne.jp/jacobi/linux/softwares.html
14 BuildRequires:  pciutils-devel
15 PreReq:         rc-scripts
16 Requires(post,postun):  /sbin/chkconfig
17 ExclusiveArch:  %{ix86}
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 athcool is a small utility, enabling/disabling Powersaving mode for
22 AMD Athlon/Duron processors.
23
24 Powersaving works if your kernel support ACPI (APM not work), because
25 athcool only set/unset "Disconnect enable when STPGNT detected" bits
26 in the Northbridge of Chipset.
27
28 %description -l ja
29 ¡¡athcool ¤Ï AMD Athlon/Duron
30 ¤Î¾ÊÅÅÎϵ¡Ç½¤òÍ­¸ú¤Ë¤·¡¢ÌµÂ̤ÊȯǮ¤òÍÞ¤¨¤Þ¤¹¡£ CPU
31 ÍøÍÑΨ¤¬Ä㤤»þ¤Ë¤Ï·àŪ¤ËȯǮ¤¬¸º¤ê¤Þ¤¹¡£
32 ¡¡¥Á¥Ã¥×¥»¥Ã¥È¤Ë¤è¤Ã¤Æ¤ÏÀµ¾ï¤ËºîÆ°¤·¤Ê¤¤¾ì¹ç¤â¤¢¤ê¤Þ¤¹¤Î¤Ç¡¢¾åµ­
33 URL ¤ò»²¾È ¤Î¾å¤Ç»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤¡£ ¡¡¤Ê¤ª¡¢¾ÊÅÅÎϵ¡Ç½¤Ë¤Ï ACPI
34 Âбþ¤Î¥«¡¼¥Í¥ë¤¬É¬ÍפǤ¹¡£
35
36 %description -l pl
37 athcool jest ma³ym programem narzêdziowym s³u¿±cym do w³±czania i
38 wy³±czania trybu oszczêdno¶ci energii procesorów AMD Athlon/Duron.
39
40 Tryb oszczêdno¶ci energii dzia³a gdy j±dro zawiera wsparcie dla ACPI
41 (z APM nie dzia³a), gdy¿ athcool jedynie ustawia/zeruje flagi bitowe
42 "Disconnect enable when STPGNT detected" w mostku pó³nocnym chipsetu.
43
44 %prep
45 %setup -q
46
47 %build
48 %{__make} \
49         CC="%{__cc}" \
50         CFLAGS="%{rpmcflags}"
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54 install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig}
55
56 %{__make} install \
57         DESTDIR=$RPM_BUILD_ROOT
58
59 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
60 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %post
66 /sbin/chkconfig --add athcool
67
68 %preun
69 if [ "$1" = "0" ]; then
70         /sbin/chkconfig --del athcool
71 fi
72
73 %files
74 %defattr(644,root,root,755)
75 %doc README ChangeLog
76 %attr(755,root,root) %{_sbindir}/athcool
77 %attr(754,root,root) /etc/rc.d/init.d/%{name}
78 %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/%{name}
79 %{_mandir}/man8/*
This page took 0.109151 seconds and 3 git commands to generate.