7132968
Summary: Initial system configuration utility
7132968
Name: initial-setup
070c0a2
URL: https://fedoraproject.org/wiki/InitialSetup
0c785c3
Version: 0.3.34
0c785c3
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:
070c0a2
# git clone https://github.com/rhinstaller/initial-setup
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
0c785c3
BuildRequires: python3-devel
0c785c3
BuildRequires: python3-setuptools
0c785c3
BuildRequires: python3-nose
7132968
BuildRequires: systemd-units
7132968
BuildRequires: gtk3-devel
7132968
BuildRequires: glade-devel
2845c3e
BuildRequires: anaconda >= %{anacondaver}
070c0a2
BuildRequires: intltool
2845c3e
0c785c3
Requires: python3
2845c3e
Requires: anaconda-tui >= %{anacondaver}
54c333e
Requires(post): systemd
54c333e
Requires(preun): systemd
54c333e
Requires(postun): systemd
0c785c3
Requires: libreport-python3
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
070c0a2
make
7132968
54c333e
%check
070c0a2
make test
7132968
7132968
%install
070c0a2
rm -rf %{buildroot}
070c0a2
make DESTDIR=%{buildroot} install
070c0a2
7132968
%find_lang %{name}
7132968
070c0a2
%clean
070c0a2
rm -rf %{buildroot}
070c0a2
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-text.service
7132968
  fi
7132968
fi
7132968
7132968
%preun
7132968
%systemd_preun initial-setup-text.service
7132968
7132968
%postun
7132968
%systemd_postun_with_restart initial-setup-text.service
7132968
3284145
%post gui
3284145
%systemd_post initial-setup-graphical.service
3284145
3284145
%preun gui
3284145
%systemd_preun initial-setup-graphical.service
3284145
3284145
%postun gui
3284145
%systemd_postun_with_restart initial-setup-graphical.service
3284145
7132968
%files -f %{name}.lang
0688672
%doc COPYING README.rst
0c785c3
%{python3_sitelib}/initial_setup*
0c785c3
%exclude %{python3_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
0c785c3
%{python3_sitelib}/initial_setup/gui/*
2845c3e
%{_unitdir}/initial-setup-graphical.service
2845c3e
7132968
%changelog
0c785c3
* Thu Jul 30 2015 Martin Kolman <mkolman@redhat.com> - 0.3.34-1
0c785c3
- Switch Initial Setup to Python 3 (#1244558) (mkolman)
0c785c3
cf7ad4b
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.33-2
cf7ad4b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
cf7ad4b
070c0a2
* Thu Apr 23 2015 Martin Kolman <mkolman@redhat.com> - 0.3.33-1
070c0a2
- Improve the Makefile (mkolman)
070c0a2
- Remove old GUI testing code from the Makefile (mkolman)
070c0a2
- Update upstream URL (#1213101) (mkolman)
070c0a2
- Update upstream Git repository URL (mkolman)
070c0a2
e9e5730
* Tue Mar 31 2015 Martin Kolman <mkolman@redhat.com> - 0.3.32-1
e9e5730
- Point out the err in case that ks parsing failed (#1145130) (fabiand)
e9e5730
- Switch to Zanata for translations (mkolman)
e9e5730
c821fd6
* Wed Mar 04 2015 Martin Kolman <mkolman@redhat.com> - 0.3.31-1
c821fd6
- Use kwin_x11 for kde/plasma spin (#1197135) (rdieter)
c821fd6
3284145
* Fri Feb 13 2015 Martin Kolman <mkolman@redhat.com> - 0.3.29-1
3284145
- Split scriptlets for the gui subpackage (mkolman)
3284145
- Use /usr/bin/python2 in scripts (mkolman)
3284145
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