Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 4af09aa0ccba4ec6d86d24477349bcbc > files > 2

cproto-4.7j-2.mga3.src.rpm

%define	name	cproto
%define	version	4.7j
%define release %mkrel 2

Summary:	Generates function prototypes and variable declarations from C code
Name:		%{name}
Version:	%{version}
Release:	%{release}
License:	Public Domain
Group:		Development/C
Url:		http://invisible-island.net/cproto/
Source0:	ftp://invisible-island.net/cproto/%{name}-%{version}.tgz
BuildRequires:	byacc flex


%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.  Since cproto uses a Yacc generated
parser, it shouldn't be confused by complex function definitions as much
as other prototype generators) because it uses a Yacc generated parser.  

Cproto will be useful for C programmers, so install cproto if you are going
to do any C programming.

%prep
%setup -q

%build
%configure2_5x
%make

%install
%makeinstall


%files
%doc CHANGES README
%{_bindir}/cproto
%{_mandir}/*/cproto.1*




%changelog

* Fri Jan 11 2013 umeabot <umeabot> 4.7j-2.mga3
+ Revision: 348246
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Sun Jan 15 2012 malo <malo> 4.7j-1.mga2
+ Revision: 196520
- new Url
- new version 4.7j (which installs the man page properly)
- spec clean-up after import from Mandriva
- imported package cproto