[rasdaemon/f18] Initial version
mchehab
mchehab at fedoraproject.org
Tue May 21 18:57:44 UTC 2013
commit 13db99498e85b506fc55d05ad1366e6f96076a9d
Author: Mauro Carvalho Chehab <mchehab at redhat.com>
Date: Tue May 21 15:53:56 2013 -0300
Initial version
Signed-off-by: Mauro Carvalho Chehab <mchehab at redhat.com>
.gitignore | 1 +
rasdaemon.spec | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 53 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..a7b7c27 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/rasdaemon-0.3.0.tar.bz2
diff --git a/rasdaemon.spec b/rasdaemon.spec
new file mode 100644
index 0000000..ddc076e
--- /dev/null
+++ b/rasdaemon.spec
@@ -0,0 +1,51 @@
+Name: rasdaemon
+Version: 0.3.0
+Release: 1%{?dist}
+Summary: Utility to receive RAS error tracings
+Group: Applications/System
+License: GPLv2
+URL: https://git.fedorahosted.org/git/rasdaemon.git
+Source0: http://mchehab.fedorapeople.org/rasdaemon-0.3.0.tar.bz2
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
+Requires: hwdata, dmidecode
+BuildRequires: autoconf, automake, gettext-devel libtool
+ExclusiveArch: %{ix86} x86_64
+Requires(post): systemd-units
+Requires(preun): systemd-units
+Requires(postun): systemd-units
+
+%description
+%{name} is a RAS (Reliability, Availability and Serviceability) logging tool.
+It currently records memory errors, using the EDAC tracing events.
+EDAC is drivers in the Linux kernel that handle detection of ECC errors
+from memory controllers for most chipsets on i386 and x86_64 architectures.
+EDAC drivers for other architectures like arm also exists.
+This userspace component consists of an init script which makes sure
+EDAC drivers and DIMM labels are loaded at system startup, as well as
+an utility for reporting current error counts from the EDAC sysfs files.
+
+%prep
+%setup -q
+
+%build
+autoreconf -vfi
+%configure
+make %{?_smp_mflags}
+
+%install
+make install DESTDIR=%{buildroot}
+install -D -p -m 0644 misc/rasdaemon.service %{buildroot}/%{_unitdir}/rasdaemon.service
+install -D -p -m 0644 misc/ras-mc-ctl.service %{buildroot}%{_unitdir}/ras-mc-ctl.service
+rm INSTALL %{buildroot}/usr/include/*.h
+
+%files
+%doc AUTHORS ChangeLog COPYING README TODO
+%{_sbindir}/rasdaemon
+%{_sbindir}/ras-mc-ctl
+%{_mandir}/*/*
+%{_unitdir}/*.service
+
+%changelog
+* Mon May 20 2013 Mauro Carvalho Chehab <mchehab at redhat.com> 0.3.0-1
+- Package created
+
diff --git a/sources b/sources
index e69de29..5abe64f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+7556ef771acccbf6d65b174a082367c3 rasdaemon-0.3.0.tar.bz2
More information about the scm-commits
mailing list