Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > 9e2fcd7480c3b070278811a2f0531f85 > files > 2

cxref-1.5g-1mdk.src.rpm

%define	name	cxref
%define	version	1.5g
%define	release	1mdk

Summary:	C program cross-referencing & documentation tool
Name:		%{name}
Version:	%{version}
Release:	%{release}
License:	GPL
Group:		Development/C
Source0:	%{name}-%{version}.tar.bz2
URL:		http://www.gedanken.demon.co.uk/cxref/
Buildrequires:	flex bison
Buildroot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot

%description
A program that takes as input a series of C source files
and produces a LaTeX or HTML document containing a cross
reference of the files/functions/variables in the program,
including documentation taken from suitably formatted
source code comments.
The documentation is stored in the C source file in
specially formatted comments, making it simple to maintain.
The cross referencing includes lists of functions called,
callers of each function, usage of global variables, header
file inclusion, macro definitions and type definitions.
Works for ANSI C, including many gcc extensions.

%prep
%setup -q

%build
%configure
%make
#make docs

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall

rm -rf $RPM_BUILD_ROOT%_datadir/cxref-cpp.defines

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%{_bindir}/*
%{_mandir}/man1/*

%changelog
* Mon Jun 14 2004 Lenny Cartier <lenny@mandrakesoft.com> 1.5g-1mdk
- 1.5g

* Wed Jan 14 2004 Franck Villaume <fvill@freesurf.fr> 1.5e-2mdk
- BuildRequires : bison

* Sun Dec 14 2003 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 1.5e-1mdk
- 1.5e
- rm -rf $RPM_BUILD_ROOT at the beginning of %%install
- spec cosmetics

* Sun May 11 2003 Lenny Cartier <lenny@mandrakesoft.com> 1.5d-1mdk
- 1.5d

* Mon Apr 28 2003 Lenny Cartier <lenny@mandrakesoft.com> 1.5c-4mdk
- adjust buildrequires

* Wed Jan 22 2003 Lenny Cartier <lenny@mandrakesoft.com> 1.5c-3mdk
- rebuild

* Tue Oct 09 2001 Lenny Cartier <lenny@mandrakesoft.com> 1.5c-2mdk
- fixes by Anton Graham <darkimage@programmer.net> :
	- Add patch from source URL to make useable with gcc-{2.96,3.x}

* Mon Jul 02 2001 Lenny Cartier <lenny@mandrakesoft.com> 1.5c-1mdk
- updated to 1.5c

* Mon Jan 08 2001 Lenny Cartier <lenny@mandrakesoft.com> 1.5b-2mdk
- rebuild
- add url

* Wed Sep 27 2000 Lenny Cartier <lenny@mandrakesoft.com> 1.5b-1mdk
- stop providing the docs

* Tue Oct 19 1999 Lenny Cartier <lenny@mandrakesoft.com>
- Specfile adaptation for Mandrake

* Mon Oct 18 1999 Richard Jackson <richardj@1gig.net>
- initial RPM build