Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37514184
en ru br
ALT Linux repos
S:0.4-alt3

Group :: Development/Debuggers
RPM: dwgrep

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

# SPDX-License-Identifier: GPL-2.0-only
%define _unpackaged_files_terminate_build 1
%define _stripped_files_terminate_build 1

Name: dwgrep
Version: 0.4
Release: alt3
Summary: A tool for querying Dwarf (debuginfo) graphs
License: GPLv3+ and (GPLv2+ or LGPLv3+)
Group: Development/Debuggers
Url: http://pmachata.github.io/dwgrep/index.html
Vcs: https://github.com/pmachata/dwgrep.git
Provides: libzwerg-devel

Source: %name-%version.tar
BuildRequires(pre): cmake
BuildRequires: ctest
BuildRequires: elfutils-devel
BuildRequires: flex
BuildRequires: gcc-c++
BuildRequires: python3-module-sphinx

%description
Dwgrep is a tool, an associated language (called Zwerg) and a library
(libzwerg) for querying Dwarf (debuginfo) graphs.

You can think of dwgrep expressions as instructions describing a path
through a graph, with assertions about the type of nodes along the way:
that a node is of given type, that it has a given attribute, etc. There
are also means of expressing sub-conditions, i.e. assertions that a given
node is acceptable if a separate expression matches (or does not match)
a different path through the graph.

%prep
%setup

%build
%cmake -DSPHINX_EXECUTABLE=/usr/bin/sphinx-build-3
%cmake_build
%cmake_build --target doc

%install
%cmake_install

rm -rf %buildroot%_includedir/libzwerg
rm -rf %buildroot%_libdir/libzwerg.so

%files
%doc AUTHORS COPYING COPYING-LGPLV3 NEWS README
%_bindir/dwgrep
%_libdir/libzwerg.so.*
%_man1dir/dwgrep.1.xz

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin