]> git.pld-linux.org Git - packages/firstboot.git/blob - firstboot.spec
- release 4
[packages/firstboot.git] / firstboot.spec
1 # FIXME: where is tui?
2 Summary:        Initial system configuration utility
3 Summary(pl.UTF-8):      Narzędzie do początkowej konfiguracji systemu
4 Name:           firstboot
5 Version:        1.99
6 Release:        4
7 License:        GPL
8 Group:          Base
9 # https://fedorahosted.org/releases/f/i/firstboot/ (not yet)
10 Source0:        %{name}-%{version}.tar.bz2
11 # Source0-md5:  8883a4e5b1eb6ddc121741b467fd3760
12 Patch0:         %{name}-python.patch
13 URL:            http://fedoraproject.org/wiki/FirstBoot
14 BuildRequires:  gettext-devel
15 Requires:       python-pygtk-gtk
16 Requires:       python-rhpl
17 Requires:       system-config-users
18 ExcludeArch:    s390 s390x ppc64
19 ExclusiveOS:    Linux
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
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.
30
31 %package tui
32 Summary:        A text interface for firstboot
33 Summary(pl.UTF-8):      Tekstowy interfejs programu firstboot
34 Group:          Base
35 Requires(preun):        /sbin/chkconfig
36
37 %description tui
38 firstboot-tui is a text interface for initial system configuration.
39
40 %description tui -l pl.UTF-8
41 firstboot-tui to tekstowy interfejs do początkowej konfiguracji
42 systemu.
43
44 %prep
45 %setup -q
46 %patch0 -p1
47 rm po/ilo.po
48
49 %build
50 %{__make}
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54
55 %{__make} install \
56         DESTDIR=$RPM_BUILD_ROOT
57 rm $RPM_BUILD_ROOT%{_datadir}/firstboot/modules/additional_cds.py*
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)
74 %attr(755,root,root) %{_sbindir}/firstboot
75 %attr(754,root,root) /etc/rc.d/init.d/firstboot
76 %dir %{_datadir}/firstboot
77 %dir %{_datadir}/firstboot/modules
78 %{_datadir}/firstboot/modules/*.py
79 %{_datadir}/firstboot/themes
80 %dir %{py_sitedir}/firstboot
81 %{py_sitedir}/firstboot/*.py[co]
82 %{py_sitedir}/%{name}-%{version}-py*.egg-info
This page took 0.064189 seconds and 3 git commands to generate.