cvsdist 164280e
%define desktop_file 1
cvsdist 164280e
cvsdist 315a624
Name: switchdesk
cvsdist 01b20c3
Summary: A desktop environment switcher for GNOME, KDE and AnotherLevel.
cvsdist adf2ca4
Version: 4.0.6
68e2cc9
Release: 3
e9eee2f
Source: %{name}-%{version}-%{release}.tar.bz2
cvsdist 03e9a4e
License: GPL
cvsdist 315a624
Group: User Interface/Desktops
e9eee2f
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
cvsdist 71148f5
BuildArch: noarch
e9eee2f
BuildRequires: intltool
cvsdist 315a624
cvsdist 315a624
%description
cvsdist 315a624
The Desktop Switcher is a tool which enables users to easily switch
cvsdist 01b20c3
between various desktop environments that they have installed.  The
cvsdist 71148f5
tool includes support for KDE, GNOME, XFce4 and twm.
cvsdist 71148f5
cvsdist 01b20c3
Support for different environments on different computers is available, as
cvsdist 01b20c3
well as support for setting a global default environment.
cvsdist 01b20c3
cvsdist 01b20c3
Install switchdesk if you need a tool for switching between desktop
cvsdist 01b20c3
environments.
cvsdist 315a624
cvsdist 71148f5
%package gui
cvsdist 315a624
Group: User Interface/Desktops
cvsdist 71148f5
Summary: A graphical interface for the Desktop Switcher.
cvsdist 71148f5
Requires: %{name}
cvsdist 71148f5
Requires: python
cvsdist 71148f5
Requires: pygtk2
cvsdist 71148f5
Obsoletes: %{name}-kde
cvsdist 71148f5
Obsoletes: %{name}-gnome
cvsdist 71148f5
Provides: %{name}-kde
cvsdist 71148f5
Provides: %{name}-gnome
cvsdist 71148f5
cvsdist 71148f5
%description gui
cvsdist 71148f5
The switchdesk-gui package provides the graphical user interface for
cvsdist 71148f5
the Desktop Switcher.
cvsdist 315a624
cvsdist 315a624
%prep
cvsdist 71148f5
e9eee2f
%setup -q -n %{name}-%{version}-%{release}
cvsdist 315a624
cvsdist 315a624
%build
cvsdist 315a624
cvsdist 315a624
%install
cvsdist 71148f5
rm -rf $RPM_BUILD_ROOT
cvsdist 71148f5
cvsdist 71148f5
make install DESTDIR=$RPM_BUILD_ROOT
cvsdist 2b9b249
cvsdist 164280e
%if %{desktop_file}
cvsdist 71148f5
    mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
cvsdist 71148f5
    install -m 644 switchdesk.desktop $RPM_BUILD_ROOT%{_datadir}/applications/
cvsdist 71148f5
%else
cvsdist 71148f5
    mkdir $RPM_BUILD_ROOT/etc/X11/applnk/System
cvsdist 71148f5
    install -m 644 switchdesk.desktop $RPM_BUILD_ROOT/etc/X11/applnk/System/
