forked from pool/xfce4-session
116 lines
3.0 KiB
RPMSpec
116 lines
3.0 KiB
RPMSpec
#
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
Name: xfce4-session
|
|
Version: 4.7.2
|
|
Release: 1
|
|
License: GPLv2+
|
|
Summary: Xfce Session manager
|
|
Url: http://www.xfce.org/
|
|
Group: System/GUI/XFCE
|
|
Source: %{name}-%{version}.tar.bz2
|
|
Patch0: xfce4-session-4.7.1-fix-missing-include.patch
|
|
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)
|
|
BuildRequires: pkgconfig(libxfcegui4-1.0)
|
|
BuildRequires: pkgconfig(libxfconf-0)
|
|
BuildRequires: update-desktop-files
|
|
BuildRequires: xorg-x11
|
|
Requires: %{name}-branding >= %{version}
|
|
Requires: xfce-utils
|
|
Recommends: fortune
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
xfce4-session is the session manager for the Xfce desktop environment.
|
|
|
|
%package devel
|
|
License: GPLv2+
|
|
Summary: Xfce Session manager
|
|
Group: System/GUI/XFCE
|
|
Requires: %{name} = %{version}
|
|
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)
|
|
|
|
%description devel
|
|
xfce4-session is the session manager for the Xfce desktop environment.
|
|
|
|
%package branding-upstream
|
|
License: GPLv2+
|
|
Summary: Xfce Session manager
|
|
Group: System/GUI/XFCE
|
|
Supplements: packageand(%{name}:branding-upstream)
|
|
Provides: %{name}-branding = %{version}
|
|
Conflicts: otherproviders(%{name}-branding)
|
|
%if 0%{?suse_version} >= 1120
|
|
BuildArch: noarch
|
|
%endif
|
|
|
|
%description branding-upstream
|
|
xfce4-session is the session manager for the Xfce desktop environment.
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p1
|
|
|
|
%build
|
|
%configure \
|
|
--disable-static \
|
|
--enable-session-screenshots
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%make_install
|
|
%find_lang %{name}
|
|
rm -f %{buildroot}%{_libdir}/*.la %{buildroot}%{_libdir}/xfce4/splash/engines/*.la
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
%post
|
|
%run_suseconfig -m gtk2
|
|
/sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files -f %{name}.lang
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS BUGS COPYING ChangeLog NEWS README TODO
|
|
%{_bindir}/xfce4-session
|
|
%{_bindir}/xfce4-session-logout
|
|
%{_bindir}/xfce4-session-settings
|
|
%{_bindir}/xfce4-tips
|
|
%{_libdir}/xfce4
|
|
%{_libdir}/*.so.*
|
|
%{_mandir}/*/*
|
|
%{_datadir}/themes/*
|
|
%{_datadir}/applications/*
|
|
%{_datadir}/icons/*/*
|
|
%{_datadir}/xfce4/
|
|
%{_datadir}/doc/xfce4-session
|
|
%{_sysconfdir}/xdg/autostart/xfce4-tips-autostart.desktop
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_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
|