File xfce4-desktop.spec of Package xfce4-desktop
#
# spec file for package xfce4-desktop (Version 4.6.1)
#
# Copyright (c) 2009 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: xfce4-desktop
Summary: Desktop manager for the Xfce Desktop Environment
Version: 4.6.1
Release: 2
License: GPL v2 or later
Url: http://www.xfce.org/
Source0: xfdesktop-%{version}.tar.bz2
Source1: xfce-utils-%{version}.tar.bz2
Patch0: xfdesktop-backdrops.patch
Patch1: xfce-utils-cpp.patch
Group: System/GUI/XFCE
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: dbus-1-glib-devel exo-devel gtk2-devel libglade2-devel libwnck-devel libxfce4menu-devel libxfconf-devel thunar-devel xfce4-panel-devel xfce4-session-devel
BuildRequires: intltool perl-XML-Parser startup-notification update-desktop-files
Requires: gtk2 xfce4-session xfce4-panel cpp
Requires: %{name}-branding >= %{version}
%description
xfce4-desktop contains a desktop manager for the XFce Desktop
Environment
Authors:
--------
Jasper Huijsmans <huysmans@users.sourceforge.net>
Olivier Fourdan <fourdan@xfce.org>
Benedikt Meurer <benedikt.meurer@unix-ag.uni-siegen.de>
Xavier MAILLARD <zedek@fxgsproject.org>
%package branding-upstream
License: GPL v2 or later
Summary: Desktop manager for the Xfce Desktop Environment
Group: System/GUI/XFCE
Provides: %{name}-branding = %{version}
Conflicts: otherproviders(%{name}-branding)
Supplements: packageand(%{name}:branding-upstream)
#BRAND: ...
%description branding-upstream
xfce4-desktop contains a desktop manager for the XFce Desktop
Environment
Authors:
--------
Jasper Huijsmans <huysmans@users.sourceforge.net>
Olivier Fourdan <fourdan@xfce.org>
Benedikt Meurer <benedikt.meurer@unix-ag.uni-siegen.de>
Xavier MAILLARD <zedek@fxgsproject.org>
%prep
%setup -q -n xfdesktop-%{version} -b1
%patch0
cd ../xfce-utils-%{version}
%patch1
%build
%configure \
--disable-static \
--with-pic
make %{?jobs:-j%jobs}
cd ../xfce-utils-%{version}
%configure \
--enable-gdm \
--with-gdm-prefix=%{_sysconfdir} \
--disable-static \
--with-pic
make %{?jobs:-j%jobs}
%install
make DESTDIR=$RPM_BUILD_ROOT install
pushd ../xfce-utils-%{version}
make DESTDIR=$RPM_BUILD_ROOT install
popd
%find_lang xfdesktop
%find_lang xfce-utils xfdesktop.lang
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/dm
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/gdm
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/wmsession.d
rm -rf $RPM_BUILD_ROOT%{_datadir}/apps/switchdesk
rm -f $RPM_BUILD_ROOT%{_libdir}/xfce4/modules/*.la
%clean
rm -rf $RPM_BUILD_ROOT
%files -f xfdesktop.lang
%defattr(-,root,root)
%doc COPYING AUTHORS ChangeLog TODO NEWS
%{_bindir}/*
%{_datadir}/xfce4/
%{_datadir}/xsessions/xfce.desktop
#%dir %{_datadir}/xfce4-menueditor
#%{_datadir}/xfce4-menueditor/xfce4-menueditor.ui
%{_datadir}/applications/*
%{_datadir}/icons/*
%{_datadir}/pixmaps/*
%{_datadir}/dbus-1/services/org.xfce.RunDialog.service
%{_libdir}/xfce4
%{_libexecdir}/xfce4
%{_libexecdir}/xfce4/xfconf-migration/
%{_libexecdir}/xfce4/xfconf-migration/xfconf-migration-4.6.pl
%{_libexecdir}/xfce4/panel-plugins/xfce4-menu-plugin
%{_mandir}/man1/*
%dir %{_sysconfdir}/xdg/xfce4
%dir %{_sysconfdir}/xdg/menus
%dir %{_datadir}/desktop-directories
%{_sysconfdir}/xdg/xfce4/xinitrc
%{_sysconfdir}/xdg/autostart/*.desktop
%{_datadir}/desktop-directories/*.directory
%files branding-upstream
%defattr(-,root,root)
%dir %{_datadir}/wallpapers
%{_datadir}/wallpapers/*
%{_sysconfdir}/xdg/menus/xfce-applications.menu
%{_sysconfdir}/xdg/xfce4/Xft.xrdb
%changelog