]> git.pld-linux.org Git - SPECS.git/blob - idle3-tools.spec
SPECS updated Tue 30 Apr 15:06:09 CEST 2024
[SPECS.git] / idle3-tools.spec
1 Summary:        Manipulate the value of the idle3 timer found on recent WD Hard Disk Drives
2 Name:           idle3-tools
3 Version:        0.9.1
4 Release:        1
5 License:        GPL v3
6 Group:          Applications/System
7 Source0:        http://downloads.sourceforge.net/idle3-tools/%{name}-%{version}.tgz
8 # Source0-md5:  797d8775b80b7b7b67a1f8b0a5b41f30
9 URL:            http://idle3-tools.sourceforge.net/
10 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
11
12 %description
13 Idle3-tools provides a Linux/Unix utility that can disable, get and
14 set the value of the infamous idle3 timer found on recent Western
15 Digital Hard Disk Drives. It can be used as an alternative to the
16 official wdidle3.exe proprietary utility, without the need to reboot
17 in a DOS environement. A power off/on cycle of the drive will still be
18 mandatory for new settings to be taken into account.
19
20 Idle3-tools is an independant project, unrelated in any way to Western
21 Digital Corp.
22
23 WARNING: THIS SOFTWARE IS EXPERIMENTAL AND NOT WELL TESTED. IT
24 ACCESSES LOW LEVEL INFORMATION OF YOUR HARDDRIVE. USE AT YOUR OWN
25 RISK.
26
27 %prep
28 %setup -q
29
30 %build
31 CFLAGS="%{rpmcflags}" \
32 CC="%{__cc}" \
33 %{__make} \
34         LDFLAGS="%{rpmldflags}" \
35         STRIP=/bin/true
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 %{__make} install \
40         binprefix=%{_prefix} \
41         DESTDIR=$RPM_BUILD_ROOT
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc COPYING
49 %attr(755,root,root) %{_sbindir}/idle3ctl
50 %{_mandir}/man8/idle3ctl*
This page took 0.891679 seconds and 3 git commands to generate.