Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 26bf0f406b4f0e89f9e3aa4d399d0032 > files > 6

ksymoops-2.4.9-4mdv2007.1.src.rpm

Summary:	Kernel oops and error message decoder
Name:		ksymoops
Version:	2.4.9
Release:	%mkrel 4
License:	GPL
Group:		System/Kernel and hardware
URL:		ftp://ftp.kernel.org/pub/linux/utils/kernel/ksymoops/v2.4/
Source0:	%{name}-%{version}.tar.bz2
Source1:	ksymoops-gznm
Source2:	ksymoops-script
Source3:	README.mandriva
Patch1:		ksymoops-2.4.3-add_gz_modules_support
BuildRequires:	binutils-devel
Requires:	binutils
BuildRoot:	%{_tmppath}/%{name}-buildroot

%description
The Linux kernel produces error messages that contain machine specific numbers
which are meaningless for debugging. ksymoops reads machine specific files and
the error log and converts the addresses to meaningful symbols and offsets.

%prep

%setup -q
%patch1 -p1

cp %{SOURCE1} ksymoops-gznm
cp %{SOURCE2} ksymoops-script
cp %{SOURCE3} README.mandriva

%build
CFLAGS="%{optflags}" make DEF_MAP=\\\"/boot/System.map-*r\\\" all
 
%install
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

make INSTALL_PREFIX=%{buildroot}%{_prefix} INSTALL_MANDIR=%{buildroot}%{_mandir}/ install

mv %{buildroot}/usr/bin/ksymoops %{buildroot}%{_bindir}/ksymoops.real

install -m0755 ksymoops-gznm %{buildroot}%{_bindir}/
install -m0755 ksymoops-script %{buildroot}%{_bindir}/ksymoops

%clean
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc COPYING README INSTALL Changelog README.mandriva
%{_bindir}/ksymoops
%{_bindir}/ksymoops-gznm
%{_bindir}/ksymoops.real
%{_mandir}/man8/ksymoops.8*


%changelog
* Fri Mar 16 2007 Oden Eriksson <oeriksson@mandriva.com> 2.4.9-4mdv2007.1
+ Revision: 145194
- Import ksymoops



* Fri Mar 16 2007 Oden Eriksson <oeriksson@mandrakesoft.com> 2.4.9-4mdv2007.1
- use the %%mkrel macro
- bunzip sources and patches

* Sun Jun 20 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 2.4.9-3mdk
- apply the mdk update fix (Geoffrey Lee)
- misc spec file fixes

* Fri Sep  5 2003 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 2.4.9-2mdk
- fix deps

* Wed Aug 13 2003 Juan Quintela <quintela@mandrakesoft.com> 2.4.9-1mdk
- don't provide kernel-utils anymore.
- 2.4.9.

* Tue Jul 22 2003 Per Øyvind Karlsen <peroyvind@sintrax.net> 2.4.8-2mdk
- rebuild
- drop Prefix tag
- rm -rf $RPM_BUILD_ROOT at the beginning of %%install
- macroize

* Mon Dec  9 2002 Juan Quintela <quintela@mandrakesoft.com> 2.4.8-1mdk
- 2.4.8.

* Wed Apr 10 2002 Juan Quintela <quintela@mandrakesoft.com> 2.4.5-1mdk
- compile with RPM_OPT_FLAGS.
- 2.4.5.

* Tue Feb 26 2002 Juan Quintela <quintela@bi.mandrakesoft.com> 2.4.3-4mdk
- Corrected a missing space in the find command line (Duclos Andre).

* Mon Feb 25 2002 Juan Quintela <quintela@bi.mandrakesoft.com> 2.4.3-3mdk
- Corrected permissions of README.mandrake (Duclos Andre).

* Wed Feb  6 2002 Juan Quintela <quintela@mandrakesoft.com> 2.4.3-2mdk
- s/$RPM_BUILD_ROOT/$buildroot/.
- add ksymoops script to put the KSYMOOPS_NM to find the gznm instead of nm.
- add gznm script to make nm <module> work indepently if it is gzipped or not.
- add support for gzipped modules.

* Mon Oct  8 2001 Juan Quintela <quintela@mandrakesoft.com> 2.4.3-1mdk
- Provides kernel-utils.
- 2.4.3.
- s/Copyright/License/.

* Wed May  2 2001 Juan Quintela <quintela@mandrakesoft.com> 2.4.1-1mdk
- 2.4.1.

* Sun Mar  4 2001 Pixel <pixel@mandrakesoft.com> 2.4.0-3mdk
- better require binutils (as objdump is required too)

* Sun Mar  4 2001 Pixel <pixel@mandrakesoft.com> 2.4.0-2mdk
- add require on /usr/bin/nm

* Wed Feb 14 2001 Juan Quintela <quintela@mandrakesoft.com> 2.4.0-1mdk
- First spec file for Mandrake distribution.

# end of file