|
@@ -1,25 +1,36 @@
|
|
|
+Name: xfce4-session
|
|
|
Summary: Xfce Session manager
|
|
|
Summary(ja): Xfce セッションマネージャ
|
|
|
-Name: xfce4-session
|
|
|
-Version: 4.6.2
|
|
|
-Release: 2%{?_dist_release}
|
|
|
+Version: 4.8.0
|
|
|
+Release: 1%{?_dist_release}
|
|
|
+
|
|
|
+Group: User Interface/Desktops
|
|
|
License: GPLv2+
|
|
|
URL: http://www.xfce.org/
|
|
|
+
|
|
|
Source0: http://www.us.xfce.org/archive/xfce-%{version}/src/%{name}-%{version}.tar.bz2
|
|
|
Patch0: xfce4-session-4.5.92-hide-tips.patch
|
|
|
-Group: User Interface/Desktops
|
|
|
+
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
-BuildRequires: libxfcegui4-devel >= 4.6.0
|
|
|
-BuildRequires: startup-notification-devel
|
|
|
-BuildRequires: gettext intltool
|
|
|
+BuildRequires: chrpath
|
|
|
+BuildRequires: dbus-devel >= 1.0.0
|
|
|
+BuildRequires: dbus-glib-devel >= 0.73
|
|
|
+BuildRequires: GConf2-devel >= 2.4.0
|
|
|
+BuildRequires: gettext
|
|
|
+BuildRequires: gtk2-devel >= 2.14.0
|
|
|
+BuildRequires: intltool
|
|
|
+BuildRequires: libwnck-devel >= 2.22.0
|
|
|
+BuildRequires: libxfce4ui-devel >= 4.8.0
|
|
|
+BuildRequires: libxfce4util-devel >= 4.8.0
|
|
|
+BuildRequires: xfce4-panel-devel >= 4.8.0
|
|
|
+BuildRequires: xfconf-devel >= 4.8.0
|
|
|
BuildRequires: xorg-x11-server-utils
|
|
|
-BuildRequires: dbus-devel GConf2-devel
|
|
|
-BuildRequires: libwnck-devel
|
|
|
-BuildRequires: libglade2-devel
|
|
|
-BuildRequires: dbus-glib-devel
|
|
|
-BuildRequires: xfconf-devel
|
|
|
-BuildRequires: libSM-devel
|
|
|
-Requires: libxfcegui4 >= 4.6.0
|
|
|
+
|
|
|
+BuildRequires: hal-devel
|
|
|
+BuildRequires: upower-devel
|
|
|
+BuildRequires: ConsoleKit-devel
|
|
|
+BuildRequires: polkit-devel
|
|
|
+#Requires: libxfcegui4 >= 4.6.0
|
|
|
Requires: xorg-x11-server-utils
|
|
|
Requires: fortune-mod
|
|
|
|
|
@@ -30,7 +41,8 @@ xfce4-session is the session manager for the Xfce desktop environment.
|
|
|
Summary: Development files for xfce4-session
|
|
|
Group: Development/Libraries
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
-Requires: libxfcegui4-devel >= 4.6.0
|
|
|
+Requires: libxfce4ui-devel >= 4.8.0
|
|
|
+Requires: xfconf-devel >= 4.8.0
|
|
|
|
|
|
%description devel
|
|
|
Header files for the Xfce Session Manager.
|
|
@@ -48,42 +60,57 @@ Additional splash screen engines for the Xfce Session Manager.
|
|
|
%patch0 -p1 -b .disable-tips
|
|
|
|
|
|
%build
|
|
|
-%configure --enable-gnome --enable-final --disable-static
|
|
|
+%configure --enable-silent-rules --enable-gnome --enable-final --disable-static
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir}
|
|
|
-%find_lang %{name}
|
|
|
+
|
|
|
+chrpath --delete $RPM_BUILD_ROOT%{_libdir}/xfce4/session/xfsm-shutdown-helper
|
|
|
|
|
|
## remove unuse files
|
|
|
rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
|
-rm -rf $RPM_BUILD_ROOT%{_libdir}/xfce4/splash/engines/*.la
|
|
|
+rm -rf $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/*.la
|
|
|
+rm -rf $RPM_BUILD_ROOT%{_libdir}/xfce4/session/splash-engines/*.la
|
|
|
+
|
|
|
+rm -rf _docs_to_include
|
|
|
+mkdir -p _docs_to_include
|
|
|
+mv $RPM_BUILD_ROOT%{_docdir}/%{name}/* _docs_to_include
|
|
|
+
|
|
|
+%find_lang %{name}
|
|
|
+
|
|
|
|
|
|
%clean
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%post
|
|
|
-touch --no-create %{_datadir}/icons/hicolor || :
|
|
|
-%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
|
/sbin/ldconfig
|
|
|
+touch --no-create %{_datadir}/icons/hicolor
|
|
|
+
|
|
|
+%posttrans
|
|
|
+gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
|
|
|
|
%postun
|
|
|
-touch --no-create %{_datadir}/icons/hicolor || :
|
|
|
-%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
|
/sbin/ldconfig
|
|
|
+if [ $1 -eq 0 ] ; then
|
|
|
+ touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
|
|
|
+ gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
|
+fi
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
%defattr(-,root,root)
|
|
|
-%doc AUTHORS COPYING ChangeLog ChangeLog.pre-xfce-devel NEWS README TODO
|
|
|
+%doc AUTHORS COPYING ChangeLog NEWS README TODO
|
|
|
+%doc _docs_to_include/html
|
|
|
%dir %{_sysconfdir}/xdg/autostart/
|
|
|
%config(noreplace) %{_sysconfdir}/xdg/autostart/xfce4-tips-autostart.desktop
|
|
|
%{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml
|
|
|
%{_bindir}/*
|
|
|
%{_libdir}/lib*.so.*
|
|
|
-#{_libdir}/xfce4/mcs-plugins/*
|
|
|
-%{_libdir}/xfce4/splash/engines/libmice.*
|
|
|
-%{_libexecdir}/xfsm-shutdown-helper
|
|
|
+%{_libdir}/xfce4/panel/plugins/*.so
|
|
|
+%dir %{_libdir}/xfce4/session
|
|
|
+%{_libdir}/xfce4/session/splash-engines/libmice.so
|
|
|
+%{_libdir}/xfce4/session/xfsm-shutdown-helper
|
|
|
%{_datadir}/applications/*.desktop
|
|
|
%{_datadir}/icons/hicolor/*/apps/*
|
|
|
%{_datadir}/xfce4/*
|
|
@@ -93,17 +120,19 @@ touch --no-create %{_datadir}/icons/hicolor || :
|
|
|
%defattr(-,root,root)
|
|
|
%{_includedir}/xfce4/xfce4-session-4.6
|
|
|
%{_libdir}/lib*.so
|
|
|
-#{_libdir}/*a
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
|
%files engines
|
|
|
%defattr(-,root,root)
|
|
|
-%{_libdir}/xfce4/splash/engines/libbalou.*
|
|
|
-%{_libdir}/xfce4/splash/engines/libsimple.*
|
|
|
-%{_libexecdir}/balou-*
|
|
|
+%{_libdir}/xfce4/session/balou-*-theme
|
|
|
+%{_libdir}/xfce4/session/splash-engines/libbalou.*
|
|
|
+%{_libdir}/xfce4/session/splash-engines/libsimple.*
|
|
|
%{_datadir}/themes/Default/balou/
|
|
|
|
|
|
%changelog
|
|
|
+* Tue Mar 29 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.8.0-1
|
|
|
+- new upstream release
|
|
|
+
|
|
|
* Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.6.2-2
|
|
|
- rebuild with rpm-4.8.1 for pkg-config file
|
|
|
|