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