File xfce4-session.spec of Package xfce4-session

#
# spec file for package xfce4-session (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-session
Summary:        Xfce Session manager
Version:        4.6.1
Release:        1
License:        GPL v2 or later
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 hal-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 <benny@xfce.org>
    Oliver M. Bolzer <oliver@debian.org>
    Francois Le Clainche <fleclainche@wanadoo.fr>
    Maarten Boekhold <boekhold@emirates.net.ae>
    Brian Tarricone <kelnos@xfce.org>

%package        devel
License:        GPL v2 or later
Summary:        Xfce Session manager
Group:          System/GUI/XFCE
Requires:       %{name} = %{version}
Requires:       libxfce4util-devel libxfcegui4-devel libwnck-devel
Requires:       dbus-1-glib-devel hal-devel libxfconf-devel

%description devel
xfce4-session is the session manager for the Xfce desktop environment.



Authors:
--------
    Benedikt Meurer <benny@xfce.org>
    Oliver M. Bolzer <oliver@debian.org>
    Francois Le Clainche <fleclainche@wanadoo.fr>
    Maarten Boekhold <boekhold@emirates.net.ae>
    Brian Tarricone <kelnos@xfce.org>

%package branding-upstream
License:        GPL v2 or later
Summary:        Xfce Session manager
Group:          System/GUI/XFCE
Provides:       %{name}-branding = %{version}
Conflicts:      otherproviders(%{name}-branding)
Supplements:    packageand(%{name}:branding-upstream)

%description branding-upstream
xfce4-session is the session manager for the Xfce desktop environment.



Authors:
--------
    Benedikt Meurer <benny@xfce.org>
    Oliver M. Bolzer <oliver@debian.org>
    Francois Le Clainche <fleclainche@wanadoo.fr>
    Maarten Boekhold <boekhold@emirates.net.ae>
    Brian Tarricone <kelnos@xfce.org>

%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
* Mon Apr 27 2009 prusnak@suse.cz
- updated to 4.6.1
  * Fix crash in settings dialog when a .desktop file with a missing
  Application key is opened (bug 5020).
  * Ensure networked session handling over TCP is disabled by
  default (bug 5126).
* Mon Mar 02 2009 prusnak@suse.cz
- xfce4-tips prints tips without calling fortune (tips-no-fortune.patch)
* Wed Jan 28 2009 crrodriguez@suse.de
- remove static libraries and "la" files
* Tue Nov 18 2008 pnemec@suse.cz
- call update_desktop_file macro on desktop files [bnc#445722]
* Fri Nov 14 2008 prusnak@suse.cz
- updated suspend_hibernate.patch and renamed to logout-dialog
  * adds switch user button, only works with gdm
- fixed crash in autostart-editor (autostart-editor-crash.patch)
* Wed Oct 29 2008 bwalle@suse.de
- update to 4.4.3
  * translation polish
  * added icons
* Thu Aug 21 2008 prusnak@suse.cz
- added patch for parallel start (faster-start.patch)
* Tue Dec 04 2007 prusnak@suse.cz
- use %%find_lang macro
* Mon Dec 03 2007 bwalle@suse.de
- update to 4.4.2
  o Updated and new translations
* Sat Jun 23 2007 bwalle@suse.de
- replaced group 'System/GUI/Other' by 'System/GUI/XFCE'
* Tue May 22 2007 prusnak@suse.cz
- include 3 files to package
- sync with BuildService
* Mon Apr 16 2007 bwalle@suse.de
- fix build
* Tue Apr 10 2007 bwalle@suse.de
- update to 4.4.1 (no upstream changelog for this subpackage)
* Sat Mar 03 2007 aj@suse.de
- /etc/xdg/autostart is part of filesystem now.
* Sun Jan 21 2007 bwalle@suse.de
- upgraded to 4.4.0
* Wed Feb 08 2006 pnemec@suse.cz
- added xfce4-desktop and xfwm to requires
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Sat Jan 21 2006 cthiel@suse.de
- really update to 4.2.3
* Tue Jan 17 2006 pnemec@suse.cz
- update to 4.2.3
* Wed Sep 14 2005 cthiel@suse.de
- specfile cleanup
* Mon Aug 01 2005 cthiel@suse.de
- fixed Requires
* Wed May 18 2005 cthiel@suse.de
- update to 4.2.2
* Tue Apr 12 2005 cthiel@suse.de
- initial version
openSUSE Build Service is sponsored by