From ba314aa55bb1ce2201c74077f39a3544c8e0678e Mon Sep 17 00:00:00 2001 From: Patryk Zawadzki Date: Fri, 29 Aug 2008 11:50:16 +0000 Subject: [PATCH] - 1.99 Changed files: firstboot.spec -> 1.5 --- firstboot.spec | 63 +++++++++++--------------------------------------- 1 file changed, 14 insertions(+), 49 deletions(-) diff --git a/firstboot.spec b/firstboot.spec index 38237bd..2644a45 100644 --- a/firstboot.spec +++ b/firstboot.spec @@ -1,33 +1,17 @@ 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 Source0: %{name}-%{version}.tar.bz2 -# Source0-md5: bea227cd82be988b9638e239f3380dfb +# Source0-md5: 8883a4e5b1eb6ddc121741b467fd3760 +Patch0: %{name}-python.patch URL: http://fedora.redhat.com/projects/config-tools/ 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 +30,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 +40,8 @@ systemu. %prep %setup -q +%patch0 -p1 +rm po/ilo.po %build %{__make} @@ -72,7 +49,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 +70,12 @@ fi %files -f %{name}.lang %defattr(644,root,root,755) +%attr(755,root,root) %{_sbindir}/firstboot +%attr(754,root,root) /etc/rc.d/init.d/firstboot %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] +/usr/share/firstboot/modules/*.py[co] +/usr/share/firstboot/themes +%{py_sitedir}/%{name}-%{version}-py*.egg-info +%dir %{py_sitedir}/firstboot +%{py_sitedir}/firstboot/*.py[co] -- 2.44.0