X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=firstboot.spec;h=8c558c4833317cab5f6fb070ac5ae13277d7be05;hb=5023dcd70120d9ad40aa8b668eed5308d54f4bcd;hp=38237bd71b9bfa659dcc6ee8f9f2f948f557b326;hpb=1d8253ad66e5cc2ea2be62a4e3443099e89f0509;p=packages%2Ffirstboot.git diff --git a/firstboot.spec b/firstboot.spec index 38237bd..8c558c4 100644 --- a/firstboot.spec +++ b/firstboot.spec @@ -1,33 +1,18 @@ Summary: Initial system configuration utility Summary(pl.UTF-8): Narzędzie do początkowej konfiguracji systemu Name: firstboot -Version: 1.4.6 -Release: 0.1 +Version: 1.99 +Release: 1 License: GPL Group: Base +# https://fedorahosted.org/releases/f/i/firstboot/ (not yet) Source0: %{name}-%{version}.tar.bz2 -# Source0-md5: bea227cd82be988b9638e239f3380dfb -URL: http://fedora.redhat.com/projects/config-tools/ +# Source0-md5: 8883a4e5b1eb6ddc121741b467fd3760 +Patch0: %{name}-python.patch +URL: http://fedoraproject.org/wiki/FirstBoot BuildRequires: gettext-devel -#Requires: /etc/init.d -#Requires: authconfig-gtk -#Requires: chkconfig -#Requires: firstboot-tui -#Requires: libuser -#Requires: metacity Requires: python-pygtk-gtk Requires: python-rhpl -Requires: python-rhpxl -#Requires: redhat-artwork -#Requires: redhat-logos -#Requires: system-config-date >= 1.7.9 -#Requires: system-config-display -#Requires: system-config-keyboard -#Requires: system-config-language -#Requires: system-config-network -#Requires: system-config-securitylevel -#Requires: system-config-soundcard -#Requires: system-config-users ExcludeArch: s390 s390x ppc64 ExclusiveOS: Linux BuildArch: noarch @@ -46,15 +31,6 @@ poprzez serię kroków umożliwiających łatwą konfigurację maszyny. Summary: A text interface for firstboot Summary(pl.UTF-8): Tekstowy interfejs programu firstboot Group: Base -#Requires: /etc/init.d -#Requires: authconfig -#Requires: chkconfig -#Requires: netconfig -#Requires: ntsysv -#Requires: python -#Requires: python-rhpl -#Requires: system-config-securitylevel-tui -#Requires: usermode >= 1.36 %description tui firstboot-tui is a text interface for initial system configuration. @@ -65,6 +41,8 @@ systemu. %prep %setup -q +%patch0 -p1 +rm po/ilo.po %build %{__make} @@ -72,7 +50,7 @@ systemu. %install rm -rf $RPM_BUILD_ROOT %{__make} install \ - INSTROOT=$RPM_BUILD_ROOT + DESTDIR=$RPM_BUILD_ROOT %py_comp $RPM_BUILD_ROOT/usr/share/firstboot %py_ocomp $RPM_BUILD_ROOT/usr/share/firstboot @@ -93,24 +71,12 @@ fi %files -f %{name}.lang %defattr(644,root,root,755) -%dir /usr/share/firstboot -%dir /usr/share/firstboot/modules -%dir /usr/share/firstboot/pixmaps -/usr/share/firstboot/exceptionWindow.py[co] -/usr/share/firstboot/firstbootWindow.py[co] -/usr/share/firstboot/firstboot_module_window.py[co] -/usr/share/firstboot/xfirstboot.py[co] -/usr/share/firstboot/modules/* -/usr/share/firstboot/pixmaps/* - -%files -f %{name}.lang tui -%defattr(644,root,root,755) -%attr(754,root,root) /etc/rc.d/init.d/firstboot -%dir /usr/share/firstboot/ %attr(755,root,root) %{_sbindir}/firstboot -/usr/share/firstboot/constants_text.py[co] -/usr/share/firstboot/eula_strings.py[co] -/usr/share/firstboot/firstboot.py[co] -/usr/share/firstboot/firstbootBackend.py[co] -/usr/share/firstboot/functions.py[co] -/usr/share/firstboot/textWindow.py[co] +%attr(754,root,root) /etc/rc.d/init.d/firstboot +%dir %{_datadir}/firstboot +%dir %{_datadir}/firstboot/modules +%{_datadir}/firstboot/modules/*.py[co] +%{_datadir}/firstboot/themes +%dir %{py_sitedir}/firstboot +%{py_sitedir}/firstboot/*.py[co] +%{py_sitedir}/%{name}-%{version}-py*.egg-info