Group :: Desenvolvimento/Outros
RPM: installer-sdk
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: installer-sdk
Version: 0.1.3
Release: alt2
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
Requires: rpm-utils sed findutils coreutils
%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
…
Todas as alterações você pod ver aqui
Version: 0.1.3
Release: alt2
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
Requires: rpm-utils sed findutils coreutils
%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
…
Todas as alterações você pod ver aqui