File idle3-tools.spec of Package idle3-tools
#
# spec file for package idle3-tools
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: idle3-tools
Summary: Western Digital hard disk idle3 timer adjustment utility
Version: 0.9.1.s21
Release: 0
Url: http://idle3-tools.sf.net/
License: GPL-3.0+
Group: System/Hardware
#SVN-Clone: svn://svn.code.sf.net/p/idle3-tools/code/trunk
#Snapshot: r21
Source: %name-%version.tar.xz
Source2: LICENSE.TXT
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: xz
%description
idle3-tools provides a Linux utility that can disable, get and set
the value of the infamous idle3 timer found on recent Western Digital
hard disk drives. It can be used as an alternative to the official
wdidle3.exe proprietary utility, without the need to reboot in a DOS
environment.
%prep
%setup -qn idle3-tools-code
%build
make %{?_smp_mflags} CFLAGS="%optflags" LDFLAGS=" "
%install
cp "%{S:2}" .
%make_install exec_prefix="%_exec_prefix/"
%files
%defattr(-,root,root)
%doc COPYING LICENSE.TXT
%_sbindir/idle3ctl
%_mandir/man*/*
%changelog