Blame initial-setup.spec

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