]> git.pld-linux.org Git - packages/acpi.git/commitdiff
- initial pld release
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 24 Oct 2003 20:53:41 +0000 (20:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    acpi.spec -> 1.1

acpi.spec [new file with mode: 0644]

diff --git a/acpi.spec b/acpi.spec
new file mode 100644 (file)
index 0000000..0fbb879
--- /dev/null
+++ b/acpi.spec
@@ -0,0 +1,45 @@
+Summary:       command-line ACPI client
+Name:          acpi
+Version:       0.0.6
+Release:       1
+License:       GPL
+Group:         Applications
+Source0:       http://grahame.angrygoats.net/source/acpi/%{name}_%{version}.tar.gz
+# Source0-md5: 062a77b38b929fe34120c3f258fd01ba
+Patch0:                %{name}-debian.patch
+URL:           http://grahame.angrygoats.net/acpi.shtml
+BuildRequires: automake
+BuildRequires: autoconf
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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 -n %{name}
+%patch0 -p1
+
+%build
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_mandir}/man1
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+install %{name}.1      $RPM_BUILD_ROOT%{_mandir}/man1
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS CREDITS ChangeLog 
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man?/*
This page took 0.107339 seconds and 4 git commands to generate.