Summary: Generates function prototypes and variable declarations from C code
Name: cproto
Version: 4.7e
Release: 1%{?dist}
License: Public Domain
Group: Development/Tools
Source: ftp://invisible-island.net/cproto/cproto-4_7e.tgz
URL: http://invisible-island.net/
BuildRequires: byacc, flex
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
Cproto generates function prototypes and variable declarations from C
source code. Cproto can also convert function definitions between the
old style and the ANSI C style. This conversion will overwrite the
original files, however, so be sure to make a backup copy of your
original files in case something goes wrong. Cproto uses a Yacc
generated parser, so it should not be confused by complex function
definitions as much as other prototype generators.
%prep
%setup -q -n cproto-4_7e
%build
export CPP="/lib/cpp"
export CPPFLAGS="-DOPT_LINTLIBRARY $RPM_OPT_FLAGS"
export CFLAGS="-DOPT_LINTLIBRARY $RPM_OPT_FLAGS"
%configure
make
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall mandir=$RPM_BUILD_ROOT/%{_mandir}/man1
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc CHANGES README
%{_prefix}/bin/cproto
%{_mandir}/man1/cproto.*
%changelog
* Sun Mar 5 2006 Jindrich Novy <jnovy@redhat.com> 4.7e-1
- update to 4.7e
* Tue Nov 29 2005 Jindrich Novy <jnovy@redhat.com> 4.7d-2
- fix source, rebuild
* Mon Nov 28 2005 Jindrich Novy <jnovy@redhat.com> 4.7d-1
- update to 4.7d
* Sat Aug 13 2005 Jindrich Novy <jnovy@redhat.com> 4.7c-7
- prepare for Fedora Extras inclusion (#165811)
* Fri Mar 4 2005 Jindrich Novy <jnovy@redhat.com> 4.7c-6
- rebuilt with gcc4
* Thu Feb 10 2005 Jindrich Novy <jnovy@redhat.com> 4.7c-5
- remove -D_FORTIFY_SOURCE=2 from CFLAGS, present in RPM_OPT_FLAGS
* Wed Feb 9 2005 Jindrich Novy <jnovy@redhat.com> 4.7c-4
- add RPM_OPT_FLAGS to CFLAGS
- convert Copyright to License
- rebuild with -D_FORTIFY_SOURCE=2
* Thu Oct 14 2004 Jindrich Novy <jnovy@redhat.com> 4.7c-3
- define OPT_LINTLIBRARY to enable type definitions output
and other cproto features disabled otherwise
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Tue May 4 2004 Bill Nottingham <notting@redhat.com> 4.7c-1
- update to 4.7c (#54814)
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Thu May 22 2003 Bill Nottingham <notting@redhat.com> 4.6-16
- fix build with new bison
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
- rebuilt
* Thu Dec 12 2002 Tim Powers <timp@redhat.com> 4.6-14
- rebuild on all arches
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Mon Jun 17 2002 Bill Nottingham <notting@redhat.com> 4.6-12
- don't strip it
* Thu May 23 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Mon Aug 13 2001 Bill Nottingham <notting@redhat.com>
- predefine __builtin_va_list (#46246, original patch from <urban@teststation.com>)
* Tue Jun 12 2001 Bill Nottingham <notting@redhat.com>
- actually *apply* the 4.6.1 patch. Fixes #35654, at least.
* Fri Dec 01 2000 Bill Nottingham <notting@redhat.com>
- rebuild because of broken fileutils
* Mon Oct 13 2000 Bill Nottingham <notting@redhat.com>
- use /lib/cpp, not gcc -E, again (#20535)
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild
* Tue Jun 6 2000 Bill Nottingham <notting@redhat.com>
- rebuild against glibc-2.2, FHS stuff
* Tue Feb 1 2000 Bill Nottingham <notting@redhat.com>
- use /lib/cpp, not gcc -E (#8612)
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
- auto rebuild in the new build environment (release 2)
* Mon Mar 15 1999 Jeff Johnson <jbj@redhat.com>
- update to 4.6.1 (#1516).
- use %configure
* Fri Dec 18 1998 Bill Nottingham <notting@redhat.com>
- build for 6.0
* Sat Aug 15 1998 Jeff Johnson <jbj@redhat.com>
- build root
* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
- translations modified for de, fr, tr
* Thu Jul 10 1997 Erik Troan <ewt@redhat.com>
- built against glibc