metacity-vl.spec 15 KB

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