From 8a02269411698db372a9e8a3e2f423ea8724be7f Mon Sep 17 00:00:00 2001 From: pertusus Date: Mar 17 2006 21:44:08 +0000 Subject: auto-import acpi-0.09-1 on branch devel from acpi-0.09-1.src.rpm --- diff --git a/.cvsignore b/.cvsignore index e69de29..0e5b3ce 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +acpi-0.09.tar.gz diff --git a/acpi-0.09-keep_CFLAGS.diff b/acpi-0.09-keep_CFLAGS.diff new file mode 100644 index 0000000..12fab8f --- /dev/null +++ b/acpi-0.09-keep_CFLAGS.diff @@ -0,0 +1,11 @@ +--- Makefile.in-old 2006-03-06 11:18:24.000000000 +0100 ++++ Makefile.in 2006-03-06 11:18:41.000000000 +0100 +@@ -69,7 +69,7 @@ + PACKAGE = @PACKAGE@ + VERSION = @VERSION@ + +-CFLAGS = -Wall ++CFLAGS = @CFLAGS@ + + bin_PROGRAMS = acpi + acpi_SOURCES = acpi.c main.c list.c diff --git a/acpi.spec b/acpi.spec new file mode 100644 index 0000000..506e7e4 --- /dev/null +++ b/acpi.spec @@ -0,0 +1,46 @@ +Summary: Command-line ACPI client +Summary(pl): Klient ACPI działający z linii poleceń +Name: acpi +Version: 0.09 +Release: 1%{?dist} +License: GPL +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 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-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. + +%description -l pl +Klient Linux ACPI to mały program działający z linii poleceń, będący +próbą zastąpienia funkcjonalności "starego" polecenia apm na systemach +opartych o ACPI. Zawiera informacje o zasilaniu i temperaturze. + +%prep +%setup -q +%patch0 + +%build +%configure +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT + +make install DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog README COPYING +%{_bindir}/acpi + +%changelog +* Mon Mar 6 2006 Patrice Dumas - 0.09-1 +- based on pld. Updated, and adapted to fedora extras diff --git a/sources b/sources index e69de29..bd6797f 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +a5a70595834b487c3a2f9278a3d60768 acpi-0.09.tar.gz