Group :: Sistema/Configurações/Rede
RPM: alterator-setup-kworkstation
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: alterator-setup-kworkstation
Version: 0.0.5
Release: alt1
Summary: Perform initial setup of an OEM installation
License: GPLv2
Group: System/Configuration/Other
Url: http://www.altlinux.org/Alterator
Source: %name-%version.tar
BuildArch: noarch
BuildRequires: alterator
Requires: alterator-setup
Requires: alterator-setup-welcome
Requires: alterator-l10n
Requires: alterator-notes
Requires: alterator-sysconfig
Requires: alterator-datetime
Requires: alterator-root
Requires: alterator-users
Requires: alterator-net-eth
Requires: alterator-net-wifi
Requires: NetworkManager-daemon
%description
%summary
%prep
%setup
%install
%makeinstall
install -pD -m755 custom.steps %buildroot%_sysconfdir/%name/custom.steps
cp -a steps %buildroot%_sysconfdir/%name/
install -pD -m755 93-remove-package.sh %buildroot%_libexecdir/alterator/hooks/setup-postinstall.d/93-remove-package.sh
%files
%_sysconfdir/%name/custom.steps
%_sysconfdir/%name/steps/*
%_libexecdir/alterator/hooks/setup-postinstall.d/93-remove-package.sh
%_libexecdir/alterator/backend3/*
%_datadir/alterator/ui/*
%post
cat %_sysconfdir/%name/custom.steps > %_sysconfdir/alterator-setup/steps
cp -r -u %_sysconfdir/%name/steps %_datadir/alterator/
%postun
> /root/.bash_history
%changelog
…
Todas as alterações você pod ver aqui
Version: 0.0.5
Release: alt1
Summary: Perform initial setup of an OEM installation
License: GPLv2
Group: System/Configuration/Other
Url: http://www.altlinux.org/Alterator
Source: %name-%version.tar
BuildArch: noarch
BuildRequires: alterator
Requires: alterator-setup
Requires: alterator-setup-welcome
Requires: alterator-l10n
Requires: alterator-notes
Requires: alterator-sysconfig
Requires: alterator-datetime
Requires: alterator-root
Requires: alterator-users
Requires: alterator-net-eth
Requires: alterator-net-wifi
Requires: NetworkManager-daemon
%description
%summary
%prep
%setup
%install
%makeinstall
install -pD -m755 custom.steps %buildroot%_sysconfdir/%name/custom.steps
cp -a steps %buildroot%_sysconfdir/%name/
install -pD -m755 93-remove-package.sh %buildroot%_libexecdir/alterator/hooks/setup-postinstall.d/93-remove-package.sh
%files
%_sysconfdir/%name/custom.steps
%_sysconfdir/%name/steps/*
%_libexecdir/alterator/hooks/setup-postinstall.d/93-remove-package.sh
%_libexecdir/alterator/backend3/*
%_datadir/alterator/ui/*
%post
cat %_sysconfdir/%name/custom.steps > %_sysconfdir/alterator-setup/steps
cp -r -u %_sysconfdir/%name/steps %_datadir/alterator/
%postun
> /root/.bash_history
%changelog
…
Todas as alterações você pod ver aqui