Summary: Generates function prototypes and variable declarations from C code Name: cproto Version: 4.7o Release: 1 License: Public Domain Group: Development/Tools Source0: ftp://invisible-island.net/%{name}/%{name}-%{version}.tgz Source1: ftp://invisible-island.net/%{name}/%{name}-%{version}.tgz.asc URL: http://invisible-island.net/ BuildRequires: flex BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %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 %build ./configure \ --prefix=%{_prefix} make %{?_smp_mflags} %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} make mandir=${RPM_BUILD_ROOT}%{_mandir}/man1 bindir=${RPM_BUILD_ROOT}%{_bindir} install /usr/bin/strip ${RPM_BUILD_ROOT}%{_bindir}/* || : cd ${RPM_BUILD_ROOT} mkdir -p usr/bin cd usr/bin ln -sf ../..%{_bindir}/* . %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,system) %doc CHANGES README %{_bindir}/* %{_mandir}/man1/* /usr/bin/* %changelog * Mon Jun 11 2018 Michael Perzl - 4.7o-1 - updated to version 4.7o * Mon Jun 11 2018 Michael Perzl - 4.7n-1 - updated to version 4.7n * Tue Jul 14 2015 Michael Perzl - 4.7m-1 - updated to version 4.7m * Thu Jan 02 2014 Michael Perzl - 4.7l-1 - updated to version 4.7l * Sat Oct 26 2013 Michael Perzl - 4.7k-1 - updated to version 4.7k * Mon Jan 03 2010 Michael Perzl - 4.7j-1 - updated to version 4.7j * Fri Nov 21 2008 Michael Perzl - 4.7g-1 - updated to version 4.7g * Mon May 27 2008 Michael Perzl - 4.7f-1 - first version for AIX V5.1 and higher