Blame initial-setup.spec

713296
Summary: Initial system configuration utility
713296
Name: initial-setup
713296
URL: http://fedoraproject.org/wiki/FirstBoot
71a31d
Version: 0.3.4
57c74a
Release: 1%{?dist}
713296
BuildArch: noarch
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:
713296
# git clone git://fedorapeople.org/home/fedora/msivak/public_git/firstboot2.git
713296
Source0: %{name}-%{version}.tar.gz
713296
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
713296
BuildRequires: python-babel
999d47
BuildRequires: anaconda >= 19.13
fa40c2
BuildRequires: python-di
713296
Requires: gtk3
713296
Requires: python
999d47
Requires: anaconda >= 19.13
713296
Requires(post): systemd-units
713296
Requires(preun): systemd-units
713296
Requires(postun): systemd-units
713296
Requires: firstboot(windowmanager)
713296
Requires: libreport-python
fa40c2
Requires: python-di
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
713296
%prep
713296
%setup -q
713296
713296
# remove upstream egg-info
713296
rm -rf *.egg-info
713296
713296
%build
713296
%{__python} setup.py build
713296
%{__python} setup.py compile_catalog -D %{name} -d locale
713296
713296
# Check is disabled until Gtk bug rhbz#902401 is resolved
713296
#%check
713296
#%{__python} setup.py nosetests
713296
713296
%install
713296
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
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
713296
    %systemd_post initial-setup-graphical.service
713296
    %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
713296
%dir %{_datadir}/initial-setup/
713296
%dir %{_datadir}/initial-setup/modules/
713296
%{python_sitelib}/*
713296
%{_bindir}/initial-setup
713296
%{_bindir}/firstboot-windowmanager
713296
%{_datadir}/initial-setup/modules/*
713296
713296
%{_unitdir}/initial-setup-graphical.service
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
713296
713296
%changelog
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
713296
* Tue Feb 13 2013 Martin Sivak <msivak@redhat.com> 0.2-1
713296
- Updates for package review
713296
- Firstboot-windowmanager script
713296
713296
* Tue 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