Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0:Staging:A
makedumpfile
makedumpfile.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File makedumpfile.spec of Package makedumpfile
# # spec file for package makedumpfile # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %if 0%{!?have_snappy:1} %if 0%{?suse_version} >= 1310 %define have_snappy 1 %else %define have_snappy 0 %endif %endif %if 0%{?suse_version} < 1310 && 0%{?sles_version} < 12 %define ncurses_make_opts TINFOLIB=-lncurses %endif Name: makedumpfile Version: 1.6.3 Release: 0 Summary: Partial kernel dump License: GPL-2.0-only Group: System/Kernel Url: https://sourceforge.net/projects/makedumpfile/ Source: https://sourceforge.net/projects/makedumpfile/files/makedumpfile/%{version}/%{name}-%{version}.tar.gz Source99: %{name}-rpmlintrc Patch0: %{name}-coptflags.diff Patch1: %{name}-override-libtinfo.patch Patch2: %{name}-always-use-bigger-SECTION_MAP_MASK.patch Patch3: %{name}-sadump-fix-PTI-enabled-kernels.patch Patch4: %{name}-do-not-print-ETA-if-progress-is-0.patch Patch5: %{name}-is_cache_page-helper.patch Patch6: %{name}-check-PG_swapbacked.patch BuildRequires: libdw-devel BuildRequires: libebl-devel BuildRequires: libelf-devel BuildRequires: libeppic-devel BuildRequires: lzo-devel BuildRequires: ncurses-devel BuildRequires: xz-devel BuildRequires: zlib-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: %{ix86} x86_64 ia64 ppc ppc64 ppc64le s390x %{arm} aarch64 %if 0%{?suse_version} >= 1140 || 0%{?sles_version} >= 11 BuildRequires: libbz2-devel %else BuildRequires: bzip2 %endif %if %{have_snappy} BuildRequires: snappy-devel %endif %description makedumpfile is a dump program to shorten the size of dump file. It copies only the necessary pages for analysis with various dump levels, and can compress the page data. The obtained dump file can by analyzed via gdb or crash utility. %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %build %if %{have_snappy} export USESNAPPY=on %endif export USELZO=on export LINKTYPE=dynamic make %{?_smp_mflags} COPTFLAGS="%{optflags}" LDFLAGS="-Wl,-rpath,%{_libdir}/%{name}-%{version}" make %{?_smp_mflags} COPTFLAGS="%{optflags}" eppic_makedumpfile.so %{?ncurses_make_opts} %install install -D -m 0755 makedumpfile %{buildroot}%{_bindir}/makedumpfile install -D -m 0755 makedumpfile-R.pl %{buildroot}%{_bindir}/makedumpfile-R.pl install -D -m 0644 makedumpfile.8 %{buildroot}%{_mandir}/man8/makedumpfile.8 install -D -m 0644 makedumpfile.conf.5 %{buildroot}%{_mandir}/man5/makedumpfile.conf.5 install -D -m 0755 eppic_makedumpfile.so %{buildroot}%{_libdir}/%{name}-%{version}/eppic_makedumpfile.so install -d -m 0755 %{buildroot}%{_datadir}/%{name}-%{version}/eppic_scripts install -m 0644 -t %{buildroot}%{_datadir}/%{name}-%{version}/eppic_scripts/ eppic_scripts/* %files %defattr(-,root,root) %license COPYING %doc README IMPLEMENTATION %{_mandir}/man?/* %{_bindir}/* %dir %{_libdir}/%{name}-%{version} %{_libdir}/%{name}-%{version}/eppic_makedumpfile.so %dir %{_datadir}/%{name}-%{version} %{_datadir}/%{name}-%{version}/eppic_scripts/ %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor