Blame initial-setup.spec

7132968
Summary: Initial system configuration utility
7132968
Name: initial-setup
7132968
URL: http://fedoraproject.org/wiki/FirstBoot
db22c9b
Version: 0.3.13
ee7e5dd
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
2845c3e
%define anacondaver 21.7
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: gtk-doc
7132968
BuildRequires: gobject-introspection-devel
7132968
BuildRequires: glade-devel
7132968
BuildRequires: pygobject3
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: firstboot(windowmanager)
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}
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
7132968
%{__python} setup.py build
50e2643
make po-files
7132968
54c333e
%check
54c333e
%{__python} setup.py nosetests
7132968
7132968
%install
7132968
%{__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
7132968
%doc COPYING README
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
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