]> git.pld-linux.org Git - packages/edac-utils.git/commitdiff
initial PLD release
authorTomasz Pala <gotar@pld-linux.org>
Sun, 10 Aug 2014 09:38:35 +0000 (11:38 +0200)
committerTomasz Pala <gotar@pld-linux.org>
Sun, 10 Aug 2014 09:38:35 +0000 (11:38 +0200)
edac-utils.spec [new file with mode: 0644]

diff --git a/edac-utils.spec b/edac-utils.spec
new file mode 100644 (file)
index 0000000..4fbf410
--- /dev/null
@@ -0,0 +1,96 @@
+Summary:       Userspace helper for Linux kernel EDAC drivers (ECC)
+Summary(pl.UTF-8):     Narzędzia pomocnicze sterownika EDAC (ECC)
+Name:          edac-utils
+Version:       0.16
+Release:       1
+License:       GPL v2
+Group:         Applications/System
+Source0:       http://downloads.sourceforge.net/linux-diag/%{name}-%{version}.tar.bz2
+# Source0-md5: 77dda84f25ddba732da1d94fe357bf87
+URL:           http://sourceforge.net/projects/edac-utils/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
+BuildRequires: sysfsutils-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+EDAC is the current set of drivers in the Linux kernel that handle
+detection of ECC errors from memory controllers for most chipsets
+on i386 and x86_64 architectures. This userspace component consists
+an init script which loads EDAC DIMM labels at system boot, and can
+optionally be configured to load a specific EDAC driver if this is
+not done automatically at system startup. The package also includes a
+library and utility for reporting current error counts from the EDAC
+sysfs files.
+
+%package devel
+Summary:       Header files for edac library
+Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki edac
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+
+%description devel
+Header files for edac library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki edac.
+
+%package static
+Summary:       Static edac library
+Summary(pl.UTF-8):     Statyczna biblioteka edac
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}-%{release}
+
+%description static
+Static edac library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka edac.
+
+%prep
+%setup -q
+
+%build
+%{__libtoolize}
+%{__aclocal} -I config
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+#%{_rm} $RPM_BUILD_ROOT%{_libdir}/libedac.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog DISCLAIMER NEWS README TODO
+%attr(755,root,root) %{_bindir}/edac-util
+%attr(755,root,root) %{_sbindir}/edac-ctl
+%attr(755,root,root) %{_libdir}/libedac.so.*.*.*
+%ghost %{_libdir}/libedac.so.0
+%{_mandir}/man1/edac-util.1*
+%{_mandir}/man8/edac-ctl.8*
+
+%files devel
+%defattr(644,root,root,755)
+%{_libdir}/libedac.so
+%{_libdir}/libsysfs.la
+%{_includedir}/edac.h
+%{_mandir}/man3/edac.3*
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libedac.a
This page took 0.081756 seconds and 4 git commands to generate.