xfce4-session-vl.spec 5.0 KB

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