From b151162fec2d4ff1d2158d7579a54e806b1cc59d Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 21:33:21 +0100 Subject: [PATCH] automatic version update by autodist [release 7.0.6-1mamba;Wed Apr 16 2014] --- README.md | 2 ++ crash.spec | 85 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 87 insertions(+) create mode 100644 crash.spec diff --git a/README.md b/README.md index 781c31c..c531e22 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # crash +The core analysis suite is a self-contained tool that can be used to investigate either live systems, kernel core dumps created from the netdump, diskdump and kdump packages from Red Hat Linux, the mcore kernel patch offered by Mission Critical Linux, or the LKCD kernel patch. + diff --git a/crash.spec b/crash.spec new file mode 100644 index 0000000..84e890c --- /dev/null +++ b/crash.spec @@ -0,0 +1,85 @@ +%define majver %(echo %version | cut -d. -f1-3) +%define minver %(echo %version | cut -d. -f4 | sed s/^\\\([0-9]\\\)/-\\1/) +Name: crash +Version: 7.0.6 +Release: 1mamba +Summary: kernel crash analysis utility for live systems, netdump, diskdump, kdump, LKCD or mcore dumpfiles +Group: Development/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://people.redhat.com/anderson/ +Source: http://people.redhat.com/anderson/crash-%{majver}%{minver}.tar.gz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: binutils +BuildRequires: glibc-devel +BuildRequires: libncurses-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END +Requires: binutils +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +The core analysis suite is a self-contained tool that can be used to investigate either live systems, kernel core dumps created from the netdump, diskdump and kdump packages from Red Hat Linux, the mcore kernel patch offered by Mission Critical Linux, or the LKCD kernel patch. + +%package devel +Group: Development/Libraries +Summary: Libraries and headers for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: libz-devel + +%description devel +The core analysis suite is a self-contained tool that can be used to investigate either live systems, kernel core dumps created from the netdump, diskdump and kdump packages from Red Hat Linux, the mcore kernel patch offered by Mission Critical Linux, or the LKCD kernel patch. + +This package contains libraries and header files need for development. + +%prep +%setup -q -n %{name}-%{majver}%{minver} + +%build +%make RPMPKG=%{majver}-%{release} + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +mkdir -p %{buildroot}%{_bindir} +%makeinstall + +mkdir -p %{buildroot}%{_mandir}/man8 +install -pm 644 crash.8 %{buildroot}%{_mandir}/man8/crash.8 +mkdir -p %{buildroot}%{_includedir}/crash +chmod 0644 defs.h +cp -p defs.h %{buildroot}%{_includedir}/crash + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/crash +%{_mandir}/man8/crash.8.gz +%doc COPYING3 README + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/crash +%{_includedir}/crash/*.h + +%changelog +* Wed Apr 16 2014 Automatic Build System 7.0.6-1mamba +- automatic version update by autodist + +* Fri Feb 21 2014 Automatic Build System 7.0.5-1mamba +- automatic version update by autodist + +* Mon Oct 01 2012 Silvan Calarco 6.1.0-1mamba +- update to 6.1.0 + +* Fri Feb 18 2011 Silvan Calarco 4.0.8.11-1mamba +- update to 4.0.8.11 + +* Mon Dec 27 2010 gil 4.0-2mamba +- rebuilt devel + +* Fri Jul 03 2009 gil 4.0-1mamba +- package created by autospec