crash/crash.spec

185 lines
6.5 KiB
RPMSpec
Raw Permalink Normal View History

%define majver %(echo %version | cut -d. -f1-3)
%define minver %(echo %version | cut -d. -f4 | sed s/^\\\([0-9]\\\)/-\\1/)
Name: crash
Version: 8.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 <silvan.calarco@mambasoft.it>
URL: https://github.com/crash-utility/crash
Source: https://github.com/crash-utility/crash.git/%{version}/crash-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libboost-devel
BuildRequires: libelf-devel
BuildRequires: libgc-devel
BuildRequires: libgcc
BuildRequires: libgmp-devel
BuildRequires: libguile-devel
BuildRequires: liblzma-devel
BuildRequires: libmpfr-devel
BuildRequires: libncurses-devel
BuildRequires: libstdc++6-devel
BuildRequires: libxxhash-devel
BuildRequires: source-highlight-devel
## AUTOBUILDREQ-END
Requires: binutils
%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 needed for development.
%debug_package
%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*
%doc COPYING3 README
%files devel
%defattr(-,root,root)
%dir %{_includedir}/crash
%{_includedir}/crash/*.h
%changelog
* Wed Nov 13 2024 Automatic Build System <autodist@openmamba.org> 8.0.6-1mamba
- automatic version update by autodist
* Sun Apr 28 2024 Automatic Build System <autodist@openmamba.org> 8.0.5-1mamba
- automatic version update by autodist
* Tue Nov 21 2023 Automatic Build System <autodist@mambasoft.it> 8.0.4-1mamba
- automatic version update by autodist
* Thu Apr 27 2023 Automatic Build System <autodist@mambasoft.it> 8.0.3-1mamba
- automatic version update by autodist
* Fri Nov 18 2022 Automatic Build System <autodist@mambasoft.it> 8.0.2-1mamba
- automatic version update by autodist
* Tue Apr 26 2022 Automatic Build System <autodist@mambasoft.it> 8.0.1-1mamba
- automatic version update by autodist
* Thu Dec 16 2021 Automatic Build System <autodist@mambasoft.it> 8.0.0-1mamba
- automatic version update by autodist
* Sat May 01 2021 Automatic Build System <autodist@mambasoft.it> 7.3.0-1mamba
- automatic version update by autodist
* Thu Dec 10 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 7.2.9-1mamba
- update to 7.2.9
* Wed Feb 12 2020 Automatic Build System <autodist@mambasoft.it> 7.2.8-1mamba
- automatic version update by autodist
* Tue Sep 24 2019 Automatic Build System <autodist@mambasoft.it> 7.2.7-1mamba
- automatic version update by autodist
* Sun May 12 2019 Automatic Build System <autodist@mambasoft.it> 7.2.6-1mamba
- automatic version update by autodist
* Sun Jan 13 2019 Automatic Build System <autodist@mambasoft.it> 7.2.5-1mamba
- automatic version update by autodist
* Tue Sep 25 2018 Automatic Build System <autodist@mambasoft.it> 7.2.4-1mamba
- automatic version update by autodist
* Wed Jul 25 2018 Automatic Build System <autodist@mambasoft.it> 7.2.3-1mamba
- automatic version update by autodist
* Mon Feb 19 2018 Automatic Build System <autodist@mambasoft.it> 7.2.1-1mamba
- automatic version update by autodist
* Sun Oct 08 2017 Automatic Build System <autodist@mambasoft.it> 7.2.0-1mamba
- automatic version update by autodist
* Wed Apr 26 2017 Automatic Build System <autodist@mambasoft.it> 7.1.9-1mamba
- automatic version update by autodist
* Fri Feb 24 2017 Automatic Build System <autodist@mambasoft.it> 7.1.8-1mamba
- automatic version update by autodist
* Wed Dec 07 2016 Automatic Build System <autodist@mambasoft.it> 7.1.7-1mamba
- automatic version update by autodist
* Mon Oct 17 2016 Automatic Build System <autodist@mambasoft.it> 7.1.6-1mamba
- automatic version update by autodist
* Mon May 02 2016 Automatic Build System <autodist@mambasoft.it> 7.1.5-1mamba
- automatic version update by autodist
* Wed Dec 16 2015 Automatic Build System <autodist@mambasoft.it> 7.1.4-1mamba
- automatic version update by autodist
* Thu Sep 03 2015 Automatic Build System <autodist@mambasoft.it> 7.1.3-1mamba
- automatic version update by autodist
* Mon Jul 13 2015 Automatic Build System <autodist@mambasoft.it> 7.1.2-1mamba
- automatic version update by autodist
* Wed May 27 2015 Automatic Build System <autodist@mambasoft.it> 7.1.1-1mamba
- automatic version update by autodist
* Sat Feb 07 2015 Automatic Build System <autodist@mambasoft.it> 7.1.0-1mamba
- automatic version update by autodist
* Fri Nov 14 2014 Automatic Build System <autodist@mambasoft.it> 7.0.9-1mamba
- automatic version update by autodist
* Sat Sep 13 2014 Automatic Build System <autodist@mambasoft.it> 7.0.8-1mamba
- automatic version update by autodist
* Wed Jun 11 2014 Automatic Build System <autodist@mambasoft.it> 7.0.7-1mamba
- automatic version update by autodist
* Wed Apr 16 2014 Automatic Build System <autodist@mambasoft.it> 7.0.6-1mamba
- automatic version update by autodist
* Fri Feb 21 2014 Automatic Build System <autodist@mambasoft.it> 7.0.5-1mamba
- automatic version update by autodist
* Mon Oct 01 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 6.1.0-1mamba
- update to 6.1.0
* Fri Feb 18 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.8.11-1mamba
- update to 4.0.8.11
* Mon Dec 27 2010 gil <puntogil@libero.it> 4.0-2mamba
- rebuilt devel
* Fri Jul 03 2009 gil <puntogil@libero.it> 4.0-1mamba
- package created by autospec