From 115417b77d389b050b49a3098e6de373cb0b489c Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 11 Jul 2023 02:15:07 +0000 Subject: automatic import of acpi --- acpi.spec | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 acpi.spec (limited to 'acpi.spec') diff --git a/acpi.spec b/acpi.spec new file mode 100644 index 0000000..06487de --- /dev/null +++ b/acpi.spec @@ -0,0 +1,33 @@ +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 - 1.7-1 +- Init package -- cgit v1.2.3