2007-01-15 23:51:58 +01:00
|
|
|
#
|
2011-09-05 18:12:35 +02:00
|
|
|
# spec file for package autoyast2
|
2010-03-01 01:40:08 +01:00
|
|
|
#
|
2019-01-30 17:34:02 +01:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2011-09-05 18:12:35 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2010-02-26 09:45:39 +01:00
|
|
|
|
2017-11-30 10:51:17 +01:00
|
|
|
#Compat macro for new _fillupdir macro introduced in Nov 2017
|
|
|
|
%if ! %{defined _fillupdir}
|
2019-06-03 17:12:26 +02:00
|
|
|
%define _fillupdir %{_localstatedir}/adm/fillup-templates
|
2017-11-30 10:51:17 +01:00
|
|
|
%endif
|
|
|
|
|
2011-09-05 18:12:35 +02:00
|
|
|
Name: autoyast2
|
2019-12-19 16:48:57 +01:00
|
|
|
Version: 4.2.25
|
2011-09-23 17:07:21 +02:00
|
|
|
Release: 0
|
2019-06-03 17:12:26 +02:00
|
|
|
Summary: YaST2 - Automated Installation
|
|
|
|
License: GPL-2.0-only
|
|
|
|
Group: System/YaST
|
|
|
|
Url: https://github.com/yast/yast-autoinstallation
|
2010-03-01 01:40:09 +01:00
|
|
|
|
2013-10-17 15:50:36 +02:00
|
|
|
Source0: autoyast2-%{version}.tar.bz2
|
2012-11-13 18:03:11 +01:00
|
|
|
Source1: autoyast_en_html.tar.bz2
|
2019-06-03 17:12:26 +02:00
|
|
|
|
2012-07-03 15:36:17 +02:00
|
|
|
BuildRequires: update-desktop-files
|
2019-06-03 17:12:26 +02:00
|
|
|
BuildRequires: yast2-devtools >= 4.2.2
|
2013-12-19 10:45:29 +01:00
|
|
|
# control.rng
|
|
|
|
BuildRequires: yast2-installation-control
|
2013-08-07 11:59:17 +02:00
|
|
|
# xmllint
|
|
|
|
BuildRequires: libxml2-tools
|
2015-05-06 11:15:08 +02:00
|
|
|
# xsltproc for AutoinstClass
|
|
|
|
BuildRequires: libxslt
|
2016-11-11 15:14:12 +01:00
|
|
|
BuildRequires: rubygem(%{rb_default_ruby_abi}:rspec)
|
2018-03-23 13:26:33 +01:00
|
|
|
# Yast::Popup.ErrorAnyQuestion fixed
|
|
|
|
BuildRequires: yast2 >= 4.0.60
|
2016-11-11 15:14:12 +01:00
|
|
|
# FileSystems.read_default_subvol_from_target
|
2017-11-20 16:06:02 +01:00
|
|
|
BuildRequires: yast2-country
|
2019-10-31 11:11:31 +01:00
|
|
|
BuildRequires: yast2-network >= 3.1.145
|
2015-01-19 13:25:03 +01:00
|
|
|
BuildRequires: yast2-packager
|
2014-10-13 21:39:56 +02:00
|
|
|
BuildRequires: yast2-services-manager
|
2016-08-05 16:37:46 +02:00
|
|
|
BuildRequires: yast2-slp
|
2014-10-13 21:39:56 +02:00
|
|
|
BuildRequires: yast2-transfer
|
2017-08-14 21:33:19 +02:00
|
|
|
BuildRequires: yast2-update >= 3.3.0
|
2014-10-13 21:39:56 +02:00
|
|
|
BuildRequires: yast2-xml
|
2019-11-13 17:08:25 +01:00
|
|
|
# Required for test suite testing one time sync
|
|
|
|
BuildRequires: yast2-ntp-client >= 4.0.1
|
2019-11-14 10:35:52 +01:00
|
|
|
# Y2Storage::AutoinstProposal constructor receives a ProposalSettings object
|
|
|
|
BuildRequires: yast2-storage-ng >= 4.2.55
|
2014-01-06 08:38:20 +01:00
|
|
|
# %%{_unitdir} macro definition is in a separate package since 13.1
|
|
|
|
%if 0%{?suse_version} >= 1310
|
|
|
|
BuildRequires: systemd-rpm-macros
|
|
|
|
%else
|
|
|
|
BuildRequires: systemd
|
|
|
|
%endif
|
2019-10-17 16:16:40 +02:00
|
|
|
BuildRequires: rubygem(%rb_default_ruby_abi:yast-rake)
|
2014-01-06 08:38:20 +01:00
|
|
|
|
2011-09-05 18:12:35 +02:00
|
|
|
Requires: autoyast2-installation = %{version}
|
2012-07-03 15:36:17 +02:00
|
|
|
Requires: libxslt
|
2019-04-30 15:35:31 +02:00
|
|
|
# Y2Packager::ProductUpgrade.remove_obsolete_upgrades
|
|
|
|
Requires: yast2 >= 4.2.1
|
2012-07-03 15:36:17 +02:00
|
|
|
Requires: yast2-core
|
2014-09-15 17:10:10 +02:00
|
|
|
Requires: yast2-country >= 3.1.13
|
2018-11-02 16:25:42 +01:00
|
|
|
# Moving security module to first installation stage
|
|
|
|
Requires: yast2-network >= 3.1.145
|
2018-12-03 16:47:32 +01:00
|
|
|
Requires: yast2-schema >= 4.0.6
|
2018-11-02 16:25:42 +01:00
|
|
|
Requires: yast2-security >= 4.1.1
|
2011-09-05 18:12:35 +02:00
|
|
|
Requires: yast2-transfer >= 2.21.0
|
2012-07-03 15:36:17 +02:00
|
|
|
Requires: yast2-xml
|
2019-11-14 10:35:52 +01:00
|
|
|
# Y2Storage::AutoinstProposal constructor receives a ProposalSettings object
|
2019-06-03 17:12:26 +02:00
|
|
|
Requires: yast2-ruby-bindings >= 1.0.0
|
2019-11-14 10:35:52 +01:00
|
|
|
Requires: yast2-storage-ng >= 4.2.55
|
2019-06-03 17:12:26 +02:00
|
|
|
|
2016-01-11 16:36:12 +01:00
|
|
|
Conflicts: yast2-installation < 3.1.166
|
2010-03-01 01:40:09 +01:00
|
|
|
|
2012-07-03 15:36:17 +02:00
|
|
|
Provides: yast2-config-autoinst
|
2019-06-03 17:12:26 +02:00
|
|
|
Provides: yast2-lib-autoinst
|
2012-07-03 15:36:17 +02:00
|
|
|
Provides: yast2-module-autoinst
|
2019-06-03 17:12:26 +02:00
|
|
|
|
2012-07-03 15:36:17 +02:00
|
|
|
Obsoletes: yast2-config-autoinst
|
2011-09-05 18:12:35 +02:00
|
|
|
Obsoletes: yast2-lib-autoinst
|
2019-06-03 17:12:26 +02:00
|
|
|
Obsoletes: yast2-module-autoinst
|
2010-03-01 01:40:09 +01:00
|
|
|
|
2011-09-05 18:12:35 +02:00
|
|
|
BuildArch: noarch
|
2010-03-01 01:40:09 +01:00
|
|
|
|
2019-07-25 09:57:02 +02:00
|
|
|
Requires(post): %fillup_prereq
|
|
|
|
|
2007-01-15 23:51:58 +01:00
|
|
|
%description
|
|
|
|
This package is intended for management of the control files and the
|
|
|
|
AutoYaST2 configurations. This system should only be used by
|
|
|
|
experienced system administrators. Warning: AutoYaST2 performs the
|
|
|
|
installation without any user intervention, warnings, or confirmations
|
|
|
|
(unless specified otherwise in the control file).
|
|
|
|
|
|
|
|
This file contains YaST2-independent files needed to create
|
|
|
|
installation sources.
|
|
|
|
|
|
|
|
%package installation
|
2011-09-05 18:12:35 +02:00
|
|
|
Summary: YaST2 - Auto Installation Modules
|
2016-11-16 15:40:47 +01:00
|
|
|
Group: System/YaST
|
2019-06-03 17:12:26 +02:00
|
|
|
|
|
|
|
# Y2Storage::AutoinstIssues containing section information
|
|
|
|
BuildRequires: yast2-storage-ng >= 4.0.15
|
|
|
|
|
|
|
|
# API for Disabled Modules (ProductControl)
|
2011-09-05 18:12:35 +02:00
|
|
|
Requires: yast2 >= 2.16.36
|
2009-04-02 16:06:06 +02:00
|
|
|
# After API cleanup
|
2012-07-03 15:36:17 +02:00
|
|
|
Requires: yast2
|
|
|
|
Requires: yast2-bootloader
|
|
|
|
Requires: yast2-core
|
|
|
|
Requires: yast2-country
|
|
|
|
Requires: yast2-ncurses
|
2019-10-18 17:12:14 +02:00
|
|
|
# Y2Packager::MediumType
|
|
|
|
Requires: yast2-packager >= 4.2.25
|
2014-03-18 10:40:42 +01:00
|
|
|
# ServicesManagerTargetClass::BaseTargets
|
|
|
|
Requires: yast2-services-manager >= 3.1.10
|
2019-10-15 13:55:00 +02:00
|
|
|
# Required for one time sync before installation
|
|
|
|
Requires: yast2-ntp-client >= 4.0.1
|
2014-02-05 14:01:11 +01:00
|
|
|
Requires: yast2-slp
|
2011-09-05 18:12:35 +02:00
|
|
|
Requires: yast2-transfer >= 2.21.0
|
2017-08-14 21:33:19 +02:00
|
|
|
# storage-ng based version
|
|
|
|
Requires: yast2-update >= 3.3.0
|
2012-07-03 15:36:17 +02:00
|
|
|
Requires: yast2-xml
|
2018-01-31 14:55:09 +01:00
|
|
|
# "transact_by" key in PkgPropertiesAll()
|
|
|
|
Requires: yast2-pkg-bindings >= 4.0.7
|
2019-06-03 17:12:26 +02:00
|
|
|
Requires: yast2-ruby-bindings >= 1.0.0
|
|
|
|
|
2011-09-05 18:12:35 +02:00
|
|
|
Provides: yast2-trans-autoinst
|
|
|
|
Obsoletes: yast2-trans-autoinst
|
|
|
|
|
2007-01-15 23:51:58 +01:00
|
|
|
%description installation
|
|
|
|
This package performs auto-installation relying on a control file
|
|
|
|
generated with the autoyast2 package.
|
|
|
|
|
|
|
|
%prep
|
2019-06-03 17:12:26 +02:00
|
|
|
%setup -q
|
2007-01-15 23:51:58 +01:00
|
|
|
|
2019-10-17 16:16:40 +02:00
|
|
|
%check
|
|
|
|
%yast_check
|
|
|
|
|
2007-01-15 23:51:58 +01:00
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
2013-12-19 10:45:29 +01:00
|
|
|
%yast_install
|
2019-06-03 17:12:26 +02:00
|
|
|
%yast_metainfo
|
2010-03-01 01:40:09 +01:00
|
|
|
|
2014-06-06 10:31:20 +02:00
|
|
|
# Do not *blindly* remove the suse_update_desktop_file calls here. It is
|
|
|
|
# different from the code in the yast_install macro.
|
2019-06-03 17:12:26 +02:00
|
|
|
for d in %{buildroot}%{_datadir}/autoinstall/modules/*.desktop ; do
|
2014-06-06 10:31:20 +02:00
|
|
|
%suse_update_desktop_file $d
|
|
|
|
done
|
|
|
|
|
2007-01-15 23:51:58 +01:00
|
|
|
%post
|
|
|
|
%{fillup_only -n autoinstall}
|
|
|
|
|
|
|
|
%files
|
2019-06-03 17:12:26 +02:00
|
|
|
%dir %{_sysconfdir}/autoinstall
|
2013-12-19 10:45:29 +01:00
|
|
|
%dir %{yast_yncludedir}/autoinstall
|
2019-06-03 17:12:26 +02:00
|
|
|
%dir %{_localstatedir}/lib/autoinstall/repository
|
|
|
|
%dir %{_localstatedir}/lib/autoinstall/repository/templates
|
|
|
|
%dir %{_localstatedir}/lib/autoinstall/repository/rules
|
|
|
|
%dir %{_localstatedir}/lib/autoinstall/repository/classes
|
|
|
|
%dir %{_localstatedir}/lib/autoinstall/tmp
|
|
|
|
%doc %{yast_docdir}
|
|
|
|
|
|
|
|
%{yast_desktopdir}
|
|
|
|
%{yast_metainfodir}
|
|
|
|
%{_datadir}/autoinstall/modules/*.desktop
|
2013-12-19 10:45:29 +01:00
|
|
|
%dir %{yast_yncludedir}
|
|
|
|
%{yast_yncludedir}/autoinstall/classes.rb
|
|
|
|
%{yast_yncludedir}/autoinstall/conftree.rb
|
|
|
|
%{yast_yncludedir}/autoinstall/dialogs.rb
|
|
|
|
%{yast_yncludedir}/autoinstall/script_dialogs.rb
|
|
|
|
%{yast_yncludedir}/autoinstall/general_dialogs.rb
|
|
|
|
%{yast_yncludedir}/autoinstall/wizards.rb
|
|
|
|
%{yast_yncludedir}/autoinstall/helps.rb
|
|
|
|
%dir %{yast_schemadir}
|
|
|
|
%dir %{yast_schemadir}/autoyast
|
|
|
|
%dir %{yast_schemadir}/autoyast/rnc
|
|
|
|
%{yast_schemadir}/autoyast/rnc/*.rnc
|
|
|
|
|
|
|
|
%dir %{yast_clientdir}
|
|
|
|
%{yast_clientdir}/general_auto.rb
|
|
|
|
%{yast_clientdir}/report_auto.rb
|
|
|
|
%{yast_clientdir}/classes_auto.rb
|
|
|
|
%{yast_clientdir}/scripts_auto.rb
|
|
|
|
%{yast_clientdir}/software_auto.rb
|
|
|
|
%{yast_clientdir}/storage_auto.rb
|
|
|
|
%{yast_clientdir}/autoyast.rb
|
|
|
|
%{yast_clientdir}/ayast_setup.rb
|
|
|
|
|
|
|
|
%dir %{yast_moduledir}
|
|
|
|
%{yast_moduledir}/AutoinstClass.rb
|
2010-03-01 01:40:09 +01:00
|
|
|
|
2018-11-28 12:43:48 +01:00
|
|
|
%{yast_icondir}
|
|
|
|
|
2007-01-15 23:51:58 +01:00
|
|
|
# additional files
|
2013-10-17 15:50:36 +02:00
|
|
|
|
2017-11-30 10:51:17 +01:00
|
|
|
%{_fillupdir}/sysconfig.autoinstall
|
2007-01-15 23:51:58 +01:00
|
|
|
|
|
|
|
%files installation
|
2013-12-19 10:45:29 +01:00
|
|
|
%dir %{yast_scrconfdir}
|
|
|
|
%{yast_scrconfdir}/autoinstall.scr
|
|
|
|
%{yast_scrconfdir}/cfg_autoinstall.scr
|
2019-10-17 16:16:40 +02:00
|
|
|
# autoinstall modules
|
2019-06-03 17:12:26 +02:00
|
|
|
%dir %{_datadir}/autoinstall
|
|
|
|
%dir %{_datadir}/autoinstall/modules
|
2012-11-13 18:03:11 +01:00
|
|
|
|
|
|
|
# systemd service file
|
|
|
|
%{_unitdir}/autoyast-initscripts.service
|
2010-03-01 01:40:09 +01:00
|
|
|
|
2019-06-03 17:12:26 +02:00
|
|
|
%dir %{_datadir}/autoinstall/xslt
|
|
|
|
%{_datadir}/autoinstall/xslt/merge.xslt
|
2007-01-15 23:51:58 +01:00
|
|
|
# config file
|
2010-03-01 01:40:09 +01:00
|
|
|
|
2013-12-19 10:45:29 +01:00
|
|
|
%dir %{yast_moduledir}
|
|
|
|
%{yast_moduledir}/AutoinstClone.rb
|
|
|
|
%dir %{yast_yncludedir}/autoinstall
|
|
|
|
%{yast_yncludedir}/autoinstall/io.rb
|
|
|
|
%{yast_yncludedir}/autoinstall/AdvancedPartitionDialog.rb
|
|
|
|
%{yast_yncludedir}/autoinstall/DriveDialog.rb
|
|
|
|
%{yast_yncludedir}/autoinstall/PartitionDialog.rb
|
|
|
|
%{yast_yncludedir}/autoinstall/StorageDialog.rb
|
|
|
|
%{yast_yncludedir}/autoinstall/VolgroupDialog.rb
|
|
|
|
%{yast_yncludedir}/autoinstall/common.rb
|
|
|
|
%{yast_yncludedir}/autoinstall/tree.rb
|
|
|
|
%{yast_yncludedir}/autoinstall/types.rb
|
|
|
|
|
2014-02-26 14:36:38 +01:00
|
|
|
%dir %{yast_controldir}
|
2013-12-19 10:45:29 +01:00
|
|
|
%{yast_controldir}/*.xml
|
|
|
|
|
|
|
|
%{yast_moduledir}/AutoInstall.rb
|
|
|
|
%{yast_moduledir}/AutoinstScripts.rb
|
|
|
|
%{yast_moduledir}/AutoinstGeneral.rb
|
|
|
|
%{yast_moduledir}/AutoinstImage.rb
|
|
|
|
%{yast_moduledir}/Y2ModuleConfig.rb
|
|
|
|
%{yast_moduledir}/Profile.rb
|
|
|
|
%{yast_moduledir}/AutoinstFile.rb
|
|
|
|
%{yast_moduledir}/AutoinstConfig.rb
|
|
|
|
%{yast_moduledir}/AutoinstSoftware.rb
|
|
|
|
%{yast_moduledir}/AutoinstStorage.rb
|
|
|
|
%{yast_moduledir}/AutoInstallRules.rb
|
|
|
|
%{yast_moduledir}/ProfileLocation.rb
|
|
|
|
%{yast_moduledir}/AutoinstCommon.rb
|
|
|
|
%{yast_moduledir}/AutoinstDrive.rb
|
|
|
|
%{yast_moduledir}/AutoinstPartPlan.rb
|
|
|
|
%{yast_moduledir}/AutoinstPartition.rb
|
2015-09-08 07:20:43 +02:00
|
|
|
%{yast_moduledir}/AutoinstFunctions.rb
|
2010-03-01 01:40:09 +01:00
|
|
|
|
2007-01-15 23:51:58 +01:00
|
|
|
#clients
|
2013-12-19 10:45:29 +01:00
|
|
|
%{yast_clientdir}/inst_autoinit.rb
|
|
|
|
%{yast_clientdir}/inst_autoimage.rb
|
|
|
|
%{yast_clientdir}/inst_autosetup.rb
|
|
|
|
%{yast_clientdir}/inst_autoconfigure.rb
|
|
|
|
%{yast_clientdir}/inst_autopost.rb
|
|
|
|
%{yast_clientdir}/files_auto.rb
|
|
|
|
%{yast_clientdir}/autoinst_test_clone.rb
|
|
|
|
%{yast_clientdir}/autoinst_test_stage.rb
|
|
|
|
%{yast_clientdir}/autoinst_scripts1_finish.rb
|
|
|
|
%{yast_clientdir}/autoinst_scripts2_finish.rb
|
|
|
|
%{yast_clientdir}/ayast_probe.rb
|
|
|
|
%{yast_clientdir}/inst_autosetup_upgrade.rb
|
|
|
|
%{yast_clientdir}/inst_store_upgrade_software.rb
|
2014-01-08 10:07:08 +01:00
|
|
|
%{yast_clientdir}/clone_system.rb
|
2013-12-19 10:45:29 +01:00
|
|
|
|
|
|
|
%{yast_yncludedir}/autoinstall/xml.rb
|
|
|
|
%{yast_yncludedir}/autoinstall/ask.rb
|
2010-03-01 01:40:09 +01:00
|
|
|
|
2015-10-09 17:15:34 +02:00
|
|
|
%dir %{yast_libdir}/autoinstall
|
|
|
|
%{yast_libdir}/autoinstall/*.rb
|
|
|
|
|
2017-10-24 09:57:31 +02:00
|
|
|
%dir %{yast_libdir}/autoinstall/dialogs
|
|
|
|
%{yast_libdir}/autoinstall/dialogs/*.rb
|
|
|
|
|
2017-11-20 16:06:02 +01:00
|
|
|
%dir %{yast_libdir}/autoinstall/clients
|
|
|
|
%{yast_libdir}/autoinstall/clients/*.rb
|
|
|
|
|
2018-05-04 12:13:34 +02:00
|
|
|
%dir %{yast_libdir}/autoinstall/autoinst_issues
|
|
|
|
%{yast_libdir}/autoinstall/autoinst_issues/*.rb
|
|
|
|
|
2010-03-01 01:40:09 +01:00
|
|
|
# scripts
|
2019-06-03 17:12:26 +02:00
|
|
|
%{yast_ybindir}/fetch_image.sh
|
|
|
|
%{yast_ybindir}/autoyast-initscripts.sh
|
2010-03-01 01:40:09 +01:00
|
|
|
|
2018-10-16 18:27:23 +02:00
|
|
|
%license COPYING
|
|
|
|
|
2019-06-03 17:12:26 +02:00
|
|
|
%dir %{_localstatedir}/adm/autoinstall/
|
|
|
|
%dir %{_localstatedir}/adm/autoinstall/scripts
|
|
|
|
%dir %{_localstatedir}/adm/autoinstall/init.d
|
|
|
|
%dir %{_localstatedir}/adm/autoinstall/logs
|
|
|
|
%dir %{_localstatedir}/adm/autoinstall/files
|
|
|
|
%dir %{_localstatedir}/adm/autoinstall/cache
|
|
|
|
%dir %{_localstatedir}/lib/autoinstall
|
|
|
|
%dir %{_localstatedir}/lib/autoinstall/autoconf
|
2011-09-23 17:07:21 +02:00
|
|
|
|
2011-09-05 18:12:35 +02:00
|
|
|
%changelog
|