Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:Rebuild
libkdumpfile
libkdumpfile.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libkdumpfile.spec of Package libkdumpfile
# # spec file for package libkdumpfile # # Copyright (c) 2023 SUSE LLC # # 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 https://bugs.opensuse.org/ # # Begin compatibility cruft # %{!?make_install:%define make_install make install DESTDIR=%{?buildroot}} %if 0%{!?have_zstd:1} %if 0%{?sle_version} >= 152000 || 0%{?suse_version} > 1500 %define have_zstd 1 %else %define have_zstd 0 %endif %endif # # End compatibility cruft Name: libkdumpfile Version: 0.5.4 Release: 0 %if "%name" == "libkdumpfile" Summary: Kernel dump file access library License: GPL-2.0-or-later OR LGPL-3.0-or-later Group: Development/Languages/Python %else Summary: Python interface for libkdumpfile License: GPL-2.0-or-later OR LGPL-3.0-or-later Group: Development/Languages/Python %endif URL: https://github.com/ptesarik/libkdumpfile Source: %{name}-%{version}.tar.xz BuildRequires: autoconf BuildRequires: automake BuildRequires: binutils-devel BuildRequires: libtool %if %{have_zstd} BuildRequires: libzstd-devel %endif BuildRequires: lzo-devel BuildRequires: pkgconfig BuildRequires: snappy-devel BuildRequires: zlib-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %description A library that provides an abstraction layer for reading kernel dump core files. It supports different kernel dump core formats, virtual to physical translation, Xen mappings and more. %package -n %{name}-devel Summary: Include files and libraries for libkdumpfile development Group: Development/Libraries/C and C++ Requires: glibc-devel Requires: libkdumpfile10 = %{version} %description -n %{name}-devel This package contains all necessary include files and libraries needed to develop applications that require libkdumpfile. %package -n libkdumpfile10 Summary: Kernel dump file access library Group: System/Libraries %description -n libkdumpfile10 A library that provides an abstraction layer for reading kernel dump core files. It supports different kernel dump core formats, virtual to physical translation, Xen mappings and more. This package contains the libkdumpfile library. %package -n libaddrxlat3 Summary: Address translation library used primarily by libkdumpfile Group: System/Libraries %description -n libaddrxlat3 A library that provides an abstraction layer for translating addresses between address spaces (i.e. physical vs virtual). This package contains the libaddrxlat library. %package -n libaddrxlat-devel Summary: Include files and libraries for libaddrxlat development Group: Development/Libraries/C and C++ Requires: glibc-devel Requires: libaddrxlat3 = %{version} %description -n libaddrxlat-devel This package contains all necessary include files and libraries needed to develop applications that require libaddrxlat. %prep %setup -q %autopatch -p1 %build aclocal autoreconf -fvi %configure --disable-static --without-python make %{?_smp_mflags} %install %make_install # Do not install example code rm -v %{?buildroot}%{_bindir}/dumpattr rm -v %{?buildroot}%{_bindir}/listxendoms rm -v %{?buildroot}%{_bindir}/showxlat # Remove Libtool files rm -v %{?buildroot}%{_libdir}/libkdumpfile.la rm -v %{?buildroot}%{_libdir}/libaddrxlat.la %post -n libkdumpfile10 -p /sbin/ldconfig %post -n libaddrxlat3 -p /sbin/ldconfig %postun -n libkdumpfile10 -p /sbin/ldconfig %postun -n libaddrxlat3 -p /sbin/ldconfig %files -n libkdumpfile10 %defattr(-,root,root) %{_libdir}/libkdumpfile.so.* %license COPYING COPYING.GPLv2 COPYING.GPLv3 COPYING.LGPLv3 %doc README.md NEWS %files -n libkdumpfile-devel %defattr(-,root,root) %{_includedir}/libkdumpfile/kdumpfile.h %{_libdir}/libkdumpfile.so %{_libdir}/pkgconfig/libkdumpfile.pc %files -n libaddrxlat3 %defattr(-,root,root) %{_libdir}/libaddrxlat.so.* %license COPYING COPYING.GPLv2 COPYING.GPLv3 COPYING.LGPLv3 %doc README.md NEWS %files -n libaddrxlat-devel %defattr(-,root,root) %dir %{_includedir}/libkdumpfile %{_includedir}/libkdumpfile/addrxlat.h %{_libdir}/libaddrxlat.so %{_libdir}/pkgconfig/libaddrxlat.pc %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