gnome-session-vl.spec 12 KB

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