Name: initial-setup Version: 0.3.94 Release: 1 Summary: Initialize system configuration for a newly installed computer License: GPLv2+ URL: https://github.com/rhinstaller/initial-setup Source0: https://github.com/rhinstaller/initial-setup/archive/r%{version}-1.tar.gz Source1: anaconda-template.json %define debug_package %{nil} BuildRequires: gettext python3-devel python3-setuptools systemd-units BuildRequires: gtk3-devel glade-devel anaconda >= 36.7 intltool Requires: python3 anaconda-tui >= 36.7 systemd >= 235 python3-libreport util-linux Requires: gtk3 anaconda-gui >= 36.7 firstboot(windowmanager) xorg-x11-xinit Requires: xorg-x11-server-Xorg Requires: python3-simpleline >= 1.4 Requires: isocut Requires(post): systemd Requires(preun): systemd Requires(postun): systemd Conflicts: firstboot < 19.2 Provides: %{name}-gui = %{version}-%{release} Obsoletes: %{name}-gui < %{version}-%{release} %description The initial-setup application run during the first start of a newly installed computer and makes it possible to configure the computer according to the needs of the user. %prep %autosetup -n initial-setup-r%{version}-1 -p1 rm -rf *.egg-info #Source0 is not a git project, generate empty changlog touch ChangeLog; echo 'git directory not found: installing possibly empty changelog.' > ChangeLog sed -i 's/\/root\/anaconda-ks.cfg/\/etc\/isocut\/anaconda-ks.cfg/g' initial_setup/__init__.py %build %make_build %install %make_install install -d -m 0755 %{buildroot}%{_datadir}/anaconda/help cp %{SOURCE1} %{buildroot}%{_datadir}/anaconda/help/anaconda-tui.json cp %{SOURCE1} %{buildroot}%{_datadir}/anaconda/help/anaconda-gui.json %clean rm -rf %{buildroot} %post %systemd_post %{name}.service %preun %systemd_preun %{name}.service %postun %systemd_postun %{name}.service %files #-f %{name}.lang %doc README.rst COPYING %{python3_sitelib}/{initial_setup*,initial_setup/gui/*} %{_libexecdir}/%{name}/{run-initial-setup,firstboot-windowmanager,reconfiguration-mode-enabled} %{_libexecdir}/%{name}/{initial-setup-graphical,initial-setup-text} %{_unitdir}/{initial-setup,initial-setup-reconfiguration}.service %dir %{_sysconfdir}/%{name} %dir %{_sysconfdir}/%{name}/conf.d %config %{_sysconfdir}/%{name}/conf.d/* %{_datadir}/anaconda/help/* %exclude %{_defaultdocdir}/%{name}/ChangeLog %changelog * Sat Oct 07 2023 Ge Wang - 0.3.94-1 - Update to version 0.3.94 * Mon Aug 28 2023 wangkai <13474090681@163.com> - 0.3.83-5 - Remove deprecated support for add-ons - Remove old failing pre scriptlet - Fix rpm version * Mon Jul 17 2023 shechenglong - 0.3.83-4 - Make sure the output from custom_getpass() is serialized after stdout * Fri Dec 30 2022 xulei - 0.3.83-3 - Add Packit support for initial-setup * Fri Dec 30 2022 xulei - 0.3.83-2 - Adapt to category title translation fix in Anaconda * Fri Apr 29 2022 yangping - 0.3.83-1 - Upgrade to 0.3.83 * Thu Aug 20 2020 lingsheng - 0.36.62-6 - Change require to python3-libreport * Tue Feb 18 2020 xuxijian - 0.36.62-5 - Package init