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