2007-01-16 00:42:22 +01:00
#
2011-01-14 17:34:40 +01:00
# spec file for package xfce4-session
2010-12-08 14:30:09 +01:00
#
2011-01-14 17:34:40 +01:00
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
2010-12-08 14:30:09 +01: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-16 00:42:22 +01:00
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
2011-01-14 17:34:40 +01:00
2007-01-16 00:42:22 +01:00
Name : xfce4-session
2011-04-01 21:39:09 +02:00
Version : 4.8.1
2011-05-31 14:46:35 +02:00
Release : 11
2010-02-04 11:33:22 +01:00
License : GPLv2+
2010-12-03 02:57:38 +01:00
Summary : Xfce Session manager
2010-12-27 16:49:14 +01:00
Url : http://www.xfce.org/projects/xfce4-session/
2007-10-22 18:04:56 +02:00
Group : System/GUI/XFCE
2010-12-03 02:57:38 +01:00
Source : %{name} -%{version} .tar.bz2
2011-02-02 20:22:24 +01: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
Patch1 : xfce4-session-simple-splash-remove-shadows.patch
2011-05-17 11:04:41 +02:00
# PATCH-FIX-UPSTREAM xfce4-session-4.8.1-fix-gdm_lang-usage.patch bnc#694203 bxo#7400 gber@opensuse.org -- Fixes GDM_LANG usage to be compatible with GDM3 (backported from upstream git)
2011-05-31 14:46:35 +02:00
Patch2 : xfce4-session-4.8.1-fix-gdm_lang-usage.patch
2010-12-03 02:57:38 +01: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 20:22:24 +01:00
BuildRequires : pkgconfig(libxfce4panel-1.0)
2010-12-03 02:57:38 +01:00
BuildRequires : pkgconfig(libxfcegui4-1.0)
BuildRequires : pkgconfig(libxfconf-0)
2011-02-02 20:22:24 +01:00
BuildRequires : pkgconfig(gconf-2.0)
BuildRequires : pkgconfig(gnome-keyring-1)
2010-12-03 02:57:38 +01:00
BuildRequires : update-desktop-files
BuildRequires : xorg-x11
2011-02-02 20:22:24 +01:00
BuildRequires : libxslt
BuildRequires : xml2po
BuildRequires : docbook_4
BuildRequires : docbook-xsl-stylesheets
2009-03-09 00:31:39 +01:00
Requires : %{name} -branding >= %{version}
2010-12-05 23:07:23 +01:00
Requires : xfce-utils
2009-03-09 00:31:39 +01:00
Recommends: fortune
2010-12-03 02:57:38 +01:00
BuildRoot : %{_tmppath} /%{name} -%{version} -build
2007-01-16 00:42:22 +01:00
%description
xfce4-session is the session manager for the Xfce desktop environment.
2007-01-24 02:12:08 +01:00
%package devel
2010-02-04 11:33:22 +01:00
License : GPLv2+
2010-12-27 16:49:14 +01:00
Summary : Development files for xfce4-session
Group : Development/Libraries/C and C++
2007-01-24 02:12:08 +01:00
Requires : %{name} = %{version}
2010-12-03 02:57:38 +01: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 02:12:08 +01:00
%description devel
xfce4-session is the session manager for the Xfce desktop environment.
2010-12-27 16:49:14 +01:00
This package contains development files needed to develop custom splash themes.
2009-03-09 00:31:39 +01:00
%package branding-upstream
2011-01-14 17:34:40 +01:00
License : GPLv2+
2011-01-05 19:07:31 +01:00
Summary : Upstream branding of xfce4-session
2010-12-03 02:57:38 +01:00
Supplements: packageand(%{name} :branding-upstream)
2009-03-09 00:31:39 +01:00
Provides : %{name} -branding = %{version}
Conflicts : otherproviders(%{name} -branding)
2010-12-27 17:14:46 +01: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 18:50:17 +01:00
BuildArch : noarch
2009-03-09 00:31:39 +01:00
%description branding-upstream
2011-01-05 19:07:31 +01:00
This package provides the upstream look and feel for the Xfce Session Manager.
2010-12-27 16:49:14 +01:00
2007-01-16 00:42:22 +01:00
%prep
%setup -q
2011-02-02 20:22:24 +01:00
%patch1 -p1
2011-05-17 11:04:41 +02:00
%patch2 -p1
2007-01-16 00:42:22 +01:00
%build
2009-03-09 00:31:39 +01:00
%configure \
2010-12-27 16:49:14 +01:00
--docdir=%{_defaultdocdir} /%{name} \
2009-03-09 00:31:39 +01:00
--disable-static \
2011-02-02 20:22:24 +01:00
--enable-session-screenshots \
--enable-gnome \
--enable-libgnome-keyring \
--enable-gen-doc
2010-12-27 19:10:20 +01:00
make %{?_smp_mflags} V=1
2007-01-16 00:42:22 +01:00
%install
2010-12-03 02:57:38 +01:00
%make_install
2010-12-27 16:49:14 +01:00
%suse_update_desktop_file xfce-session-settings
%suse_update_desktop_file xfce4-session-logout
2010-12-27 18:25:21 +01:00
%suse_update_desktop_file xfce4-tips-autostart
2010-12-27 16:49:14 +01: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 01:02:35 +01:00
%find_lang %{name}
2010-12-27 16:49:14 +01:00
rm -f %{buildroot} %{_libdir} /*.la %{buildroot} %{_libdir} /xfce4/session/splash-engines/*.la
2007-01-16 00:42:22 +01:00
%clean
2010-12-03 02:57:38 +01:00
rm -rf %{buildroot}
%post
%run_suseconfig -m gtk2
/sbin/ldconfig
2011-02-18 01:22:15 +01:00
%if 0%{?suse_version} >= 1140
%desktop_database_post
%icon_theme_cache_post
%endif
2010-12-03 02:57:38 +01:00
2011-02-18 01:22:15 +01:00
%postun
/sbin/ldconfig
%if 0%{?suse_version} >= 1140
%desktop_database_postun
%icon_theme_cache_postun
%endif
2007-01-16 00:42:22 +01:00
2010-12-05 23:08:09 +01:00
%files -f %{name}.lang
2007-01-16 00:42:22 +01:00
%defattr (-,root,root)
2010-12-27 16:49:14 +01:00
%doc %{_defaultdocdir} /%{name}
2010-12-03 02:57:38 +01:00
%{_bindir} /xfce4-session
%{_bindir} /xfce4-session-logout
%{_bindir} /xfce4-session-settings
%{_bindir} /xfce4-tips
2009-03-09 00:31:39 +01:00
%{_libdir} /xfce4
%{_libdir} /*.so.*
2007-01-24 02:12:08 +01:00
%{_mandir} /*/*
2007-01-16 00:42:22 +01:00
%{_datadir} /themes/*
%{_datadir} /applications/*
%{_datadir} /icons/*/*
2010-12-03 02:57:38 +01:00
%{_datadir} /xfce4/
2007-01-24 02:12:08 +01:00
%files devel
%defattr (-,root,root)
2010-12-03 02:57:38 +01:00
%{_includedir} /xfce4/*/
2009-03-09 00:31:39 +01: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 16:49:14 +01:00
%config %{_sysconfdir} /xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml
%config %{_sysconfdir} /xdg/autostart/xfce4-tips-autostart.desktop
2007-12-03 23:55:31 +01:00
2007-03-03 14:38:26 +01:00
%changelog