!1 init package

From: @mywaaagh_admin 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2023-07-31 09:23:53 +00:00 committed by Gitee
commit bcb53147ee
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 34 additions and 0 deletions

BIN
acpi-1.7.tar.gz Normal file

Binary file not shown.

34
acpi.spec Normal file
View File

@ -0,0 +1,34 @@
Summary: Command-line ACPI client
Name: acpi
Version: 1.7
Release: 1
License: GPLv2+
Source0: http://downloads.sourceforge.net/project/acpiclient/acpiclient/%{version}/%{name}-%{version}.tar.gz
URL: http://sourceforge.net/projects/acpiclient/
BuildRequires: gcc
BuildRequires: make
%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
%build
%configure
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
%files
%doc AUTHORS ChangeLog README COPYING
%{_bindir}/acpi
%{_mandir}/man1/acpi.1*
%changelog
* Thu Feb 16 2023 lichaoran <pkwarcraft@hotmail.com> - 1.7-1
- Init package