1 Summary: Set of programs to see which routines in a C-project are used
2 Summary(pl.UTF-8): Zestaw programów do monitorowania wykorzystywanych funkcji w C
7 Group: Development/Languages
8 # from http://members.lycos.nl/dpruimboom/usage.zip - wget doesn't work
10 # Source0-md5: 6318e9bc869d551686ccab0d09fb3667
11 Source1: %{name}.redistribution
12 URL: http://members.lycos.nl/dpruimboom/
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 This set of programs consist of 'usage' that can be used to see which
19 routines in a C-project are used and how often and what other routines
20 they call. Then there is the CallTree program, this program uses
21 output of the 'usage' program to make a call-tree of the C-project.
23 %description -l pl.UTF-8
24 Zestaw programów służących do monitorowania które funkcje w programach
25 C są używane i jak często inne funkcje je wywołują. Jest też program
26 CallTree, wykorzystujący wyjście z usage do stworzenia drzewa wywołań
34 %{__cc} %{rpmcflags} -o %{name} lex.yy.c sys_nodelib.c -lfl
36 %{__cc} %{rpmcflags} -o CallTree sys_nodelib.c CallTree.c
39 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir}}
42 install %{name} call_tree/CallTree $RPM_BUILD_ROOT%{_bindir}
43 install %{name}.lst $RPM_BUILD_ROOT%{_sysconfdir}
44 install %{SOURCE1} $RPM_BUILD_DIR/%{name}
47 rm -rf $RPM_BUILD_ROOT
50 %defattr(644,root,root,755)
51 %attr(755,root,root) %{_bindir}/*
52 %verify(not md5 mtime size) %config(noreplace) %{_sysconfdir}/%{name}.lst
53 %doc Readme usage.redistribution