forked from pool/xfce4-session
d1f2dcda6b
checked in (request 43423) OBS-URL: https://build.opensuse.org/request/show/43423 OBS-URL: https://build.opensuse.org/package/show/X11:xfce/xfce4-session?expand=0&rev=33
153 lines
4.1 KiB
RPMSpec
153 lines
4.1 KiB
RPMSpec
#
|
|
# spec file for package xfce4-session (Version 4.6.1)
|
|
#
|
|
# 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.1
|
|
Release: 4
|
|
License: GPLv2+
|
|
Url: http://www.xfce.org/
|
|
Source: %{name}-%{version}.tar.bz2
|
|
Patch0: %{name}-tips-no-fortune.patch
|
|
Patch1: %{name}-logout-de.diff
|
|
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 <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: 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 <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: 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 <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
|
|
%patch1 -p1
|
|
|
|
%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
|