xfce4-session-vl.spec 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. Summary: Xfce Session manager
  2. Summary(ja): Xfce セッションマネージャ
  3. Name: xfce4-session
  4. Version: 4.6.1
  5. Release: 1%{?_dist_release}
  6. License: GPLv2+
  7. URL: http://www.xfce.org/
  8. Source0: http://www.us.xfce.org/archive/xfce-%{version}/src/%{name}-%{version}.tar.bz2
  9. Patch0: xfce4-session-4.5.92-hide-tips.patch
  10. Group: User Interface/Desktops
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: libxfcegui4-devel >= 4.6.0
  13. BuildRequires: startup-notification-devel
  14. BuildRequires: gettext intltool
  15. BuildRequires: xorg-x11-server-utils
  16. BuildRequires: dbus-devel GConf2-devel
  17. BuildRequires: libwnck-devel
  18. BuildRequires: libglade2-devel
  19. BuildRequires: dbus-glib-devel
  20. BuildRequires: xfconf-devel
  21. BuildRequires: libSM-devel
  22. Requires: libxfcegui4 >= 4.6.0
  23. Requires: xorg-x11-server-utils
  24. Requires: fortune-mod
  25. %description
  26. xfce4-session is the session manager for the Xfce desktop environment.
  27. %package devel
  28. Summary: Development files for xfce4-session
  29. Group: Development/Libraries
  30. Requires: %{name} = %{version}-%{release}
  31. Requires: libxfcegui4-devel >= 4.6.0
  32. %description devel
  33. Header files for the Xfce Session Manager.
  34. %package engines
  35. Summary: Additional engines for xfce4-session
  36. Group: User Interface/Desktops
  37. Requires: %{name} >= %{version}-%{release}
  38. %description engines
  39. Additional splash screen engines for the Xfce Session Manager.
  40. %prep
  41. %setup -q
  42. %patch0 -p1 -b .disable-tips
  43. %build
  44. %configure --enable-gnome --enable-final --disable-static
  45. make %{?_smp_mflags}
  46. %install
  47. rm -rf $RPM_BUILD_ROOT
  48. make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir}
  49. %find_lang %{name}
  50. ## remove unuse files
  51. rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
  52. rm -rf $RPM_BUILD_ROOT%{_libdir}/xfce4/splash/engines/*.la
  53. %clean
  54. rm -rf $RPM_BUILD_ROOT
  55. %post
  56. touch --no-create %{_datadir}/icons/hicolor || :
  57. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  58. /sbin/ldconfig
  59. %postun
  60. touch --no-create %{_datadir}/icons/hicolor || :
  61. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  62. /sbin/ldconfig
  63. %files -f %{name}.lang
  64. %defattr(-,root,root)
  65. %doc AUTHORS COPYING ChangeLog ChangeLog.pre-xfce-devel NEWS README TODO
  66. %dir %{_sysconfdir}/xdg/autostart/
  67. %config(noreplace) %{_sysconfdir}/xdg/autostart/xfce4-tips-autostart.desktop
  68. %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml
  69. %{_bindir}/*
  70. %{_libdir}/lib*.so.*
  71. #{_libdir}/xfce4/mcs-plugins/*
  72. %{_libdir}/xfce4/splash/engines/libmice.*
  73. %{_libexecdir}/xfsm-shutdown-helper
  74. %{_datadir}/applications/*.desktop
  75. %{_datadir}/icons/hicolor/*/apps/*
  76. %{_datadir}/xfce4/*
  77. %{_mandir}/man1/*
  78. %files devel
  79. %defattr(-,root,root)
  80. %{_includedir}/xfce4/xfce4-session-4.6
  81. %{_libdir}/lib*.so
  82. #{_libdir}/*a
  83. %{_libdir}/pkgconfig/*.pc
  84. %files engines
  85. %defattr(-,root,root)
  86. %{_libdir}/xfce4/splash/engines/libbalou.*
  87. %{_libdir}/xfce4/splash/engines/libsimple.*
  88. %{_libexecdir}/balou-*
  89. %{_datadir}/themes/Default/balou/
  90. %changelog
  91. * Sat May 23 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.1-1
  92. - new upstream release
  93. - added %%post and %%postun section
  94. * Sun Sep 21 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.2-3vl5
  95. - added BuildRequires: libxfce4util-devel
  96. - added Japanese summary
  97. * Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 4.4.2-2vl5
  98. - applied new versioning policy
  99. - removed *.la
  100. * Sun Dec 23 2007 UECHI Yasumasa <uechi@potaway.net> 4.4.2-1vl2
  101. - new upstream release.
  102. * Sun Jul 29 2007 UECHI Yasumasa <uechi@potaway.net> 4.4.1-1vl2
  103. - build for VineSeed
  104. * Sat Jul 28 2007 UECHI Yasumasa <uechi@potaway.net> 4.4.1-1vl1
  105. - new upstream version
  106. - add fortune-mod to Requires for xfce4-tips
  107. * Sat Dec 10 2005 UECHI Yasumasa <uechi@potaway.net> 4.2.3-1vl1
  108. - new upstream release
  109. * Mon Jun 13 2005 UECHI Yasumasa <uechi@potaway.net> 4.2.2-1vl2
  110. - new upstream release
  111. * Thu Mar 31 2005 UECHI Yasumasa <uechi@potaway.net> 4.2.1-1vl2
  112. - new upstream release
  113. * Sun Jan 23 2005 UECHI Yasumasa <uechi@potaway.net> 4.2.0-1vl2
  114. - initial release for VineSeedPlus