metacity-vl.spec 13 KB

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