a61d82
Summary:         Analyzes C files charting control flow within the program
a61d82
Name:            cflow
Terje Røsten b38c45
Version:         1.5
86afe4
Release:         6%{?dist}
a61d82
License:         GPLv2+
a61d82
Group:           Development/Languages
a61d82
URL:             http://www.gnu.org/software/cflow/
Terje Røsten b38c45
Source0:         http://ftp.gnu.org/gnu/cflow/cflow-%{version}.tar.bz2
a61d82
# to install lisp files
Igor Gnatenko 062fd5
BuildRequires:  gcc
a61d82
BuildRequires:   emacs
a61d82
Requires(post):  info
a61d82
Requires(preun): info
a61d82
%description
a61d82
GNU cflow analyzes a collection of C source files and prints a graph,
a61d82
charting control flow within the program.
a61d82
a61d82
GNU cflow is able to produce both direct and inverted flowgraphs for C
a61d82
sources. Optionally a cross-reference listing can be generated. Two
a61d82
output formats are implemented: POSIX and GNU (extended).
a61d82
a61d82
%prep
a61d82
%setup -q
a61d82
a61d82
%build
Terje Røsten b38c45
%configure --disable-silent-rules
7f1616
make %{?_smp_flags}
a61d82
a61d82
%install
7f1616
make DESTDIR=%{buildroot} INSTALL='%{__install} -p' install
a61d82
%find_lang %{name}
7f1616
rm -f %{buildroot}/%{_infodir}/dir
a61d82
a61d82
%check
7f1616
make check
a61d82
a61d82
%post
a61d82
/sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir || :
a61d82
a61d82
%preun
a61d82
if [ $1 = 0 ] ; then
a61d82
    /sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir || :
a61d82
fi
a61d82
a61d82
%files -f %{name}.lang
Terje Røsten b38c45
%license COPYING
Terje Røsten b38c45
%doc AUTHORS ChangeLog NEWS README THANKS TODO
Terje Røsten b38c45
%{_bindir}/cflow
Terje Røsten b38c45
%{_infodir}/cflow.info.gz
Terje Røsten b38c45
%{_mandir}/man1/cflow.1.*
Terje Røsten b38c45
%{_datadir}/emacs/site-lisp/cflow-mode.el
a61d82
a61d82
%changelog
86afe4
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-6
86afe4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
86afe4
d0b137
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-5
d0b137
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
d0b137
fe70c3
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-4
fe70c3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
fe70c3
df94b9
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-3
df94b9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
df94b9
f68387
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-2
f68387
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
f68387
Terje Røsten b38c45
* Tue May 17 2016 Terje Rosten <terje.rosten@ntnu.no> - 1.5-1
Terje Røsten b38c45
- 1.5
Terje Røsten b38c45
50d8e0
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-10
50d8e0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
50d8e0
f71643
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-9
f71643
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
f71643
68bb5c
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-8
68bb5c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
68bb5c
7f1616
* Thu Jun 19 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.4-7
7f1616
- Update config.guess/sub for new arch support
7f1616
- Modernise spec
7f1616
ea8235
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-6
ea8235
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
ea8235
12fe04
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-5
12fe04
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
12fe04
1fd511
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-4
1fd511
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
1fd511
a0ea93
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-3
a0ea93
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
a0ea93
959913
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-2
959913
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
959913
afb934
* Wed Oct 12 2011 Terje Rosten <terje.rosten@ntnu.no> - 1.4-1
afb934
- 1.4
afb934
efe2c2
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-2
efe2c2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
efe2c2
a9e269
* Sat Dec 05 2009 Terje Rosten <terje.rosten@ntnu.no> - 1.3-1
a9e269
- 1.3
a9e269
39f4cf
* Mon Aug 10 2009 Ville Skyttä <ville.skytta@iki.fi> - 1.2-5
39f4cf
- Use bzipped upstream tarball.
39f4cf
9f0a5b
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-4
9f0a5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
9f0a5b
0087bc
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-3
0087bc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
0087bc
a61d82
* Fri May 16 2008 Terje Rosten <terje.rosten@ntnu.no> - 1.2-2
a61d82
- add emacs to buildreq
a61d82
a61d82
* Wed May 14 2008 Terje Rosten <terje.rosten@ntnu.no> - 1.2-1
a61d82
- initial build
a61d82