rpms/superiotool/EL-5 superiotool-Makefile_cleanup.diff, NONE, 1.1 superiotool-version_fix.diff, NONE, 1.1 superiotool.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Peter Lemenkov (peter) fedora-extras-commits at redhat.com
Thu Oct 4 06:30:04 UTC 2007


Author: peter

Update of /cvs/extras/rpms/superiotool/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12956/EL-5

Modified Files:
	.cvsignore sources 
Added Files:
	superiotool-Makefile_cleanup.diff superiotool-version_fix.diff 
	superiotool.spec 
Log Message:
initial commit

superiotool-Makefile_cleanup.diff:

--- NEW FILE superiotool-Makefile_cleanup.diff ---
--- Makefile~	2007-09-28 19:45:43.000000000 +0400
+++ Makefile	2007-10-02 16:23:28.000000000 +0400
@@ -24,10 +24,6 @@
 INSTALL = /usr/bin/install
 PREFIX  = /usr/local
 
-# TODO: -pedantic
-CFLAGS = -O2 -Wall -Werror -Wstrict-prototypes -Wundef -Wstrict-aliasing \
-         -Werror-implicit-function-declaration -ansi
-
 OBJS = superiotool.o ali.o fintek.o ite.o nsc.o smsc.o winbond.o
 
 all: $(PROGRAM)

superiotool-version_fix.diff:

--- NEW FILE superiotool-version_fix.diff ---
--- superiotool.h	2007-10-03 13:41:07.000000000 +0400
+++ superiotool.h	2007-10-03 13:43:00.000000000 +0400
@@ -29,7 +29,7 @@
 #include <getopt.h>
 #include <sys/io.h>
 
-#define SUPERIOTOOL_VERSION "$Rev: 2815 $"
+#define SUPERIOTOOL_VERSION "$Rev: 2818 $"
 
 #define USAGE "Usage: superiotool [-d] [-D] [-V] [-v] [-h]\n\n\
   -d | --dump            Dump Super I/O registers\n\


--- NEW FILE superiotool.spec ---
Summary:	Simple program for detecting Super I/O on your mainboard
Name:		superiotool
Version:	0
Release:	0.3.20071004svn2819%{?dist}
License:	GPLv2+
Group:		Applications/System
# svn -r 2819 export svn://linuxbios.org/repos/trunk/util/superiotool superiotool
# tar -cjvf superiotool-2819.tar.bz2 superiotool
Source0:	superiotool-2819.tar.bz2
Patch0:		superiotool-Makefile_cleanup.diff
Patch1:		superiotool-version_fix.diff
URL:		http://linuxbios.org/index.php/Superiotool
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

# Lacks of <sys/io.h>
ExcludeArch:	ppc ppc64

%description
User-space helper tool which allows you to detect which Super I/O you have 
on your mainboard, and it can provide detailed information about the register 
contents of the Super I/O.

%prep
%setup -q -n %{name}
%patch0 -b .Makefile_cleanup
%patch1 -b .version_fix

%build
CFLAGS="%{optflags}" make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_bindir}
install -p %{name} $RPM_BUILD_ROOT%{_bindir}

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc COPYING README
%{_bindir}/%{name}

%changelog

* Thu Oct  4 2007 Peter Lemenkov <lemenkov at gmail.com> 0-0.3.20071004svn2819
- svn ver. 2819 (added COPYING)

* Wed Oct  3 2007 Peter Lemenkov <lemenkov at gmail.com> 0-0.2.20071003svn2818
- Preserved timestamp then installing superiotool
- Native commands instead of macros (rm, install, mkdir, make)
- svn ver. 2818 (slightly changed output of version banner).

* Tue Oct  2 2007 Peter Lemenkov <lemenkov at gmail.com> 0-0.1.20071002svn2816
- Initial build for Fedora


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/superiotool/EL-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	4 Oct 2007 02:57:17 -0000	1.1
+++ .cvsignore	4 Oct 2007 06:29:31 -0000	1.2
@@ -0,0 +1 @@
+superiotool-2819.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/superiotool/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	4 Oct 2007 02:57:17 -0000	1.1
+++ sources	4 Oct 2007 06:29:31 -0000	1.2
@@ -0,0 +1 @@
+12be65a8503d4e62f6f9840b9dce7074  superiotool-2819.tar.bz2




More information about the fedora-extras-commits mailing list