auto-import acpitool-0.3.0-3 on branch devel from acpitool-0.3.0-3.src.rpm

This commit is contained in:
pertusus 2005-11-11 20:16:00 +00:00
commit bbcba5ab95
4 changed files with 84 additions and 0 deletions

View file

@ -0,0 +1 @@
acpitool-0.3.0.tar.gz

View file

@ -0,0 +1,30 @@
--- acpitool-0.3.0-orig/configure 2005-10-22 15:10:09.000000000 +0200
+++ acpitool-0.3.0/configure 2005-11-10 23:49:15.000000000 +0100
@@ -3374,27 +3374,6 @@
-CXXFLAGS="-O2 -Wall"
-
-
-case ${host_cpu} in
-*586)
- CXXFLAGS="${CXXFLAGS} -mcpu=i586 -march=i586"
- ;;
-*686)
- CXXFLAGS="${CXXFLAGS} -mcpu=i686 -march=i686"
- ;;
-x86-64)
- CXXFLAGS="${CXXFLAGS} -march=k8"
- ;;
-*)
- ;;
-esac
-
-echo "$as_me:$LINENO: result: $CXXFLAGS" >&5
-echo "${ECHO_T}$CXXFLAGS" >&6
-
-
# Checks for libraries.
# Checks for header files.

52
acpitool.spec Normal file
View file

@ -0,0 +1,52 @@
Name: acpitool
Version: 0.3.0
Release: 3
Url: http://freeunix.dyndns.org:8088/site2/acpitool.shtml
Source0: http://freeunix.dyndns.org:8000/ftp_site/pub/unix/acpitool/acpitool-%{version}.tar.gz
Summary: A command line ACPI client for Linux
Group: Applications/Internet
License: GPL
Patch: acpitool-keep_CXXFLAGS.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
AcpiTool is a Linux ACPI client. It's a small command line application,
intended to be a replacement for the apm tool. The primary target
audience are laptop users, since these people are most interested in
things like battery status, thermal status and the ability to suspend
(sleep mode). The program simply accesses the /proc/acpi or /sysfs entries
to get/set acpi values. Hence, a computer running a Linux kernel from
the 2.4.x or 2.6.x series with ACPI enabled is needed.
%prep
%setup
%patch -p1
%build
%configure
make %{?_smp_mflags}
%install
rm -fr $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -fr $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README TODO ChangeLog AUTHORS COPYING
%{_bindir}/acpitool
%{_mandir}/man1/acpitool*
%changelog
* Thu Nov 10 2005 Patrice Dumas <dumas@centre-cired.fr> - 0.3.0-3
- add patch to avoid ignoring CXXFLAGS
* Fri Nov 4 2005 Patrice Dumas <dumas@centre-cired.fr> - 0.3.0-2
- update using fedora core conventions, some cleanings
* Tue Aug 24 2004 Robert Ambrose <rna@muttsoft.com>
- Created .spec file.

View file

@ -0,0 +1 @@
6f9fb795790e370e8e324fc7d4d4fe3f acpitool-0.3.0.tar.gz