rpms/cflow/F-7 cflow.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Terje Røsten (terjeros) fedora-extras-commits at redhat.com
Mon May 19 20:31:26 UTC 2008


Author: terjeros

Update of /cvs/extras/rpms/cflow/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11025/F-7

Modified Files:
	.cvsignore sources 
Added Files:
	cflow.spec 
Log Message:
Importing cflow.




--- NEW FILE cflow.spec ---
Summary:         Analyzes C files charting control flow within the program
Name:            cflow
Version:         1.2
Release:         2%{?dist}
License:         GPLv2+
Group:           Development/Languages
URL:             http://www.gnu.org/software/cflow/
Source0:         http://ftp.gnu.org/gnu/cflow/%{name}-%{version}.tar.gz
BuildRoot:       %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# to install lisp files
BuildRequires:   emacs
Requires(post):  info
Requires(preun): info

%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 -q

%build
export CFLAGS="%{optflags}"
./configure --prefix=%{_prefix}  --libdir=%{_libdir}
%{__make} %{?_smp_flags}

%install
%{__rm} -rf %{buildroot}
%{__make} DESTDIR=%{buildroot} INSTALL='%{__install} -p' install
%find_lang %{name}
%{__rm} -f %{buildroot}/%{_infodir}/dir

%clean
%{__rm} -rf %{buildroot}

%check
%{__make} check

%post
/sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir || :

%preun
if [ $1 = 0 ] ; then
    /sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir || :
fi

%files -f %{name}.lang
%defattr(-, root, root, -)
%doc AUTHORS ChangeLog COPYING NEWS README THANKS TODO
%{_bindir}/%{name}
%{_infodir}/%{name}.info.gz
%{_datadir}/emacs/site-lisp/%{name}-mode.el

%changelog
* Fri May 16 2008 Terje Rosten <terje.rosten at ntnu.no> - 1.2-2
- add emacs to buildreq

* Wed May 14 2008 Terje Rosten <terje.rosten at ntnu.no> - 1.2-1
- initial build



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/cflow/F-7/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	19 May 2008 16:17:19 -0000	1.1
+++ .cvsignore	19 May 2008 20:30:09 -0000	1.2
@@ -0,0 +1 @@
+cflow-1.2.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/cflow/F-7/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	19 May 2008 16:17:19 -0000	1.1
+++ sources	19 May 2008 20:30:09 -0000	1.2
@@ -0,0 +1 @@
+e0ef18aef99d1e7115b0b50d361ac6f7  cflow-1.2.tar.gz




More information about the scm-commits mailing list