7132968
Summary: Initial system configuration utility
7132968
Name: initial-setup
7132968
URL: http://fedoraproject.org/wiki/FirstBoot
0688672
Version: 0.3.28
331b99e
Release: 1%{?dist}
7132968
7132968
# This is a Red Hat maintained package which is specific to
7132968
# our distribution.
7132968
#
7132968
# The source is thus available only from within this SRPM
7132968
# or via direct git checkout:
1410f69
# git clone git://git.fedorahosted.org/initial-setup.git
7132968
Source0: %{name}-%{version}.tar.gz
7132968
5cb052c
%define debug_package %{nil}
97c52ab
%define anacondaver 21.46
2845c3e
7132968
License: GPLv2+
7132968
Group: System Environment/Base
7132968
BuildRequires: gettext
7132968
BuildRequires: python2-devel
7132968
BuildRequires: python-setuptools
7132968
BuildRequires: python-nose
7132968
BuildRequires: systemd-units
7132968
BuildRequires: gtk3-devel
7132968
BuildRequires: glade-devel
2845c3e
BuildRequires: anaconda >= %{anacondaver}
fa40c2b
BuildRequires: python-di
2845c3e
7132968
Requires: python
2845c3e
Requires: anaconda-tui >= %{anacondaver}
54c333e
Requires(post): systemd
54c333e
Requires(preun): systemd
54c333e
Requires(postun): systemd
7132968
Requires: libreport-python
fa40c2b
Requires: python-di
6cdaa29
Requires: util-linux
ab9e3c1
Conflicts: firstboot < 19.2
7132968
7132968
%description
7132968
The initial-setup utility runs after installation.  It guides the user through
7132968
a series of steps that allows for easier configuration of the machine.
7132968
2845c3e
%package gui
2845c3e
Summary: Graphical user interface for the initial-setup utility
2845c3e
Requires: gtk3
2845c3e
Requires: anaconda-gui >= %{anacondaver}
a5c752b
Requires: firstboot(windowmanager)
c7db21b
Requires: initial-setup
f728d46
Requires: %{name} = %{version}-%{release}
2845c3e
2845c3e
%description gui
2845c3e
The initial-setup-gui package contains a graphical user interface for the
2845c3e
initial-setup utility.
2845c3e
7132968
%prep
7132968
%setup -q
7132968
7132968
# remove upstream egg-info
7132968
rm -rf *.egg-info
7132968
7132968
%build
a5c752b
python setup.py build
50e2643
make po-files
7132968
54c333e
%check
c059048
export XDG_RUNTIME_DIR=/tmp
a5c752b
python setup.py nosetests
7132968
7132968
%install
a5c752b
python setup.py install --skip-build --root $RPM_BUILD_ROOT
50e2643
make install-po-files
7132968
%find_lang %{name}
7132968
7132968
%post
7132968
if [ $1 -ne 2 -a ! -f /etc/sysconfig/initial-setup ]; then
7132968
  platform="$(arch)"
7132968
  if [ "$platform" = "s390" -o "$platform" = "s390x" ]; then
7132968
    echo "RUN_INITIAL_SETUP=YES" > /etc/sysconfig/initial-setup
7132968
  else
7825f74
    %systemd_post initial-setup-graphical.service
7825f74
    %systemd_post initial-setup-text.service
7132968
  fi
