Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37513562
en ru br
Репозитории ALT

Группа :: Работа с файлами
Пакет: argwrapper

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   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

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

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin