Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Update
libkdumpfile
libkdumpfile.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libkdumpfile.spec of Package libkdumpfile
# # spec file for package libkdumpfile # # Copyright (c) 2015 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/ # # Begin compatibility cruft # %{!?make_install:%define make_install make install DESTDIR=%{?buildroot}} %if 0%{!?have_snappy:1} %if 0%{?suse_version} >= 1310 %define have_snappy 1 %else %define have_snappy 0 %endif %endif # # End compatibility cruft Name: libkdumpfile Version: 0.1.4 Release: 0 Summary: Kernel dump file access library License: LGPL-3.0+ or GPL-2.0+ Group: Development/Libraries/C and C++ Url: https://github.com/ptesarik/libkdumpfile Source: https://github.com/ptesarik/libkdumpfile/releases/download/v%version/%name-%version.tar.bz2 Patch1: %{name}-add-EM_AARCH64.patch BuildRequires: libtool >= 2 BuildRequires: lzo-devel BuildRequires: zlib-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} < 1030 BuildRequires: binutils %else BuildRequires: binutils-devel %endif %if %{have_snappy} BuildRequires: snappy-devel %endif %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 libkdumpfile0 Summary: Kernel dump file access library Group: System/Libraries %description -n libkdumpfile0 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 devel Summary: Include files and libraries for libkdumpfile development Group: Development/Libraries/C and C++ Requires: glibc-devel Requires: libkdumpfile0 = %{version} %description devel This package contains all necessary include files and libraries needed to develop applications that require libkdumpfile. %prep %setup -q %patch1 -p1 %build if [ ! -e configure ]; then autoreconf -fiv fi %configure --disable-static make %{?_smp_mflags} %install %make_install rm -v %{buildroot}%{_libdir}/libkdumpfile.la %post -n libkdumpfile0 -p /sbin/ldconfig %postun -n libkdumpfile0 -p /sbin/ldconfig %files -n libkdumpfile0 %defattr(-,root,root) %{_libdir}/libkdumpfile.so.* %doc README.md COPYING COPYING.GPLv2 COPYING.GPLv3 COPYING.LGPLv3 NEWS %files devel %defattr(-,root,root) %{_libdir}/libkdumpfile.so %{_includedir}/kdumpfile.h %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