2012-02-09 08:40:52 +01:00
|
|
|
#
|
|
|
|
# spec file for package yast2-installation
|
|
|
|
#
|
2013-01-07 14:51:42 +01:00
|
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2012-02-09 08:40:52 +01: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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: yast2-installation
|
2013-11-19 13:47:35 +01:00
|
|
|
Version: 3.1.6
|
2012-02-09 08:40:52 +01:00
|
|
|
Release: 0
|
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2013-10-09 12:36:58 +02:00
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
2012-02-09 08:40:52 +01:00
|
|
|
|
2013-07-30 14:24:09 +02:00
|
|
|
Requires: yast2-ruby-bindings >= 1.0.0
|
|
|
|
|
2012-06-26 10:57:59 +02:00
|
|
|
Summary: YaST2 - Installation Parts
|
2012-07-12 08:12:52 +02:00
|
|
|
License: GPL-2.0
|
|
|
|
Group: System/YaST
|
2012-02-09 08:40:52 +01:00
|
|
|
|
2012-07-12 08:12:52 +02:00
|
|
|
Source1: YaST2-Second-Stage.service
|
|
|
|
Source2: YaST2-Firstboot.service
|
2012-02-09 08:40:52 +01:00
|
|
|
|
2012-07-12 08:12:52 +02:00
|
|
|
BuildRequires: docbook-xsl-stylesheets
|
|
|
|
BuildRequires: libxslt
|
2013-10-18 13:01:37 +02:00
|
|
|
BuildRequires: rubygem-rspec
|
2012-07-12 08:12:52 +02:00
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
BuildRequires: yast2-core-devel
|
2013-10-09 12:36:58 +02:00
|
|
|
BuildRequires: yast2-devtools >= 3.0.6
|
|
|
|
# trang to convert rnc to rng
|
|
|
|
BuildRequires: trang
|
2012-02-09 08:40:52 +01:00
|
|
|
|
|
|
|
# xmllint
|
2013-08-04 22:12:35 +02:00
|
|
|
BuildRequires: libxml2-tools
|
2012-02-09 08:40:52 +01:00
|
|
|
|
2013-10-25 13:38:28 +02:00
|
|
|
# Linuxrc.keys
|
|
|
|
BuildRequires: yast2 >= 3.1.1
|
2012-02-09 08:40:52 +01:00
|
|
|
|
|
|
|
# AutoinstConfig::getProposalList
|
|
|
|
Requires: autoyast2-installation >= 2.17.1
|
|
|
|
|
2013-08-05 14:17:54 +02:00
|
|
|
# ProductProfile
|
2013-08-21 10:27:54 +02:00
|
|
|
Requires: yast2 >= 3.0.2
|
2012-02-09 08:40:52 +01:00
|
|
|
|
|
|
|
# Language::GetLanguageItems and other API
|
|
|
|
# Language::Set (handles downloading the translation extensions)
|
2012-07-12 08:12:52 +02:00
|
|
|
Requires: yast2-country-data >= 2.16.11
|
2012-02-09 08:40:52 +01:00
|
|
|
|
|
|
|
# Pkg::SourceProvideDigestedFile()
|
2012-07-12 08:12:52 +02:00
|
|
|
Conflicts: yast2-pkg-bindings < 2.17.25
|
2012-02-09 08:40:52 +01:00
|
|
|
|
|
|
|
# Pkg::Add/RemoveUpgradeRepo()
|
2012-07-12 08:12:52 +02:00
|
|
|
Requires: yast2-pkg-bindings >= 2.21.2
|
2012-02-09 08:40:52 +01:00
|
|
|
|
|
|
|
# Mouse-related scripts moved to yast2-mouse
|
2012-07-12 08:12:52 +02:00
|
|
|
Conflicts: yast2-mouse < 2.18.0
|
2012-02-09 08:40:52 +01:00
|
|
|
|
|
|
|
# New API for ProductLicense
|
2012-07-12 08:12:52 +02:00
|
|
|
Requires: yast2-packager >= 2.19.2
|
2012-02-09 08:40:52 +01:00
|
|
|
|
2013-04-17 15:17:09 +02:00
|
|
|
# Storage::GetDetectedDiskPaths
|
|
|
|
Requires: yast2-storage >= 2.24.1
|
2012-02-09 08:40:52 +01:00
|
|
|
|
|
|
|
# use in startup scripts
|
2012-07-12 08:12:52 +02:00
|
|
|
Requires: initviocons
|
2012-02-09 08:40:52 +01:00
|
|
|
|
2012-06-06 15:38:58 +02:00
|
|
|
# Proxy settings for 2nd stage (bnc#764951)
|
|
|
|
Requires: yast2-proxy
|
|
|
|
|
2013-11-12 10:42:16 +01:00
|
|
|
# Systemd default target and services
|
|
|
|
Requires: yast2-services-manager
|
|
|
|
|
2012-02-09 08:40:52 +01:00
|
|
|
# Only in inst-sys
|
|
|
|
# Requires: yast2-network
|
|
|
|
# Requires: yast2-add-on
|
|
|
|
# Requires: yast2-update
|
|
|
|
|
|
|
|
# Pkg::SourceProvideSignedFile Pkg::SourceProvideDigestedFile
|
|
|
|
# pkg-bindings are not directly required
|
2012-07-12 08:12:52 +02:00
|
|
|
Conflicts: yast2-pkg-bindings < 2.17.25
|
2012-02-09 08:40:52 +01:00
|
|
|
|
|
|
|
# InstError
|
2012-07-12 08:12:52 +02:00
|
|
|
Conflicts: yast2 < 2.18.6
|
2012-02-09 08:40:52 +01:00
|
|
|
|
|
|
|
# Added new function WFM::ClientExists
|
2012-07-12 08:12:52 +02:00
|
|
|
Conflicts: yast2-core < 2.17.10
|
2012-02-09 08:40:52 +01:00
|
|
|
|
|
|
|
# ButtonBox widget
|
2012-07-12 08:12:52 +02:00
|
|
|
Conflicts: yast2-ycp-ui-bindings < 2.17.3
|
2012-02-09 08:40:52 +01:00
|
|
|
|
|
|
|
# tar-gzip some system files and untar-ungzip them after the installation (FATE #300421, #120103)
|
2012-07-12 08:12:52 +02:00
|
|
|
Requires: coreutils
|
|
|
|
Requires: gzip
|
|
|
|
Requires: tar
|
2012-02-09 08:40:52 +01:00
|
|
|
|
|
|
|
%if 0%{?suse_version} >= 1210
|
2012-07-12 08:12:52 +02:00
|
|
|
BuildRequires: systemd-devel
|
2012-02-09 08:40:52 +01:00
|
|
|
%{systemd_requires}
|
|
|
|
%endif
|
|
|
|
|
|
|
|
# for the first/second stage of installation
|
|
|
|
# currently not used
|
|
|
|
# bugzilla #208307
|
|
|
|
#Requires: /usr/bin/jpegtopnm
|
|
|
|
#Requires: /usr/bin/pnmtopng
|
|
|
|
|
|
|
|
# BNC 446533, /sbin/lspci called but not installed
|
2012-07-12 08:12:52 +02:00
|
|
|
Requires: pciutils
|
2012-02-09 08:40:52 +01:00
|
|
|
|
2012-07-12 08:12:52 +02:00
|
|
|
Recommends: yast2-registration
|
|
|
|
Recommends: yast2-online-update
|
|
|
|
Recommends: yast2-users
|
|
|
|
Recommends: yast2-firewall
|
|
|
|
Recommends: release-notes
|
|
|
|
Recommends: curl
|
|
|
|
Recommends: yast2-update
|
|
|
|
Recommends: yast2-add-on
|
2012-02-09 08:40:52 +01:00
|
|
|
|
2012-07-12 08:12:52 +02:00
|
|
|
PreReq: %fillup_prereq
|
2012-02-09 08:40:52 +01:00
|
|
|
|
2012-07-12 08:12:52 +02:00
|
|
|
BuildArch: noarch
|
2012-02-09 08:40:52 +01:00
|
|
|
|
|
|
|
%package devel-doc
|
2012-07-12 08:12:52 +02:00
|
|
|
Requires: yast2-installation >= 2.15.34
|
2012-02-09 08:40:52 +01:00
|
|
|
|
2012-07-12 08:12:52 +02:00
|
|
|
PreReq: %fillup_prereq
|
2012-02-09 08:40:52 +01:00
|
|
|
|
2012-07-12 08:12:52 +02:00
|
|
|
Summary: YaST2 - Installation Parts
|
|
|
|
Group: Documentation/HTML
|
2012-02-09 08:40:52 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
System installation code as present on installation media.
|
|
|
|
|
|
|
|
%description devel-doc
|
|
|
|
System installation code as present on installation media.
|
|
|
|
|
|
|
|
%prep
|
2013-10-09 12:36:58 +02:00
|
|
|
%setup -n %{name}-%{version}
|
2012-02-09 08:40:52 +01:00
|
|
|
|
|
|
|
%build
|
2013-10-09 12:36:58 +02:00
|
|
|
%yast_build
|
2012-02-09 08:40:52 +01:00
|
|
|
|
|
|
|
%install
|
2013-10-09 12:36:58 +02:00
|
|
|
%yast_install
|
2012-02-09 08:40:52 +01:00
|
|
|
|
|
|
|
for f in `find %{buildroot}%{_datadir}/autoinstall/modules -name "*.desktop"`; do
|
|
|
|
%suse_update_desktop_file $f
|
|
|
|
done
|
|
|
|
|
2012-11-05 08:40:29 +01:00
|
|
|
mkdir -p %{buildroot}%{_unitdir}
|
|
|
|
install -m 644 %{SOURCE1} %{buildroot}%{_unitdir}
|
|
|
|
install -m 644 %{SOURCE2} %{buildroot}%{_unitdir}
|
2012-02-09 08:40:52 +01:00
|
|
|
|
|
|
|
%post
|
|
|
|
%{fillup_only -ns security checksig}
|
|
|
|
|
|
|
|
%if 0%{suse_version} > 1140
|
|
|
|
|
|
|
|
%service_add_post YaST2-Second-Stage.service YaST2-Firstboot.service
|
|
|
|
|
|
|
|
%pre
|
|
|
|
%service_add_pre YaST2-Second-Stage.service YaST2-Firstboot.service
|
|
|
|
|
|
|
|
%preun
|
|
|
|
%service_del_preun YaST2-Second-Stage.service YaST2-Firstboot.service
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%service_del_postun YaST2-Second-Stage.service YaST2-Firstboot.service
|
|
|
|
|
|
|
|
%endif #suse_version
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir /usr/share/YaST2/control
|
|
|
|
# Fixme: move to another package (to make build of other packages faster)
|
|
|
|
/usr/share/YaST2/control/*.rng
|
|
|
|
/usr/share/YaST2/control/*.rnc
|
|
|
|
|
|
|
|
# systemd service files
|
2012-11-05 08:40:29 +01:00
|
|
|
%{_unitdir}/YaST2-Second-Stage.service
|
|
|
|
%{_unitdir}/YaST2-Firstboot.service
|
2012-02-09 08:40:52 +01:00
|
|
|
|
2013-10-09 12:36:58 +02:00
|
|
|
%{yast_clientdir}/*.rb
|
|
|
|
%{yast_moduledir}/*.rb
|
|
|
|
%{yast_desktopdir}/*.desktop
|
2012-02-09 08:40:52 +01:00
|
|
|
/usr/share/autoinstall/modules/*.desktop
|
|
|
|
/usr/share/YaST2/schema/autoyast/rnc/deploy_image.rnc
|
|
|
|
%dir /usr/share/autoinstall
|
|
|
|
%dir /usr/share/autoinstall/modules
|
2013-10-09 12:36:58 +02:00
|
|
|
%dir %{yast_yncludedir}/installation
|
|
|
|
%{yast_yncludedir}/installation/*
|
2012-02-09 08:40:52 +01:00
|
|
|
|
|
|
|
# agents
|
2013-10-09 12:36:58 +02:00
|
|
|
%{yast_scrconfdir}/etc_passwd.scr
|
|
|
|
%{yast_scrconfdir}/cfg_boot.scr
|
|
|
|
%{yast_scrconfdir}/cfg_windowmanager.scr
|
|
|
|
%{yast_scrconfdir}/cfg_fam.scr
|
|
|
|
%{yast_scrconfdir}/etc_install_inf.scr
|
|
|
|
%{yast_scrconfdir}/etc_install_inf_alias.scr
|
|
|
|
%{yast_scrconfdir}/etc_install_inf_options.scr
|
|
|
|
%{yast_scrconfdir}/proc_modules.scr
|
|
|
|
%{yast_scrconfdir}/run_df.scr
|
2012-02-09 08:40:52 +01:00
|
|
|
# fillup
|
|
|
|
/var/adm/fillup-templates/sysconfig.security-checksig
|
|
|
|
|
|
|
|
# programs and scripts
|
2013-10-09 12:36:58 +02:00
|
|
|
%{yast_ystartupdir}/startup
|
2012-02-09 08:40:52 +01:00
|
|
|
|
2013-10-09 12:36:58 +02:00
|
|
|
%dir %{yast_docdir}
|
|
|
|
%{yast_docdir}/COPYING
|
2012-02-09 08:40:52 +01:00
|
|
|
|
|
|
|
%files devel-doc
|
|
|
|
%defattr(-,root,root)
|
2013-10-09 12:36:58 +02:00
|
|
|
%doc %{yast_docdir}
|
|
|
|
%exclude %{yast_docdir}/COPYING
|
2012-07-12 08:12:52 +02:00
|
|
|
|
|
|
|
%changelog
|