gnome-session-vl.spec 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445
  1. %define glib2_version 2.40.0
  2. %define pango_version 1.36.3
  3. %define gtk3_version 3.12.0
  4. %define dbus_glib_version 0.100
  5. %define dbus_version 1.6.4
  6. %define libnotify_version 0.7
  7. %define po_package gnome-session-3.0
  8. Summary: GNOME session manager
  9. Summary(ja): GNOME セッションマネージャ
  10. Name: gnome-session
  11. Version: 3.12.1
  12. Release: 1%{?_dist_release}
  13. URL: http://www.gnome.org/
  14. License: GPLv2+
  15. Group: User Interface/Desktops
  16. Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-session/3.12/%{name}-%{version}.tar.xz
  17. Source1: vine-default-session
  18. Source2: gnome.desktop
  19. Patch0: gnome-session-3.12.0-hardware-compatibility.patch
  20. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  21. BuildRequires: glib2-devel >= %{glib2_version}
  22. BuildRequires: pango-devel >= %{pango_version}
  23. BuildRequires: pangox-compat-devel
  24. BuildRequires: gtk2-devel >= %{gtk2_version}
  25. BuildRequires: dbus-devel >= %{dbus_version}
  26. BuildRequires: dbus-glib-devel >= %{dbus_glib_version}
  27. BuildRequires: libnotify-devel >= %{libnotify_version}
  28. BuildRequires: gnome-desktop3-devel
  29. BuildRequires: librsvg2-devel
  30. BuildRequires: usermode
  31. BuildRequires: startup-notification-devel
  32. BuildRequires: libSM-devel
  33. BuildRequires: libXtst-devel
  34. BuildRequires: xorg-x11-xtrans-devel
  35. BuildRequires: libupower09-devel
  36. BuildRequires: json-glib-devel
  37. BuildRequires: desktop-file-utils
  38. BuildRequires: autoconf
  39. BuildRequires: gnome-common
  40. Conflicts: gdm < 2.4.0.7
  41. Requires: vine-backgrounds >= 3.8
  42. Requires: control-center
  43. Requires: gsettings-desktop-schemas
  44. Vendor: Project Vine
  45. Distribution: Vine Linux
  46. Packager: Takemikaduchi
  47. %description
  48. gnome-session manages a GNOME desktop session. It starts up the other core
  49. GNOME components and handles logout and saving the session.
  50. %prep
  51. %setup -q
  52. %patch0 -p1
  53. %build
  54. #export CFLAGS="$CFLAGS -Wno-deprecated-declarations"
  55. #autoreconf -if
  56. %configure \
  57. --enable-compile-warnings=no \
  58. --disable-systemd
  59. make %{?_smp_mflags}
  60. # --with-halt-command=/usr/bin/poweroff \
  61. # --with-reboot-command=/usr/bin/reboot \
  62. %install
  63. rm -rf $RPM_BUILD_ROOT
  64. make install DESTDIR=$RPM_BUILD_ROOT
  65. mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/xsessions/
  66. install -m 644 %{SOURCE2} ${RPM_BUILD_ROOT}%{_datadir}/xsessions/
  67. #/bin/rm $RPM_BUILD_ROOT%{_datadir}/gnome/default.session
  68. mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/gnome/
  69. install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/gnome/default.session
  70. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart
  71. mkdir -p $RPM_BUILD_ROOT%{_datadir}/gnome/autostart
  72. # remove gnome default splash screen
  73. #rm -rf $RPM_BUILD_ROOT%{_datadir}/pixmaps/splash/*
  74. mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps/splash
  75. # remove wayland-session
  76. rm -rf $RPM_BUILD_ROOT%{_datadir}/wayland-sessions
  77. #
  78. rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
  79. %find_lang %{po_package}
  80. %clean
  81. rm -rf $RPM_BUILD_ROOT
  82. %post -p /sbin/ldconfig
  83. %postun
  84. /sbin/ldconfig
  85. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  86. %posttrans
  87. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  88. %files -f %{po_package}.lang
  89. %defattr(-,root,root)
  90. %doc AUTHORS COPYING ChangeLog NEWS README
  91. %{_sysconfdir}/xdg/autostart
  92. %{_bindir}/*
  93. %{_libexecdir}/gnome-session-check-accelerated
  94. %{_libexecdir}/gnome-session-check-accelerated-helper
  95. %{_libexecdir}/gnome-session-failed
  96. %{_datadir}/GConf/gsettings/gnome-session.convert
  97. %{_datadir}/glib-2.0/schemas/org.gnome.SessionManager.gschema.xml
  98. %{_datadir}/gnome
  99. %{_datadir}/gnome-session/*.ui
  100. %{_datadir}/gnome-session/hardware-compatibility
  101. %{_datadir}/gnome-session/sessions/*
  102. %{_datadir}/xsessions/*
  103. %dir %{_datadir}/pixmaps/splash
  104. %{_datadir}/icons/hicolor/*
  105. %{_mandir}/man*/*
  106. %changelog
  107. * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
  108. - new upstream release
  109. * Sat Apr 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
  110. - new upstream release
  111. - update Patch0 (gnome-session-3.12.0-hardware-compatibility.patch)
  112. - change BuildRequires: libupower09-devel instead of upower-devel
  113. * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-2
  114. - rebuild with VineSeed environment
  115. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
  116. - new upstream release
  117. * Sun Aug 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.4-1
  118. - new upstream release
  119. * Sat May 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2.1-1
  120. - new upstream release
  121. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  122. - new upstream release
  123. - update Patch0 (gnome-session-3.8.0-hardware-compatibility.patch)
  124. - add BuildRequires: gnome-desktop3-devel
  125. * Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.2-1
  126. - new upstream release
  127. * Tue Oct 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1
  128. - new upstream release
  129. * Sat Oct 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  130. - new upstream release
  131. - remove BuildRequires: GConf2-devel
  132. - add BuildRequires: pangox-compat-devel
  133. - add Patch0 (gnome-session-3.6.0-hardware-compatibility.patch)
  134. * Tue Jun 05 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.2.1-1
  135. - new upstream release
  136. - add BuildRequires: xorg-x11-xtrans-devel
  137. * Sun May 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.2-1
  138. - new upstream release
  139. * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1
  140. - new upstream release
  141. * Fri Oct 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  142. - new upstream release
  143. * Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  144. - new upstream release
  145. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1
  146. - new upstream release
  147. - add BuildRequires: libXtst-devel
  148. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90-1
  149. - new upstream release
  150. - add BuildRequires: json-glib-devel
  151. * Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.5-1
  152. - new upstream release
  153. * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.3-1
  154. - new upstream release
  155. - add BuildRequires: librsvg2-devel
  156. - add Requires: gsettings-desktop-schemas
  157. * Sat Nov 20 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.1-1
  158. - new upstream release
  159. * Sat Nov 06 2010 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.32.0-2
  160. - update translation.
  161. * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1
  162. - new upstream release
  163. - remove BuildRequires: libgnome-devel, libgnomeui-devel
  164. * Tue Jun 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1
  165. - new upstream release
  166. * Sun Apr 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  167. - new upstream release
  168. - remove BuildRequires: gnome-keyring
  169. - change BuildRequires: DeviceKit-power-devel -> upower-devel
  170. - add BuildRequires: startup-notification-devel, libSM-devel, desktop-file-utils
  171. * Sat Oct 31 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.0-1
  172. - new upstream release
  173. - added BR: DeviceKit-power-devel
  174. - removed BR: PolicyKit-gnome-devel
  175. * Sat Jul 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2-1
  176. - new upstream release
  177. * Sat Apr 18 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.26.1-1
  178. - new upstream release
  179. - added BuildRequires: PolicyKit-gnome-devel
  180. * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
  181. - new upstream release
  182. * Mon Jan 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.3-1
  183. - new upstream release
  184. * Tue Oct 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.1-1
  185. - new upstream release
  186. * Wed Oct 22 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-2
  187. - add patch5,6,7,8 from upstream/fedora
  188. - remove gnome-volume-manager from vine-default-session
  189. * Wed Sep 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
  190. - new upstream release
  191. * Sun Jun 1 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.2-1
  192. - new upstream release
  193. * Sat Apr 12 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1.1-1vl5
  194. - new upstream release
  195. * Mon Mar 31 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5
  196. - new upstream release
  197. - updated Patch100
  198. * Wed Jan 9 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.3-0vl1
  199. - new upstream release
  200. * Wed Jul 4 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18.3-0vl1
  201. - new upstream release
  202. * Fri May 11 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.18.0-0vl2
  203. - add BuildRequires: control-center-devel
  204. * Sat Apr 28 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.0-0vl1
  205. - new upstream release
  206. * Thu Sep 21 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.3-0vl1
  207. - new upstream release
  208. - remove default gnome-splash.png, use our splash.
  209. - add Requires: vine-backgrounds >= 3.8
  210. * Sat Jun 3 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.14.2-0vl1
  211. - new upstream release
  212. * Fri Apr 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl1
  213. - new upstream release
  214. * Tue Mar 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl1
  215. - new upstream release
  216. * Tue Mar 07 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.92-0vl1
  217. - new upstream release
  218. * Mon Sep 19 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0-0vl1
  219. - new upstream release
  220. * Thu Aug 04 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11.90-0vl1
  221. - new upstream release
  222. * Mon Mar 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl1
  223. - new upstream version
  224. * Sun Nov 07 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.1-0vl1
  225. - new upstream release
  226. * Sun Oct 17 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.2-0vl1
  227. - new upstream release
  228. * Sun Oct 17 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.2-0vl2
  229. - rebuild with new environment
  230. * Fri Jan 30 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.2-0vl1
  231. - new upstream release
  232. * Thu Sep 11 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl1
  233. - new upstream release
  234. - remove old gdm session file.
  235. * Fri Sep 05 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.90-0vl1
  236. - new upstream release
  237. * Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.7-0vl1
  238. - new upstream release
  239. * Tue Apr 29 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.1-0vl1
  240. - new upstream release
  241. - import patch6,8 from rawhide release
  242. * Wed Jan 22 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0.1-0vl1
  243. - new upstream release
  244. * Tue Jan 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0-0vl1
  245. - new upstream release
  246. * Fri Jan 10 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.90-0vl1
  247. - new upstream release
  248. * Thu Dec 26 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.5-0vl1
  249. - new upstream release
  250. * Sun Dec 15 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.4-0vl1
  251. - build for Vine Linux
  252. - new upstream release from gnome-2.1.4
  253. * Wed Nov 13 2002 Havoc Pennington <hp@redhat.com>
  254. - 2.1.2
  255. * Tue Sep 3 2002 Owen Taylor <otaylor@redhat.com>
  256. - Up purge delay for session manager to 5 minutes to avoid problem
  257. with openoffice.org timing out
  258. * Wed Aug 28 2002 Havoc Pennington <hp@redhat.com>
  259. - put gdm session in here, conflict with old gdm
  260. - use DITHER_MAX for dithering to make splash screen look good in 16
  261. bit
  262. * Tue Aug 27 2002 Havoc Pennington <hp@redhat.com>
  263. - fix missing icons and misaligned text in splash
  264. * Fri Aug 23 2002 Tim Waugh <twaugh@redhat.com>
  265. - Fix login sound disabling (bug #71664).
  266. * Wed Aug 14 2002 Havoc Pennington <hp@redhat.com>
  267. - put rhn applet in default session
  268. * Wed Aug 14 2002 Havoc Pennington <hp@redhat.com>
  269. - fix the session file, should speed up login a lot
  270. - put magicdev in default session
  271. * Thu Aug 8 2002 Havoc Pennington <hp@redhat.com>
  272. - 2.0.5 with more translations
  273. * Tue Aug 6 2002 Havoc Pennington <hp@redhat.com>
  274. - 2.0.4
  275. - remove gnome-settings-daemon from default session
  276. * Wed Jul 31 2002 Havoc Pennington <hp@redhat.com>
  277. - 2.0.3
  278. - remove splash screen, require redhat-artwork instead
  279. * Wed Jul 24 2002 Owen Taylor <otaylor@redhat.com>
  280. - Set GTK_RC_FILES so we can change the gtk1 theme
  281. * Tue Jul 16 2002 Havoc Pennington <hp@redhat.com>
  282. - pass --with-halt-command=/usr/bin/poweroff
  283. --with-reboot-command=/usr/bin/reboot
  284. * Tue Jun 25 2002 Owen Taylor <otaylor@redhat.com>
  285. - Version 2.0.1, fixing missing po files
  286. * Wed Jun 19 2002 Havoc Pennington <hp@redhat.com>
  287. - put in new default session with pam-panel-icon
  288. - disable schema install in make install, fixes rebuild failure.
  289. * Sun Jun 16 2002 Havoc Pennington <hp@redhat.com>
  290. - rebuild with new libraries
  291. * Thu Jun 13 2002 Havoc Pennington <hp@redhat.com>
  292. - rebuild in different environment
  293. * Thu Jun 13 2002 Havoc Pennington <hp@redhat.com>
  294. - add fix from Nalin to build require usermode
  295. * Tue Jun 11 2002 Havoc Pennington <hp@redhat.com>
  296. - 2.0.0
  297. * Mon Jun 10 2002 Havoc Pennington <hp@redhat.com>
  298. - install the schemas, so we get a logout dialog and splash
  299. - put in the splash from 7.3
  300. * Sun Jun 09 2002 Havoc Pennington <hp@redhat.com>
  301. - rebuild in different environment
  302. * Sun Jun 09 2002 Havoc Pennington <hp@redhat.com>
  303. - rebuild in new environment, require newer gtk2
  304. * Sun Jun 9 2002 Havoc Pennington <hp@redhat.com>
  305. - remove obsoletes/provides gnome-core
  306. * Fri Jun 07 2002 Havoc Pennington <hp@redhat.com>
  307. - rebuild in different environment
  308. * Wed Jun 5 2002 Havoc Pennington <hp@redhat.com>
  309. - 1.5.21
  310. * Sun May 26 2002 Tim Powers <timp@redhat.com>
  311. - automated rebuild
  312. * Tue May 21 2002 Havoc Pennington <hp@redhat.com>
  313. - rebuild in different environment
  314. * Tue May 21 2002 Havoc Pennington <hp@redhat.com>
  315. - 1.5.19
  316. - add more build reqs to chill out build system
  317. - provide gnome-core
  318. * Fri May 3 2002 Havoc Pennington <hp@redhat.com>
  319. - obsolete gnome-core
  320. - 1.5.18
  321. * Fri Apr 19 2002 Havoc Pennington <hp@redhat.com>
  322. - default to metacity
  323. * Tue Apr 16 2002 Havoc Pennington <hp@redhat.com>
  324. - Initial build.