|
|
b55f9a3 |
Name: edac-utils
|
|
|
b55f9a3 |
Version: 0.9
|
|
|
5bc0455 |
Release: 11%{?dist}
|
|
|
b55f9a3 |
Summary: Userspace helper for kernel EDAC drivers
|
|
|
b55f9a3 |
|
|
|
b55f9a3 |
Group: System Environment/Base
|
|
|
5e61cd6 |
License: GPLv2+
|
|
|
b55f9a3 |
URL: http://sourceforge.net/projects/edac-utils/
|
|
|
b55f9a3 |
Source0: http://dl.sourceforge.net/sourceforge/edac-utils/%{name}-%{version}.tar.bz2
|
|
|
b55f9a3 |
Patch0: edac_ctl-remove_driver_loading.patch
|
|
|
b55f9a3 |
Patch1: edac_init-fix_messages.patch
|
|
|
1e1f848 |
Patch2: edac_ctl-fix_model_parsing.patch
|
|
|
b55f9a3 |
|
|
|
b55f9a3 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
|
|
|
b55f9a3 |
Requires: hwdata, dmidecode, sysfsutils
|
|
|
b55f9a3 |
BuildRequires: libsysfs-devel
|
|
|
b55f9a3 |
ExclusiveArch: %{ix86} x86_64
|
|
|
b55f9a3 |
|
|
|
b55f9a3 |
%description
|
|
|
b55f9a3 |
EDAC is the current set of drivers in the Linux kernel that handle
|
|
|
b55f9a3 |
detection of ECC errors from memory controllers for most chipsets
|
|
|
b55f9a3 |
on i386 and x86_64 architectures. This userspace component consists
|
|
|
b55f9a3 |
of an init script which makes sure EDAC drivers and DIMM labels
|
|
|
b55f9a3 |
are loaded at system startup, as well as a library and utility
|
|
|
b55f9a3 |
for reporting current error counts from the EDAC sysfs files.
|
|
|
b55f9a3 |
|
|
|
b55f9a3 |
%package devel
|
|
|
b55f9a3 |
Summary: Development files for %{name}
|
|
|
b55f9a3 |
Group: Development/Libraries
|
|
|
b55f9a3 |
Requires: %{name} = %{version}-%{release}
|
|
|
b55f9a3 |
|
|
|
b55f9a3 |
%description devel
|
|
|
b55f9a3 |
This package contains the development headers and libraries
|
|
|
b55f9a3 |
for %{name}.
|
|
|
b55f9a3 |
|
|
|
b55f9a3 |
%prep
|
|
|
b55f9a3 |
%setup -q
|
|
|
b55f9a3 |
%patch0 -p1
|
|
|
b55f9a3 |
%patch1 -p1
|
|
|
1e1f848 |
%patch2 -p1
|
|
|
b55f9a3 |
|
|
|
b55f9a3 |
%build
|
|
|
b55f9a3 |
%configure --disable-static
|
|
|
b55f9a3 |
make %{?_smp_mflags}
|
|
|
b55f9a3 |
|
|
|
b55f9a3 |
%install
|
|
|
b55f9a3 |
rm -rf $RPM_BUILD_ROOT
|
|
|
b55f9a3 |
make install-exec install-data DESTDIR="$RPM_BUILD_ROOT"
|
|
|
b55f9a3 |
# Remove libtool archive
|
|
|
b55f9a3 |
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
|
|
|
b55f9a3 |
|
|
|
b55f9a3 |
%clean
|
|
|
b55f9a3 |
rm -rf $RPM_BUILD_ROOT
|
|
|
b55f9a3 |
|
|
|
b55f9a3 |
%post
|
|
|
b55f9a3 |
/sbin/ldconfig
|
|
|
b55f9a3 |
if [ $1 = 1 ]; then
|
|
|
b55f9a3 |
/sbin/chkconfig --add edac
|
|
|
b55f9a3 |
fi
|
|
|
b55f9a3 |
|
|
|
b55f9a3 |
%preun
|
|
|
b55f9a3 |
if [ $1 = 0 ]; then
|
|
|
b55f9a3 |
/sbin/service edac stop >/dev/null 2>&1 || :
|
|
|
b55f9a3 |
/sbin/chkconfig --del edac
|
|
|
b55f9a3 |
fi
|
|
|
b55f9a3 |
|
|
|
b55f9a3 |
%postun -p /sbin/ldconfig
|
|
|
b55f9a3 |
|
|
|
b55f9a3 |
%files
|
|
|
b55f9a3 |
%defattr(-,root,root,-)
|
|
|
b55f9a3 |
%doc COPYING README NEWS ChangeLog DISCLAIMER
|
|
|
b55f9a3 |
%{_sbindir}/edac-ctl
|
|
|
b55f9a3 |
%{_bindir}/edac-util
|
|
|
b55f9a3 |
%{_libdir}/*.so.*
|
|
|
b55f9a3 |
%{_mandir}/*/*
|
|
|
b55f9a3 |
%dir %attr(0755,root,root) %{_sysconfdir}/edac
|
|
|
b55f9a3 |
%config(noreplace) %{_sysconfdir}/edac/*
|
|
|
b55f9a3 |
%{_sysconfdir}/init.d/edac
|
|
|
b55f9a3 |
|
|
|
b55f9a3 |
%files devel
|
|
|
b55f9a3 |
%defattr(-,root,root,-)
|
|
|
b55f9a3 |
%{_libdir}/*.so
|
|
|
b55f9a3 |
%{_includedir}/edac.h
|
|
|
b55f9a3 |
|
|
|
b55f9a3 |
%changelog
|
|
|
5bc0455 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-11
|
|
|
5bc0455 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
5bc0455 |
|
|
|
72d65ab |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-10
|
|
|
72d65ab |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
72d65ab |
|
|
|
5e61cd6 |
* Wed May 21 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.9-9
|
|
|
5e61cd6 |
- fix license tag
|
|
|
5e61cd6 |
|
|
|
2639c73 |
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.9-8
|
|
|
2639c73 |
- Autorebuild for GCC 4.3
|
|
|
2639c73 |
|
|
|
6db4900 |
* Wed Jul 18 2007 Aristeu Rozanski <arozansk@redhat.com> 0.9-7
|
|
|
6db4900 |
- including missing .patch file
|
|
|
6db4900 |
|
|
|
1e1f848 |
* Tue Jul 17 2007 Aristeu Rozanski <arozansk@redhat.com> 0.9-6
|
|
|
1e1f848 |
- building FC7 package
|
|
|
1e1f848 |
|
|
|
1e1f848 |
* Thu Jul 09 2007 Aristeu Rozanski <arozansk@redhat.com> 0.9-5
|
|
|
1e1f848 |
- Fixed start/stop message, missing echo
|
|
|
1e1f848 |
- Fixed status command to use edac-util
|
|
|
1e1f848 |
|
|
|
1e1f848 |
* Thu Jun 15 2007 Aristeu Rozanski <arozansk@redhat.com> 0.9-4
|
|
|
1e1f848 |
- Removed debug code left by mistake on initrd file
|
|
|
1e1f848 |
- Fixed model comparing in edac-ctl script
|
|
|
1e1f848 |
|
|
|
b55f9a3 |
* Wed Jun 13 2007 Aristeu Rozanski <arozansk@redhat.com> 0.9-3
|
|
|
b55f9a3 |
- Adding COPYING to documents
|
|
|
b55f9a3 |
- Fixing Requires to use a single equal sign, instead of two
|
|
|
b55f9a3 |
|
|
|
b55f9a3 |
* Wed Jun 13 2007 Aristeu Rozanski <arozansk@redhat.com> 0.9-2
|
|
|
b55f9a3 |
- Multiple updates in spec file to conform to the standards pointed by
|
|
|
b55f9a3 |
Jarod Wilson
|
|
|
b55f9a3 |
|
|
|
b55f9a3 |
* Wed Jun 06 2007 Aristeu Rozanski <arozansk@redhat.com> 0.9-1
|
|
|
b55f9a3 |
- Updated version to 0.9, separate project now
|
|
|
b55f9a3 |
- Updated spec file based on upstream edac-utils spec file
|
|
|
b55f9a3 |
- Removed driver loading portion in a separate patch, it'll be removed from
|
|
|
b55f9a3 |
upstream too
|
|
|
b55f9a3 |
- Fixed init script to use functions and daemon function
|
|
|
b55f9a3 |
|
|
|
b55f9a3 |
* Thu Apr 19 2007 Aristeu Rozanski <arozansk@redhat.com> 20061222-3
|
|
|
b55f9a3 |
- Updated initrd script to start after syslogd, otherwise if the board isn't
|
|
|
b55f9a3 |
supported, the user will never know.
|
|
|
b55f9a3 |
|
|
|
b55f9a3 |
* Thu Apr 19 2007 Aristeu Rozanski <arozansk@redhat.com> 20061222-2
|
|
|
b55f9a3 |
- Changing this package to noarch and preventing the build on ia64, ppc64,
|
|
|
b55f9a3 |
s390 and s390x
|
|
|
b55f9a3 |
|
|
|
b55f9a3 |
* Thu Mar 12 2007 Aristeu Rozanski <arozansk@redhat.com> 20061222-1
|
|
|
b55f9a3 |
- Package created
|
|
|
b55f9a3 |
|