File xfwm4.spec of Package xfwm4

#
# spec file for package xfwm4 (Version 4.4.3)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           xfwm4
BuildRequires:  xfce-mcs-manager-devel >= 4.3.0
BuildRequires:  dbus-1-devel gtk2-devel update-desktop-files xorg-x11-devel
BuildRequires:  intltool startup-notification startup-notification-devel
Summary:        Next generation window manager for Xfce
Version:        4.4.3
Release:        2
License:        GPL v2 or later
Url:            http://www.xfce.org/
Source0:        %{name}-%{version}.tar.bz2
Group:          System/GUI/XFCE
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Provides:       windowmanager
Requires:       xfce-mcs-manager >= 4.3.0

%description
xfwm4 is a window manager compatible with GNOME, GNOME2, KDE2, KDE3 and
Xfce.



Authors:
--------
    Olivier Fourdan <fourdan@xfce.org>

%prep
%setup -q

%build
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure \
    --enable-compositor
make %{?jobs:-j%jobs}

%install
make DESTDIR=$RPM_BUILD_ROOT install
%find_lang %{name}
%suse_update_desktop_file -i xfce-wmtweaks-settings X-XFCE Settings DesktopSettings
%suse_update_desktop_file -i xfce-wm-settings X-XFCE Settings DesktopSettings
%suse_update_desktop_file -i xfce-workspaces-settings X-XFCE Settings DesktopSettings

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %name.lang
%defattr(-,root,root)
%doc example.gtkrc-2.0 README COPYING AUTHORS COMPOSITOR ChangeLog INSTALL TODO
%{_bindir}/*
%{_libdir}/xfce4
%{_datadir}/applications/*
%{_datadir}/icons/*
%{_datadir}/themes/*
%{_datadir}/xf*

%changelog
* Tue Nov 18 2008 pnemec@suse.cz
- call update_desktop_file macro on desktop files [bnc#445722]
* Wed Oct 29 2008 bwalle@suse.de
- update to 4.4.3
  o Fix automaximize on move
  o Remove trailing \0 in UTF-8 strings, that causes libwnck to
  rightfully complain that NET_WM_NAME contains invalid UTF-8
  o Exit on SelectionClear event so that xfwm4 exits even with WM
  who do not send a ClientMessage event such as Openbox
  o Backport overlay and compositor support from trunk
  o Filter out grab/ungrab events so we don't end up redrawing the
  frame twice
  o Set monitor when positionning menu
  o Reduce flickering during resize
  o Fix NET_WM_STATE claiming maximization vertical and horizontal
  even if only horizontal of vertical is actually set
  o Loosen the rule that prevents an application from iconifying
  itself when skip_taskbar is set
  o Rework visual depth selection of the frame window
  o Add support for NET_MOVERESIZE_WINDOW
  o Take gravity bit into account in configure resize only requests
  to comply with standard
  o Add client windows to save set to avoid loosing all windows in
  case of crash
  o Use guint32 instead of Time internally to avoid potential
  issues in 64bits
  o Add a "--replace" command line option to replace ICCCM2
  compliant window managers
* Tue Dec 04 2007 prusnak@suse.cz
- use %%find_lang macro
* Mon Dec 03 2007 bwalle@suse.de
- update to 4.4.2
  o Be more relax with transients, allow transients to be sticky
  independently of their parent window
  o Fix xfwm4 hanging with gtk+-2.11.x
  o Plug a leak in mouse button grab when changing theme.
  o Fix dialogs and modals without parents not being automatically
  centered like before
  o Fix modifier mask not working with all keymaps
  o Fix wrong count of key shortcuts causing switch to last workspace
  on modifier key press if no window is focused
  o Fix spec file missing from the tar ball causing 'make dist' to
  fail.
  o Fix strict bound checking causing wrong window to be focused in
  focus follow mouse
  o Transients for group shouldn't apply to other transients, or it
  breaks stacking for some apps, noticeably mozilla "save as"
  dialog...
  o Fix typo breaking compilation on systems without XShape 1.1
  support.
* Mon Aug 13 2007 bwalle@suse.de
- fix possible hangs with Gtk 2.11 (Xfce Bug #3346)
* Sat Jun 23 2007 bwalle@suse.de
- replaced group 'System/GUI/Other' by 'System/GUI/Xfce'
* Wed May 30 2007 bwalle@suse.de
- disable KDE systray support, it's broken for applications that
  want to hide their application icon like the volume unmounter
* Wed Apr 18 2007 prusnak@suse.cz
- removed invalid line from spec file
* Wed Apr 11 2007 prusnak@suse.cz
- fixed compilation on older Xorg/XFree86 (fix-typo.patch)
* Tue Apr 10 2007 bwalle@suse.de
- update to 4.4.1
  o Add support for shape input with XShape extension 1.1.
  o Make the title button in the xfwm4 settings manager dragable.
  o Fix a misinterpretation of ICCCM about when to send a synthetic
  configureNotify event.
  o Add new hidden option to instruct xfwm4 not to bring window
  back on current workspace when activated.
  o Place splash screen windows on the normal layer, so that
  dialogs that get mapped during startup have a chance to be
  placed above the splash screen.
  o Raise focused window on workspace switch.
  o Sort Z-order on workspace change.
  o Fix the small lag before icon update at first map and when
  updating all frames at once.
  o Use timeout for frame redraw, check actual WM name changes to
  work around apps that falsely update their WM name property.
  o Updated translations: Hungaria, Catalan, Italian, Polish,
  German, Japanese, Turkish, Ukrainian, Dutch, Chinese
  (simplified) and French.
  o New translations: Albanian (Besnik Bleta), English
  (Jeff Bailes).
* Sun Feb 25 2007 bwalle@suse.de
- removed KDE systray support (deprecated)
* Mon Jan 29 2007 pnemec@suse.cz
- removed providing %%name from packages #236139
* Sun Jan 21 2007 bwalle@suse.de
- upgraded to 4.4.0
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Sat Jan 21 2006 cthiel@suse.de
- update to 4.2.3.2
* Mon Aug 01 2005 cthiel@suse.de
- fixed Requires
* Wed May 18 2005 cthiel@suse.de
- update to 4.2.2
- dropped xfwm4-gcc4.diff
* Tue Apr 19 2005 cthiel@suse.de
- update to 4.2.1
- enabled compositor
- added xfwm4-gcc4.diff
* Thu Feb 10 2005 adrian@suse.de
- install session desktop file
* Thu Nov 04 2004 mmj@suse.de
- locale rename: no -> nb
* Wed May 19 2004 ltinkl@suse.cz
- fix packaging the docu as well
* Mon May 17 2004 ltinkl@suse.cz
- initial version
openSUSE Build Service is sponsored by