metacity-vl.spec 15 KB

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