Группа :: Development/Tools
Пакет: cproto
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: cproto
Version: 4.7s
Release: alt1
Summary: Generates function prototypes and variable declarations from C code
License: ALT-Public-Domain
Group: Development/Tools
Url: https://invisible-island.net/cproto/cproto.html
# https://invisible-mirror.net/archives/cproto/cproto-%version.tgz
Source: %name-%version.tar
BuildRequires: bison flex
%description
Cproto is a program that generates function prototypes and variable
declarations from C source code. It can also convert function
definitions between the old style and the ANSI C style. This conversion
overwrites the original files, however, so be sure to make a backup copy
of your original files in case something goes wrong.
The program isn't confused by complex function definitions as much as
other prototype generators because it uses a yacc generated parser.
By ignoring all the input between braces, the author has avoided
implementing the entire C language grammar.
%prep
%setup
%build
%add_optflags %(getconf LFS_CFLAGS)
%configure --enable-llib
%make_build
%install
%makeinstall_std
%define _unpackaged_files_terminate_build 1
%define _stripped_files_terminate_build 1
%set_verify_elf_method strict
%check
%make_build -k check
%files
%_bindir/cproto
%_man1dir/cproto.*
%doc AUTHORS CHANGES README
%changelog
…
Полный changelog можно просмотреть здесь
Version: 4.7s
Release: alt1
Summary: Generates function prototypes and variable declarations from C code
License: ALT-Public-Domain
Group: Development/Tools
Url: https://invisible-island.net/cproto/cproto.html
# https://invisible-mirror.net/archives/cproto/cproto-%version.tgz
Source: %name-%version.tar
BuildRequires: bison flex
%description
Cproto is a program that generates function prototypes and variable
declarations from C source code. It can also convert function
definitions between the old style and the ANSI C style. This conversion
overwrites the original files, however, so be sure to make a backup copy
of your original files in case something goes wrong.
The program isn't confused by complex function definitions as much as
other prototype generators because it uses a yacc generated parser.
By ignoring all the input between braces, the author has avoided
implementing the entire C language grammar.
%prep
%setup
%build
%add_optflags %(getconf LFS_CFLAGS)
%configure --enable-llib
%make_build
%install
%makeinstall_std
%define _unpackaged_files_terminate_build 1
%define _stripped_files_terminate_build 1
%set_verify_elf_method strict
%check
%make_build -k check
%files
%_bindir/cproto
%_man1dir/cproto.*
%doc AUTHORS CHANGES README
%changelog
…
Полный changelog можно просмотреть здесь