2013-03-08 10:37:48 +00:00
|
|
|
Summary: Initial system configuration utility
|
|
|
|
Name: initial-setup
|
|
|
|
URL: http://fedoraproject.org/wiki/FirstBoot
|
2014-04-18 12:27:26 +00:00
|
|
|
Version: 0.3.17
|
2013-10-02 11:55:19 +00:00
|
|
|
Release: 1%{?dist}
|
2013-03-08 10:37:48 +00:00
|
|
|
|
|
|
|
# This is a Red Hat maintained package which is specific to
|
|
|
|
# our distribution.
|
|
|
|
#
|
|
|
|
# The source is thus available only from within this SRPM
|
|
|
|
# or via direct git checkout:
|
2013-05-22 12:26:33 +00:00
|
|
|
# git clone git://git.fedorahosted.org/initial-setup.git
|
2013-03-08 10:37:48 +00:00
|
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
|
2014-02-11 15:45:11 +00:00
|
|
|
%define debug_package %{nil}
|
2014-04-18 12:27:26 +00:00
|
|
|
%define anacondaver 21.32
|
2013-11-20 13:37:23 +00:00
|
|
|
|
2013-03-08 10:37:48 +00:00
|
|
|
License: GPLv2+
|
|
|
|
Group: System Environment/Base
|
|
|
|
BuildRequires: gettext
|
|
|
|
BuildRequires: python2-devel
|
|
|
|
BuildRequires: python-setuptools
|
|
|
|
BuildRequires: python-nose
|
|
|
|
BuildRequires: systemd-units
|
|
|
|
BuildRequires: gtk3-devel
|
|
|
|
BuildRequires: gtk-doc
|
|
|
|
BuildRequires: gobject-introspection-devel
|
|
|
|
BuildRequires: glade-devel
|
|
|
|
BuildRequires: pygobject3
|
2013-11-20 13:37:23 +00:00
|
|
|
BuildRequires: anaconda >= %{anacondaver}
|
2013-03-26 14:25:36 +00:00
|
|
|
BuildRequires: python-di
|
2013-11-20 13:37:23 +00:00
|
|
|
|
2013-03-08 10:37:48 +00:00
|
|
|
Requires: python
|
2013-11-20 13:37:23 +00:00
|
|
|
Requires: anaconda-tui >= %{anacondaver}
|
2013-04-05 21:29:16 +00:00
|
|
|
Requires(post): systemd
|
|
|
|
Requires(preun): systemd
|
|
|
|
Requires(postun): systemd
|
2013-03-08 10:37:48 +00:00
|
|
|
Requires: firstboot(windowmanager)
|
|
|
|
Requires: libreport-python
|
2013-03-26 14:25:36 +00:00
|
|
|
Requires: python-di
|
2013-11-05 10:06:55 +00:00
|
|
|
Requires: util-linux
|
2013-03-13 13:40:40 +00:00
|
|
|
Conflicts: firstboot < 19.2
|
2013-03-08 10:37:48 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
The initial-setup utility runs after installation. It guides the user through
|
|
|
|
a series of steps that allows for easier configuration of the machine.
|
|
|
|
|
2013-11-20 13:37:23 +00:00
|
|
|
%package gui
|
|
|
|
Summary: Graphical user interface for the initial-setup utility
|
|
|
|
Requires: gtk3
|
|
|
|
Requires: anaconda-gui >= %{anacondaver}
|
2014-04-03 11:58:48 +00:00
|
|
|
Requires: initial-setup
|
2013-11-20 13:37:23 +00:00
|
|
|
|
|
|
|
%description gui
|
|
|
|
The initial-setup-gui package contains a graphical user interface for the
|
|
|
|
initial-setup utility.
|
|
|
|
|
2013-03-08 10:37:48 +00:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
# remove upstream egg-info
|
|
|
|
rm -rf *.egg-info
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{__python} setup.py build
|
2013-09-10 15:12:27 +00:00
|
|
|
make po-files
|
2013-03-08 10:37:48 +00:00
|
|
|
|
2013-04-05 21:29:16 +00:00
|
|
|
%check
|
|
|
|
%{__python} setup.py nosetests
|
2013-03-08 10:37:48 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
|
2013-09-10 15:12:27 +00:00
|
|
|
make install-po-files
|
2013-03-08 10:37:48 +00:00
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
%post
|
|
|
|
if [ $1 -ne 2 -a ! -f /etc/sysconfig/initial-setup ]; then
|
|
|
|
platform="$(arch)"
|
|
|
|
if [ "$platform" = "s390" -o "$platform" = "s390x" ]; then
|
|
|
|
echo "RUN_INITIAL_SETUP=YES" > /etc/sysconfig/initial-setup
|
|
|
|
else
|
2013-04-08 11:18:48 +00:00
|
|
|
%systemd_post initial-setup-graphical.service
|
|
|
|
%systemd_post initial-setup-text.service
|
2013-03-08 10:37:48 +00:00
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
%preun
|
|
|
|
%systemd_preun initial-setup-graphical.service
|
|
|
|
%systemd_preun initial-setup-text.service
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%systemd_postun_with_restart initial-setup-graphical.service
|
|
|
|
%systemd_postun_with_restart initial-setup-text.service
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%doc COPYING README
|
2013-11-20 13:37:23 +00:00
|
|
|
%{python_sitelib}/initial_setup*
|
|
|
|
%exclude %{python_sitelib}/initial_setup/gui
|
2013-03-08 10:37:48 +00:00
|
|
|
%{_bindir}/initial-setup
|
|
|
|
%{_bindir}/firstboot-windowmanager
|
|
|
|
%{_unitdir}/initial-setup-text.service
|
|
|
|
|
|
|
|
%ifarch s390 s390x
|
|
|
|
%{_sysconfdir}/profile.d/initial-setup.sh
|
|
|
|
%{_sysconfdir}/profile.d/initial-setup.csh
|
|
|
|
%endif
|
|
|
|
|
2013-11-20 13:37:23 +00:00
|
|
|
%files gui
|
|
|
|
%{python_sitelib}/initial_setup/gui/*
|
|
|
|
%{_unitdir}/initial-setup-graphical.service
|
|
|
|
|
|
|
|
%post gui
|
|
|
|
if [ $1 -ne 2 -a ! -f /etc/sysconfig/initial-setup ]; then
|
|
|
|
platform="$(arch)"
|
|
|
|
if [ "$platform" = "s390" -o "$platform" = "s390x" ]; then
|
|
|
|
echo "RUN_INITIAL_SETUP=YES" > /etc/sysconfig/initial-setup
|
|
|
|
else
|
|
|
|
%systemd_post initial-setup-graphical.service
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
%preun gui
|
|
|
|
%systemd_preun initial-setup-graphical.service
|
|
|
|
|
|
|
|
%postun gui
|
|
|
|
%systemd_postun_with_restart initial-setup-graphical.service
|
2013-03-08 10:37:48 +00:00
|
|
|
|
|
|
|
%changelog
|
2014-04-18 12:27:26 +00:00
|
|
|
* Fri Apr 11 2014 Martin Kolman <mkolman@redhat.com> - 0.3.17-1
|
|
|
|
- Set initial-setup translation domain for the hub (#1040240) (mkolman)
|
|
|
|
|
2014-04-03 11:58:48 +00:00
|
|
|
* Thu Apr 03 2014 Martin Kolman <mkolman@redhat.com> - 0.3.16-1
|
|
|
|
- initial-setup-gui requires the initial-setup package (vpodzime)
|
|
|
|
|
2014-03-19 14:15:39 +00:00
|
|
|
* Wed Mar 19 2014 Martin Kolman <mkolman@redhat.com> - 0.3.15-1
|
|
|
|
- Import the product module (#1077390) (vpodzime)
|
|
|
|
|
2014-02-11 15:45:11 +00:00
|
|
|
* Tue Feb 11 2014 Vratislav Podzimek <vpodzime@redhat.com> - 0.3.14-1
|
|
|
|
- Try to quit plymouth before running our X server instance (#1058329)
|
|
|
|
- Get rid of the empty debuginfo package (#1062738)
|
|
|
|
|
2014-02-05 08:21:12 +00:00
|
|
|
* Wed Feb 05 2014 Vratislav Podzimek <vpodzime@redhat.com> - 0.3.13-1
|
|
|
|
- Make Initial Setup an arch specific package (#1057590) (vpodzime)
|
|
|
|
|
2013-11-28 10:40:29 +00:00
|
|
|
* Thu Nov 28 2013 Vratislav Podzimek <vpodzime@redhat.com> - 0.3.12-1
|
|
|
|
- Adapt to changes in anaconda tui spoke categories (#1035462) (vpodzime)
|
|
|
|
- Ignore the SIGINT (#1035590) (vpodzime)
|
|
|
|
|
2013-11-20 13:37:23 +00:00
|
|
|
* Wed Nov 20 2013 Vratislav Podzimek <vpodzime@redhat.com> - 0.3.11-1
|
|
|
|
- Fix how spokes are collected for the I-S main hub (vpodzime)
|
|
|
|
- Override distribution text in spokes (#1028370) (vpodzime)
|
|
|
|
- Get rid of the useless modules directory (vpodzime)
|
|
|
|
- Split GUI code into a separate package (#999464) (vpodzime)
|
|
|
|
- Fallback to text UI if GUI is not available (vpodzime)
|
|
|
|
|
2013-11-05 10:06:55 +00:00
|
|
|
* Tue Nov 05 2013 Vratislav Podzimek <vpodzime@redhat.com> - 0.3.10-1
|
|
|
|
- Do not try to kill unexisting process (vpodzime)
|
|
|
|
- Add some logging to our shell scripts (vpodzime)
|
|
|
|
|
2013-09-26 19:10:38 +00:00
|
|
|
* Thu Sep 26 2013 Vratislav Podzimek <vpodzime@redhat.com> - 0.3.9-1
|
|
|
|
- Yet another serial console in ARMs (#1007163) (vpodzime)
|
|
|
|
- Fix the base mask of initial_setup gui submodules (vpodzime)
|
|
|
|
- Specify and use environment of the main hub (vpodzime)
|
|
|
|
|
2013-09-10 15:12:27 +00:00
|
|
|
* Tue Sep 10 2013 Vratislav Podzimek <vpodzime@redhat.com> - 0.3.8-1
|
|
|
|
- Read /etc/os-release to get product title (#1000426) (vpodzime)
|
|
|
|
- Don't let product_title() return None (vpodzime)
|
|
|
|
- Apply the timezone and NTP configuration (#985566) (hdegoede)
|
|
|
|
- Make handling translations easier (vpodzime)
|
|
|
|
- Make translations work (vpodzime)
|
|
|
|
- Sync changelog with downstream (vpodzime)
|
|
|
|
|
2013-08-27 12:12:49 +00:00
|
|
|
* Tue Aug 27 2013 Vratislav Podzimek <vpodzime@redhat.com> - 0.3.7-1
|
|
|
|
- Prevent getty on various services killing us (#979174) (vpodzime)
|
|
|
|
- Initialize network logging for the network spoke (vpodzime)
|
|
|
|
|
2013-08-03 19:39:14 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.6-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-06-18 14:22:20 +00:00
|
|
|
* Tue Jun 18 2013 Vratislav Podzimek <vpodzime@redhat.com> - 0.3.6-2
|
|
|
|
- Rebuild with dependencies available.
|
|
|
|
|
2013-06-18 12:15:35 +00:00
|
|
|
* Tue Jun 18 2013 Vratislav Podzimek <vpodzime@redhat.com> - 0.3.6-1
|
|
|
|
- Make serial-getty wait for us as well (#970719) (vpodzime)
|
|
|
|
- Disable the service only on successful exit (#967617) (vpodzime)
|
|
|
|
|
2014-02-05 08:21:12 +00:00
|
|
|
* Wed May 22 2013 Vratislav Podzimek <vpodzime@redhat.com> - 0.3.5-1
|
2013-05-22 12:26:33 +00:00
|
|
|
- Reference the new repository in the .spec file (vpodzime)
|
|
|
|
- Prevent systemd services from running on live images (#962196) (awilliam)
|
|
|
|
- Don't traceback if the expected kickstart file doesn't exist (#950796) (vpodzime)
|
|
|
|
|
2013-04-08 11:18:48 +00:00
|
|
|
* Mon Apr 8 2013 Vratislav Podzimek <vpodzime@redhat.com> - 0.3.4-3
|
|
|
|
- Rebuild with fixed spec that partly reverts the previous change
|
|
|
|
|
2013-04-05 21:29:16 +00:00
|
|
|
* Fri Apr 5 2013 Vratislav Podzimek <vpodzime@redhat.com> - 0.3.4-2
|
|
|
|
- Rebuild with fixed spec that enables services after installation
|
|
|
|
|
2013-03-28 17:53:59 +00:00
|
|
|
* Thu Mar 28 2013 Martin Sivak <msivak@euryale.brq.redhat.com> - 0.3.4-1
|
|
|
|
- Search for proper UI variant of addons
|
|
|
|
- Add addon directories to sys.path
|
|
|
|
|
2013-03-26 16:48:36 +00:00
|
|
|
* Tue Mar 26 2013 Martin Sivak <msivak@euryale.brq.redhat.com> - 0.3.3-1
|
|
|
|
- Systemd unit files improved
|
|
|
|
|
2013-03-26 14:56:38 +00:00
|
|
|
* Tue Mar 26 2013 Martin Sivak <msivak@euryale.brq.redhat.com> - 0.3.2-1
|
|
|
|
- Modify the ROOT_PATH properly
|
|
|
|
- Do not execute old ksdata (from anaconda's ks file)
|
|
|
|
- Save the resulting configuration to /root/initial-setup-ks.cfg
|
|
|
|
|
2013-03-26 14:25:36 +00:00
|
|
|
* Tue Mar 26 2013 Martin Sivak <msivak@euryale.brq.redhat.com> - 0.3.1-2
|
|
|
|
- Require python-di package
|
|
|
|
|
2013-03-21 10:00:19 +00:00
|
|
|
* Thu Mar 21 2013 Martin Sivak <msivak@euryale.brq.redhat.com> - 0.3.1-1
|
|
|
|
- Use updated Anaconda API
|
|
|
|
- Request firstboot environment spokes
|
2013-03-22 10:00:28 +00:00
|
|
|
- Initialize anaconda threading properly
|
2013-03-21 10:00:19 +00:00
|
|
|
|
2013-03-13 12:38:18 +00:00
|
|
|
* Wed Mar 13 2013 Martin Sivak <msivak@euryale.brq.redhat.com> - 0.3-1
|
|
|
|
- Use updated Anaconda API
|
|
|
|
- Fix systemd units
|
|
|
|
- Add localization spokes to TUI
|
2013-03-13 13:40:40 +00:00
|
|
|
- Write changes to disk
|
|
|
|
- Conflict with old firstboot
|
2013-03-13 12:38:18 +00:00
|
|
|
|
2014-02-05 08:21:12 +00:00
|
|
|
* Wed Feb 13 2013 Martin Sivak <msivak@redhat.com> 0.2-1
|
2013-03-08 10:37:48 +00:00
|
|
|
- Updates for package review
|
|
|
|
- Firstboot-windowmanager script
|
|
|
|
|
2014-02-05 08:21:12 +00:00
|
|
|
* Wed Feb 13 2013 Martin Sivak <msivak@redhat.com> 0.1-3
|
2013-03-08 10:37:48 +00:00
|
|
|
- Updates for package review
|
|
|
|
|
|
|
|
* Tue Jan 22 2013 Martin Sivak <msivak@redhat.com> 0.1-2
|
|
|
|
- Updates for package review
|
|
|
|
|
|
|
|
* Tue Nov 06 2012 Martin Sivak <msivak@redhat.com> 0.1-1
|
|
|
|
- Initial release
|