1
0
forked from pool/xfce4-session
xfce4-session/xfce4-session.spec

167 lines
4.7 KiB
RPMSpec

#
# spec file for package xfce4-session (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-session
BuildRequires: dbus-1-devel gtk2-devel libxml2-devel perl-XML-Parser startup-notification update-desktop-files xorg-x11
%if %suse_version > 1010
BuildRequires: dbus-1-glib-devel
%endif
BuildRequires: intltool xfce-mcs-manager-devel >= 4.3
Requires: fortune
Summary: Xfce Session manager
Version: 4.4.3
Release: 1
License: GPL v2 or later
Url: http://www.xfce.org/
Source0: %{name}-%{version}.tar.bz2
Source1: xfce4-session-ubuntu-icons.tar.bz2
Patch0: xfce4-session-suspend_hibernate.patch
Patch1: xfce4-session-faster-start.patch
Group: System/GUI/XFCE
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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: libxfcegui4-devel >= 4.3
Requires: libxml2-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>
%prep
%setup -q
%patch0 -p1
%patch1
%build
%configure \
--enable-session-screenshots
make %{?jobs:-j%jobs}
%install
make DESTDIR=$RPM_BUILD_ROOT install
%find_lang %{name}
mkdir -p $RPM_BUILD_ROOT/%{_datadir}
# the icons for the hibernate and standby buttons
cd $RPM_BUILD_ROOT/%{_datadir}
tar xvfj $RPM_SOURCE_DIR/xfce4-session-ubuntu-icons.tar.bz2
cd -
rm -f $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/scalable/apps/xfsm-shutdown.svg
%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
%{_sysconfdir}/xdg/xfce4-session/
%{_bindir}/*
%{_libdir}/xfce4/
%{_libdir}/libxfsm-*
%{_mandir}/*/*
%{_datadir}/themes/*
%{_datadir}/applications/*
%{_datadir}/icons/*/*
%{_datadir}/xfce4/*
%{_libexecdir}/balou-export-theme
%{_libexecdir}/balou-install-theme
%{_libexecdir}/xfsm-shutdown-helper
%if %suse_version < 1030
%dir %{_sysconfdir}/xdg/autostart
%endif
%{_sysconfdir}/xdg/autostart/xfce4-tips-autostart.desktop
%post
%run_suseconfig -m gtk2
%files devel
%defattr(-,root,root)
%{_libdir}/pkgconfig/*
%dir %{_includedir}/xfce4/xfce4-session-4.2
%{_includedir}/xfce4/*/*
%changelog
* 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
* Sun Apr 15 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
* Mon Jan 16 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