# # spec file for package xfce4-session (Version 4.6.2) # # 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/ # # norootforbuild Name: xfce4-session Summary: Xfce Session manager Version: 4.6.2 Release: 1 License: GPLv2+ Url: http://www.xfce.org/ Source: %{name}-%{version}.tar.bz2 Patch0: %{name}-tips-no-fortune.patch Group: System/GUI/XFCE BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: libwnck-devel libxfce4util-devel libxfcegui4-devel BuildRequires: dbus-1-glib-devel libxfconf-devel BuildRequires: intltool perl-XML-Parser update-desktop-files xorg-x11 Requires: %{name}-branding >= %{version} Recommends: fortune %description xfce4-session is the session manager for the Xfce desktop environment. Authors: -------- Benedikt Meurer Oliver M. Bolzer Francois Le Clainche Maarten Boekhold Brian Tarricone %package devel License: GPLv2+ Summary: Xfce Session manager Group: System/GUI/XFCE Requires: %{name} = %{version} Requires: libxfce4util-devel libxfcegui4-devel libwnck-devel Requires: dbus-1-glib-devel libxfconf-devel %description devel xfce4-session is the session manager for the Xfce desktop environment. Authors: -------- Benedikt Meurer Oliver M. Bolzer Francois Le Clainche Maarten Boekhold Brian Tarricone %package branding-upstream License: GPLv2+ Summary: Xfce Session manager Group: System/GUI/XFCE Provides: %{name}-branding = %{version} Conflicts: otherproviders(%{name}-branding) Supplements: packageand(%{name}:branding-upstream) %if 0%{?suse_version} >= 1120 BuildArch: noarch %endif %description branding-upstream xfce4-session is the session manager for the Xfce desktop environment. Authors: -------- Benedikt Meurer Oliver M. Bolzer Francois Le Clainche Maarten Boekhold Brian Tarricone %prep %setup -q %patch0 %build %configure \ --disable-static \ --enable-session-screenshots make %{?jobs:-j%jobs} %install make DESTDIR=$RPM_BUILD_ROOT install %find_lang %{name} rm -f $RPM_BUILD_ROOT%{_libdir}/*.la $RPM_BUILD_ROOT%{_libdir}/xfce4/splash/engines/*.la %clean rm -rf $RPM_BUILD_ROOT %files -f %name.lang %defattr(-,root,root) %doc AUTHORS BUGS COPYING ChangeLog ChangeLog.pre-xfce-devel NEWS README TODO %{_bindir}/* %{_libdir}/xfce4 %{_libdir}/*.so.* %{_mandir}/*/* %{_datadir}/themes/* %{_datadir}/applications/* %{_datadir}/icons/*/* %dir %{_datadir}/xfce4 %{_datadir}/xfce4/* %{_libexecdir}/balou-export-theme %{_libexecdir}/balou-install-theme %{_libexecdir}/xfsm-shutdown-helper %{_sysconfdir}/xdg/autostart/xfce4-tips-autostart.desktop %postun -p /sbin/ldconfig %post %run_suseconfig -m gtk2 /sbin/ldconfig %files devel %defattr(-,root,root) %dir %{_includedir}/xfce4/* %{_includedir}/xfce4/*/* %{_libdir}/pkgconfig/* %{_libdir}/*.so %files branding-upstream %defattr(-,root,root) %dir %{_sysconfdir}/xdg/xfce4 %dir %{_sysconfdir}/xdg/xfce4/xfconf %dir %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml %changelog