]>
Commit | Line | Data |
---|---|---|
92e11862 | 1 | # FIXME: where is tui? |
5ef8d4b3 | 2 | Summary: Initial system configuration utility |
1d8253ad | 3 | Summary(pl.UTF-8): Narzędzie do początkowej konfiguracji systemu |
5ef8d4b3 | 4 | Name: firstboot |
ba314aa5 | 5 | Version: 1.99 |
2e527b30 | 6 | Release: 7 |
5ef8d4b3 ER |
7 | License: GPL |
8 | Group: Base | |
5023dcd7 | 9 | # https://fedorahosted.org/releases/f/i/firstboot/ (not yet) |
5ef8d4b3 | 10 | Source0: %{name}-%{version}.tar.bz2 |
ba314aa5 PZ |
11 | # Source0-md5: 8883a4e5b1eb6ddc121741b467fd3760 |
12 | Patch0: %{name}-python.patch | |
5023dcd7 | 13 | URL: http://fedoraproject.org/wiki/FirstBoot |
aa2aa539 | 14 | BuildRequires: gettext-tools |
827fa80a | 15 | BuildRequires: python-modules |
16 | BuildRequires: rpm-pythonprov | |
5ef8d4b3 ER |
17 | Requires: python-pygtk-gtk |
18 | Requires: python-rhpl | |
c4951c36 | 19 | Requires: system-config-users |
5ef8d4b3 ER |
20 | ExcludeArch: s390 s390x ppc64 |
21 | ExclusiveOS: Linux | |
5ef8d4b3 ER |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
23 | ||
24 | %description | |
25 | The firstboot utility runs after installation. It guides the user | |
26 | through a series of steps that allows for easier configuration of the | |
27 | machine. | |
28 | ||
6cf01ec3 JR |
29 | %description -l pl.UTF-8 |
30 | Narzędzie firstboot uruchamia się po instalacji. Prowadzi użytkownika | |
31 | poprzez serię kroków umożliwiających łatwą konfigurację maszyny. | |
b82dbe7a | 32 | |
5ef8d4b3 ER |
33 | %package tui |
34 | Summary: A text interface for firstboot | |
1d8253ad | 35 | Summary(pl.UTF-8): Tekstowy interfejs programu firstboot |
5ef8d4b3 | 36 | Group: Base |
92e11862 | 37 | Requires(preun): /sbin/chkconfig |
5ef8d4b3 ER |
38 | |
39 | %description tui | |
40 | firstboot-tui is a text interface for initial system configuration. | |
41 | ||
6cf01ec3 JR |
42 | %description tui -l pl.UTF-8 |
43 | firstboot-tui to tekstowy interfejs do początkowej konfiguracji | |
b82dbe7a JB |
44 | systemu. |
45 | ||
5ef8d4b3 ER |
46 | %prep |
47 | %setup -q | |
ba314aa5 PZ |
48 | %patch0 -p1 |
49 | rm po/ilo.po | |
5ef8d4b3 ER |
50 | |
51 | %build | |
52 | %{__make} | |
53 | ||
54 | %install | |
55 | rm -rf $RPM_BUILD_ROOT | |
92e11862 | 56 | |
5ef8d4b3 | 57 | %{__make} install \ |
ba314aa5 | 58 | DESTDIR=$RPM_BUILD_ROOT |
c4951c36 | 59 | rm $RPM_BUILD_ROOT%{_datadir}/firstboot/modules/additional_cds.py* |
5ef8d4b3 ER |
60 | |
61 | %find_lang %{name} | |
62 | ||
63 | %clean | |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | ||
66 | %post tui | |
67 | #/sbin/chkconfig --add firstboot | |
68 | ||
69 | %preun tui | |
70 | if [ "$1" = 0 ]; then | |
71 | /sbin/chkconfig --del firstboot | |
72 | fi | |
73 | ||
74 | %files -f %{name}.lang | |
75 | %defattr(644,root,root,755) | |
ba314aa5 PZ |
76 | %attr(755,root,root) %{_sbindir}/firstboot |
77 | %attr(754,root,root) /etc/rc.d/init.d/firstboot | |
5023dcd7 JB |
78 | %dir %{_datadir}/firstboot |
79 | %dir %{_datadir}/firstboot/modules | |
c4951c36 | 80 | %{_datadir}/firstboot/modules/*.py |
5023dcd7 | 81 | %{_datadir}/firstboot/themes |
ba314aa5 PZ |
82 | %dir %{py_sitedir}/firstboot |
83 | %{py_sitedir}/firstboot/*.py[co] | |
5023dcd7 | 84 | %{py_sitedir}/%{name}-%{version}-py*.egg-info |