gnome-session-vl.spec 13 KB

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