xfce4-session-vl.spec 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. Name: xfce4-session
  2. Version: 4.12.1
  3. Release: 1%{?_dist_release}
  4. Summary: Xfce Session manager
  5. Summary(ja): Xfce セッションマネージャ
  6. Group: User Interface/Desktops
  7. License: GPLv2+
  8. URL: http://www.xfce.org/
  9. Source0: http://archive.xfce.org/src/xfce/%{name}/4.12/%{name}-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: chrpath
  12. BuildRequires: dbus-devel >= 1.1.0
  13. BuildRequires: dbus-glib-devel >= 0.84
  14. BuildRequires: gettext
  15. BuildRequires: gtk2-devel >= 2.20.0
  16. BuildRequires: intltool
  17. BuildRequires: libwnck-devel >= 2.30.0
  18. BuildRequires: libxfce4ui-devel >= 4.12.1
  19. BuildRequires: libxfce4util-devel >= 4.10.0
  20. BuildRequires: xfce4-panel-devel >= 4.10.0
  21. BuildRequires: xfconf-devel >= 4.10.0
  22. BuildRequires: libSM-devel
  23. BuildRequires: xorg-x11-server-utils
  24. BuildRequires: upower-devel >= 0.9.7
  25. #BuildRequires: ConsoleKit-devel
  26. BuildRequires: polkit-devel >= 0.102
  27. Requires: xorg-x11-server-utils
  28. Requires: fortune-mod
  29. Vendor: Project Vine
  30. Distribution: Vine Linux
  31. %description
  32. xfce4-session is the session manager for the Xfce desktop environment.
  33. %package devel
  34. Summary: Development files for xfce4-session
  35. Summary(ja): xfce4-session の開発用ファイル
  36. Group: Development/Libraries
  37. Requires: %{name} = %{version}-%{release}
  38. %description devel
  39. Header files for the Xfce Session Manager.
  40. %package engines
  41. Summary: Additional engines for xfce4-session
  42. Summary(ja): xfce4-session 用の追加スプラッシュ画面
  43. Group: User Interface/Desktops
  44. Requires: %{name} = %{version}-%{release}
  45. %description engines
  46. Additional splash screen engines for the Xfce Session Manager.
  47. %prep
  48. %setup -q
  49. %build
  50. %configure --enable-silent-rules --disable-static --enable-polkit --enable-upower
  51. make %{?_smp_mflags}
  52. %install
  53. rm -rf $RPM_BUILD_ROOT
  54. make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir}
  55. chrpath --delete $RPM_BUILD_ROOT%{_libdir}/xfce4/session/xfsm-shutdown-helper
  56. ## remove unuse files
  57. rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
  58. rm -rf $RPM_BUILD_ROOT%{_libdir}/xfce4/session/splash-engines/*.la
  59. %find_lang %{name}
  60. %clean
  61. rm -rf $RPM_BUILD_ROOT
  62. %post
  63. /sbin/ldconfig
  64. touch --no-create %{_datadir}/icons/hicolor
  65. %posttrans
  66. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  67. %postun
  68. /sbin/ldconfig
  69. if [ $1 -eq 0 ] ; then
  70. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  71. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  72. fi
  73. %files -f %{name}.lang
  74. %defattr(-,root,root)
  75. %doc AUTHORS COPYING ChangeLog NEWS README TODO
  76. %dir %{_sysconfdir}/xdg/autostart/
  77. %config(noreplace)%{_sysconfdir}/xdg/autostart/xscreensaver.desktop
  78. %{_sysconfdir}/xdg/xfce4/Xft.xrdb
  79. %{_sysconfdir}/xdg/xfce4/xinitrc
  80. %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml
  81. %{_bindir}/*
  82. %{_libdir}/lib*.so.*
  83. %dir %{_libdir}/xfce4/session
  84. %{_libdir}/xfce4/session/splash-engines/libmice.so
  85. %{_libdir}/xfce4/session/xfsm-shutdown-helper
  86. %{_datadir}/applications/*.desktop
  87. %{_datadir}/icons/hicolor/*/apps/*
  88. %{_datadir}/polkit-1/actions/org.xfce.session.policy
  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 Mar 19 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.12.1-1
  104. - new upstream release
  105. * Sun Mar 1 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.12.0-1
  106. - new upstream release
  107. * Thu Aug 28 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.10.1-1
  108. - new upstream release
  109. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.0-2
  110. - rebuild with VineSeed environment
  111. * Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.0-1
  112. - new upstream release
  113. - remove Patch0
  114. * Sun Apr 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.8.0-2
  115. - add BuildRequires: libSM-devel
  116. * Tue Mar 29 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.8.0-1
  117. - new upstream release
  118. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.6.2-2
  119. - rebuild with rpm-4.8.1 for pkg-config file
  120. * Sun May 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.2-1
  121. - new upstream release
  122. - built with new toolchain
  123. * Sat May 23 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.1-1
  124. - new upstream release
  125. - added %%post and %%postun section
  126. * Sun Sep 21 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.2-3vl5
  127. - added BuildRequires: libxfce4util-devel
  128. - added Japanese summary
  129. * Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 4.4.2-2vl5
  130. - applied new versioning policy
  131. - removed *.la
  132. * Sun Dec 23 2007 UECHI Yasumasa <uechi@potaway.net> 4.4.2-1vl2
  133. - new upstream release.
  134. * Sun Jul 29 2007 UECHI Yasumasa <uechi@potaway.net> 4.4.1-1vl2
  135. - build for VineSeed
  136. * Sat Jul 28 2007 UECHI Yasumasa <uechi@potaway.net> 4.4.1-1vl1
  137. - new upstream version
  138. - add fortune-mod to Requires for xfce4-tips
  139. * Sat Dec 10 2005 UECHI Yasumasa <uechi@potaway.net> 4.2.3-1vl1
  140. - new upstream release
  141. * Mon Jun 13 2005 UECHI Yasumasa <uechi@potaway.net> 4.2.2-1vl2
  142. - new upstream release
  143. * Thu Mar 31 2005 UECHI Yasumasa <uechi@potaway.net> 4.2.1-1vl2
  144. - new upstream release
  145. * Sun Jan 23 2005 UECHI Yasumasa <uechi@potaway.net> 4.2.0-1vl2
  146. - initial release for VineSeedPlus