installer-distro-virtualiza.../installer-distro-alt-server-v.spec
Alexey Shabalin 4a2bada0a4 7.0.3-alt1
- package as name alt-server-v for Server Virtualization
2019-06-14 17:35:04 +03:00

95 lines
2.7 KiB
RPMSpec

Name: installer-distro-alt-server-v
Version: 7.0.3
Release: alt1
Summary: Installer configuration (Server V)
License: GPL
Group: System/Configuration/Other
Url: http://www.altlinux.org/Installer
Source: %name-%version.tar
BuildArch: noarch
%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
* Fri Jun 14 2019 Alexey Shabalin <shaba@altlinux.org> 7.0.3-alt1
- package as name alt-server-v for Server Virtualization
* Fri Mar 11 2016 Michael Shigorin <mike@altlinux.org> 7.0.2-alt1
- tweaked disk partitioning profiles towards capping the size
of partitions differing from the "main" one (otherwise it's
prone to e.g. three largish partitions of which two will be
likely mostly empty forever)
- changed profile order so that "generic server" comes first
* Mon Oct 28 2013 Michael Shigorin <mike@altlinux.org> 7.0.1-alt1
- added a few more disk partitioning profiles (closes: #29483)
- fixed silly typo in steps file (non-root user *is* added now)
* 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