Skip to content

Commit

Permalink
Initial commit of runawk-1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cheusov committed Jan 29, 2012
1 parent 25957f7 commit 96af73f
Showing 1 changed file with 80 additions and 0 deletions.
80 changes: 80 additions & 0 deletions specs/runawk/runawk.spec
@@ -0,0 +1,80 @@
Name: runawk
Version: 1.4.0
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.21.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/*
%{_datadir}/%{name}/

%files examples
%doc examples

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

%changelog
* 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

0 comments on commit 96af73f

Please sign in to comment.