Blob Blame History Raw
# -*- RPM-SPEC -*-
%define debug_package %{nil}

Summary: A graphical interface for configuring the boot loader
Name: system-config-boot
Version: 1.0
Release: 5%{?dist}
URL: http://fedoraproject.org/wiki/SystemConfig/boot
License: GPLv2
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.bz2
Requires: pygtk2 python2 usermode >= 1.36  
Requires: usermode-gtk
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 intltool

%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

%build
%configure
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
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild

* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

* Tue Mar 08 2011 Harald Hoyer <harald@redhat.com> 1.0-1
- version 1.0

* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

* Wed Aug 11 2010 David Malcolm <dmalcolm@redhat.com> - 0.4.1-2
- recompiling .py files against Python 2.7 (rhbz#623398)

* Tue Sep 29 2009 Harald Hoyer <harald@redhat.com> 0.4.1
- add error dialog, if grub.conf can't be read (bug #525886)
- updated translations

* Fri Sep 11 2009 Harald Hoyer <harald@redhat.com> 0.4.0
- add tui version
- removed rhpl dependency

* Fri Apr 24 2009 Harald Hoyer <harald@redhat.com> 0.3.1
- translation updates
- removed kudzu import (bug #473798)

* Tue Oct 28 2008 Harald Hoyer <harald@redhat.com> 0.3.0-2
- reapplied changes by spot

* Tue Oct 28 2008 Harald Hoyer <harald@redhat.com> 0.3.0-1
- version 0.3.0

* Mon Oct 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.2.21-3
- add Requires: usermode-gtk

* Mon Sep 08 2008 Harald Hoyer <harald@redhat.com> - 0.2.21-1
- removed .png from icon entry in the desktop file

* Sat Sep  6 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.2.20-2
- fix license tag, %%configure and %%files

* 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