File acpi.spec of Package acpi
#
# spec file for package acpi (Version 1.5)
#
# Copyright (c) 2010 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/
#
# norootforbuild
Name: acpi
Url: http://sourceforge.net/projects/acpiclient/
Version: 1.5
Release: 1
License: GPLv2+
Group: System/Daemons
AutoReqProv: on
PreReq: %insserv_prereq %fillup_prereq
Summary: Command-line ACPI client
Source: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: %ix86 x86_64 ia64
# Package was split from acpid package
Provides: acpid:/usr/bin/acpi
%description
Linux ACPI client is a small command-line program that attempts to
replicate the functionality of the 'old' apm command on ACPI systems.
It includes battery and thermal information.
Authors:
--------
Grahame Bowland <grahame@angrygoats.net>
Michael Meskes <meskes@debian.org>
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog README COPYING
%{_bindir}/acpi
%{_datadir}/man/man1/acpi.1.gz
%changelog