gnome-session-vl.spec 12 KB

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