File xfwm4.spec of Package xfwm4

#
# spec file for package xfwm4 (Version 4.7.1)
#
# Copyright (c) 2010 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/
#



Name:           xfwm4
Version:        4.7.3
Release:        1
License:        GPLv2+
Summary:        Next generation window manager for Xfce
Url:            http://www.xfce.org/
Group:          System/GUI/XFCE
Source0:        %{name}-%{version}.tar.bz2
BuildRequires:  fdupes
BuildRequires:  intltool
BuildRequires:  pkgconfig(gtk+-2.0)
BuildRequires:  pkgconfig(libglade-2.0)
BuildRequires:  pkgconfig(libstartup-notification-1.0)
BuildRequires:  pkgconfig(libwnck-1.0)
BuildRequires:  pkgconfig(libxfce4ui-1)
BuildRequires:  pkgconfig(libxfce4util-1.0)
BuildRequires:  pkgconfig(libxfcegui4-1.0)
BuildRequires:  pkgconfig(libxfconf-0)
BuildRequires:  update-desktop-files
Suggests:       xfwm4-themes
Provides:       windowmanager
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

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

%prep
%setup -q

%build
export CFLAGS="%{optflags} -fno-strict-aliasing"
%configure \
    --enable-compositor
make %{?_smp_mflags}

%install
%make_install
%suse_update_desktop_file xfce-wm-settings
%suse_update_desktop_file xfce-wmtweaks-settings
%suse_update_desktop_file xfce-workspaces-settings
%find_lang %{name}
%fdupes %{buildroot}%{_datadir}

%clean
rm -rf %{buildroot}

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

%changelog
openSUSE Build Service is sponsored by