runawk/runawk.spec

Name: runawk
Summary: Wrapper for AWK providing modules
Version: 1.4.4
Release: 1
License: MIT
Group: Development/Other
URL: http://runawk.sourceforge.net
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.

CentOS 7 x86_64

The build could not start because of the following missing build requirements:

Build Status

CentOS 6 x86_64

The build could not start because of the following missing build requirements:

Build Status

Contents

The spec file used by the build system currently has the following contents:

Name: runawk
Version: 1.4.4
Release: 1%{?dist}

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

Url: http://runawk.sourceforge.net
Source: http://prdownloads.sf.net/%{name}/%{name}-%{version}.tar.gz
Packager: Aleksey Cheusov <vle@gmx.net>

BuildPreReq: mk-configure >= 0.23.0

BuildRequires: bmake mk-configure

%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/*
%{_bindir}/*
%{_mandir}/man1/*
%{_mandir}/man3/*
%{_datadir}/%{name}/

%files examples
%doc examples

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

%changelog
* Sun Nov 18 2012 Aleksey Cheusov <vle@gmx.net> 1.4.4-1
- updated to 1.4.4

* Sun Jul 22 2012 Aleksey Cheusov <vle@gmx.net> 1.4.1-1
- updated to 1.4.1

* Mon Jan  2 2012 Aleksey Cheusov <vle@gmx.net> 1.3.2-1
- adapted for repoforge

* Mon Nov 21 2011 Michael Shigorin <mike@altlinux.org> 1.3.2-alt2
- fixed name spelling

* Mon Nov 07 2011 Michael Shigorin <mike@altlinux.org> 1.3.2-alt1
- built for ALT Linux (new paexec dependency)
  + thanks Aleksey Cheusov for outstanding upstream support