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