]>
Commit | Line | Data |
---|---|---|
8a8dfb83 TP |
1 | Summary: Userspace helper for Linux kernel EDAC drivers (ECC) |
2 | Summary(pl.UTF-8): Narzędzia pomocnicze sterownika EDAC (ECC) | |
3 | Name: edac-utils | |
4 | Version: 0.16 | |
5 | Release: 1 | |
6 | License: GPL v2 | |
7 | Group: Applications/System | |
2e0a0847 | 8 | Source0: http://downloads.sourceforge.net/edac-utils/%{name}-%{version}.tar.bz2 |
8a8dfb83 TP |
9 | # Source0-md5: 77dda84f25ddba732da1d94fe357bf87 |
10 | URL: http://sourceforge.net/projects/edac-utils/ | |
11 | BuildRequires: autoconf | |
12 | BuildRequires: automake | |
13 | BuildRequires: libtool | |
14 | BuildRequires: sysfsutils-devel | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | EDAC is the current set of drivers in the Linux kernel that handle | |
19 | detection of ECC errors from memory controllers for most chipsets | |
20 | on i386 and x86_64 architectures. This userspace component consists | |
21 | an init script which loads EDAC DIMM labels at system boot, and can | |
22 | optionally be configured to load a specific EDAC driver if this is | |
23 | not done automatically at system startup. The package also includes a | |
24 | library and utility for reporting current error counts from the EDAC | |
25 | sysfs files. | |
26 | ||
27 | %package devel | |
28 | Summary: Header files for edac library | |
29 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki edac | |
30 | Group: Development/Libraries | |
31 | Requires: %{name} = %{version}-%{release} | |
32 | ||
33 | %description devel | |
34 | Header files for edac library. | |
35 | ||
36 | %description devel -l pl.UTF-8 | |
37 | Pliki nagłówkowe biblioteki edac. | |
38 | ||
39 | %package static | |
40 | Summary: Static edac library | |
41 | Summary(pl.UTF-8): Statyczna biblioteka edac | |
42 | Group: Development/Libraries | |
43 | Requires: %{name}-devel = %{version}-%{release} | |
44 | ||
45 | %description static | |
46 | Static edac library. | |
47 | ||
48 | %description static -l pl.UTF-8 | |
49 | Statyczna biblioteka edac. | |
50 | ||
51 | %prep | |
52 | %setup -q | |
53 | ||
54 | %build | |
55 | %{__libtoolize} | |
56 | %{__aclocal} -I config | |
57 | %{__autoconf} | |
58 | %{__autoheader} | |
59 | %{__automake} | |
60 | %configure | |
61 | %{__make} | |
62 | ||
63 | %install | |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | ||
66 | %{__make} install \ | |
67 | DESTDIR=$RPM_BUILD_ROOT | |
68 | ||
69 | #%{_rm} $RPM_BUILD_ROOT%{_libdir}/libedac.la | |
70 | ||
71 | %clean | |
72 | rm -rf $RPM_BUILD_ROOT | |
73 | ||
74 | %post -p /sbin/ldconfig | |
75 | %postun -p /sbin/ldconfig | |
76 | ||
77 | %files | |
78 | %defattr(644,root,root,755) | |
79 | %doc AUTHORS ChangeLog DISCLAIMER NEWS README TODO | |
80 | %attr(755,root,root) %{_bindir}/edac-util | |
81 | %attr(755,root,root) %{_sbindir}/edac-ctl | |
82 | %attr(755,root,root) %{_libdir}/libedac.so.*.*.* | |
83 | %ghost %{_libdir}/libedac.so.0 | |
84 | %{_mandir}/man1/edac-util.1* | |
85 | %{_mandir}/man8/edac-ctl.8* | |
86 | ||
87 | %files devel | |
88 | %defattr(644,root,root,755) | |
89 | %{_libdir}/libedac.so | |
8a8dfb83 TP |
90 | %{_includedir}/edac.h |
91 | %{_mandir}/man3/edac.3* | |
92 | ||
93 | %files static | |
94 | %defattr(644,root,root,755) | |
95 | %{_libdir}/libedac.a |