|
|
a61d82a |
Summary: Analyzes C files charting control flow within the program
|
|
|
a61d82a |
Name: cflow
|
|
|
afb9344 |
Version: 1.4
|
|
|
68bb5c0 |
Release: 8%{?dist}
|
|
|
a61d82a |
License: GPLv2+
|
|
|
a61d82a |
Group: Development/Languages
|
|
|
a61d82a |
URL: http://www.gnu.org/software/cflow/
|
|
|
39f4cf7 |
Source0: http://ftp.gnu.org/gnu/cflow/%{name}-%{version}.tar.bz2
|
|
|
7f16168 |
|
|
|
a61d82a |
# to install lisp files
|
|
|
a61d82a |
BuildRequires: emacs
|
|
|
a61d82a |
Requires(post): info
|
|
|
a61d82a |
Requires(preun): info
|
|
|
a61d82a |
|
|
|
a61d82a |
%description
|
|
|
a61d82a |
GNU cflow analyzes a collection of C source files and prints a graph,
|
|
|
a61d82a |
charting control flow within the program.
|
|
|
a61d82a |
|
|
|
a61d82a |
GNU cflow is able to produce both direct and inverted flowgraphs for C
|
|
|
a61d82a |
sources. Optionally a cross-reference listing can be generated. Two
|
|
|
a61d82a |
output formats are implemented: POSIX and GNU (extended).
|
|
|
a61d82a |
|
|
|
a61d82a |
%prep
|
|
|
a61d82a |
%setup -q
|
|
|
a61d82a |
|
|
|
a61d82a |
%build
|
|
|
7f16168 |
# Update config.guess/sub to fix builds on new architectures (aarch64/ppc64le)
|
|
|
7f16168 |
cp /usr/lib/rpm/config.* build-aux/
|
|
|
7f16168 |
|
|
|
a61d82a |
export CFLAGS="%{optflags}"
|
|
|
a61d82a |
./configure --prefix=%{_prefix} --libdir=%{_libdir}
|
|
|
7f16168 |
make %{?_smp_flags}
|
|
|
a61d82a |
|
|
|
a61d82a |
%install
|
|
|
7f16168 |
make DESTDIR=%{buildroot} INSTALL='%{__install} -p' install
|
|
|
a61d82a |
%find_lang %{name}
|
|
|
7f16168 |
rm -f %{buildroot}/%{_infodir}/dir
|
|
|
a61d82a |
|
|
|
a61d82a |
|
|
|
a61d82a |
%check
|
|
|
7f16168 |
make check
|
|
|
a61d82a |
|
|
|
a61d82a |
%post
|
|
|
a61d82a |
/sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir || :
|
|
|
a61d82a |
|
|
|
a61d82a |
%preun
|
|
|
a61d82a |
if [ $1 = 0 ] ; then
|
|
|
a61d82a |
/sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir || :
|
|
|
a61d82a |
fi
|
|
|
a61d82a |
|
|
|
a61d82a |
%files -f %{name}.lang
|
|
|
a61d82a |
%doc AUTHORS ChangeLog COPYING NEWS README THANKS TODO
|
|
|
a61d82a |
%{_bindir}/%{name}
|
|
|
a61d82a |
%{_infodir}/%{name}.info.gz
|
|
|
a61d82a |
%{_datadir}/emacs/site-lisp/%{name}-mode.el
|
|
|
a61d82a |
|
|
|
a61d82a |
%changelog
|
|
|
68bb5c0 |
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-8
|
|
|
68bb5c0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
68bb5c0 |
|
|
|
7f16168 |
* Thu Jun 19 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.4-7
|
|
|
7f16168 |
- Update config.guess/sub for new arch support
|
|
|
7f16168 |
- Modernise spec
|
|
|
7f16168 |
|
|
|
ea82356 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-6
|
|
|
ea82356 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
ea82356 |
|
|
|
12fe04a |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-5
|
|
|
12fe04a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
12fe04a |
|
|
|
1fd5110 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-4
|
|
|
1fd5110 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
1fd5110 |
|
|
|
a0ea93f |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-3
|
|
|
a0ea93f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
a0ea93f |
|
|
|
959913c |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-2
|
|
|
959913c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
959913c |
|
|
|
afb9344 |
* Wed Oct 12 2011 Terje Rosten <terje.rosten@ntnu.no> - 1.4-1
|
|
|
afb9344 |
- 1.4
|
|
|
afb9344 |
|
|
|
efe2c29 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-2
|
|
|
efe2c29 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
efe2c29 |
|
|
|
a9e2693 |
* Sat Dec 05 2009 Terje Rosten <terje.rosten@ntnu.no> - 1.3-1
|
|
|
a9e2693 |
- 1.3
|
|
|
a9e2693 |
|
|
|
39f4cf7 |
* Mon Aug 10 2009 Ville Skyttä <ville.skytta@iki.fi> - 1.2-5
|
|
|
39f4cf7 |
- Use bzipped upstream tarball.
|
|
|
39f4cf7 |
|
|
|
9f0a5b7 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-4
|
|
|
9f0a5b7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
9f0a5b7 |
|
|
|
0087bc1 |
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-3
|
|
|
0087bc1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
0087bc1 |
|
|
|
a61d82a |
* Fri May 16 2008 Terje Rosten <terje.rosten@ntnu.no> - 1.2-2
|
|
|
a61d82a |
- add emacs to buildreq
|
|
|
a61d82a |
|
|
|
a61d82a |
* Wed May 14 2008 Terje Rosten <terje.rosten@ntnu.no> - 1.2-1
|
|
|
a61d82a |
- initial build
|
|
|
a61d82a |
|