Package installer-distro-alt-workstation: Specfile

Name: installer-distro-alt-workstation
Version: 10.4.0
Release: alt1

Summary: Installer configuration (ALT Workstation)
License: GPL-2.0+
Group: System/Configuration/Other

Url: http://www.altlinux.org/Installer
Source: %name-%version.tar
BuildArch: noarch

%description
This package contains installer configuration for
ALT Workstation.

It is derived from installer-distro-altlinux-desktop.

%package stage2
Summary: Installer configuration and scripts (stage2 part)
License: GPL-2.0+
Group: System/Configuration/Other
Requires: installer-common-stage2 >= 1.14.4-alt1
# modules
Requires: alterator-sysconfig
Requires: alterator-datetime
Requires: installer-alterator-pkg
Requires: alterator-vm
Requires: alterator-notes
Requires: x-cursor-theme-jimmac

%description stage2
This package contains installer configuration for
ALT Workstation.

The stage2 part is included into live installer system.

%package stage3
Summary: Installer configuration and scripts (stage3 part)
License: GPL-2.0+
Group: System/Configuration/Other
#Requires: installer-stage3
# modules
# Only require alterator-grub for arches that have grub.
%ifarch  %ix86 x86_64 aarch64 ppc64le
Requires: alterator-grub
%endif
Requires: alterator-users >= 10.14-alt1
Requires: alterator-root
Requires: alterator-luks
Requires: alterator-net-eth

%description stage3
This package contains installer configuration for
ALT Workstation.

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/

# Don't expand groups lists
mkdir -p %buildroot%_sysconfdir/alterator
echo "expand-description=no" >%buildroot%_sysconfdir/alterator/pkg-groups.conf

%files stage2
%_sysconfdir/alterator/pkg-groups.conf
%install2dir/alterator-menu
%install2dir/installer-steps
%install2dir/*.d/*

%files stage3

%changelog
* Wed Dec 27 2023 Mikhail Efremov <sem@altlinux.org> 10.4.0-alt1
- Added pkg-groups.conf.

* Wed Nov 22 2023 Mikhail Efremov <sem@altlinux.org> 10.3.0-alt1
- stage2: Don't try to remove alterator-wizardface.
- stage2: Fix preinstall.d/80-setup-user-groups.

* Thu Dec 08 2022 Mikhail Efremov <sem@altlinux.org> 10.2.0-alt1
- stage2: Rewrite 80-setup-user-groups.

* Wed Aug 24 2022 Mikhail Efremov <sem@altlinux.org> 10.1.0-alt1
- stage2: Replace vm step with vm-ortodox.
- stage2: Include user to fuse group.
- stage2: Requires: alterator-pkg -> installer-alterator-pkg.

* Tue Dec 07 2021 Mikhail Efremov <sem@altlinux.org> 10.0.0-alt1
- stage3: Only require alterator-grub for arches that have grub.
- stage3: Drop wrong installer-altlinux-generic-stage3 provides.
- stage3: Don't require dhcpcd.
- stage3: Require alterator-grub.
- Fix license tag.
- stage3: Don't overwrite default-groups config file.
- stage2: Drop installer-feature-vm-altlinux-generic-stage2.

* Thu May 14 2020 Mikhail Efremov <sem@altlinux.org> 9.0.0-alt1
- postinstall: Remove alterator-wizardface and alterator-luks.
- Forked from installer-distro-altlinux-desktop.

* Mon Oct 31 2016 Michael Shigorin <mike@altlinux.org> 8.1.0-alt1
- synced default groups with current alterator-users
- added 'vmusers' to those as well (for libvirt)

* Tue Apr 19 2016 Michael Shigorin <mike@altlinux.org> 8.0.0-alt1
- carried over 80-setup-user-groups from installer-distro-centaurus

* Mon Dec 23 2013 Michael Shigorin <mike@altlinux.org> 7.0.0-alt1
- initial release based on installer-distro-altlinux-generic 7.0.1-alt1