Sisyphus repository
Last update: 18 january 2020 | SRPMs: 17489 | Visits: 16548868
en ru br
ALT Linux repos
S:1.6-alt1

Group :: Development/Other
RPM: cflow

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: cflow
Version: 1.6
Release: alt1

Summary: Analyzes C files charting control flow within the program

License: GPLv2+
Group: Development/Other
Url: http://www.gnu.org/software/cflow/

Packager: Vitaly Lipatov <lav at altlinux.ru>

Source: http://ftp.gnu.org/gnu/cflow/%name-%version.tar.bz2

# to install lisp files

#BuildRequires: emacs

Requires(post):  info
Requires(preun): info

Source44: import.info
# explicitly added texinfo for info files
BuildRequires: texinfo

%description
GNU cflow analyzes a collection of C source files and prints a graph,
charting control flow within the program.

GNU cflow is able to produce both direct and inverted flowgraphs for C
sources. Optionally a cross-reference listing can be generated. Two
output formats are implemented: POSIX and GNU (extended).

%prep
%setup

%build
# fix broken configure.am logic
export EMACS=yes
%configure --with-lispdir=%_datadir/emacs/site-lisp/
%make_build

%install
%makeinstall_std
%find_lang %name
rm -f %buildroot/%_infodir/dir

%check
make check

%files -f %name.lang
%doc AUTHORS ChangeLog COPYING NEWS README THANKS TODO
%_bindir/%name
%_infodir/%name.info.*
%_man1dir/*
%_datadir/emacs/site-lisp/%name-mode.el

%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