]>
Commit | Line | Data |
---|---|---|
5ef8d4b3 | 1 | Summary: Initial system configuration utility |
1d8253ad | 2 | Summary(pl.UTF-8): Narzędzie do początkowej konfiguracji systemu |
5ef8d4b3 ER |
3 | Name: firstboot |
4 | Version: 1.4.6 | |
5 | Release: 0.1 | |
6 | License: GPL | |
7 | Group: Base | |
5ef8d4b3 ER |
8 | Source0: %{name}-%{version}.tar.bz2 |
9 | # Source0-md5: bea227cd82be988b9638e239f3380dfb | |
b82dbe7a | 10 | URL: http://fedora.redhat.com/projects/config-tools/ |
5ef8d4b3 ER |
11 | BuildRequires: gettext-devel |
12 | #Requires: /etc/init.d | |
13 | #Requires: authconfig-gtk | |
14 | #Requires: chkconfig | |
15 | #Requires: firstboot-tui | |
16 | #Requires: libuser | |
17 | #Requires: metacity | |
18 | Requires: python-pygtk-gtk | |
19 | Requires: python-rhpl | |
20 | Requires: python-rhpxl | |
21 | #Requires: redhat-artwork | |
22 | #Requires: redhat-logos | |
23 | #Requires: system-config-date >= 1.7.9 | |
24 | #Requires: system-config-display | |
25 | #Requires: system-config-keyboard | |
26 | #Requires: system-config-language | |
27 | #Requires: system-config-network | |
28 | #Requires: system-config-securitylevel | |
29 | #Requires: system-config-soundcard | |
30 | #Requires: system-config-users | |
31 | ExcludeArch: s390 s390x ppc64 | |
32 | ExclusiveOS: Linux | |
33 | BuildArch: noarch | |
34 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
35 | ||
36 | %description | |
37 | The firstboot utility runs after installation. It guides the user | |
38 | through a series of steps that allows for easier configuration of the | |
39 | machine. | |
40 | ||
6cf01ec3 JR |
41 | %description -l pl.UTF-8 |
42 | Narzędzie firstboot uruchamia się po instalacji. Prowadzi użytkownika | |
43 | poprzez serię kroków umożliwiających łatwą konfigurację maszyny. | |
b82dbe7a | 44 | |
5ef8d4b3 ER |
45 | %package tui |
46 | Summary: A text interface for firstboot | |
1d8253ad | 47 | Summary(pl.UTF-8): Tekstowy interfejs programu firstboot |
5ef8d4b3 ER |
48 | Group: Base |
49 | #Requires: /etc/init.d | |
50 | #Requires: authconfig | |
51 | #Requires: chkconfig | |
52 | #Requires: netconfig | |
53 | #Requires: ntsysv | |
54 | #Requires: python | |
55 | #Requires: python-rhpl | |
56 | #Requires: system-config-securitylevel-tui | |
57 | #Requires: usermode >= 1.36 | |
58 | ||
59 | %description tui | |
60 | firstboot-tui is a text interface for initial system configuration. | |
61 | ||
6cf01ec3 JR |
62 | %description tui -l pl.UTF-8 |
63 | firstboot-tui to tekstowy interfejs do początkowej konfiguracji | |
b82dbe7a JB |
64 | systemu. |
65 | ||
5ef8d4b3 ER |
66 | %prep |
67 | %setup -q | |
68 | ||
69 | %build | |
70 | %{__make} | |
71 | ||
72 | %install | |
73 | rm -rf $RPM_BUILD_ROOT | |
74 | %{__make} install \ | |
75 | INSTROOT=$RPM_BUILD_ROOT | |
76 | ||
77 | %py_comp $RPM_BUILD_ROOT/usr/share/firstboot | |
78 | %py_ocomp $RPM_BUILD_ROOT/usr/share/firstboot | |
79 | %py_postclean /usr/share/firstboot | |
80 | ||
81 | %find_lang %{name} | |
82 | ||
83 | %clean | |
84 | rm -rf $RPM_BUILD_ROOT | |
85 | ||
86 | %post tui | |
87 | #/sbin/chkconfig --add firstboot | |
88 | ||
89 | %preun tui | |
90 | if [ "$1" = 0 ]; then | |
91 | /sbin/chkconfig --del firstboot | |
92 | fi | |
93 | ||
94 | %files -f %{name}.lang | |
95 | %defattr(644,root,root,755) | |
96 | %dir /usr/share/firstboot | |
97 | %dir /usr/share/firstboot/modules | |
98 | %dir /usr/share/firstboot/pixmaps | |
99 | /usr/share/firstboot/exceptionWindow.py[co] | |
100 | /usr/share/firstboot/firstbootWindow.py[co] | |
101 | /usr/share/firstboot/firstboot_module_window.py[co] | |
102 | /usr/share/firstboot/xfirstboot.py[co] | |
103 | /usr/share/firstboot/modules/* | |
104 | /usr/share/firstboot/pixmaps/* | |
105 | ||
106 | %files -f %{name}.lang tui | |
107 | %defattr(644,root,root,755) | |
108 | %attr(754,root,root) /etc/rc.d/init.d/firstboot | |
109 | %dir /usr/share/firstboot/ | |
110 | %attr(755,root,root) %{_sbindir}/firstboot | |
111 | /usr/share/firstboot/constants_text.py[co] | |
112 | /usr/share/firstboot/eula_strings.py[co] | |
113 | /usr/share/firstboot/firstboot.py[co] | |
114 | /usr/share/firstboot/firstbootBackend.py[co] | |
115 | /usr/share/firstboot/functions.py[co] | |
116 | /usr/share/firstboot/textWindow.py[co] |