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