File yast2-firstboot.spec of Package yast2-firstboot
#
# spec file for package yast2-firstboot (Version 2.17.4)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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/
#
# norootforbuild
Url: http://www.suse.com/
Name: yast2-firstboot
Version: 2.17.4
Release: 1
License: GPL v2 or later; X11/MIT
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: yast2-firstboot-2.17.4.tar.bz2
Prefix: /usr
BuildRequires: docbook-xsl-stylesheets libxslt perl-XML-Writer sgml-skel update-desktop-files yast2-devtools yast2-testsuite yast2-xml
# Internet.ycp moved to yast2.rpm
BuildRequires: yast2 >= 2.16.6
# Installation startup scripts
BuildRequires: yast2-installation
# yast2/NeworkDevices -> yast2/NetworkInterfaces
Requires: yast2 >= 2.16.23
Requires: yast2-bootloader yast2-country
# Installation startup scripts
Requires: yast2-installation
BuildArch: noarch
Summary: YaST2 - Initial System Configuration
PreReq: %fillup_prereq
%description
The YaST firstboot utility runs after installation is completed. It
guides the user through a series of steps that allows for easier
configuration of the machine.
YaST firstboot does not run by default and has to be configured to run
by the user or the system administrator. It is useful for image
deployments where the system in the image is completely configured,
however some last steps like root password and user logins have to be
created to personalize the system.
Authors:
--------
Anas Nashif<nashif@suse.de>
%prep
%setup -n yast2-firstboot-2.17.4
%build
%{prefix}/bin/y2tool y2autoconf
%{prefix}/bin/y2tool y2automake
autoreconf --force --install
export CFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
export CXXFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
%{?suse_update_config:%{suse_update_config -f}}
./configure --libdir=%{_libdir} --prefix=%{prefix} --mandir=%{_mandir}
make %{?jobs:-j%jobs}
%install
make install DESTDIR="$RPM_BUILD_ROOT"
[ -e "%{prefix}/share/YaST2/data/devtools/NO_MAKE_CHECK" ] || Y2DIR="$RPM_BUILD_ROOT/usr/share/YaST2" make check DESTDIR="$RPM_BUILD_ROOT"
for f in `find $RPM_BUILD_ROOT/%{prefix}/share/applications/YaST2/ -name "*.desktop"` ; do
d=${f##*/}
%suse_update_desktop_file -d ycc_${d%.desktop} ${d%.desktop}
done
mkdir -p $RPM_BUILD_ROOT/usr/share/firstboot/scripts
%clean
rm -rf "$RPM_BUILD_ROOT"
%post
%{fillup_only -n firstboot}
%files
%defattr(-,root,root)
%dir %{prefix}/lib/YaST2/startup/Firstboot-Stage
%{prefix}/lib/YaST2/startup/Firstboot-Stage/*
%{prefix}/lib/YaST2/startup/YaST2.Firstboot
/usr/share/YaST2/clients/firstboot_*.ycp
/usr/share/YaST2/clients/firstboot.ycp
%dir /usr/share/YaST2/include/firstboot
/usr/share/YaST2/include/firstboot/*.ycp
/usr/share/YaST2/modules/Firstboot.*
/usr/share/YaST2/scrconf/*.scr
/var/adm/fillup-templates/sysconfig.firstboot
/usr/share/firstboot
%doc %{prefix}/share/doc/packages/yast2-firstboot
/etc/YaST2/*.xml
%changelog
* Wed Sep 17 2008 jsuchome@suse.cz
- added client for NTP configuration
- 2.17.4
* Fri Aug 22 2008 jsrain@suse.cz
- added missing firstboot_finish.ycp to package, fixed typo,
adapted documentation (bnc #407075)
- 2.17.3
* Thu Jul 24 2008 jsuchome@suse.cz
- document the usage of Automatic Configuration (fate#303939)
- 2.17.2
* Tue Jul 22 2008 jsuchome@suse.cz
- addedd support fot autoyast (fate#301946):
client for firstboot enablement
configurable path to firstboot.xml
adapted documentation
- 2.17.1
* Tue Jul 15 2008 jsuchome@suse.cz
- added default location of Novell license texts (fate#304865)
- enabled license clients by default
- adapted documentation
- 2.17.0
* Mon Mar 17 2008 jsrain@suse.cz
- adapted documentation regarding enabling firstboot service,
removed /etc/init.d/firstboot (bnc#354738)
- 2.16.4
* Thu Jan 24 2008 mzugec@suse.cz
- replace deprecated NetworkDevices by NetworkInterfaces (from yast2)
- 2.16.3
* Fri Nov 02 2007 locilka@suse.cz
- Adjusted RPM dependencies (added modules in use: yast2-bootloader
yast2-country, removed yast2-network).
- Removed unneeded SourceManager import.
- Fixed deprecated 'lookup' call.
- 2.16.2
* Wed Oct 24 2007 jsrain@suse.cz
- added firstboot_bootloader to recreate bootloader configuration
* Tue Oct 23 2007 jsrain@suse.cz
- initialize package callbacks, since some of the modules run
in the firstboot workflow expect them being initialized (#335979)
- 2.16.1
* Fri Oct 19 2007 jsuchome@suse.cz
- added support for keyboard and restaring network (#F302520)
- added one more client for showing the license + new value
FIRSTBOOT_NOVELL_LICENSE_DIR to /etc/sysconfig/firstboot (F302865)
- restart kbd after yast is finished (#303808)
- unset LC_ALL before starting firstboot stage (#252780)
- retranslate buttons after language module (#252780)
- 2.16.0
* Wed Feb 28 2007 lslezak@suse.cz
- Halt the system (configurable in LICENSE_REFUSAL_ACTION) if the
firstboot workflow is aborted (prevent from skipping the
license agreement) (#247552)
- 2.15.1
* Fri Jan 05 2007 jsrain@suse.cz
- add (by-default disabled) re-creation of SSH keys and setting
host name to the firstboot workflow (fate 301246)
- 2.15.0
* Mon Nov 13 2006 lslezak@suse.cz
- 2.14.0
* Wed Nov 01 2006 lslezak@suse.cz
- removed SLES9 license (#207283, #206540), removed other
useless message files
- added firstboot_license client to display he license,
updated documentation (#206549)
- halt the system if the license is not accepted and the action
is set to "halt" (#211118)
- added firstboot_welcome client to display a welcome message
- 2.13.4
* Mon Sep 25 2006 jsrain@suse.cz
- don't redirect stdout of YaST firstboot to /dev/null (#190287)
* Thu Aug 31 2006 lslezak@suse.cz
- the control file has been updated to the default
workflow (#200718)
- added missing documentation files (#189358)
- 2.13.3
* Tue Aug 01 2006 jsrain@suse.cz
- updated the documentation (#189358)
* Fri Jun 02 2006 jsrain@suse.cz
- log Report messages by default (#180862)
- 2.13.2
* Mon Mar 27 2006 jsrain@suse.de
- updated BuildRequires
- 2.13.1
* Mon Oct 31 2005 jsrain@suse.cz
- fixed XML syntax in firstboot.xml (#130175)
- 2.13.0
* Tue Aug 16 2005 jsrain@suse.cz
- fixed location of the firstboot control file (#104864)
- 2.12.1
* Fri Aug 12 2005 jsrain@suse.cz
- fixed check_ycp errors
- 2.12.0
* Wed Mar 02 2005 nashif@suse.de
- Fixed control file
- import Firstboot module
* Fri Feb 11 2005 nashif@suse.de
- Use general dialogs (welcome, license, finish) from installation
* Thu Feb 10 2005 visnov@suse.cz
- Merged messages from proofreading
* Mon Jan 24 2005 nashif@suse.de
- Use new workflow arguments and new startup scripts
* Tue Nov 30 2004 nashif@suse.de
- Adapted startup scripts to new scheme
* Tue Aug 31 2004 sh@suse.de
- Merged messages from proofreading
- 2.10.3
* Tue Aug 24 2004 nashif@suse.de
- Added desktop selection
- Fixed init script
* Sat Aug 14 2004 nashif@suse.de
- Adde control file specific for firstboot
- Support more clients
- 2.10.1
* Tue Jul 27 2004 nashif@suse.de
- Added missing help texts
- adapted neededforbuild
* Tue Jul 13 2004 nashif@suse.de
- initial version. (#43318)