|
@@ -2,15 +2,17 @@ Summary: Command-line ACPI client
|
|
|
Summary(ja): コマンドライン ACPI クライアント
|
|
|
Summary(pl): Klient ACPI działający z linii poleceń
|
|
|
Name: acpi
|
|
|
-Version: 0.09
|
|
|
+Version: 1.5
|
|
|
Release: 1%{?_dist_release}
|
|
|
License: GPLv2+
|
|
|
Group: Applications/System
|
|
|
-Source0: http://grahame.angrygoats.net/source/acpi/acpi-%{version}.tar.gz
|
|
|
-Patch0: acpi-0.09-keep_CFLAGS.diff
|
|
|
-URL: http://grahame.angrygoats.net/acpi.shtml
|
|
|
+Source0: acpi-%{version}.tar.gz
|
|
|
+URL: http://sourceforge.net/projects/acpiclient/
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
|
|
|
+Vendor: Project Vine
|
|
|
+Distribution: Vine Linux
|
|
|
+
|
|
|
%description
|
|
|
Linux ACPI client is a small command-line program that attempts to
|
|
|
replicate the functionality of the 'old' apm command on ACPI systems.
|
|
@@ -28,26 +30,29 @@ opartych o ACPI. Zawiera informacje o zasilaniu i temperaturze.
|
|
|
|
|
|
%prep
|
|
|
%setup -q
|
|
|
-%patch0
|
|
|
|
|
|
%build
|
|
|
%configure
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
|
-rm -rf $RPM_BUILD_ROOT
|
|
|
+rm -rf %{buildroot}
|
|
|
|
|
|
-make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
+make install DESTDIR=%{buildroot}
|
|
|
|
|
|
%clean
|
|
|
-rm -rf $RPM_BUILD_ROOT
|
|
|
+rm -rf %{buildroot}
|
|
|
|
|
|
%files
|
|
|
%defattr(-,root,root,-)
|
|
|
%doc AUTHORS ChangeLog README COPYING
|
|
|
%{_bindir}/acpi
|
|
|
+%{_datadir}/man/man1/*
|
|
|
|
|
|
%changelog
|
|
|
+* Thu Mar 22 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.5-1
|
|
|
+- new upstream release
|
|
|
+
|
|
|
* Mon Aug 11 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.09-1
|
|
|
- initial build for Vine Linux
|
|
|
|