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