Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37522771
en ru br
ALT Linux repositórios
S:0.02-alt2

Group :: Ferramentas de Arquivo
RPM: argwrapper

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e 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

Url: http://git.altlinux.org/people/george/packages/argwrapper.git
Source: %name-%version.tar

BuildRequires: txt2man glibc-devel-static

%description
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.

%prep
%setup

%build
%make release

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

%check
make check

%files
%_bindir/%name
%_man1dir/%name.*

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009