summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-03-18 11:15:46 +0000
committerCoprDistGit <infra@openeuler.org>2023-03-18 11:15:46 +0000
commit191c30b28b70b61168b9c5efee506fac780bad11 (patch)
tree9f78a870d4633b4d795cfee0ad8a0ff1f2ca5791
parent372f8945ed50df4d6d7640e7a6c8e2ee20befc68 (diff)
automatic import of acpiopeneuler22.09
-rw-r--r--.gitignore1
-rw-r--r--acpi.spec33
-rw-r--r--sources1
3 files changed, 35 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..6511483 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/acpi-1.7.tar.gz
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 <pkwarcraft@hotmail.com> - 1.7-1
+- Init package
diff --git a/sources b/sources
new file mode 100644
index 0000000..5c7b6aa
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+b52ce4ca39bbf7000a1c2de8879f1dcb acpi-1.7.tar.gz