%define gettext_package metacity Summary: Metacity window manager Summary(ja): Metacity ウインドウマネージャ Name: metacity Version: 2.30.1 Release: 1%{?_dist_release} URL: http://ftp.gnome.org/pub/gnome/sources/metacity/ License: GPL Group: User Interface/Desktops Source0: %{name}-%{version}.tar.bz2 Source10: metacity-theme-oldvine-2.0.tar.bz2 Source20: metacity-theme-vine-5.0.tar.bz2 # change default theme to Vine Patch0: metacity-2.26.0-default-theme.patch # ctrl-alt-del call logout session Patch1: metacity-2.26.0-ctrlaltdel.patch # change default number of workspace Patch2: metacity-2.26.0-num_workspace.patch # http://bugzilla.gnome.org/show_bug.cgi?id=558723 Patch4: stop-spamming-xsession-errors.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: gtk2-devel >= 2.20 BuildRequires: pango-devel >= 1.28.0 BuildRequires: GConf2-devel >= 2.28.0 BuildRequires: desktop-file-utils >= 0.3 BuildRequires: intltool >= 0.22 BuildRequires: startup-notification-devel >= 0.7 BuildRequires: libtool, automake, autoconf BuildRequires: xorg-x11-proto-devel BuildRequires: libSM-devel, libICE-devel, libX11-devel BuildRequires: libXext-devel, libXinerama-devel, libXrandr-devel BuildRequires: libXcursor-devel, libXrender-devel BuildRequires: libXcomposite-devel, libXdamage-devel BuildRequires: zenity BuildRequires: libcanberra-devel BuildRequires: libgtop2-devel Requires(post): GConf2 %description Metacity is a simple window manager that integrates nicely with the GNOME desktop. %package devel Summary: Development files for metacity Group: Development/Libraries Requires: gtk2-devel, libX11-devel Requires: pkgconfig Requires: %{name} = %{version}-%{release} %description devel This package contains the files needed for compiling programs using the metacity-private library. Note that you are not supposed to write programs using the metacity-private library, since it is a private API. This package exists purely for technical reasons. %prep %setup -q %patch0 -p1 -b .default-theme %patch1 -p1 -b .ctrlaltdel %patch2 -p1 -b .num_workspace %patch4 -p1 -b .stop-spamming-xsession-errors %build intltoolize --copy --force libtoolize --copy --force autoreconf %configure %__make %{?_smp_mflags} INTLTOOL_MERGE=/usr/bin/intltool-merge %install rm -rf $RPM_BUILD_ROOT export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 make install DESTDIR=$RPM_BUILD_ROOT unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL /bin/rm -f $RPM_BUILD_ROOT%{_libdir}/*.la /bin/rm -f $RPM_BUILD_ROOT%{_libdir}/*.a # install Vine Theme (New default theme) tar xzvf %{SOURCE10} -C $RPM_BUILD_ROOT%{_datadir}/themes # install NeoVine Theme tar xzvf %{SOURCE20} -C $RPM_BUILD_ROOT%{_datadir}/themes %find_lang %{gettext_package} %clean rm -rf $RPM_BUILD_ROOT %post export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` SCHEMAS="metacity.schemas" for S in $SCHEMAS; do gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S > /dev/null done %files -f %{gettext_package}.lang %defattr(-,root,root) %doc README AUTHORS COPYING NEWS HACKING doc/theme-format.txt doc/metacity-theme.dtd %{_bindir}/metacity %{_bindir}/metacity-message #{_libexecdir}/* %{_sysconfdir}/gconf/schemas/*.schemas %{_datadir}/metacity %{_datadir}/themes %{_libdir}/lib*.so.* %{_mandir}/man1/metacity.1.gz %{_mandir}/man1/metacity-message.1.gz %{_datadir}/gnome-control-center/keybindings/* %{_datadir}/applications/metacity.desktop %{_datadir}/gnome/wm-properties/metacity-wm.desktop %{_datadir}/gnome/help/creating-metacity-themes %files devel %defattr(-,root,root) %{_bindir}/metacity-theme-viewer %{_bindir}/metacity-window-demo %{_includedir}/* %{_libdir}/lib*.so %{_libdir}/pkgconfig/* %{_mandir}/man1/metacity-theme-viewer.1.gz %{_mandir}/man1/metacity-window-demo.1.gz %changelog * Fri Apr 30 2010 Shu KONNO 2.30.1-1 - updated metacity to 2.30.1 - fixed crash when right-clicking on window frame * Sun Apr 04 2010 Yoji TOYODA 2.30.0-1 - new upstream release * Mon Nov 02 2009 Kazutaka HARADA 2.28.0-2 - add BR: libgtop2-devel * Sat Oct 31 2009 Ryoichi INAGAKI 2.28.0-1 - new upstream release - dropped Patch5, 6 and 7 (merged into upstream) - removed BR: libglade2-devel * Thu Apr 30 2009 NAKAMURA Kenta 2.26.0-4 - added BuildRequires: zenity, libcanberra-devel * Thu Apr 30 2009 Daisuke SUZUKI 2.26.0-3 - Patch4: don't spam .xsession-errors so hard - Patch5: use libcanberra to play the alert sound - Patch6: don't force bell - Patch7: fix interaction with autohide panels * Wed Mar 25 2009 Daisuke SUZUKI 2.26.0-2 - update Patch0,1,2 - apply patches to ".in.in" insread of ".in" * Sat Mar 21 2009 Daisuke SUZUKI 2.26.0-1 - new upstream release - split development file to -devel subpackage - remove static libs * Tue Sep 23 2008 Daisuke SUZUKI 2.24.0-1 - new upstream release * Fri May 09 2008 Daisuke SUZUKI 2.22.0-2 - rebuild to fix strange color problem. * Tue Mar 25 2008 Ryoichi INAGAKI 2.22.0-1vl5 - new upstream release * Wed Dec 12 2007 Ryoichi INAGAKI 2.20.1-0vl1 - new upstream release - added Requires(post): GConf2 * Thu Apr 26 2007 Daisuke SUZUKI 2.18.2-0vl1 - new upstream release * Thu Jul 27 2006 Daisuke SUZUKI 2.15.13-0vl1 - new upstream release * Mon Jun 05 2006 Daisuke SUZUKI 2.14.5-0vl1 - new upstream release * Sun Apr 16 2006 Daisuke SUZUKI 2.14.3-0vl1 - new upstream release - remove Patch20 which is merged in upstream - include ClearVine theme as default theme. * Wed Apr 12 2006 Daisuke SUZUKI 2.14.2-0vl1 - new upstream release * Fri Apr 07 2006 Daisuke SUZUKI 2.14.1-0vl2 - add Patch20 to make configurable new window focus (bug 326159) * Tue Mar 14 2006 Daisuke SUZUKI 2.14.1-0vl1 - new upstream release * Tue Mar 07 2006 Daisuke SUZUKI 2.13.144-0vl1 - new upstream release * Wed Nov 30 2005 Daisuke SUZUKI 2.12.2-0vl1 - new upstream release * Wed Oct 05 2005 Daisuke SUZUKI 2.12.1-0vl1 - new upstream release * Mon Sep 19 2005 Daisuke SUZUKI 2.12.0-0vl1 - new upstream release * Sun Aug 21 2005 Daisuke SUZUKI 2.11.2-0vl1 - new upstream release * Fri Aug 05 2005 Daisuke SUZUKI 2.11.1-0vl1 - new upstream release * Sun Jul 24 2005 Daisuke SUZUKI 2.10.3-0vl1 - new upstream release * Sun Mar 20 2005 Daisuke SUZUKI 2.10.0-0vl1 - new upstream version - include Vine metacity theme as default theme. - update Patch0 to change deafult theme. * Wed Nov 10 2004 Daisuke SUZUKI 2.9.0-0vl2 - update NeoVine metacity theme. * Mon Nov 08 2004 Daisuke SUZUKI 2.9.0-0vl1 - new upstream release * Wed Nov 03 2004 Daisuke SUZUKI 2.8.5-0vl1 - new upstream release * Sun Jun 20 2004 Daisuke SUZUKI 2.8.1-0vl1 - new upstream release - add BuildRequires: libtoo,automake14, autoconf * Wed Dec 24 2003 Tomoya TAKA 2.6.3-0vl1 - new upstream release - build with new toolchain * Sat Oct 18 2003 Daisuke SUZUKI 2.6.2-0vl1 - new upstream release * Thu Sep 11 2003 Daisuke SUZUKI 2.6.1-0vl1 - new upstream release * Wed Sep 10 2003 Daisuke SUZUKI 2.6.0-0vl2 - fixed missing locale files * Wed Sep 10 2003 Daisuke SUZUKI 2.6.0-0vl1 - new upstream release * Mon Sep 08 2003 Daisuke SUZUKI 2.5.5-0vl2 - add patch10 to increase workspaces (4->6). * Fri Sep 05 2003 Daisuke SUZUKI 2.5.5-0vl1 - new upstream release * Wed Sep 03 2003 Daisuke SUZUKI 2.5.3-0vl1 - new upstream release * Mon Jun 09 2003 Daisuke SUZUKI 2.5.2-0vl2 - update ja.po - update NeoVine theme * Sat May 31 2003 Daisuke SUZUKI 2.5.2-0vl1 - new upstream release * Sat Feb 15 2003 Daisuke SUZUKI 2.4.34-0vl1 - fixed typo - NeoVine Metatheme moved to gnome-themes package. * Sat Feb 15 2003 Daisuke SUZUKI 2.4.34-0vl1 - new upstream release - add patch2 from rawhide. - drop patch1, merged in upstream. * Fri Jan 31 2003 Tomoya TAKA 2.4.21-0vl2 - add Patch1 to fix hang on all 64-bit platforms * Fri Jan 24 2003 Daisuke SUZUKI 2.4.21-0vl1 - new upstream release * Wed Jan 22 2003 Daisuke SUZUKI 2.4.13-0vl3 - update NeoVine metatheme (use gnome default icons) * Sun Jan 12 2003 Daisuke SUZUKI 2.4.13-0vl2 - update neovine theme * Sat Jan 11 2003 Daisuke SUZUKI 2.4.13-0vl1 - new upstream release * Sat Dec 28 2002 Daisuke SUZUKI 2.4.8-0vl6 - drop patch0 to use system fonts. * Sat Dec 28 2002 Daisuke SUZUKI 2.4.8-0vl6 - update ja.po * Fri Dec 27 2002 Daisuke SUZUKI 2.4.8-0vl5 - fixed NeoVine theme * Wed Dec 25 2002 Daisuke SUZUKI 2.4.8-0vl4 - add NeoVine theme ported from sawfish. - use neoVine as default theme. (Patch0) * Mon Dec 16 2002 Daisuke SUZUKI 2.4.8-0vl3 - change URL - add BuildRequires * Sun Dec 15 2002 Daisuke SUZUKI 2.4.8-0vl2 - add include files * Sun Dec 15 2002 Daisuke SUZUKI 2.4.8-0vl1 - build for Vine Linux - new upstream release from gnome-2.1.4 * Tue Oct 29 2002 Havoc Pennington - 2.4.3 - remove patches that have gone upstream * Tue Aug 27 2002 Havoc Pennington - fix shaded window decorations in Bluecurve theme * Sat Aug 24 2002 Havoc Pennington - fix the mplayer-disappears-on-de-fullscreen bug * Sat Aug 24 2002 Havoc Pennington - add some fixes from CVS for #71163 #72379 #72478 #72513 * Thu Aug 22 2002 Havoc Pennington - patch .schemas.in instead of .schemas so we get right default theme/fonts * Tue Aug 20 2002 Havoc Pennington - grow size of top resize, and display proper cursor on enter notify - require latest intltool to try and fix metacity.schemas by regenerating it in non-UTF-8 locale * Thu Aug 15 2002 Havoc Pennington - default to Sans Bold font, fixes #70920 and matches graphic design spec * Thu Aug 15 2002 Havoc Pennington - 2.4.0.91 with raise/lower keybindings for msf, fixes to fullscreen - more apps that probably intend to be, fix for changing number of workspaces, fix for moving windows in multihead * Tue Aug 13 2002 Havoc Pennington - update build requires * Mon Aug 12 2002 Havoc Pennington - upgrade to cvs snap 2.4.0.90 with pile of bugfixes from this weekend - change default theme to bluecurve and require new redhat-artwork * Tue Aug 6 2002 Havoc Pennington - 2.4.0 - themes are moved, require appropriate redhat-artwork * Thu Aug 1 2002 Havoc Pennington - munge the desktop file to be in toplevel menus and not show in KDE * Tue Jul 23 2002 Havoc Pennington - don't use system font by default as metacity's font is now in the system font dialog * Tue Jul 23 2002 Havoc Pennington - 2.3.987.92 cvs snap * Fri Jul 12 2002 Havoc Pennington - 2.3.987.91 cvs snap * Mon Jun 24 2002 Havoc Pennington - 2.3.987.90 cvs snap * Fri Jun 21 2002 Tim Powers - automated rebuild * Sun Jun 16 2002 Havoc Pennington - rebuild for new libraries * Mon Jun 10 2002 Havoc Pennington - rebuild in different environment * Mon Jun 10 2002 Havoc Pennington - 2.3.987 - default to redhat theme * Fri Jun 07 2002 Havoc Pennington - rebuild in different environment * Tue Jun 4 2002 Havoc Pennington - 2.3.610.90 cvs snap * Sun May 26 2002 Tim Powers - automated rebuild * Mon May 20 2002 Havoc Pennington - rebuild in different environment * Fri May 17 2002 Havoc Pennington - 2.3.377 * Thu May 2 2002 Havoc Pennington - 2.3.233 * Thu Apr 25 2002 Havoc Pennington - rebuild in different environment - add gconf schemas boilerplate * Mon Apr 15 2002 Havoc Pennington - 2.3.89 * Tue Oct 30 2001 Havoc Pennington - 2.3.34 * Fri Oct 13 2001 Havoc Pennington - 2.3.21 * Mon Sep 17 2001 Havoc Pennington - 2.3.8 - 2.3.13 * Wed Sep 5 2001 Havoc Pennington - Initial build.