metacity-vl.spec 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427
  1. %define gettext_package metacity
  2. Summary: Metacity window manager
  3. Summary(ja): Metacity ウインドウマネージャ
  4. Name: metacity
  5. Version: 2.30.1
  6. Release: 1%{?_dist_release}
  7. URL: http://ftp.gnome.org/pub/gnome/sources/metacity/
  8. License: GPL
  9. Group: User Interface/Desktops
  10. Source0: %{name}-%{version}.tar.bz2
  11. Source10: metacity-theme-oldvine-2.0.tar.bz2
  12. Source20: metacity-theme-vine-5.0.tar.bz2
  13. # change default theme to Vine
  14. Patch0: metacity-2.26.0-default-theme.patch
  15. # ctrl-alt-del call logout session
  16. Patch1: metacity-2.26.0-ctrlaltdel.patch
  17. # change default number of workspace
  18. Patch2: metacity-2.26.0-num_workspace.patch
  19. # http://bugzilla.gnome.org/show_bug.cgi?id=558723
  20. Patch4: stop-spamming-xsession-errors.patch
  21. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  22. BuildRequires: gtk2-devel >= 2.20
  23. BuildRequires: pango-devel >= 1.28.0
  24. BuildRequires: GConf2-devel >= 2.28.0
  25. BuildRequires: desktop-file-utils >= 0.3
  26. BuildRequires: intltool >= 0.22
  27. BuildRequires: startup-notification-devel >= 0.7
  28. BuildRequires: libtool, automake, autoconf
  29. BuildRequires: xorg-x11-proto-devel
  30. BuildRequires: libSM-devel, libICE-devel, libX11-devel
  31. BuildRequires: libXext-devel, libXinerama-devel, libXrandr-devel
  32. BuildRequires: libXcursor-devel, libXrender-devel
  33. BuildRequires: libXcomposite-devel, libXdamage-devel
  34. BuildRequires: zenity
  35. BuildRequires: libcanberra-devel
  36. BuildRequires: libgtop2-devel
  37. Requires(post): GConf2
  38. %description
  39. Metacity is a simple window manager that integrates nicely with
  40. the GNOME desktop.
  41. %package devel
  42. Summary: Development files for metacity
  43. Group: Development/Libraries
  44. Requires: gtk2-devel, libX11-devel
  45. Requires: pkgconfig
  46. Requires: %{name} = %{version}-%{release}
  47. %description devel
  48. This package contains the files needed for compiling programs using
  49. the metacity-private library. Note that you are not supposed to write
  50. programs using the metacity-private library, since it is a private
  51. API. This package exists purely for technical reasons.
  52. %prep
  53. %setup -q
  54. %patch0 -p1 -b .default-theme
  55. %patch1 -p1 -b .ctrlaltdel
  56. %patch2 -p1 -b .num_workspace
  57. %patch4 -p1 -b .stop-spamming-xsession-errors
  58. %build
  59. intltoolize --copy --force
  60. libtoolize --copy --force
  61. autoreconf
  62. %configure
  63. %__make %{?_smp_mflags} INTLTOOL_MERGE=/usr/bin/intltool-merge
  64. %install
  65. rm -rf $RPM_BUILD_ROOT
  66. export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  67. make install DESTDIR=$RPM_BUILD_ROOT
  68. unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  69. /bin/rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  70. /bin/rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
  71. # install Vine Theme (New default theme)
  72. tar xzvf %{SOURCE10} -C $RPM_BUILD_ROOT%{_datadir}/themes
  73. # install NeoVine Theme
  74. tar xzvf %{SOURCE20} -C $RPM_BUILD_ROOT%{_datadir}/themes
  75. %find_lang %{gettext_package}
  76. %clean
  77. rm -rf $RPM_BUILD_ROOT
  78. %post
  79. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  80. SCHEMAS="metacity.schemas"
  81. for S in $SCHEMAS; do
  82. gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S > /dev/null
  83. done
  84. %files -f %{gettext_package}.lang
  85. %defattr(-,root,root)
  86. %doc README AUTHORS COPYING NEWS HACKING doc/theme-format.txt doc/metacity-theme.dtd
  87. %{_bindir}/metacity
  88. %{_bindir}/metacity-message
  89. #{_libexecdir}/*
  90. %{_sysconfdir}/gconf/schemas/*.schemas
  91. %{_datadir}/metacity
  92. %{_datadir}/themes
  93. %{_libdir}/lib*.so.*
  94. %{_mandir}/man1/metacity.1.gz
  95. %{_mandir}/man1/metacity-message.1.gz
  96. %{_datadir}/gnome-control-center/keybindings/*
  97. %{_datadir}/applications/metacity.desktop
  98. %{_datadir}/gnome/wm-properties/metacity-wm.desktop
  99. %{_datadir}/gnome/help/creating-metacity-themes
  100. %files devel
  101. %defattr(-,root,root)
  102. %{_bindir}/metacity-theme-viewer
  103. %{_bindir}/metacity-window-demo
  104. %{_includedir}/*
  105. %{_libdir}/lib*.so
  106. %{_libdir}/pkgconfig/*
  107. %{_mandir}/man1/metacity-theme-viewer.1.gz
  108. %{_mandir}/man1/metacity-window-demo.1.gz
  109. %changelog
  110. * Fri Apr 30 2010 Shu KONNO <owa@bg.wakwak.com> 2.30.1-1
  111. - updated metacity to 2.30.1
  112. - fixed crash when right-clicking on window frame
  113. * Sun Apr 04 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  114. - new upstream release
  115. * Mon Nov 02 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.28.0-2
  116. - add BR: libgtop2-devel
  117. * Sat Oct 31 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.0-1
  118. - new upstream release
  119. - dropped Patch5, 6 and 7 (merged into upstream)
  120. - removed BR: libglade2-devel
  121. * Thu Apr 30 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.26.0-4
  122. - added BuildRequires: zenity, libcanberra-devel
  123. * Thu Apr 30 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-3
  124. - Patch4: don't spam .xsession-errors so hard
  125. - Patch5: use libcanberra to play the alert sound
  126. - Patch6: don't force bell
  127. - Patch7: fix interaction with autohide panels
  128. * Wed Mar 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-2
  129. - update Patch0,1,2
  130. - apply patches to ".in.in" insread of ".in"
  131. * Sat Mar 21 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
  132. - new upstream release
  133. - split development file to -devel subpackage
  134. - remove static libs
  135. * Tue Sep 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
  136. - new upstream release
  137. * Fri May 09 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.22.0-2
  138. - rebuild to fix strange color problem.
  139. * Tue Mar 25 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5
  140. - new upstream release
  141. * Wed Dec 12 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.1-0vl1
  142. - new upstream release
  143. - added Requires(post): GConf2
  144. * Thu Apr 26 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.2-0vl1
  145. - new upstream release
  146. * Thu Jul 27 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.15.13-0vl1
  147. - new upstream release
  148. * Mon Jun 05 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.5-0vl1
  149. - new upstream release
  150. * Sun Apr 16 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.3-0vl1
  151. - new upstream release
  152. - remove Patch20 which is merged in upstream
  153. - include ClearVine theme as default theme.
  154. * Wed Apr 12 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.2-0vl1
  155. - new upstream release
  156. * Fri Apr 07 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl2
  157. - add Patch20 to make configurable new window focus (bug 326159)
  158. * Tue Mar 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl1
  159. - new upstream release
  160. * Tue Mar 07 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.144-0vl1
  161. - new upstream release
  162. * Wed Nov 30 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.2-0vl1
  163. - new upstream release
  164. * Wed Oct 05 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.1-0vl1
  165. - new upstream release
  166. * Mon Sep 19 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0-0vl1
  167. - new upstream release
  168. * Sun Aug 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11.2-0vl1
  169. - new upstream release
  170. * Fri Aug 05 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11.1-0vl1
  171. - new upstream release
  172. * Sun Jul 24 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.3-0vl1
  173. - new upstream release
  174. * Sun Mar 20 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl1
  175. - new upstream version
  176. - include Vine metacity theme as default theme.
  177. - update Patch0 to change deafult theme.
  178. * Wed Nov 10 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.9.0-0vl2
  179. - update NeoVine metacity theme.
  180. * Mon Nov 08 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.9.0-0vl1
  181. - new upstream release
  182. * Wed Nov 03 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.5-0vl1
  183. - new upstream release
  184. * Sun Jun 20 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.1-0vl1
  185. - new upstream release
  186. - add BuildRequires: libtoo,automake14, autoconf
  187. * Wed Dec 24 2003 Tomoya TAKA <taka@vinelinux.org> 2.6.3-0vl1
  188. - new upstream release
  189. - build with new toolchain
  190. * Sat Oct 18 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.2-0vl1
  191. - new upstream release
  192. * Thu Sep 11 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.1-0vl1
  193. - new upstream release
  194. * Wed Sep 10 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.0-0vl2
  195. - fixed missing locale files
  196. * Wed Sep 10 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.0-0vl1
  197. - new upstream release
  198. * Mon Sep 08 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.5.5-0vl2
  199. - add patch10 to increase workspaces (4->6).
  200. * Fri Sep 05 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.5.5-0vl1
  201. - new upstream release
  202. * Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.5.3-0vl1
  203. - new upstream release
  204. * Mon Jun 09 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.5.2-0vl2
  205. - update ja.po
  206. - update NeoVine theme
  207. * Sat May 31 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.5.2-0vl1
  208. - new upstream release
  209. * Sat Feb 15 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.34-0vl1
  210. - fixed typo
  211. - NeoVine Metatheme moved to gnome-themes package.
  212. * Sat Feb 15 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.34-0vl1
  213. - new upstream release
  214. - add patch2 from rawhide.
  215. - drop patch1, merged in upstream.
  216. * Fri Jan 31 2003 Tomoya TAKA <taka@vinelinux.org> 2.4.21-0vl2
  217. - add Patch1 to fix hang on all 64-bit platforms
  218. * Fri Jan 24 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.21-0vl1
  219. - new upstream release
  220. * Wed Jan 22 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.13-0vl3
  221. - update NeoVine metatheme (use gnome default icons)
  222. * Sun Jan 12 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.13-0vl2
  223. - update neovine theme
  224. * Sat Jan 11 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.13-0vl1
  225. - new upstream release
  226. * Sat Dec 28 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.8-0vl6
  227. - drop patch0 to use system fonts.
  228. * Sat Dec 28 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.8-0vl6
  229. - update ja.po
  230. * Fri Dec 27 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.8-0vl5
  231. - fixed NeoVine theme
  232. * Wed Dec 25 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.8-0vl4
  233. - add NeoVine theme ported from sawfish.
  234. - use neoVine as default theme. (Patch0)
  235. * Mon Dec 16 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.8-0vl3
  236. - change URL
  237. - add BuildRequires
  238. * Sun Dec 15 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.8-0vl2
  239. - add include files
  240. * Sun Dec 15 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.8-0vl1
  241. - build for Vine Linux
  242. - new upstream release from gnome-2.1.4
  243. * Tue Oct 29 2002 Havoc Pennington <hp@redhat.com>
  244. - 2.4.3
  245. - remove patches that have gone upstream
  246. * Tue Aug 27 2002 Havoc Pennington <hp@redhat.com>
  247. - fix shaded window decorations in Bluecurve theme
  248. * Sat Aug 24 2002 Havoc Pennington <hp@redhat.com>
  249. - fix the mplayer-disappears-on-de-fullscreen bug
  250. * Sat Aug 24 2002 Havoc Pennington <hp@redhat.com>
  251. - add some fixes from CVS for #71163 #72379 #72478 #72513
  252. * Thu Aug 22 2002 Havoc Pennington <hp@redhat.com>
  253. - patch .schemas.in instead of .schemas so we get right default theme/fonts
  254. * Tue Aug 20 2002 Havoc Pennington <hp@redhat.com>
  255. - grow size of top resize, and display proper cursor on enter notify
  256. - require latest intltool to try and fix metacity.schemas by
  257. regenerating it in non-UTF-8 locale
  258. * Thu Aug 15 2002 Havoc Pennington <hp@redhat.com>
  259. - default to Sans Bold font, fixes #70920 and matches graphic design spec
  260. * Thu Aug 15 2002 Havoc Pennington <hp@redhat.com>
  261. - 2.4.0.91 with raise/lower keybindings for msf, fixes to fullscreen
  262. - more apps that probably intend to be, fix for changing number of
  263. workspaces, fix for moving windows in multihead
  264. * Tue Aug 13 2002 Havoc Pennington <hp@redhat.com>
  265. - update build requires
  266. * Mon Aug 12 2002 Havoc Pennington <hp@redhat.com>
  267. - upgrade to cvs snap 2.4.0.90 with pile of bugfixes from
  268. this weekend
  269. - change default theme to bluecurve and require new redhat-artwork
  270. * Tue Aug 6 2002 Havoc Pennington <hp@redhat.com>
  271. - 2.4.0
  272. - themes are moved, require appropriate redhat-artwork
  273. * Thu Aug 1 2002 Havoc Pennington <hp@redhat.com>
  274. - munge the desktop file to be in toplevel menus and
  275. not show in KDE
  276. * Tue Jul 23 2002 Havoc Pennington <hp@redhat.com>
  277. - don't use system font by default as metacity's
  278. font is now in the system font dialog
  279. * Tue Jul 23 2002 Havoc Pennington <hp@redhat.com>
  280. - 2.3.987.92 cvs snap
  281. * Fri Jul 12 2002 Havoc Pennington <hp@redhat.com>
  282. - 2.3.987.91 cvs snap
  283. * Mon Jun 24 2002 Havoc Pennington <hp@redhat.com>
  284. - 2.3.987.90 cvs snap
  285. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  286. - automated rebuild
  287. * Sun Jun 16 2002 Havoc Pennington <hp@redhat.com>
  288. - rebuild for new libraries
  289. * Mon Jun 10 2002 Havoc Pennington <hp@redhat.com>
  290. - rebuild in different environment
  291. * Mon Jun 10 2002 Havoc Pennington <hp@redhat.com>
  292. - 2.3.987
  293. - default to redhat theme
  294. * Fri Jun 07 2002 Havoc Pennington <hp@redhat.com>
  295. - rebuild in different environment
  296. * Tue Jun 4 2002 Havoc Pennington <hp@redhat.com>
  297. - 2.3.610.90 cvs snap
  298. * Sun May 26 2002 Tim Powers <timp@redhat.com>
  299. - automated rebuild
  300. * Mon May 20 2002 Havoc Pennington <hp@redhat.com>
  301. - rebuild in different environment
  302. * Fri May 17 2002 Havoc Pennington <hp@redhat.com>
  303. - 2.3.377
  304. * Thu May 2 2002 Havoc Pennington <hp@redhat.com>
  305. - 2.3.233
  306. * Thu Apr 25 2002 Havoc Pennington <hp@redhat.com>
  307. - rebuild in different environment
  308. - add gconf schemas boilerplate
  309. * Mon Apr 15 2002 Havoc Pennington <hp@pobox.com>
  310. - 2.3.89
  311. * Tue Oct 30 2001 Havoc Pennington <hp@redhat.com>
  312. - 2.3.34
  313. * Fri Oct 13 2001 Havoc Pennington <hp@redhat.com>
  314. - 2.3.21
  315. * Mon Sep 17 2001 Havoc Pennington <hp@redhat.com>
  316. - 2.3.8
  317. - 2.3.13
  318. * Wed Sep 5 2001 Havoc Pennington <hp@redhat.com>
  319. - Initial build.