]> git.pld-linux.org Git - packages/firstboot.git/blob - firstboot.spec
- 1.99
[packages/firstboot.git] / firstboot.spec
1 Summary:        Initial system configuration utility
2 Summary(pl.UTF-8):      Narzędzie do początkowej konfiguracji systemu
3 Name:           firstboot
4 Version:        1.99
5 Release:        1
6 License:        GPL
7 Group:          Base
8 Source0:        %{name}-%{version}.tar.bz2
9 # Source0-md5:  8883a4e5b1eb6ddc121741b467fd3760
10 Patch0:         %{name}-python.patch
11 URL:            http://fedora.redhat.com/projects/config-tools/
12 BuildRequires:  gettext-devel
13 Requires:       python-pygtk-gtk
14 Requires:       python-rhpl
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
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.
28
29 %package tui
30 Summary:        A text interface for firstboot
31 Summary(pl.UTF-8):      Tekstowy interfejs programu firstboot
32 Group:          Base
33
34 %description tui
35 firstboot-tui is a text interface for initial system configuration.
36
37 %description tui -l pl.UTF-8
38 firstboot-tui to tekstowy interfejs do początkowej konfiguracji
39 systemu.
40
41 %prep
42 %setup -q
43 %patch0 -p1
44 rm po/ilo.po
45
46 %build
47 %{__make}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
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)
73 %attr(755,root,root) %{_sbindir}/firstboot
74 %attr(754,root,root) /etc/rc.d/init.d/firstboot
75 %dir /usr/share/firstboot
76 %dir /usr/share/firstboot/modules
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]
This page took 0.958614 seconds and 3 git commands to generate.