7132968
fi
7132968
7132968
%preun
7132968
%systemd_preun initial-setup-graphical.service
7132968
%systemd_preun initial-setup-text.service
7132968
7132968
%postun
7132968
%systemd_postun_with_restart initial-setup-graphical.service
7132968
%systemd_postun_with_restart initial-setup-text.service
7132968
7132968
%files -f %{name}.lang
0688672
%doc COPYING README.rst
2845c3e
%{python_sitelib}/initial_setup*
2845c3e
%exclude %{python_sitelib}/initial_setup/gui
7132968
%{_bindir}/initial-setup
7132968
%{_bindir}/firstboot-windowmanager
7132968
%{_unitdir}/initial-setup-text.service
7132968
7132968
%ifarch s390 s390x
7132968
%{_sysconfdir}/profile.d/initial-setup.sh
7132968
%{_sysconfdir}/profile.d/initial-setup.csh
7132968
%endif
7132968
2845c3e
%files gui
2845c3e
%{python_sitelib}/initial_setup/gui/*
2845c3e
%{_unitdir}/initial-setup-graphical.service
2845c3e
2845c3e
%post gui
2845c3e
if [ $1 -ne 2 -a ! -f /etc/sysconfig/initial-setup ]; then
2845c3e
  platform="$(arch)"
2845c3e
  if [ "$platform" = "s390" -o "$platform" = "s390x" ]; then
2845c3e
    echo "RUN_INITIAL_SETUP=YES" > /etc/sysconfig/initial-setup
2845c3e
  else
2845c3e
    %systemd_post initial-setup-graphical.service
2845c3e
  fi
2845c3e
fi
2845c3e
2845c3e
%preun gui
2845c3e
%systemd_preun initial-setup-graphical.service
2845c3e
2845c3e
%postun gui
2845c3e
%systemd_postun_with_restart initial-setup-graphical.service
7132968
7132968
%changelog
0688672
* Thu Feb 05 2015 Martin Kolman <mkolman@redhat.com> - 0.3.28-1
0688672
- Fix breakage caused by README file rename (mkolman)
0688672
78f4fcf
* Thu Feb 05 2015 Martin Kolman <mkolman@redhat.com> - 0.3.27-1
78f4fcf
- Remove unneeded dependencies (mkolman)
78f4fcf
- Add the rst suffix to the README file (mkolman)
78f4fcf
- Update the link to the upstream source code repository (mkolman)
78f4fcf
- Add AnacondaKSHandler no-member error to pylint-false-positives. (mulhern)
78f4fcf
- Mark strings for translation when module is loaded. (mulhern)
78f4fcf
- Fix easy pylint errors. (mulhern)
78f4fcf
- Add pylint testing infrastructure. (mulhern)
78f4fcf
78f4fcf
* Mon Nov 3 2014 Martin Kolman <mkolman@redhat.com> - 0.3.26-1
f728d46
- Explicitly require the main package in the GUI sub package (#1078917) (mkolman)
f728d46
93770fc
* Thu Oct 23 2014 Martin Kolman <mkolman@redhat.com> - 0.3.25-1
93770fc
- Add syslog logging support (#1145122) (mkolman)
93770fc
331b99e
* Fri Oct 10 2014 Martin Kolman <mkolman@redhat.com> - 0.3.24-1
331b99e
- Fix Initial Setup to correctly support the Anaconda built-in Help (#1072033) (mkolman)
331b99e
- Populate README (#1110178) (master-log) (mkolman)
331b99e
- Remove the --disable-overwrite parameter for the Transifex client (mkolman)
bc495d1
3644050
* Fri Aug 08 2014 Martin Kolman <mkolman@redhat.com> - 0.3.23-1
3644050
- Adapt to class changes in Anaconda (vpodzime)
3644050
97c52ab
* Fri Jul 04 2014 Martin Kolman <mkolman@redhat.com> - 0.3.22-1
97c52ab
- Update the initial-setup hub for the new HubWindow API (dshea)
97c52ab
a5c752b
* Sat May 31 2014 Peter Robinson <pbrobinson@fedoraproject.org> 0.3.21-2
a5c752b
- Only the GUI needs a window manager
a5c752b
c059048
* Wed May 28 2014 Martin Kolman <mkolman@redhat.com> - 0.3.21-1
c059048
- Adapt to python-nose API change (mkolman)
c059048
c059048
* Thu May 22 2014 Martin Kolman <mkolman@redhat.com> - 0.3.20-1
c059048
- Adapt Initial Setup to the new way Anaconda handles root path (#1099581) (vpodzime)
c059048
9d3ef5f
* Tue May 06 2014 Martin Kolman <mkolman@redhat.com> - 0.3.19-1
9d3ef5f
- Bump required Anaconda version due to TUI category handling change (mkolman)
9d3ef5f
- Override Hub collect methods also in TUI hub (mkolman)
9d3ef5f
- Translation update
9d3ef5f
df30f34
* Mon Apr 28 2014 Martin Kolman <mkolman@redhat.com> - 0.3.18-1
df30f34
- Remove debugging code that was left in the tarball by mistake (#1091470) (mkolman)
df30f34
- Translation update
df30f34
1d4fa54
* Fri Apr 11 2014 Martin Kolman <mkolman@redhat.com> - 0.3.17-1
1d4fa54
- Set initial-setup translation domain for the hub (#1040240) (mkolman)
1d4fa54
c7db21b
* Thu Apr 03 2014 Martin Kolman <mkolman@redhat.com> - 0.3.16-1
c7db21b
- initial-setup-gui requires the initial-setup package (vpodzime)
c7db21b
5eca52e
* Wed Mar 19 2014 Martin Kolman <mkolman@redhat.com> - 0.3.15-1
5eca52e
- Import the product module (#1077390) (vpodzime)
5eca52e
5cb052c
* Tue Feb 11 2014 Vratislav Podzimek <vpodzime@redhat.com> - 0.3.14-1
5cb052c
- Try to quit plymouth before running our X server instance (#1058329)
5cb052c
- Get rid of the empty debuginfo package (#1062738)
5cb052c
db22c9b
* Wed Feb 05 2014 Vratislav Podzimek <vpodzime@redhat.com> - 0.3.13-1
db22c9b
- Make Initial Setup an arch specific package (#1057590) (vpodzime)
db22c9b
1f8fdac
* Thu Nov 28 2013 Vratislav Podzimek <vpodzime@redhat.com> - 0.3.12-1
1f8fdac
- Adapt to changes in anaconda tui spoke categories (#1035462) (vpodzime)
1f8fdac
- Ignore the SIGINT (#1035590) (vpodzime)
1f8fdac
2845c3e
* Wed Nov 20 2013 Vratislav Podzimek <vpodzime@redhat.com> - 0.3.11-1
2845c3e
- Fix how spokes are collected for the I-S main hub (vpodzime)
2845c3e
- Override distribution text in spokes (#1028370) (vpodzime)
2845c3e
- Get rid of the useless modules directory (vpodzime)
2845c3e
- Split GUI code into a separate package (#999464) (vpodzime)
2845c3e
- Fallback to text UI if GUI is not available (vpodzime)
2845c3e
6cdaa29
* Tue Nov 05 2013 Vratislav Podzimek <vpodzime@redhat.com> - 0.3.10-1
6cdaa29
- Do not try to kill unexisting process (vpodzime)
6cdaa29
- Add some logging to our shell scripts (vpodzime)
6cdaa29
3b0ac08
* Thu Sep 26 2013 Vratislav Podzimek <vpodzime@redhat.com> - 0.3.9-1
3b0ac08
- Yet another serial console in ARMs (#1007163) (vpodzime)
3b0ac08
- Fix the base mask of initial_setup gui submodules (vpodzime)
3b0ac08
- Specify and use environment of the main hub (vpodzime)
3b0ac08
50e2643
* Tue Sep 10 2013 Vratislav Podzimek <vpodzime@redhat.com> - 0.3.8-1
50e2643
- Read /etc/os-release to get product title (#1000426) (vpodzime)
50e2643
- Don't let product_title() return None (vpodzime)
50e2643
- Apply the timezone and NTP configuration (#985566) (hdegoede)
50e2643
- Make handling translations easier (vpodzime)
50e2643
- Make translations work (vpodzime)
50e2643
- Sync changelog with downstream (vpodzime)
50e2643
54f61ae
* Tue Aug 27 2013 Vratislav Podzimek <vpodzime@redhat.com> - 0.3.7-1
54f61ae
- Prevent getty on various services killing us (#979174) (vpodzime)
54f61ae
- Initialize network logging for the network spoke (vpodzime)
54f61ae
3c24a41
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.6-3
3c24a41
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
3c24a41
08c3341
* Tue Jun 18 2013 Vratislav Podzimek <vpodzime@redhat.com> - 0.3.6-2
08c3341
- Rebuild with dependencies available.
08c3341
76692b1
* Tue Jun 18 2013 Vratislav Podzimek <vpodzime@redhat.com> - 0.3.6-1
76692b1
- Make serial-getty wait for us as well (#970719) (vpodzime)
76692b1
- Disable the service only on successful exit (#967617) (vpodzime)
76692b1
db22c9b
* Wed May 22 2013 Vratislav Podzimek <vpodzime@redhat.com> - 0.3.5-1
1410f69
- Reference the new repository in the .spec file (vpodzime)
1410f69
- Prevent systemd services from running on live images (#962196) (awilliam)
1410f69
- Don't traceback if the expected kickstart file doesn't exist (#950796) (vpodzime)
1410f69
7825f74
* Mon Apr 8 2013 Vratislav Podzimek <vpodzime@redhat.com> - 0.3.4-3
7825f74
- Rebuild with fixed spec that partly reverts the previous change
7825f74
54c333e
* Fri Apr 5 2013 Vratislav Podzimek <vpodzime@redhat.com> - 0.3.4-2
54c333e
- Rebuild with fixed spec that enables services after installation
54c333e
71a31d2
* Thu Mar 28 2013 Martin Sivak <msivak@euryale.brq.redhat.com> - 0.3.4-1
71a31d2
- Search for proper UI variant of addons
71a31d2
- Add addon directories to sys.path
71a31d2
3ca3645
* Tue Mar 26 2013 Martin Sivak <msivak@euryale.brq.redhat.com> - 0.3.3-1
3ca3645
- Systemd unit files improved
3ca3645
57c74a8
* Tue Mar 26 2013 Martin Sivak <msivak@euryale.brq.redhat.com> - 0.3.2-1
57c74a8
- Modify the ROOT_PATH properly
57c74a8
- Do not execute old ksdata (from anaconda's ks file)
57c74a8
- Save the resulting configuration to /root/initial-setup-ks.cfg
57c74a8
fa40c2b
* Tue Mar 26 2013 Martin Sivak <msivak@euryale.brq.redhat.com> - 0.3.1-2
fa40c2b
- Require python-di package
fa40c2b
999d477
* Thu Mar 21 2013 Martin Sivak <msivak@euryale.brq.redhat.com> - 0.3.1-1
999d477
- Use updated Anaconda API
999d477
- Request firstboot environment spokes
cfb54df
- Initialize anaconda threading properly
999d477
087a6c6
* Wed Mar 13 2013 Martin Sivak <msivak@euryale.brq.redhat.com> - 0.3-1
087a6c6
- Use updated Anaconda API
087a6c6
- Fix systemd units
087a6c6
- Add localization spokes to TUI
ab9e3c1
- Write changes to disk
ab9e3c1
- Conflict with old firstboot
087a6c6
db22c9b
* Wed Feb 13 2013 Martin Sivak <msivak@redhat.com> 0.2-1
7132968
- Updates for package review
7132968
- Firstboot-windowmanager script
7132968
db22c9b
* Wed Feb 13 2013 Martin Sivak <msivak@redhat.com> 0.1-3
7132968
- Updates for package review
7132968
7132968
* Tue Jan 22 2013 Martin Sivak <msivak@redhat.com> 0.1-2
7132968
- Updates for package review
7132968
7132968
* Tue Nov 06 2012 Martin Sivak <msivak@redhat.com> 0.1-1
7132968
- Initial release