1 Summary: Measure complexity of C source
2 Summary(pl.UTF-8): Mierzenie złożoności kodu źródłowego w C
7 Group: Development/Tools
8 Source0: http://ftp.gnu.org/gnu/complexity/%{name}-%{version}.tar.xz
9 # Source0-md5: 93aa255c784e68edfd64d96f705ad3f3
10 Patch0: %{name}-info.patch
11 URL: http://www.gnu.org/software/complexity/
12 BuildRequires: autogen-devel >= 5.18.16
13 BuildRequires: tar >= 1:1.22
14 BuildRequires: texinfo >= 4.8
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Complexity is a tool designed for analyzing the complexity of C
20 program functions. It is very similar to the McCabe scoring, but
21 addresses several issues not considered in that scoring scheme.
23 %description -l pl.UTF-8
24 Complexity to narzędzie zaprojektowane do analizy złożoności funkcji w
25 języku C. Jest bardzo podobne do punktacji McCabe, ale bierze pod
26 uwagę kilka aspektów nie uwzględnianych w tym schemacie.
34 # need to regenerate [opts.c, opts.h] to build with autogen < 5.18.17
41 rm -rf $RPM_BUILD_ROOT
44 DESTDIR=$RPM_BUILD_ROOT
47 rm -rf $RPM_BUILD_ROOT
49 %post -p /sbin/postshell
50 -/usr/sbin/fix-info-dir -c %{_infodir}
52 %postun -p /sbin/postshell
53 -/usr/sbin/fix-info-dir -c %{_infodir}
56 %defattr(644,root,root,755)
57 %doc AUTHORS ChangeLog NEWS README
58 %attr(755,root,root) %{_bindir}/complexity
59 %attr(755,root,root) %{_bindir}/cx-vs-mc
60 %{_infodir}/complexity.info*
61 %{_mandir}/man1/complexity.1*