]> git.pld-linux.org Git - packages/firstboot.git/blame - firstboot.spec
- 1.99
[packages/firstboot.git] / firstboot.spec
CommitLineData
5ef8d4b3 1Summary: Initial system configuration utility
1d8253ad 2Summary(pl.UTF-8): Narzędzie do początkowej konfiguracji systemu
5ef8d4b3 3Name: firstboot
ba314aa5
PZ
4Version: 1.99
5Release: 1
5ef8d4b3
ER
6License: GPL
7Group: Base
5ef8d4b3 8Source0: %{name}-%{version}.tar.bz2
ba314aa5
PZ
9# Source0-md5: 8883a4e5b1eb6ddc121741b467fd3760
10Patch0: %{name}-python.patch
b82dbe7a 11URL: http://fedora.redhat.com/projects/config-tools/
5ef8d4b3 12BuildRequires: gettext-devel
5ef8d4b3
ER
13Requires: python-pygtk-gtk
14Requires: python-rhpl
5ef8d4b3
ER
15ExcludeArch: s390 s390x ppc64
16ExclusiveOS: Linux
17BuildArch: noarch
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
21The firstboot utility runs after installation. It guides the user
22through a series of steps that allows for easier configuration of the
23machine.
24
6cf01ec3
JR
25%description -l pl.UTF-8
26Narzędzie firstboot uruchamia się po instalacji. Prowadzi użytkownika
27poprzez serię kroków umożliwiających łatwą konfigurację maszyny.
b82dbe7a 28
5ef8d4b3
ER
29%package tui
30Summary: A text interface for firstboot
1d8253ad 31Summary(pl.UTF-8): Tekstowy interfejs programu firstboot
5ef8d4b3 32Group: Base
5ef8d4b3
ER
33
34%description tui
35firstboot-tui is a text interface for initial system configuration.
36
6cf01ec3
JR
37%description tui -l pl.UTF-8
38firstboot-tui to tekstowy interfejs do początkowej konfiguracji
b82dbe7a
JB
39systemu.
40
5ef8d4b3
ER
41%prep
42%setup -q
ba314aa5
PZ
43%patch0 -p1
44rm po/ilo.po
5ef8d4b3
ER
45
46%build
47%{__make}
48
49%install
50rm -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
61rm -rf $RPM_BUILD_ROOT
62
63%post tui
64#/sbin/chkconfig --add firstboot
65
66%preun tui
67if [ "$1" = 0 ]; then
68 /sbin/chkconfig --del firstboot
69fi
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]
This page took 0.083633 seconds and 4 git commands to generate.