rpms/pmtools/devel cflags.patch, NONE, 1.1 pmtools.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Dave Jones (davej) fedora-extras-commits at redhat.com
Fri Mar 21 00:34:17 UTC 2008


Author: davej

Update of /cvs/pkgs/rpms/pmtools/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19257/devel

Modified Files:
	.cvsignore sources 
Added Files:
	cflags.patch pmtools.spec 
Log Message:
initial import


cflags.patch:

--- NEW FILE cflags.patch ---
--- pmtools-20071116/acpidump/Makefile~	2008-03-19 22:33:40.000000000 -0400
+++ pmtools-20071116/acpidump/Makefile	2008-03-19 22:33:50.000000000 -0400
@@ -1,7 +1,7 @@
 PROG= acpidump
 SRCS=	acpidump.c
 KERNEL_INCLUDE := ../include
-CFLAGS += -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Os -s -D_LINUX -DDEFINE_ALTERNATE_TYPES -I$(KERNEL_INCLUDE) 
+CFLAGS += -Wall -Wstrict-prototypes -Wdeclaration-after-statement -s -D_LINUX -DDEFINE_ALTERNATE_TYPES -I$(KERNEL_INCLUDE) 
 
 all: acpidump
 $(PROG) : $(SRCS)


--- NEW FILE pmtools.spec ---
Summary:        Collection of tools for processing ACPI tables.
Name:           pmtools
Version:        20071116
Release:        1%{?dist}
Group:          System Environment/Base
License:        GPLv2+
Source0:        http://www.lesswatts.org/patches/linux_acpi/%{name}-%{version}.tar.gz
Buildroot:      %{_tmppath}/%{name}-%{version}-%{release}-root
ExclusiveArch:  %{ix86} x86_64 ia64
Url:            http://www.lesswatts.org/projects/acpi/utilities.php

Patch1:         cflags.patch

%description
This is a small collection of power management test and
investigation tools.

%prep
%setup -q
%patch1 -p1

%build
CFLAGS="$CFLAGS $RPM_OPT_FLAGS" make %{?_smp_mflags}

%install
rm -rf %{buildroot}
install -D acpidump/acpidump %{buildroot}%{_sbindir}/acpidump
install -D acpixtract/acpixtract %{buildroot}%{_sbindir}/acpixtract
install -D madt/madt %{buildroot}%{_sbindir}/madt

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%{_sbindir}/acpidump
%{_sbindir}/acpixtract
%{_sbindir}/madt
%doc README COPYING

%changelog
* Thu Mar 13 2008 Dave Jones <davej at redhat.com> 20071116-1
- Initial packaging


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/pmtools/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	20 Mar 2008 23:01:08 -0000	1.1
+++ .cvsignore	21 Mar 2008 00:33:41 -0000	1.2
@@ -0,0 +1 @@
+pmtools-20071116.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/pmtools/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	20 Mar 2008 23:01:08 -0000	1.1
+++ sources	21 Mar 2008 00:33:41 -0000	1.2
@@ -0,0 +1 @@
+10aa00d2ae9f1b4653e3995589a394a3  pmtools-20071116.tar.gz




More information about the fedora-extras-commits mailing list