Группа :: Разработка/Прочее
Пакет: installer-sdk
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: installer-sdk
Version: 0.1.1
Release: alt1
Summary: Installer feature simple development kit ;)
License: GPL
Group: Development/Other
Url: http://www.altlinux.org/Installer/beans
Source: %name-%version.tar
Packager: Michael Shigorin <mike at altlinux.org>
BuildArch: noarch
AutoReq: no
%define featurist init-installer-feature
%description
This package provides a simple installer feature template
and a script to rename/substitute the stub with the name
you chose for the module to be written; it's not any kind
of "wizard" at all but should spare some time on doing
redundant work.
Any suggestions on template and processing as well as
other contributions are of course welcome!
Recommended packages: git-core, tree
%prep
%setup
%install
sed -i 's, at TOOLNAME at ,%name,g' %featurist
sed -i 's, at TEMPLATE at ,%_datadir/%name/template,g' %featurist
install -pD -m755 %featurist %buildroot%_bindir/%featurist
install -d %buildroot%_datadir/%name
cp -a template %buildroot%_datadir/%name/
%files
%_bindir/*
%_datadir/%name/
# TODO:
# - add help for quite cryptic template functionality :)
# - split quite common templating "engine" to reuse within
# both installer-sdk and alterator-sdk
%changelog
…
Полный changelog можно просмотреть здесь
Version: 0.1.1
Release: alt1
Summary: Installer feature simple development kit ;)
License: GPL
Group: Development/Other
Url: http://www.altlinux.org/Installer/beans
Source: %name-%version.tar
Packager: Michael Shigorin <mike at altlinux.org>
BuildArch: noarch
AutoReq: no
%define featurist init-installer-feature
%description
This package provides a simple installer feature template
and a script to rename/substitute the stub with the name
you chose for the module to be written; it's not any kind
of "wizard" at all but should spare some time on doing
redundant work.
Any suggestions on template and processing as well as
other contributions are of course welcome!
Recommended packages: git-core, tree
%prep
%setup
%install
sed -i 's, at TOOLNAME at ,%name,g' %featurist
sed -i 's, at TEMPLATE at ,%_datadir/%name/template,g' %featurist
install -pD -m755 %featurist %buildroot%_bindir/%featurist
install -d %buildroot%_datadir/%name
cp -a template %buildroot%_datadir/%name/
%files
%_bindir/*
%_datadir/%name/
# TODO:
# - add help for quite cryptic template functionality :)
# - split quite common templating "engine" to reuse within
# both installer-sdk and alterator-sdk
%changelog
…
Полный changelog можно просмотреть здесь