]> git.pld-linux.org Git - packages/firstboot.git/blame - firstboot.spec
- more cleanups; where is tui?
[packages/firstboot.git] / firstboot.spec
CommitLineData
92e11862 1# FIXME: where is tui?
5ef8d4b3 2Summary: Initial system configuration utility
1d8253ad 3Summary(pl.UTF-8): Narzędzie do początkowej konfiguracji systemu
5ef8d4b3 4Name: firstboot
ba314aa5
PZ
5Version: 1.99
6Release: 1
5ef8d4b3
ER
7License: GPL
8Group: Base
5023dcd7 9# https://fedorahosted.org/releases/f/i/firstboot/ (not yet)
5ef8d4b3 10Source0: %{name}-%{version}.tar.bz2
ba314aa5
PZ
11# Source0-md5: 8883a4e5b1eb6ddc121741b467fd3760
12Patch0: %{name}-python.patch
5023dcd7 13URL: http://fedoraproject.org/wiki/FirstBoot
5ef8d4b3 14BuildRequires: gettext-devel
5ef8d4b3
ER
15Requires: python-pygtk-gtk
16Requires: python-rhpl
5ef8d4b3
ER
17ExcludeArch: s390 s390x ppc64
18ExclusiveOS: Linux
19BuildArch: noarch
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23The firstboot utility runs after installation. It guides the user
24through a series of steps that allows for easier configuration of the
25machine.
26
6cf01ec3
JR
27%description -l pl.UTF-8
28Narzędzie firstboot uruchamia się po instalacji. Prowadzi użytkownika
29poprzez serię kroków umożliwiających łatwą konfigurację maszyny.
b82dbe7a 30
5ef8d4b3
ER
31%package tui
32Summary: A text interface for firstboot
1d8253ad 33Summary(pl.UTF-8): Tekstowy interfejs programu firstboot
5ef8d4b3 34Group: Base
92e11862 35Requires(preun): /sbin/chkconfig
5ef8d4b3
ER
36
37%description tui
38firstboot-tui is a text interface for initial system configuration.
39
6cf01ec3
JR
40%description tui -l pl.UTF-8
41firstboot-tui to tekstowy interfejs do początkowej konfiguracji
b82dbe7a
JB
42systemu.
43
5ef8d4b3
ER
44%prep
45%setup -q
ba314aa5
PZ
46%patch0 -p1
47rm po/ilo.po
5ef8d4b3
ER
48
49%build
50%{__make}
51
52%install
53rm -rf $RPM_BUILD_ROOT
92e11862 54
5ef8d4b3 55%{__make} install \
ba314aa5 56 DESTDIR=$RPM_BUILD_ROOT
5ef8d4b3 57
92e11862
JB
58%py_comp $RPM_BUILD_ROOT%{_datadir}/firstboot
59%py_ocomp $RPM_BUILD_ROOT%{_datadir}/firstboot
60%py_postclean %{_datadir}/firstboot
5ef8d4b3
ER
61
62%find_lang %{name}
63
64%clean
65rm -rf $RPM_BUILD_ROOT
66
67%post tui
68#/sbin/chkconfig --add firstboot
69
70%preun tui
71if [ "$1" = 0 ]; then
72 /sbin/chkconfig --del firstboot
73fi
74
75%files -f %{name}.lang
76%defattr(644,root,root,755)
ba314aa5
PZ
77%attr(755,root,root) %{_sbindir}/firstboot
78%attr(754,root,root) /etc/rc.d/init.d/firstboot
5023dcd7
JB
79%dir %{_datadir}/firstboot
80%dir %{_datadir}/firstboot/modules
81%{_datadir}/firstboot/modules/*.py[co]
82%{_datadir}/firstboot/themes
ba314aa5
PZ
83%dir %{py_sitedir}/firstboot
84%{py_sitedir}/firstboot/*.py[co]
5023dcd7 85%{py_sitedir}/%{name}-%{version}-py*.egg-info
This page took 0.169399 seconds and 4 git commands to generate.