cvsdist 164280e
%endif
cvsdist d5341ab
cvsdist 2b9b249
%find_lang %{name}
cvsdist 315a624
cvsdist 315a624
%clean
cvsdist 315a624
rm -rf $RPM_BUILD_ROOT
cvsdist 315a624
cvsdist 71148f5
%files
cvsdist 315a624
%defattr(-,root,root)
cvsdist 2b9b249
%{_bindir}/switchdesk
cvsdist 2b9b249
%{_bindir}/switchdesk-helper
cvsdist 71148f5
%{_datadir}/switchdesk/Xclients*
cvsdist 71148f5
%{_mandir}/man1/switchdesk.1*
cvsdist 71148f5
cvsdist 71148f5
%files gui -f %{name}.lang
cvsdist 71148f5
%defattr(-,root,root)
cvsdist 71148f5
%{_datadir}/%{name}/pixmaps
cvsdist 71148f5
%{_datadir}/%{name}/*.glade
cvsdist 71148f5
%{_datadir}/%{name}/*.py*
cvsdist 164280e
%if %{desktop_file}
cvsdist 2b9b249
%{_datadir}/applications/*
cvsdist d5341ab
%else
cvsdist 71148f5
/etc/X11/applnk/System/*
cvsdist 164280e
%endif
cvsdist 315a624
cvsdist 71148f5
%changelog
68e2cc9
* Fri Oct 01 2004 Than Ngo <than@redhat.com> 4.0.6-3
68e2cc9
- update translations
68e2cc9
e9eee2f
* Thu Sep 16 2004 Than Ngo <than@redhat.com> 4.0.6-2
e9eee2f
- add intltool in BuildRequires #132620
e9eee2f
- get rid of unneeded automake16 #132631
e9eee2f
cvsdist adf2ca4
* Sun Jul 04 2004 Than Ngo <than@redhat.com> 4.0.6-1
cvsdist adf2ca4
- add new GNOME logo, bug #127182
cvsdist adf2ca4
cvsdist 3c07556
* Mon Jun 28 2004 Than Ngo <than@redhat.com> 4.0.5-1 
cvsdist 3c07556
- fixed wrong output when fvwm is selected #126801
cvsdist 3c07556
cvsdist 5daa81a
* Wed May 26 2004 Than Ngo <than@redhat.com> 4.0.4-1
cvsdist 5daa81a
- fix wrong RB id of enlightenment which causes switchdesk crashed #124408
cvsdist 5daa81a
- fix bug in setting default wm, bug #124292, #122260
cvsdist 5daa81a
- fix bug in creating .Xclients, bug #123545
cvsdist 5daa81a
- add selection button for System Default #110312
cvsdist 5daa81a
cvsdist 9add29c
* Fri Apr 30 2004 Than Ngo <than@redhat.com> 4.0.3-1
cvsdist 9add29c
- fix a invalid syntax bug in python script #121840, #121813
cvsdist 9add29c
- update translations
cvsdist 9add29c
cvsdist 9add29c
* Tue Apr 06 2004 Than Ngo <than@redhat.com> 4.0.2-1
cvsdist 9add29c
- 4.0.2 release
cvsdist 9add29c
- translation update
cvsdist 9add29c
- fix #120143
cvsdist 315a624
cvsdist 71148f5
* Tue Feb 03 2004 Than Ngo <than@redhat.com> 4.0.1-1
cvsdist 71148f5
- 4.0.1 release
cvsdist 315a624
cvsdist 71148f5
* Sun Feb  1 2004 Than Ngo <than@redhat.com> 4.0.0-1 
cvsdist 71148f5
- 4.0.0 release
cvsdist 71148f5
- fixed #40226, #71711, #71990, #72744, #75751, #78603, #81801, #84043, #85077, #89347, #105880, #108582, #109683, #110312, #114190
cvsdist 71148f5
cvsdist 71148f5
- Thu Jun 26 2003 Than Ngo <than@redhat.com> 3.9.8-18
cvsdist d5341ab
- build with gcc-3.3-12
cvsdist d5341ab
- fix desktop file issue
cvsdist d5341ab
- cleanup specfile
cvsdist d5341ab
- disable debuginfo
cvsdist d5341ab
cvsdist d5341ab
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
cvsdist d5341ab
- rebuilt
cvsdist d5341ab
cvsdist 2b9b249
* Wed Jan 22 2003 Mike A. Harris <mharris@redhat.com> 3.9.8-15
cvsdist 2b9b249
- Remove multiple .desktop files (#72872)
cvsdist 2b9b249
cvsdist 2b9b249
* Wed Jan 22 2003 Tim Powers <timp@redhat.com> 3.9.8-14
cvsdist 2b9b249
- rebuilt
cvsdist 2b9b249
cvsdist 2b9b249
* Tue Jan 21 2003 Paul Gampe <pgampe@redhat.com> 3.9.8-13
cvsdist 2b9b249
- Ensure .po file encoding is in UTF-8 (#77813) and update translations
cvsdist 2b9b249
cvsdist 71148f5
* Tue Jan 21 2003 Paul Gampe <pgampe@redhat.com> 3.9.8-13
cvsdist 71148f5
- Ensure .po file encoding is in UTF-8 (#77813)
cvsdist 71148f5
cvsdist 2b9b249
* Wed Nov 13 2002 Mike A. Harris <mharris@redhat.com> 3.9.8-12
cvsdist 2b9b249
- Removed extraneous desktop file (#81801)
cvsdist 2b9b249
cvsdist 2b9b249
* Wed Nov 13 2002 Mike A. Harris <mharris@redhat.com> 3.9.8-11
cvsdist 2b9b249
- Changed ./configure to rpm %%configure macro so libdir is set right on x86_64
cvsdist 2b9b249
- More prefix/share -> %{_datadir} fixes, removal of {prefix}, and usage of
cvsdist 2b9b249
  {_prefix} instead
cvsdist 2b9b249
- Changed make install to %%makeinstall macro
cvsdist 2b9b249
cvsdist 2b9b249
* Wed Nov 13 2002 Mike A. Harris <mharris@redhat.com> 3.9.8-10
cvsdist 2b9b249
- Changed all occurances of {prefix}/foo to proper RPM macros and other spec
cvsdist 2b9b249
  file cleanups
cvsdist 2b9b249
- Fix for unpackaged files in buildroot detected by new rpm policy
cvsdist 2b9b249
cvsdist 8f09eca
* Sat Aug 10 2002 Elliot Lee <sopwith@redhat.com>
cvsdist 8f09eca
- rebuilt with gcc-3.2 (we hope)
cvsdist 8f09eca
cvsdist 164280e
* Mon Aug 05 2002 Karsten Hopp <karsten@redhat.de>
cvsdist 164280e
- desktop-file (#69506)
cvsdist 164280e
- fix wmaker (#65303)
cvsdist 164280e
- sync with cvs
cvsdist 164280e
- remove acconfig.h from CVS, it creates a config.h 
cvsdist 164280e
  with invalid deklarations
cvsdist 164280e
- fix comments in switchdesk-gnome.c
cvsdist 164280e
- fix CXXFLAGS in src/Makefile.am
cvsdist 164280e
cvsdist 164280e
* Tue Jul 23 2002 Tim Powers <timp@redhat.com> 3.9.8-7
cvsdist 164280e
- rebuild using gcc-3.2-0.1
cvsdist 164280e
cvsdist 164280e
* Fri Jul 05 2002 Karsten Hopp <karsten@redhat.de> 3.9.8-6
cvsdist 164280e
- fix #67326
cvsdist 164280e
cvsdist 164280e
* Wed Jun 26 2002 Karsten Hopp <karsten@redhat.de> 3.9.8-5
cvsdist 164280e
- fix #66791 (switchdesk doesn't list GNOME)
cvsdist 164280e
- use updated message catalogs fom CVS
cvsdist 164280e
cvsdist 164280e
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
cvsdist 164280e
- automated rebuild
cvsdist 164280e
cvsdist 164280e
* Thu May 23 2002 Tim Powers <timp@redhat.com>
cvsdist 164280e
- automated rebuild
cvsdist 164280e
cvsdist b5290a5
* Tue Apr 16 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.9.8-2
cvsdist b5290a5
- Rebuild
cvsdist b5290a5
cvsdist 01b20c3
* Mon Apr 15 2002 Trond Eivind Glomsrød <teg@redhat.com> 3.9.8-1
cvsdist 01b20c3
- Update translations
cvsdist 4ec3d3b
cvsdist 1121b3d
* Tue Aug 28 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.9.7-1
cvsdist 1121b3d
- Fix i18n (Patch from kmaraas@online.no, #52717)
cvsdist d0a7952
cvsdist 1121b3d
* Tue Aug 28 2001 Trond Eivind Glomsrød <teg@redhat.com> 3.9.6-1
cvsdist 1121b3d
- Translation update
cvsdist 47578fd
cvsdist 03e9a4e
* Mon Mar 19 2001 Tim Powers <timp@redhat.com>
cvsdist 03e9a4e
- fixed switchdesk-helper script, and cleaned up manpage so we don't
cvsdist 03e9a4e
  refer to AnotherLevel etc (#31142)
cvsdist 03e9a4e
cvsdist 03e9a4e
* Mon Mar 12 2001 Preston Brown <pbrown@redhat.com>
cvsdist 03e9a4e
- Xclients.fvwm was still missing (#31142)
cvsdist 03e9a4e
cvsdist 03e9a4e
* Thu Mar  8 2001 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 03e9a4e
- Remove dependency on kdesupport, we don't actually use it
cvsdist 03e9a4e
cvsdist 03e9a4e
* Wed Feb 28 2001 Trond Eivind Glomsrød <teg@redhat.com>
cvsdist 03e9a4e
- rebuild
cvsdist 03e9a4e
- add buildprereqs
cvsdist 03e9a4e
cvsdist 03e9a4e
* Fri Feb 16 2001 Yukihiro Nakai <ynakai@redhat.com>
cvsdist 03e9a4e
- Add ja.po to Makefile.am
cvsdist 03e9a4e
- enable NLS
cvsdist 03e9a4e
- Change tar archive to handle bzip2 archive correctly.
cvsdist 03e9a4e
cvsdist 03e9a4e
* Wed Feb 14 2001 Preston Brown <pbrown@redhat.com>
cvsdist 03e9a4e
- last translation update.
cvsdist 03e9a4e
cvsdist 03e9a4e
* Thu Jan 25 2001 Yukihiro Nakai <ynakai@redhat.com>
cvsdist 03e9a4e
- Fix between selection and icon.
cvsdist 03e9a4e
- Comment out the part that uses Makefile.cvs
cvsdist 03e9a4e
- Version update.
cvsdist 03e9a4e
cvsdist 03e9a4e
* Wed Jan 24 2001 Preston Brown <pbrown@redhat.com>
cvsdist 03e9a4e
- i18n for europe included.
cvsdist 03e9a4e
cvsdist 03e9a4e
* Fri Dec 22 2000 Yukihiro Nakai <ynakai@redhat.com>
cvsdist 03e9a4e
- Gettextized
cvsdist 03e9a4e
- Add Japanese resources
cvsdist 03e9a4e
cvsdist 03e9a4e
* Mon Dec 11 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 03e9a4e
- Fix typo in switchdesk-helper
cvsdist 03e9a4e
- Don't exclude ia64 anymore, Qt compiles by now.
cvsdist 03e9a4e
cvsdist 03e9a4e
* Thu Nov 16 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 03e9a4e
- Handle KDE 2.0 (Bug #20371)
cvsdist 03e9a4e
- Make the desktop names for the textmode frontend case insensitive
cvsdist 03e9a4e
- Add Swedish translation to Desktop file (RFE #15362)
cvsdist 03e9a4e
- Add German translation to Desktop file
cvsdist 03e9a4e
- Fix up help text when neither switchdesk-kde nor switchdesk-gnome is
cvsdist 03e9a4e
  installed
cvsdist 03e9a4e
- Fix up %%description - we support WindowMaker, fvwm and twm.
cvsdist 03e9a4e
- Add the missing Xclients.fvwm file
cvsdist b43c52b
cvsdist 315a624
* Thu Aug 24 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 315a624
- Check whether the selected UI actually exists in textmode (Bug #16603)
cvsdist 315a624
cvsdist 315a624
* Wed Aug 23 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 315a624
- Add docs for the KDE2 switch on command line (Bug #16743)
cvsdist 315a624
- Fix crash in switchdesk-gnome (Bug #16743)
cvsdist 315a624
- fix some minor oddities
cvsdist 315a624
cvsdist 315a624
* Tue Aug 22 2000 Than Ngo <than@redhat.com>
cvsdist 315a624
- fix /usr/share/apps/switchdesk/Xclients.kde2 for starting KDE2 correct
cvsdist 315a624
 
cvsdist 315a624
* Sat Aug 19 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 315a624
- minor fix in spec file                                                        
cvsdist 315a624
cvsdist 315a624
* Wed Aug  9 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 315a624
- Don't use KDE2 calls in switchdesk-kde; we're Qt only for now.
cvsdist 315a624
cvsdist 315a624
* Fri Jul 14 2000 Bill Nottingham <notting@redhat.com>
cvsdist 315a624
- defattr
cvsdist 315a624
cvsdist 315a624
* Thu Jul 13 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 315a624
- fix up the Xclients.* scripts
cvsdist 315a624
cvsdist 315a624
* Wed Jul 12 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 315a624
- add enlightenment, twm, windowmaker to gnome version, remove AnotherLevel
cvsdist 315a624
- fix build with current KDE 2.0
cvsdist 315a624
- stop using egcs++
cvsdist 315a624
- fix a number of bugs
cvsdist 315a624
- ExcludeArch ia64 for now (kdelibs doesn't compile there)
cvsdist 315a624
cvsdist 315a624
* Fri Jul  7 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 315a624
- use egcs++ for now
cvsdist 315a624
cvsdist 315a624
* Wed Jun 21 2000 Preston Brown <pbrown@redhat.com>
cvsdist 315a624
- add enlightenment, twm, windowmaker to kde version, remove AnotherLevel
cvsdist 315a624
cvsdist 315a624
* Sun Jun 18 2000 Matt Wilson <msw@redhat.com>
cvsdist 315a624
- rebuild for next release
cvsdist 315a624
- use %%{_mandir}
cvsdist 315a624
cvsdist 315a624
* Mon May 22 2000 Bill Nottingham <notting@redhat.com>
cvsdist 315a624
- update autoconf stuff (ia64)
cvsdist 315a624
cvsdist 315a624
* Sun Apr  9 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 315a624
- Port to KDE 2.0
cvsdist 315a624
- some spec file tweaks
cvsdist 315a624
cvsdist 315a624
* Mon Feb 28 2000 Preston Brown <pbrown@redhat.com>
cvsdist 315a624
- ignore unknown desktop names
cvsdist 315a624
cvsdist 315a624
* Mon Feb 14 2000 Preston Brown <pbrown@redhat.com>
cvsdist 315a624
- switchdesk works from the console
cvsdist 315a624
- minor bugfixes and cleanups
cvsdist 315a624
- man page added
cvsdist 315a624
cvsdist 315a624
* Mon Oct 04 1999 Preston Brown <pbrown@redhat.com>
cvsdist 315a624
- make the startup script a bit more probing/robust.
cvsdist 315a624
cvsdist 315a624
* Tue Sep 14 1999 Preston Brown <pbrown@redhat.com>
cvsdist 315a624
- convert .kdelnk file to a system-wide .desktop file.
cvsdist 315a624
cvsdist 315a624
* Mon Apr 19 1999 Preston Brown <pbrown@redhat.com>
cvsdist 315a624
- added back in switchdesk.kdelnk file (kde still doesn't handle
cvsdist 315a624
  .desktop files)
cvsdist 315a624
cvsdist 315a624
* Tue Apr 13 1999 Preston Brown <pbrown@redhat.com>
cvsdist 315a624
- fix up X display string handling
cvsdist 315a624
cvsdist 315a624
* Wed Mar 24 1999 Preston Brown <pbrown@redhat.com>
cvsdist 315a624
- Xclients scripts installed with execute permission.
cvsdist 315a624
cvsdist 315a624
* Wed Mar 17 1999 Preston Brown <pbrown@redhat.com>
cvsdist 315a624
- hardcode path to pidof (/sbin) because it isn't in default path.
cvsdist 315a624
cvsdist 315a624
* Tue Mar 16 1999 Preston Brown <pbrown@redhat.com>
cvsdist 315a624
- converted kdelnk file to desktop file, moved location, removed KDEDIR
cvsdist 315a624
cvsdist 315a624
* Mon Mar 08 1999 Preston Brown <pbrown@redhat.com>
cvsdist 315a624
- broke out separate kde, gnome packages.
cvsdist 315a624
cvsdist 315a624
* Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
cvsdist 315a624
- new group.
cvsdist 315a624
cvsdist 315a624
* Wed Feb 03 1999 Preston Brown <pbrown@redhat.com>
cvsdist 315a624
- initial revision of spec file.
cvsdist 315a624
cvsdist 315a624
cvsdist 315a624
cvsdist 315a624
cvsdist 315a624
cvsdist 315a624
cvsdist 315a624