diff --git a/.cvsignore b/.cvsignore index e69de29..823f684 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +cproto-4_7c.tgz diff --git a/cproto.spec b/cproto.spec new file mode 100644 index 0000000..27cfa3e --- /dev/null +++ b/cproto.spec @@ -0,0 +1,135 @@ +Summary: Generates function prototypes and variable declarations from C code +Name: cproto +Version: 4.7c +Release: 7 +License: Public Domain +Group: Development/Tools +Source: ftp://invisible-island.net/cproto/cproto-4_7c.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_7c + +%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 +* Sat Aug 13 2005 Jindrich Novy 4.7c-7 +- prepare for Fedora Extras inclusion (#165811) + +* Fri Mar 4 2005 Jindrich Novy 4.7c-6 +- rebuilt with gcc4 + +* Thu Feb 10 2005 Jindrich Novy 4.7c-5 +- remove -D_FORTIFY_SOURCE=2 from CFLAGS, present in RPM_OPT_FLAGS + +* Wed Feb 9 2005 Jindrich Novy 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 4.7c-3 +- define OPT_LINTLIBRARY to enable type definitions output + and other cproto features disabled otherwise + +* Tue Jun 15 2004 Elliot Lee +- rebuilt + +* Tue May 4 2004 Bill Nottingham 4.7c-1 +- update to 4.7c (#54814) + +* Fri Feb 13 2004 Elliot Lee +- rebuilt + +* Wed Jun 04 2003 Elliot Lee +- rebuilt + +* Thu May 22 2003 Bill Nottingham 4.6-16 +- fix build with new bison + +* Wed Jan 22 2003 Tim Powers +- rebuilt + +* Thu Dec 12 2002 Tim Powers 4.6-14 +- rebuild on all arches + +* Fri Jun 21 2002 Tim Powers +- automated rebuild + +* Mon Jun 17 2002 Bill Nottingham 4.6-12 +- don't strip it + +* Thu May 23 2002 Tim Powers +- automated rebuild + +* Wed Jan 09 2002 Tim Powers +- automated rebuild + +* Mon Aug 13 2001 Bill Nottingham +- predefine __builtin_va_list (#46246, original patch from ) + +* Tue Jun 12 2001 Bill Nottingham +- actually *apply* the 4.6.1 patch. Fixes #35654, at least. + +* Fri Dec 01 2000 Bill Nottingham +- rebuild because of broken fileutils + +* Mon Oct 13 2000 Bill Nottingham +- use /lib/cpp, not gcc -E, again (#20535) + +* Wed Jul 12 2000 Prospector +- automatic rebuild + +* Tue Jun 6 2000 Bill Nottingham +- rebuild against glibc-2.2, FHS stuff + +* Tue Feb 1 2000 Bill Nottingham +- use /lib/cpp, not gcc -E (#8612) + +* Sun Mar 21 1999 Cristian Gafton +- auto rebuild in the new build environment (release 2) + +* Mon Mar 15 1999 Jeff Johnson +- update to 4.6.1 (#1516). +- use %configure + +* Fri Dec 18 1998 Bill Nottingham +- build for 6.0 + +* Sat Aug 15 1998 Jeff Johnson +- build root + +* Mon Apr 27 1998 Prospector System +- translations modified for de, fr, tr + +* Thu Jul 10 1997 Erik Troan +- built against glibc diff --git a/sources b/sources index e69de29..edc6b61 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +c7fb8586a4b402e830d1310f3aadef91 cproto-4_7c.tgz