[3253] | 1 | Name: xfce4-session |
---|
[521] | 2 | Summary: Xfce Session manager |
---|
| 3 | Summary(ja): Xfce セッションマネージャ |
---|
[3253] | 4 | Version: 4.8.0 |
---|
| 5 | Release: 1%{?_dist_release} |
---|
| 6 | |
---|
| 7 | Group: User Interface/Desktops |
---|
[521] | 8 | License: GPLv2+ |
---|
| 9 | URL: http://www.xfce.org/ |
---|
[3253] | 10 | |
---|
[521] | 11 | Source0: http://www.us.xfce.org/archive/xfce-%{version}/src/%{name}-%{version}.tar.bz2 |
---|
| 12 | Patch0: xfce4-session-4.5.92-hide-tips.patch |
---|
[3253] | 13 | |
---|
[521] | 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[3253] | 15 | BuildRequires: chrpath |
---|
| 16 | BuildRequires: dbus-devel >= 1.0.0 |
---|
| 17 | BuildRequires: dbus-glib-devel >= 0.73 |
---|
| 18 | BuildRequires: GConf2-devel >= 2.4.0 |
---|
| 19 | BuildRequires: gettext |
---|
| 20 | BuildRequires: gtk2-devel >= 2.14.0 |
---|
| 21 | BuildRequires: intltool |
---|
| 22 | BuildRequires: libwnck-devel >= 2.22.0 |
---|
| 23 | BuildRequires: libxfce4ui-devel >= 4.8.0 |
---|
| 24 | BuildRequires: libxfce4util-devel >= 4.8.0 |
---|
| 25 | BuildRequires: xfce4-panel-devel >= 4.8.0 |
---|
| 26 | BuildRequires: xfconf-devel >= 4.8.0 |
---|
[521] | 27 | BuildRequires: xorg-x11-server-utils |
---|
[3253] | 28 | |
---|
| 29 | BuildRequires: hal-devel |
---|
| 30 | BuildRequires: upower-devel |
---|
| 31 | BuildRequires: ConsoleKit-devel |
---|
| 32 | BuildRequires: polkit-devel |
---|
| 33 | #Requires: libxfcegui4 >= 4.6.0 |
---|
[521] | 34 | Requires: xorg-x11-server-utils |
---|
| 35 | Requires: fortune-mod |
---|
| 36 | |
---|
| 37 | %description |
---|
| 38 | xfce4-session is the session manager for the Xfce desktop environment. |
---|
| 39 | |
---|
| 40 | %package devel |
---|
| 41 | Summary: Development files for xfce4-session |
---|
| 42 | Group: Development/Libraries |
---|
| 43 | Requires: %{name} = %{version}-%{release} |
---|
[3253] | 44 | Requires: libxfce4ui-devel >= 4.8.0 |
---|
| 45 | Requires: xfconf-devel >= 4.8.0 |
---|
[521] | 46 | |
---|
| 47 | %description devel |
---|
| 48 | Header files for the Xfce Session Manager. |
---|
| 49 | |
---|
| 50 | %package engines |
---|
| 51 | Summary: Additional engines for xfce4-session |
---|
| 52 | Group: User Interface/Desktops |
---|
[1068] | 53 | Requires: %{name} = %{version}-%{release} |
---|
[521] | 54 | |
---|
| 55 | %description engines |
---|
| 56 | Additional splash screen engines for the Xfce Session Manager. |
---|
| 57 | |
---|
| 58 | %prep |
---|
| 59 | %setup -q |
---|
| 60 | %patch0 -p1 -b .disable-tips |
---|
| 61 | |
---|
| 62 | %build |
---|
[3253] | 63 | %configure --enable-silent-rules --enable-gnome --enable-final --disable-static |
---|
[521] | 64 | make %{?_smp_mflags} |
---|
| 65 | |
---|
| 66 | %install |
---|
| 67 | rm -rf $RPM_BUILD_ROOT |
---|
| 68 | make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} |
---|
| 69 | |
---|
[3253] | 70 | chrpath --delete $RPM_BUILD_ROOT%{_libdir}/xfce4/session/xfsm-shutdown-helper |
---|
| 71 | |
---|
[521] | 72 | ## remove unuse files |
---|
| 73 | rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
[3253] | 74 | rm -rf $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/*.la |
---|
| 75 | rm -rf $RPM_BUILD_ROOT%{_libdir}/xfce4/session/splash-engines/*.la |
---|
[521] | 76 | |
---|
[3253] | 77 | rm -rf _docs_to_include |
---|
| 78 | mkdir -p _docs_to_include |
---|
| 79 | mv $RPM_BUILD_ROOT%{_docdir}/%{name}/* _docs_to_include |
---|
| 80 | |
---|
| 81 | %find_lang %{name} |
---|
| 82 | |
---|
| 83 | |
---|
[521] | 84 | %clean |
---|
| 85 | rm -rf $RPM_BUILD_ROOT |
---|
| 86 | |
---|
| 87 | %post |
---|
| 88 | /sbin/ldconfig |
---|
[3253] | 89 | touch --no-create %{_datadir}/icons/hicolor |
---|
[521] | 90 | |
---|
[3253] | 91 | %posttrans |
---|
| 92 | gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
---|
| 93 | |
---|
[521] | 94 | %postun |
---|
| 95 | /sbin/ldconfig |
---|
[3253] | 96 | if [ $1 -eq 0 ] ; then |
---|
| 97 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 98 | gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
---|
| 99 | fi |
---|
[521] | 100 | |
---|
| 101 | %files -f %{name}.lang |
---|
| 102 | %defattr(-,root,root) |
---|
[3253] | 103 | %doc AUTHORS COPYING ChangeLog NEWS README TODO |
---|
| 104 | %doc _docs_to_include/html |
---|
[521] | 105 | %dir %{_sysconfdir}/xdg/autostart/ |
---|
| 106 | %config(noreplace) %{_sysconfdir}/xdg/autostart/xfce4-tips-autostart.desktop |
---|
| 107 | %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml |
---|
| 108 | %{_bindir}/* |
---|
| 109 | %{_libdir}/lib*.so.* |
---|
[3253] | 110 | %{_libdir}/xfce4/panel/plugins/*.so |
---|
| 111 | %dir %{_libdir}/xfce4/session |
---|
| 112 | %{_libdir}/xfce4/session/splash-engines/libmice.so |
---|
| 113 | %{_libdir}/xfce4/session/xfsm-shutdown-helper |
---|
[521] | 114 | %{_datadir}/applications/*.desktop |
---|
| 115 | %{_datadir}/icons/hicolor/*/apps/* |
---|
| 116 | %{_datadir}/xfce4/* |
---|
| 117 | %{_mandir}/man1/* |
---|
| 118 | |
---|
| 119 | %files devel |
---|
| 120 | %defattr(-,root,root) |
---|
| 121 | %{_includedir}/xfce4/xfce4-session-4.6 |
---|
| 122 | %{_libdir}/lib*.so |
---|
| 123 | %{_libdir}/pkgconfig/*.pc |
---|
| 124 | |
---|
| 125 | %files engines |
---|
| 126 | %defattr(-,root,root) |
---|
[3253] | 127 | %{_libdir}/xfce4/session/balou-*-theme |
---|
| 128 | %{_libdir}/xfce4/session/splash-engines/libbalou.* |
---|
| 129 | %{_libdir}/xfce4/session/splash-engines/libsimple.* |
---|
[521] | 130 | %{_datadir}/themes/Default/balou/ |
---|
| 131 | |
---|
| 132 | %changelog |
---|
[3253] | 133 | * Tue Mar 29 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.8.0-1 |
---|
| 134 | - new upstream release |
---|
| 135 | |
---|
[1901] | 136 | * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.6.2-2 |
---|
| 137 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
| 138 | |
---|
[1068] | 139 | * Sun May 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.2-1 |
---|
| 140 | - new upstream release |
---|
| 141 | - built with new toolchain |
---|
| 142 | |
---|
[521] | 143 | * Sat May 23 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.1-1 |
---|
| 144 | - new upstream release |
---|
| 145 | - added %%post and %%postun section |
---|
| 146 | |
---|
| 147 | * Sun Sep 21 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.2-3vl5 |
---|
| 148 | - added BuildRequires: libxfce4util-devel |
---|
| 149 | - added Japanese summary |
---|
| 150 | |
---|
| 151 | * Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 4.4.2-2vl5 |
---|
| 152 | - applied new versioning policy |
---|
| 153 | - removed *.la |
---|
| 154 | |
---|
| 155 | * Sun Dec 23 2007 UECHI Yasumasa <uechi@potaway.net> 4.4.2-1vl2 |
---|
| 156 | - new upstream release. |
---|
| 157 | |
---|
| 158 | * Sun Jul 29 2007 UECHI Yasumasa <uechi@potaway.net> 4.4.1-1vl2 |
---|
| 159 | - build for VineSeed |
---|
| 160 | |
---|
| 161 | * Sat Jul 28 2007 UECHI Yasumasa <uechi@potaway.net> 4.4.1-1vl1 |
---|
| 162 | - new upstream version |
---|
| 163 | - add fortune-mod to Requires for xfce4-tips |
---|
| 164 | |
---|
| 165 | * Sat Dec 10 2005 UECHI Yasumasa <uechi@potaway.net> 4.2.3-1vl1 |
---|
| 166 | - new upstream release |
---|
| 167 | |
---|
| 168 | * Mon Jun 13 2005 UECHI Yasumasa <uechi@potaway.net> 4.2.2-1vl2 |
---|
| 169 | - new upstream release |
---|
| 170 | |
---|
| 171 | * Thu Mar 31 2005 UECHI Yasumasa <uechi@potaway.net> 4.2.1-1vl2 |
---|
| 172 | - new upstream release |
---|
| 173 | |
---|
| 174 | * Sun Jan 23 2005 UECHI Yasumasa <uechi@potaway.net> 4.2.0-1vl2 |
---|
| 175 | - initial release for VineSeedPlus |
---|
| 176 | |
---|