Name: system-switch-displaymanager
Summary: A display manager switcher for GDM, KDM, XDM and WDM
Version: 1.2
Release: 5%{?dist}
URL: http://fedoraproject.org/wiki/switch-displaymanager
Source: %{name}-%{version}.tar.bz2
License: GPLv2+
Group: User Interface/Desktops
Buildroot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch
Requires: usermode
BuildRequires: intltool
BuildRequires: gettext
BuildRequires: desktop-file-utils
%description
The Display Manager Switcher is a tool which enables users to easily switch
between various deskplay managers that they have installed. The tool includes
support for GDM, KDM, XDM and WDM.
Install system-switch-displaymanager if you need a tool for switching between
display managers.
%package gnome
Group: User Interface/Desktops
Summary: A graphical interface for the Display Manager Switcher
Requires: %{name} = %{version}-%{release} python pygtk2
%description gnome
The system-switch-displaymanager-gnome package provides the GNOME graphical user
interface for the Display Manager Switcher.
%prep
%setup -q -n %{name}-%{version}
%build
make
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
%find_lang %{name} || true
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc COPYING
%dir %{_datadir}/%{name}
%config(noreplace) %{_sysconfdir}/security/console.apps/%{name}
%config(noreplace) %{_sysconfdir}/pam.d/%{name}
%{_bindir}/%{name}
%{_sbindir}/%{name}
%{_datadir}/%{name}/%{name}-helper
%{_mandir}/man1/*
%files gnome -f %{name}.lang
%defattr(-,root,root)
%{_datadir}/%{name}/pixmaps
%{_datadir}/%{name}/*.glade
%{_datadir}/%{name}/*.py*
%{_datadir}/applications/*
%{_datadir}/icons/hicolor/*/*/*.png
%changelog
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Mon Dec 01 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.2-3
- Rebuild for Python 2.6
* Sat Oct 04 2008 Than Ngo <than@redhat.com> 1.2-2
- add %%dist
* Wed Sep 24 2008 Than Ngo <than@redhat.com> 1.2-1
- 1.2
- WDM setting issue
- add missing icons for WDM/XDM
* Thu Sep 11 2008 Than Ngo <than@redhat.com> 1.1-1
- rename to system-switch-displaymanager
* Fri Aug 15 2008 Than Ngo <than@redhat.com> 1.0-1
- 1.0