Compare commits
7 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e9056cdd04 | ||
|
|
fa38f8b1bd | ||
|
|
bb62c82430 | ||
|
|
21a525f349 | ||
|
|
b3f4e986f8 | ||
|
|
e1eeced391 | ||
|
|
4a98db8973 |
6 changed files with 35 additions and 73 deletions
|
|
@ -1 +0,0 @@
|
||||||
acpitool-0.3.0.tar.gz
|
|
||||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
acpitool-0.4.7.tar.bz2
|
||||||
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
||||||
# Makefile for source rpm: acpitool
|
|
||||||
# $Id$
|
|
||||||
NAME := acpitool
|
|
||||||
SPECFILE = $(firstword $(wildcard *.spec))
|
|
||||||
|
|
||||||
define find-makefile-common
|
|
||||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
|
||||||
endef
|
|
||||||
|
|
||||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
|
||||||
|
|
||||||
ifeq ($(MAKEFILE_COMMON),)
|
|
||||||
# attept a checkout
|
|
||||||
define checkout-makefile-common
|
|
||||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
|
||||||
endef
|
|
||||||
|
|
||||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
|
||||||
endif
|
|
||||||
|
|
||||||
include $(MAKEFILE_COMMON)
|
|
||||||
|
|
@ -1,30 +0,0 @@
|
||||||
--- 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.
|
|
||||||
|
|
@ -1,26 +1,24 @@
|
||||||
|
Summary: Command line ACPI client
|
||||||
Name: acpitool
|
Name: acpitool
|
||||||
Version: 0.3.0
|
Version: 0.4.7
|
||||||
Release: 3%{?dist}
|
Release: 2%{?dist}
|
||||||
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
|
License: GPL
|
||||||
Patch: acpitool-keep_CXXFLAGS.diff
|
Group: Applications/System
|
||||||
|
URL: http://freeunix.dyndns.org:8000/site2/acpitool.shtml
|
||||||
|
|
||||||
|
Source: http://freeunix.dyndns.org:8000/ftp_site/pub/unix/acpitool/acpitool-%{version}.tar.bz2
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
AcpiTool is a Linux ACPI client. It's a small command line application,
|
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
|
intended to be a replacement for the apm tool. The primary target audience
|
||||||
audience are laptop users, since these people are most interested in
|
are laptop users, since these people are most interested in things like
|
||||||
things like battery status, thermal status and the ability to suspend
|
battery status, thermal status and the ability to suspend (sleep mode).
|
||||||
(sleep mode). The program simply accesses the /proc/acpi or /sysfs entries
|
The program simply accesses the /proc/acpi or /sysfs entries to get or set
|
||||||
to get/set acpi values. Hence, a computer running a Linux kernel from
|
ACPI values.
|
||||||
the 2.4.x or 2.6.x series with ACPI enabled is needed.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup
|
%setup -q
|
||||||
%patch -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
|
|
@ -35,18 +33,33 @@ rm -fr $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc README TODO ChangeLog AUTHORS COPYING
|
%doc AUTHORS ChangeLog COPYING INSTALL README TODO
|
||||||
%{_bindir}/acpitool
|
%{_bindir}/acpitool
|
||||||
%{_mandir}/man1/acpitool*
|
%{_mandir}/man1/acpitool*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Nov 10 2005 Patrice Dumas <dumas@centre-cired.fr> - 0.3.0-3
|
* Thu May 24 2007 Patrice Dumas <pertusus@free.fr> 0.4.7-2
|
||||||
|
- update to 0.4.7
|
||||||
|
|
||||||
|
* Fri Oct 6 2006 Patrice Dumas <pertusus@free.fr> 0.4.6-2
|
||||||
|
- set Group to Applications/System (fix #209230)
|
||||||
|
|
||||||
|
* Mon Aug 28 2006 Patrice Dumas <pertusus@free.fr> 0.4.6-1
|
||||||
|
- update to 0.4.6
|
||||||
|
|
||||||
|
* Sun May 21 2006 Patrice Dumas <pertusus@free.fr> 0.4.5-1
|
||||||
|
- update to 0.4.5
|
||||||
|
|
||||||
|
* Thu Feb 16 2006 Patrice Dumas <pertusus@free.fr> 0.4.4-1.1
|
||||||
|
- new version
|
||||||
|
- remove now unneeded patch
|
||||||
|
|
||||||
|
* Thu Nov 10 2005 Patrice Dumas <pertusus@free.fr> 0.3.0-3
|
||||||
- add patch to avoid ignoring CXXFLAGS
|
- add patch to avoid ignoring CXXFLAGS
|
||||||
|
|
||||||
* Fri Nov 4 2005 Patrice Dumas <dumas@centre-cired.fr> - 0.3.0-2
|
* Fri Nov 4 2005 Patrice Dumas <pertusus@free.fr> 0.3.0-2
|
||||||
- update using fedora core conventions, some cleanings
|
- update using fedora core conventions, some cleanings
|
||||||
|
|
||||||
* Tue Aug 24 2004 Robert Ambrose <rna@muttsoft.com>
|
* Tue Aug 24 2004 Robert Ambrose <rna@muttsoft.com>
|
||||||
- Created .spec file.
|
- Created .spec file.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
||||||
6f9fb795790e370e8e324fc7d4d4fe3f acpitool-0.3.0.tar.gz
|
cba416a11229e896ec2639c59b6f59c5 acpitool-0.4.7.tar.bz2
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue