xfce4-session-vl.spec 4.8 KB

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