1 Summary: Initial system configuration utility
2 Summary(pl.UTF-8): Narzędzie do początkowej konfiguracji systemu
8 # https://fedorahosted.org/releases/f/i/firstboot/ (not yet)
9 Source0: %{name}-%{version}.tar.bz2
10 # Source0-md5: 8883a4e5b1eb6ddc121741b467fd3760
11 Patch0: %{name}-python.patch
12 URL: http://fedoraproject.org/wiki/FirstBoot
13 BuildRequires: gettext-devel
14 Requires: python-pygtk-gtk
16 ExcludeArch: s390 s390x ppc64
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 The firstboot utility runs after installation. It guides the user
23 through a series of steps that allows for easier configuration of the
26 %description -l pl.UTF-8
27 Narzędzie firstboot uruchamia się po instalacji. Prowadzi użytkownika
28 poprzez serię kroków umożliwiających łatwą konfigurację maszyny.
31 Summary: A text interface for firstboot
32 Summary(pl.UTF-8): Tekstowy interfejs programu firstboot
36 firstboot-tui is a text interface for initial system configuration.
38 %description tui -l pl.UTF-8
39 firstboot-tui to tekstowy interfejs do początkowej konfiguracji
51 rm -rf $RPM_BUILD_ROOT
53 DESTDIR=$RPM_BUILD_ROOT
55 %py_comp $RPM_BUILD_ROOT/usr/share/firstboot
56 %py_ocomp $RPM_BUILD_ROOT/usr/share/firstboot
57 %py_postclean /usr/share/firstboot
62 rm -rf $RPM_BUILD_ROOT
65 #/sbin/chkconfig --add firstboot
69 /sbin/chkconfig --del firstboot
72 %files -f %{name}.lang
73 %defattr(644,root,root,755)
74 %attr(755,root,root) %{_sbindir}/firstboot
75 %attr(754,root,root) /etc/rc.d/init.d/firstboot
76 %dir %{_datadir}/firstboot
77 %dir %{_datadir}/firstboot/modules
78 %{_datadir}/firstboot/modules/*.py[co]
79 %{_datadir}/firstboot/themes
80 %dir %{py_sitedir}/firstboot
81 %{py_sitedir}/firstboot/*.py[co]
82 %{py_sitedir}/%{name}-%{version}-py*.egg-info