metacity-vl.spec 14 KB

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