LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File fast-user-switch-applet.spec of Package fast-user-switch-applet (Project home:vuntz:Attic_11.1)

#
# spec file for package fast-user-switch-applet (Version 2.22.0)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           fast-user-switch-applet
BuildRequires:  fdupes gdm gnome-common gnome-doc-utils-devel gnome-panel-devel gtk-doc intltool libgcrypt-devel perl-XML-Parser pwdutils scrollkeeper update-desktop-files
License:        GPL v2 or later
Group:          System/GUI/GNOME
Version:        2.22.0
Release:        60
Summary:        Fast User-Switching Applet
Url:            http://ignore-your.tv/fusa/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source:         http://ignore-your.tv/fusa/%{name}-%{version}.tar.bz2
# PATCH-FIX-OPENSUSE fast-user-switch-applet-icon-crash.patch -- not clear what does this fix?
Patch1:         fast-user-switch-applet-icon-crash.patch
Requires:       gdm
AutoReqProv:    on
%if %suse_version > 1020
Requires:       %{name}-lang = %{version}
%endif
%gconf_schemas_prereq

%description
The Fast User-Switching Applet is an applet for the GNOME panel that
provides a menu to switch between users. It integrates with GDM to
switch between existing X11 sessions or create new ones as needed and
shows the same users as the GDM face browser.



Authors:
--------
    James M. Cape

%lang_package
%prep
%setup -q
%patch1 -p1

%build
autoreconf -f -i
# needed for fast-user-switch-applet-2.15.2:
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure\
	--libexecdir=%{_prefix}/lib/gnome-panel\
	--disable-schemas-install\
	--disable-scrollkeeper\
	--with-users-admin="%{_bindir}/gnomesu -- /sbin/yast2 users"\
	--with-gdm-config=%{_sysconfdir}/gdm/custom.conf\
	--with-gdm-setup="%{_bindir}/gnomesu -- %{_sbindir}/gdmsetup"
make %{?jobs:-j%jobs}

%install
make install DESTDIR=$RPM_BUILD_ROOT
%find_lang %{name}
%find_gconf_schemas
cat %{name}.schemas_list >%{name}.lst
%if %suse_version > 1020
%fdupes -s $RPM_BUILD_ROOT
%endif

%clean
rm -rf $RPM_BUILD_ROOT

%pre -f %{name}.schemas_pre
%posttrans -f %{name}.schemas_posttrans

%preun -f %{name}.schemas_preun

%files -f %{name}.lst
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_datadir}/fast-user-switch-applet
%{_datadir}/gnome-2.0/ui/*.xml
%{_datadir}/omf/fast-user-switch-applet
%{_libdir}/bonobo/servers/*.server
%{_prefix}/lib/gnome-panel/*

%files lang -f %{name}.lang

%changelog
* Fri Jul 18 2008 rodrigo@suse.de
- Tag patch correctly
* Mon May 05 2008 vuntz@suse.de
- Change --with-gdm-setup configure flag to use gnomesu.
  Fix bnc#309175
* Mon Mar 10 2008 rodrigo@suse.de
- Update to version 2.22.0:
  * Updated translations
- Removed unneeded patch
* Fri Feb 01 2008 maw@suse.de
- Update to version 2.21.0:
  + Show correct name in the about dialogue
  + Fix the infamous socket-finding bug
  + Add info for bug-buddy
  + Remove inappropriate line from help
  + Session persistence under dbus
  + Updated translations.
* Wed Sep 19 2007 sbrabec@suse.cz
- Updated to version 2.20.0:
  * add information to support bug-buddy
  * enable session persistence under D-BUS
  * remove erroneous line from help
  * updated translations
* Thu Aug 09 2007 maw@suse.de
- Fix up the -lang subpackage.
* Wed Aug 08 2007 mauro@suse.de
- Split out a -lang subpackage
- Add %%fdupes stuff
* Tue Jul 24 2007 jpr@suse.de
- Fix bug causing crashing when starting with newer gdm (BGO #408309)
* Thu Apr 12 2007 maw@suse.de
- Update to version 2.18.0
  * Moving through the user list with arrow keys goes in the
  correct direction. (#343907) (Thomas)
  * Refresh user list on creation of /etc/passwd as well as update.
  (#356368) (Thomas)
  * Rewrote GDM communication core to be nonblocking. (Thomas)
  * Read GDM configuration from GDM, not from its configuration
  file. (Thomas)
  * Look for gdm socket in two places.
  * Use off-the-shelf about box.
  * Only query GDM on display of menu.
- Many new translations.
* Fri Mar 30 2007 aj@suse.de
- Add pwdutils to Buildrequires.
* Thu Jan 04 2007 sbrabec@suse.cz
- Prefix changed to /usr.
- Spec file cleanup.
* Fri Nov 17 2006 rodrigo@suse.de
- Pass correct gdm config file to autogen/configure (#221383)
* Fri Oct 13 2006 jhargadon@suse.de
- added gnome-doc-utils-devel in BuildRequires.
* Thu Aug 03 2006 jhargadon@suse.de
  * Fix configure error on FreeBSD.
  * The "Personal Information" context menu icon is now properly sized.
  * Added translations
  * Fixed memory leak.
  * Use checkmark to show logged in status, kill indicator image.
  * Move indicator overlay to a separate image to the right of the name.
  * Fix pictures with an extension stored in the global face directory.
  * Rotate text on vertical panels.
  * Prefer gnome-screensaver to xscreensasver.
  * Use gnome-about-me instead of gdmphotosetup.
  * Use the same icons for the "settings" menu items as their corresponding
  main-menu entries.
  * Use gnome-doc-utils.
  * Fix crash-on-remove bug.
* Tue Jan 31 2006 aj@suse.de
- Remove unneeded BuildRequires.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Aug 19 2005 jpr@suse.de
- Patch for crash fixed only in cvs upstream
* Mon Aug 08 2005 rodrigo@suse.de
- Don't depend on GNOME 1.4 bonobo/libglade.
* Sun Jul 31 2005 jpr@suse.de
- mDNSResponder is neeedforbuild
* Sat Jul 30 2005 hpj@suse.de
- Initial version.