LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File acpi.spec of Package acpi (Project Base:System)

#
# spec file for package acpi
#
# Copyright (c) 2011 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:           acpi
Url:            http://sourceforge.net/projects/acpiclient/
Version:        1.5
Release:        5
License:        GPL-2.0+
Group:          System/Daemons
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
Patch:          acpi-memset-with-zero-length.patch

%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.

%prep
%setup -q
%patch

%build
%configure
make %{?_smp_mflags}

%install
make install DESTDIR=$RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog README COPYING
%{_bindir}/acpi
%{_datadir}/man/man1/acpi.1.gz

%changelog