2007-01-15 23:42:22 +00:00
#
2011-01-14 16:34:40 +00:00
# spec file for package xfce4-session
2010-12-08 13:30:09 +00:00
#
2011-01-14 16:34:40 +00:00
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
2010-12-08 13:30:09 +00:00
#
# 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.
2007-01-15 23:42:22 +00:00
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
2011-01-14 16:34:40 +00:00
2007-01-15 23:42:22 +00:00
Name : xfce4-session
2011-09-19 13:45:37 +00:00
Version : 4.8.2
2011-07-26 15:03:43 +00:00
Release : 13
2010-02-04 10:33:22 +00:00
License : GPLv2+
2010-12-03 01:57:38 +00:00
Summary : Xfce Session manager
2010-12-27 15:49:14 +00:00
Url : http://www.xfce.org/projects/xfce4-session/
2007-10-22 16:04:56 +00:00
Group : System/GUI/XFCE
2010-12-03 01:57:38 +00:00
Source : %{name} -%{version} .tar.bz2
2011-02-02 19:22:24 +00:00
# PATCH-FEATURE-OPENSUSE xfce4-session-simple-splash-remove-shadows.patch gber@opensuse.org -- Improves readability of the simple splash engine text by removing the text shadows
2011-07-26 07:41:09 +00:00
Patch0 : xfce4-session-simple-splash-remove-shadows.patch
2011-10-13 19:48:16 +00:00
# PATCH-FIX-UPSTREAM xfce4-session-fix-gnome-mode.patch bnc#710038 bxo#8014 gber@opensuse.org -- Removes obsolete GNOME compatibility code, treats GNOME-/KDE-only autostart files as inactive, and allows to enable them through xfce4-session-settings
Patch1 : xfce4-session-fix-gnome-mode.patch
2010-12-03 01:57:38 +00:00
BuildRequires : intltool
BuildRequires : perl-XML-Parser
BuildRequires : pkgconfig(dbus-glib-1)
BuildRequires : pkgconfig(libwnck-1.0)
BuildRequires : pkgconfig(libxfce4ui-1)
BuildRequires : pkgconfig(libxfce4util-1.0)
2011-02-02 19:22:24 +00:00
BuildRequires : pkgconfig(libxfce4panel-1.0)
2010-12-03 01:57:38 +00:00
BuildRequires : pkgconfig(libxfcegui4-1.0)
BuildRequires : pkgconfig(libxfconf-0)
2011-02-02 19:22:24 +00:00
BuildRequires : pkgconfig(gconf-2.0)
BuildRequires : pkgconfig(gnome-keyring-1)
2010-12-03 01:57:38 +00:00
BuildRequires : update-desktop-files
BuildRequires : xorg-x11
2011-02-02 19:22:24 +00:00
BuildRequires : libxslt
BuildRequires : xml2po
BuildRequires : docbook_4
BuildRequires : docbook-xsl-stylesheets
2009-03-08 23:31:39 +00:00
Requires : %{name} -branding >= %{version}
2010-12-05 22:07:23 +00:00
Requires : xfce-utils
2009-03-08 23:31:39 +00:00
Recommends: fortune
2010-12-03 01:57:38 +00:00
BuildRoot : %{_tmppath} /%{name} -%{version} -build
2007-01-15 23:42:22 +00:00
%description
xfce4-session is the session manager for the Xfce desktop environment.
2007-01-24 01:12:08 +00:00
%package devel
2010-02-04 10:33:22 +00:00
License : GPLv2+
2010-12-27 15:49:14 +00:00
Summary : Development files for xfce4-session
Group : Development/Libraries/C and C++
2007-01-24 01:12:08 +00:00
Requires : %{name} = %{version}
2010-12-03 01:57:38 +00:00
Requires : pkgconfig(dbus-glib-1)
Requires : pkgconfig(libwnck-1.0)
Requires : pkgconfig(libxfce4ui-1)
Requires : pkgconfig(libxfce4util-1.0)
Requires : pkgconfig(libxfcegui4-1.0)
Requires : pkgconfig(libxfconf-0)
2007-01-24 01:12:08 +00:00
%description devel
xfce4-session is the session manager for the Xfce desktop environment.
2010-12-27 15:49:14 +00:00
This package contains development files needed to develop custom splash themes.
2009-03-08 23:31:39 +00:00
%package branding-upstream
2011-01-14 16:34:40 +00:00
License : GPLv2+
2011-01-05 18:07:31 +00:00
Summary : Upstream branding of xfce4-session
2010-12-03 01:57:38 +00:00
Supplements: packageand(%{name} :branding-upstream)
2009-03-08 23:31:39 +00:00
Provides : %{name} -branding = %{version}
Conflicts : otherproviders(%{name} -branding)
2010-12-27 16:14:46 +00:00
# BRAND: xfce4-session.xml: Control session parameters such as the tools and
# BRAND: applications started by default or the splash theme.
# BRAND: xfce4-tips-autostart.desktop: Control whether xfce4-tips is started
# BRAND: by default.
2010-02-09 17:50:17 +00:00
BuildArch : noarch
2009-03-08 23:31:39 +00:00
%description branding-upstream
2011-01-05 18:07:31 +00:00
This package provides the upstream look and feel for the Xfce Session Manager.
2010-12-27 15:49:14 +00:00
2007-01-15 23:42:22 +00:00
%prep
%setup -q
2011-07-26 07:41:09 +00:00
%patch0 -p1
2011-10-13 19:48:16 +00:00
%patch1 -p1
2007-01-15 23:42:22 +00:00
%build
2009-03-08 23:31:39 +00:00
%configure \
2010-12-27 15:49:14 +00:00
--docdir=%{_defaultdocdir} /%{name} \
2009-03-08 23:31:39 +00:00
--disable-static \
2011-02-02 19:22:24 +00:00
--enable-session-screenshots \
--enable-gnome \
--enable-libgnome-keyring \
--enable-gen-doc
2010-12-27 18:10:20 +00:00
make %{?_smp_mflags} V=1
2007-01-15 23:42:22 +00:00
%install
2010-12-03 01:57:38 +00:00
%make_install
2010-12-27 15:49:14 +00:00
%suse_update_desktop_file xfce-session-settings
%suse_update_desktop_file xfce4-session-logout
2010-12-27 17:25:21 +00:00
%suse_update_desktop_file xfce4-tips-autostart
2010-12-27 15:49:14 +00:00
install -p -m 644 AUTHORS BUGS COPYING ChangeLog NEWS README TODO \
%{buildroot} /%{_defaultdocdir} /%{name}
rm -rf %{buildroot} %{_datadir} /locale/{ast,kk,tl_PH,ur_PK}
2008-11-06 00:02:35 +00:00
%find_lang %{name}
2010-12-27 15:49:14 +00:00
rm -f %{buildroot} %{_libdir} /*.la %{buildroot} %{_libdir} /xfce4/session/splash-engines/*.la
2007-01-15 23:42:22 +00:00
%clean
2010-12-03 01:57:38 +00:00
rm -rf %{buildroot}
%post
%run_suseconfig -m gtk2
/sbin/ldconfig
2011-02-18 00:22:15 +00:00
%if 0%{?suse_version} >= 1140
%desktop_database_post
%icon_theme_cache_post
%endif
2010-12-03 01:57:38 +00:00
2011-02-18 00:22:15 +00:00
%postun
/sbin/ldconfig
%if 0%{?suse_version} >= 1140
%desktop_database_postun
%icon_theme_cache_postun
%endif
2007-01-15 23:42:22 +00:00
2010-12-05 22:08:09 +00:00
%files -f %{name}.lang
2007-01-15 23:42:22 +00:00
%defattr (-,root,root)
2010-12-27 15:49:14 +00:00
%doc %{_defaultdocdir} /%{name}
2010-12-03 01:57:38 +00:00
%{_bindir} /xfce4-session
%{_bindir} /xfce4-session-logout
%{_bindir} /xfce4-session-settings
%{_bindir} /xfce4-tips
2009-03-08 23:31:39 +00:00
%{_libdir} /xfce4
%{_libdir} /*.so.*
2007-01-24 01:12:08 +00:00
%{_mandir} /*/*
2007-01-15 23:42:22 +00:00
%{_datadir} /themes/*
%{_datadir} /applications/*
%{_datadir} /icons/*/*
2010-12-03 01:57:38 +00:00
%{_datadir} /xfce4/
2007-01-24 01:12:08 +00:00
%files devel
%defattr (-,root,root)
2010-12-03 01:57:38 +00:00
%{_includedir} /xfce4/*/
2009-03-08 23:31:39 +00:00
%{_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
2010-12-27 15:49:14 +00:00
%config %{_sysconfdir} /xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml
%config %{_sysconfdir} /xdg/autostart/xfce4-tips-autostart.desktop
2007-12-03 22:55:31 +00:00
2007-03-03 13:38:26 +00:00
%changelog