Sisyphus repository
Last update: 17 september 2021 | SRPMs: 17378 | Visits: 21889700
en ru br
ALT Linux repos

Group :: File tools
RPM: argwrapper

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

# TODO generate version

Name: argwrapper
Version: 0.02
Release: alt2

Summary: Run a binary with environment and arguments sewed into wrapper name
License: GPLv3
Group: File tools

Source: %name-%version.tar

BuildRequires: txt2man glibc-devel-static

When called without parameters, argwrapper assumes it's a wrapper call.
It parses its zero argument (argv[0], usually binary file name) and
splits it into series of environment variables assignments, wrapped
program name and command line arguments.

When called with some command line parameters, argwrapper assumes
it's a filename generator call. It selects a character for argument
separator, a replacement characters for '/' path separator and other
optional chars, if any. It's guaranteed that none of the characters
selected is appeared within original command line. Then '/' and optional
chars are replaced with corresponded replacements and all the arguments
are concatenated with argument separator.


%make release

install -D %name %buildroot%_bindir/%name
install -D %name.1 %buildroot%_man1dir/%name.1

make check



Full changelog you can see here

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