File xfce4-desktop.spec of Package xfce4-desktop
#
# spec file for package xfce4-desktop (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: xfce4-desktop
BuildRequires: gtk2-devel startup-notification update-desktop-files
BuildRequires: xfce4-session-devel >= 4.3
BuildRequires: xfce-mcs-manager-devel >= 4.3
BuildRequires: xfce4-panel-devel >= 4.4.1
BuildRequires: thunar-devel
Summary: Desktop manager for the Xfce Desktop Environment
Version: 4.4.3
Release: 2
License: GPL v2 or later
Url: http://www.xfce.org/
Source0: xfdesktop-%{version}.tar.bz2
Source1: xfce-utils-%{version}.tar.bz2
Patch0: xfce-utils-cpp.patch
Patch1: xfdesktop-eject.patch
Patch2: xfdesktop-backdrops.patch
Patch3: xfdesktop-no-yast-desktop-files.patch
Patch4: xfdesktop-compiler-warning.diff
Group: System/GUI/XFCE
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: gtk2
Requires: xfce4-session >= 4.3
Requires: xfce4-panel >= 4.3
Requires: cpp
Requires: %{name}-branding >= 4.4
%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(branding-upstream:%{name})
#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
%patch1
%patch2
%patch3
%patch4 -p1
cd ../xfce-utils-%{version}
%patch0
%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
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
popd
%find_lang xfdesktop
%find_lang xfce-utils xfdesktop.lang
%suse_update_desktop_file -i xfce-backdrop-settings X-XFCE Settings DesktopSettings
%suse_update_desktop_file -i xfce-menueditor X-XFCE Application Settings DesktopSettings
# those are not real desktop files
#suse_update_desktop_file -i xfce4-menu X-XFCE
#suse_update_desktop_file -i xfce X-XFCE
%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/panel-plugins/xfce4-menu-plugin
%{_mandir}/man1/*
%dir %{_sysconfdir}/xdg/xfce4
%{_sysconfdir}/xdg/xfce4/Xft.xrdb
%{_sysconfdir}/xdg/xfce4/xinitrc
%dir %{_sysconfdir}/xdg/xfce4/desktop
%{_sysconfdir}/xdg/xfce4/desktop/xfce-registered-categories.xml*
%files -n %{name}-branding-upstream
%defattr(-,root,root)
%dir %{_datadir}/wallpapers
%{_datadir}/wallpapers/*
%{_sysconfdir}/xdg/xfce4/desktop/menu.xml*
%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 xfdesktop 4.4.3
o Make menu panel plugin honor CustomizeDesktopMenu kiosk setting
o Fix incorrect initial desktop font size when setting custom
font size if a custom font was never set before
- update to xfce-utils 4.4.3
o Fix missing translated chars
- drop xfdesktop-relocation-and-memleak.patch: mainline
* Mon Oct 13 2008 bwalle@suse.de
- Use the right patchlevel.
* Wed Oct 08 2008 bwalle@suse.de
- Fix compiler warning (bnc#433391).
* Mon Oct 06 2008 sbrabec@suse.cz
- Conflict with other branding providers (FATE#304881).
* Fri Aug 01 2008 prusnak@suse.cz
- fixed relocation and memleak (relocation-and-memleak.patch)
- do not show YaST modules in Xfce menu - workaround for [bnc#393955]
(no-yast-desktop-files.patch)
* Mon Jul 28 2008 prusnak@suse.cz
- moved /etc/xdg/xfce4/desktop/menu.xml.* to branding subpackage
* Tue Apr 29 2008 prusnak@suse.cz
- moved backdrops to %%{_datadir}/wallpapers
- split upstream backdrops to xfce4-desktop-branding-upstream
* Sun Mar 16 2008 crrodriguez@suse.de
- fix file-not-in-lang rpmlint warnings
* Wed Dec 12 2007 prusnak@suse.cz
- correct eject function (xfdesktop-eject.patch)
* Mon Dec 03 2007 bwalle@suse.de
- update to xfdesktop 4.4.2
o Fixed the Italian xfdesktop menu causing a crash.
o Fix missing xfce_rc_close() causing memleak and too many open
file descriptors
o Always use button 0 in gtk_menu_popup() as GTK+ 2.11+ expects
the same button to be pressed or it doesn't activate the entry
o Fix menu sometimes not popping up when using the keyboard
shortcut, again. Timeout waiting for grab is now 0.25s
o Fix desktop settings only getting applied to the first screen in
non-Xinerama dualhead setups
o Fix spurious drag when double-clicking a volume icon that fails
to mount
o Clean out stale entries in icon position file
o Some minor memory leak fixes (some still remain, likely).
o Fix --disable-menu-editor configure option.
- update to xfce-utils 4.4.2
o Put back a default DPI value for Xorg
o Use gnome-screensaver if xscreensaver is not available
o Fix typo on XDG_DATA_DIRS path definition
o Updated credits in the about dialog.
o Updated and new translations
* Mon Aug 13 2007 bwalle@suse.de
- fixed problem that menu doesn't start applications from desktop
with gtk+-2.11.x (Xfce Bug #3359)
* Sat Jun 23 2007 bwalle@suse.de
- replaced group 'System/GUI/Other' by 'System/GUI/Xfce'
* Fri Jun 08 2007 bwalle@suse.de
- remove /usr/share/apps/switchdesk/Xclients.xfce4
* Tue May 22 2007 prusnak@suse.cz
- sync with BuildService
* Tue Apr 10 2007 bwalle@suse.de
- update to 4.4.1
o Fix entries in the menu.xml files that should not have been
translated.
o Remove use of __FUNCTION__ as it breaks sun's compiler.
o Blurry rendering of unscaled backgrounds.
o Unescape %% characters in the uri.
o Many translation updates.
* Mon Mar 05 2007 pnemec@suse.cz
- remove /usr/share/xsessions from file section [#229172]
* Thu Feb 01 2007 prusnak@suse.cz
- removed duplicate copyright header from spec file [#238045]
- removed sessions for display managers in /etc
(SUSE uses only /usr/share/xsessions)
* Sun Jan 21 2007 bwalle@suse.de
- upgraded to 4.4.0
* Mon Mar 27 2006 pnemec@suse.cz
- added patch to autogenerate menu, temporary for 4.2.3 (#159376)
* Tue Feb 14 2006 pnemec@suse.cz
- change Mozilla to MozillaFirefox in panel
* Wed Feb 08 2006 pnemec@suse.cz
- added xfce4-session and xfwm to requires
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Jan 19 2006 pnemec@suse.cz
- fixed mistyped spec file
* Mon Jan 16 2006 pnemec@suse.cz
- update to 4.2.3
* Tue Nov 15 2005 pnemec@suse.cz
- added xfce4-panel-devel to need for build
* Thu Sep 08 2005 cthiel@suse.de
- unset SESSION_MANAGER before starting $xfcesm (#115360)
* Mon Aug 01 2005 cthiel@suse.de
- fixed Requires
* Wed May 18 2005 cthiel@suse.de
- update to 4.2.2
* Thu May 05 2005 cthiel@suse.de
- really activate default background patch
* Mon Apr 11 2005 cthiel@suse.de
- update to 4.2.1
- changed default background
* Thu Nov 04 2004 mmj@suse.de
- locale rename: no -> nb
* Mon May 17 2004 ltinkl@suse.cz
- initial version