Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37542014
en ru br
ALT Linux repos
S:1.6.1-alt3

Group :: Development/Other
RPM: runawk

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: runawk
Version: 1.5.1
Release: alt2

Summary: Wrapper for AWK providing modules
License: MIT
Group: Development/Other

Url: http://runawk.sourceforge.net
Source: %name-%version.tar
Packager: Aleksey Cheusov <cheusov at altlinux.org>

BuildRequires: mk-configure >= 0.26.0

%description
RUNAWK is a small wrapper for AWK interpreter that helps to write
the standalone programs in AWK. It provides MODULES for AWK
similar to PERL's "use" command and other powerful features.
Dozens of ready to use modules are also provided.

%package examples
Summary: Examples for RunAWK
Group: Documentation
BuildArch: noarch
Requires: %name = %version-%release

%description examples
This package contains examples for RunAWK.

%prep
%setup

%define env \
unset MAKEFLAGS \
export PREFIX=%prefix \
export SYSCONFDIR=%_sysconfdir \
export MANDIR=%_mandir

%build
%env
mkcmake all
#mkcmake a_getopt

%check
%env
export TMPDIR=/tmp
mkcmake test

%install
%env
export DESTDIR=%buildroot
mkcmake install
#mkcmake install-a_getopt

%files
%doc doc/LICENSE doc/NEWS doc/TODO README
%_bindir/*
%_man1dir/*
%_man3dir/*
%_datadir/%name/

%files examples
%doc examples

# TODO:

# - consider packaging alt_getopt as a subpackage
#   (uses runawk, isn't used by runawk)

%changelog

Full changelog you can see here

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