installer-distro-virtualiza.../installer-distro-altlinux-server.spec

83 lines
2.1 KiB
RPMSpec
Raw Normal View History

Name: installer-distro-altlinux-server
Version: 7.0.0
Release: alt1
Summary: Installer configuration (server)
License: GPL
Group: System/Configuration/Other
Url: http://www.altlinux.org/Installer
Source: %name-%version.tar
BuildArch: noarch
Packager: Michael Shigorin <mike@altlinux.org>
%description
This package contains installer configuration hopefully suitable
for an ALT Linux based server distribution.
It is derived from installer-distro-altlinux-generic.
%package stage2
Summary: Installer configuration and scripts (stage2 part)
License: GPL
Group: System/Configuration/Other
Requires: installer-stage2
# modules
Requires: alterator-sysconfig
Requires: alterator-datetime
Requires: alterator-pkg
Requires: alterator-vm
Requires: alterator-notes
%description stage2
This package contains installer configuration hopefully suitable
for an ALT Linux based server distribution.
The stage2 part is included into live installer system.
%package stage3
Summary: Installer configuration and scripts (stage3 part)
License: GPL
Group: System/Configuration/Other
Provides: installer-altlinux-generic-stage3 = %name-%version
# modules
Requires: alterator-users
Requires: alterator-root
Requires: alterator-luks
Requires: alterator-net-eth dhcpcd
Requires: alterator-net-general
Requires: installer-feature-powerbutton-stage3
%description stage3
This package contains installer configuration hopefully suitable
for an ALT Linux based server distribution.
The stage3 part is installed onto the new system's root
and executed off there during installation process.
%prep
%setup
%install
%define install2dir %_datadir/install2
mkdir -p %buildroot%install2dir
cp -a * %buildroot%install2dir/
# FIXME: /vm behaviour should be controllable in some sane manner
%post stage2
sed -i 's,^\(X-Alterator-URI=\).*$,\1/vm/ortodox,' \
%_datadir/install2/steps/vm.desktop
%files stage2
%install2dir/*.d/*
%install2dir/alterator-menu
%install2dir/installer-steps
%files stage3
%changelog
* Mon Jul 15 2013 Michael Shigorin <mike@altlinux.org> 7.0.0-alt1
- initial release based on installer-distro-altlinux-generic 7.0.1-alt1
- get things back somewhat closer to a useful (not test) distribution