Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37371466
en ru br
ALT Linux repos

Group :: Development/C
RPM: gengetopt

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%def_enable check

Name: gengetopt
Version: 2.23
Release: alt1

Summary: Tool to write command line option parsing code for C programs
License: GPLv3+
Group: Development/C


BuildRequires: gcc-c++ bison flex help2man source-highlight makeinfo
%{?_enable_check:BuildRequires: valgrind}

Gengetopt is a tool to generate C code to parse the command line
arguments argc and argv that are part of every C or C++ program. The
generated code uses the C library function getopt_long to perform the
actual command line parsing.

%define pkgdocdir %_docdir/%name-%version


%configure --docdir=%pkgdocdir

rm %buildroot%_infodir/

%make check

%doc %pkgdocdir/


Full changelog you can see here

design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin