# -*- RPM-SPEC -*-
%define debug_package %{nil}
Summary: A graphical interface for configuring the boot loader
Name: system-config-boot
Version: 0.2.20
Release: 1%{?dist}
URL: http://fedoraproject.org/wiki/SystemConfig/boot
License: GPL
ExclusiveOS: Linux
Group: Applications/System
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# This is a Red Hat maintained package which is specific to
# our distribution. Thus the source is only available from
# within this srpm.
Source0: %{name}-%{version}.tar.gz
Requires: pygtk2 python2 usermode >= 1.36 rhpl >= 0.6
ExclusiveArch: %{ix86} x86_64
Obsoletes: redhat-config-boot < 0.2
Provides: redhat-config-boot = %{version}
BuildRequires: python >= 0:2.2 gettext glib2-devel desktop-file-utils perl-XML-Parser
%description
system-config-boot is a graphical user interface that allows
the user to change the default boot entry of the system.
%prep
%setup -q
%configure
%build
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
mkdir $RPM_BUILD_ROOT%{_datadir}/applications
for i in %{name}.desktop; do \
desktop-file-install --vendor system --delete-original \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
--add-category Settings \
--remove-category Application \
--remove-category SystemSetup \
$i; \
done;
%find_lang %name
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root)
%doc COPYING
%attr(0755,root,root) /usr/bin/system-config-boot
%attr(0755,root,root) /usr/sbin/system-config-boot
%dir /usr/share/system-config-boot
%attr(0644,root,root) /usr/share/system-config-boot/*
%attr(0644,root,root) /usr/share/pixmaps/*.png
%attr(0644,root,root) %{_datadir}/applications/*
%attr(0644,root,root) %config(noreplace) /etc/security/console.apps/system-config-boot
%attr(0644,root,root) %config(noreplace) /etc/pam.d/system-config-boot
%changelog
* Tue Apr 08 2008 Harald Hoyer <harald@redhat.com> - 0.2.20-1
- translation update
* Tue Feb 26 2008 Harald Hoyer <harald@redhat.com> - 0.2.19-1
- moved boot_gui.py to /usr/share/system-config-boot/
* Tue Feb 26 2008 Harald Hoyer <harald@redhat.com> - 0.2.18-1
- removed firstboot dependency
* Thu Sep 20 2007 Harald Hoyer <harald@redhat.com> - 0.2.17-1
- translation update
* Mon Aug 13 2007 Harald Hoyer <harald@redhat.com> - 0.2.16-1
- translation update
- updated URL
- changed desktop file categories
* Fri Mar 23 2007 Harald Hoyer <harald@redhat.com> - 0.2.15-1
- specfile cleanups
* Mon Jan 29 2007 Harald Hoyer <harald@redhat.com> - 0.2.14-1
- more build requirements
* Mon Oct 09 2006 Harald Hoyer <harald@redhat.com> - 0.2.13-1
- translation update
- Resolves: rhbz#216607
* Mon Oct 09 2006 Harald Hoyer <harald@redhat.com> - 0.2.12-1
- translation update (bug #208886, #209188)
* Thu Oct 13 2005 Harald Hoyer <harald@redhat.com> - 0.2.11-1
- use new config tool pam configuration file
* Thu Oct 13 2005 Harald Hoyer <harald@redhat.com> - 0.2.10-1
- use firstboot instead of deprecated functions in rhpl
* Thu Mar 31 2005 Harald Hoyer <harald@redhat.com> - 0.2.9-1
- s/gtk\.TRUE/True/g
- s/gtk\.FALSE/False/g
* Tue Nov 23 2004 Harald Hoyer <harald@redhat.com> - 0.2.8-1
- s/gtk.mainquit/gtk.main_quit/g
* Fri Jul 30 2004 Harald Hoyer <harald@redhat.com> - 0.2.7-1
- added build requirements: Perl-XML-Parser desktop-file-utils
* Wed Apr 21 2004 Harald Hoyer <harald@redhat.com> - 0.2.6-1
- translation updates (118804)
* Fri Apr 2 2004 Harald Hoyer <harald@redhat.com> - 0.2.5-1
- translation updates
- renaming of desktop file
* Mon Mar 15 2004 Harald Hoyer <harald@redhat.com> - 0.2.4-1
- translation update
* Thu Nov 6 2003 Harald Hoyer <harald@redhat.de> 0.2.0-1
- changed python version
* Thu Nov 06 2003 Harald Hoyer <harald@redhat.de> 0.1.7-1
- fixed #109266
* Thu Oct 30 2003 Harald Hoyer <harald@redhat.de> 0.1.6-1
- fixed #106796
- added exception handling
* Mon Oct 27 2003 Harald Hoyer <harald@redhat.de> 0.1.5-1
- fixed conf loading (#106796)
- i18n update
* Tue Oct 14 2003 Harald Hoyer <harald@redhat.de> 0.1.4-1
- autofooed and intltoolized r-c-boot
* Wed Oct 8 2003 Harald Hoyer <harald@redhat.de> 0.1.3-1
- added po files
* Wed Oct 2 2003 Harald Hoyer <harald@redhat.de> 0.1.2-1
- fixed desktop file
* Fri Aug 22 2003 Harald Hoyer <harald@redhat.de> 0.1.1-1
- first version