]> git.pld-linux.org Git - packages/firstboot.git/blob - firstboot.spec
- updated URL, unified files
[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 # https://fedorahosted.org/releases/f/i/firstboot/ (not yet)
9 Source0:        %{name}-%{version}.tar.bz2
10 # Source0-md5:  8883a4e5b1eb6ddc121741b467fd3760
11 Patch0:         %{name}-python.patch
12 URL:            http://fedoraproject.org/wiki/FirstBoot
13 BuildRequires:  gettext-devel
14 Requires:       python-pygtk-gtk
15 Requires:       python-rhpl
16 ExcludeArch:    s390 s390x ppc64
17 ExclusiveOS:    Linux
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 The firstboot utility runs after installation. It guides the user
23 through a series of steps that allows for easier configuration of the
24 machine.
25
26 %description -l pl.UTF-8
27 Narzędzie firstboot uruchamia się po instalacji. Prowadzi użytkownika
28 poprzez serię kroków umożliwiających łatwą konfigurację maszyny.
29
30 %package tui
31 Summary:        A text interface for firstboot
32 Summary(pl.UTF-8):      Tekstowy interfejs programu firstboot
33 Group:          Base
34
35 %description tui
36 firstboot-tui is a text interface for initial system configuration.
37
38 %description tui -l pl.UTF-8
39 firstboot-tui to tekstowy interfejs do początkowej konfiguracji
40 systemu.
41
42 %prep
43 %setup -q
44 %patch0 -p1
45 rm po/ilo.po
46
47 %build
48 %{__make}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52 %{__make} install \
53         DESTDIR=$RPM_BUILD_ROOT
54
55 %py_comp $RPM_BUILD_ROOT/usr/share/firstboot
56 %py_ocomp $RPM_BUILD_ROOT/usr/share/firstboot
57 %py_postclean /usr/share/firstboot
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[co]
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.073516 seconds and 3 git commands to generate.