2012-11-16 17:15:29 +01:00
|
|
|
#
|
2013-11-22 10:49:51 +01:00
|
|
|
# spec file for package eppic
|
2012-11-16 17:15:29 +01:00
|
|
|
#
|
2021-02-02 16:43:37 +01:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2012-11-16 17:15:29 +01:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-08-07 18:12:31 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-11-16 17:15:29 +01:00
|
|
|
#
|
|
|
|
|
2013-11-22 10:49:51 +01:00
|
|
|
|
2012-11-16 17:15:29 +01:00
|
|
|
Name: eppic
|
2021-02-03 14:52:08 +01:00
|
|
|
Version: 3.99.git.1612358888.e8844d3
|
2013-04-03 11:14:27 +02:00
|
|
|
Release: 0
|
2012-11-16 17:15:29 +01:00
|
|
|
Summary: Embeddable Pre-Processor and Interpreter for C
|
2019-08-07 18:12:31 +02:00
|
|
|
License: GPL-2.0-or-later
|
2016-08-08 13:13:53 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2021-02-03 14:52:08 +01:00
|
|
|
Source: lib%{name}-%{version}.tar.xz
|
2012-11-16 17:15:29 +01:00
|
|
|
Patch1: %{name}-fix-install.patch
|
2021-02-02 17:41:27 +01:00
|
|
|
Patch4: %{name}-binutils-fix.patch
|
2013-11-22 10:49:51 +01:00
|
|
|
BuildRequires: bison
|
|
|
|
BuildRequires: flex
|
|
|
|
BuildRequires: ncurses-devel
|
2021-02-02 16:43:37 +01:00
|
|
|
URL: https://github.com/lucchouina/eppic
|
2012-11-16 17:15:29 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
EPPIC is a C interpreter that permits easy access to the symbol and type
|
|
|
|
information stored in a executable image like a coredump or live memory
|
|
|
|
interfaces (e.g. /dev/kmem, /dev/mem). Although it has a strong association
|
|
|
|
with live or postmortem kernel analysis, it is not constraint to it and can be
|
|
|
|
embedded in any tools that is C friendly.
|
|
|
|
|
|
|
|
%package -n libeppic-devel
|
|
|
|
Summary: EPPIC include files and libraries
|
|
|
|
Group: Development/Languages/C and C++
|
|
|
|
|
|
|
|
%description -n libeppic-devel
|
|
|
|
EPPIC is a C interpreter that permits easy access to the symbol and type
|
|
|
|
information stored in a executable image like a coredump or live memory
|
|
|
|
interfaces (e.g. /dev/kmem, /dev/mem). Although it has a strong association
|
|
|
|
with live or postmortem kernel analysis, it is not constraint to it and can be
|
|
|
|
embedded in any tools that is C friendly.
|
|
|
|
|
|
|
|
This package provides the include files and libraries needed for development.
|
|
|
|
|
|
|
|
%prep
|
2021-02-03 11:06:59 +01:00
|
|
|
%setup -n lib%{name}-%{version}
|
|
|
|
%patch1 -p2
|
|
|
|
%patch4 -p2
|
2012-11-16 17:15:29 +01:00
|
|
|
|
|
|
|
%build
|
2019-08-07 18:12:31 +02:00
|
|
|
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
2016-08-08 13:13:53 +02:00
|
|
|
make CFLAGS="%{optflags} -fPIC" %{?_smp_mflags}
|
2012-11-16 17:15:29 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
mkdir -p %{buildroot}%{_libdir}
|
|
|
|
mkdir -p %{buildroot}%{_includedir}
|
|
|
|
make ROOT="%{buildroot}" LIBDIR=%{_libdir} install
|
|
|
|
|
|
|
|
%files -n libeppic-devel
|
|
|
|
%defattr(-,root,root)
|
2021-02-03 11:06:59 +01:00
|
|
|
%doc README
|
2012-11-16 17:15:29 +01:00
|
|
|
%{_includedir}/eppic.h
|
|
|
|
%{_includedir}/eppic_api.h
|
|
|
|
%attr(644,root,root) %{_libdir}/libeppic.a
|
|
|
|
|
|
|
|
%changelog
|