6bd12ec
Name:          mutter
ecee2f5
Version:       3.2.1
0c4ca3f
Release:       1%{?dist}
6bd12ec
Summary:       Window and compositing manager based on Clutter
6bd12ec
6bd12ec
Group:         User Interface/Desktops
6bd12ec
License:       GPLv2+
aca0591
#VCS:	       git:git://git.gnome.org/mutter
ecee2f5
Source0:       http://download.gnome.org/sources/%{name}/3.2/%{name}-%{version}.tar.xz
6632f8a
Owen W. Taylor 7801cc0
BuildRequires: clutter-devel >= 1.5.8
6632f8a
BuildRequires: pango-devel
6632f8a
BuildRequires: startup-notification-devel
264d242
BuildRequires: gtk3-devel >= 2.99.0
6632f8a
BuildRequires: pkgconfig
6632f8a
BuildRequires: GConf2-devel
6632f8a
BuildRequires: gobject-introspection-devel
6632f8a
BuildRequires: libSM-devel
6632f8a
BuildRequires: libX11-devel
6632f8a
BuildRequires: libXdamage-devel
6632f8a
BuildRequires: libXext-devel
6632f8a
BuildRequires: libXrandr-devel
6632f8a
BuildRequires: libXrender-devel
6632f8a
BuildRequires: libXcursor-devel
6632f8a
BuildRequires: libXcomposite-devel
6632f8a
BuildRequires: zenity
6632f8a
BuildRequires: gnome-doc-utils
6632f8a
BuildRequires: desktop-file-utils
aca0591
# Bootstrap requirements
aca0591
BuildRequires: gtk-doc gnome-common intltool
b9d9157
BuildRequires: libcanberra-devel
6bd12ec
6632f8a
Requires: control-center-filesystem
6632f8a
Requires: startup-notification
6632f8a
Requires: GConf2
6632f8a
Requires: dbus-x11
6632f8a
Requires: zenity
6632f8a
6632f8a
%description
6632f8a
Mutter is a window and compositing manager that displays and manages
6632f8a
your desktop via OpenGL. Mutter combines a sophisticated display engine
6632f8a
using the Clutter toolkit with solid window-management logic inherited
6632f8a
from the Metacity window manager.
6632f8a
6632f8a
While Mutter can be used stand-alone, it is primarily intended to be
6632f8a
used as the display core of a larger system such as gnome-shell or
6632f8a
Moblin. For this reason, Mutter is very extensible via plugins, which
6632f8a
are used both to add fancy visual effects and to rework the window
6632f8a
management behaviors to meet the needs of the environment.
6632f8a
6632f8a
%package devel
6632f8a
Summary: Development package for %{name}
6632f8a
Group: Development/Libraries
6632f8a
Requires: %{name} = %{version}-%{release}
6632f8a
Requires: pkgconfig
6632f8a
6632f8a
%description devel
6632f8a
Header files and libraries for developing Mutter plugins. Also includes
6632f8a
utilities for testing Metacity/Mutter themes.
6632f8a
6632f8a
%prep
6632f8a
%setup -q
6bd12ec
6632f8a
%build
aca0591
(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi;
8b67a23
 %configure --disable-static --with-gtk=3.0)
6632f8a
6632f8a
SHOULD_HAVE_DEFINED="HAVE_SM HAVE_XINERAMA HAVE_XFREE_XINERAMA HAVE_SHAPE HAVE_RANDR HAVE_STARTUP_NOTIFICATION HAVE_COMPOSITE_EXTENSION"
6632f8a
6632f8a
for I in $SHOULD_HAVE_DEFINED; do
6632f8a
  if ! grep -q "define $I" config.h; then
6632f8a
    echo "$I was not defined in config.h"
6632f8a
    grep "$I" config.h
6632f8a
    exit 1
6632f8a
  else
6632f8a
    echo "$I was defined as it should have been"
6632f8a
    grep "$I" config.h
6632f8a
  fi
6632f8a
done
6632f8a
6632f8a
make %{?_smp_mflags} V=1
6632f8a
6632f8a
%install
6632f8a
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
6632f8a
make install DESTDIR=$RPM_BUILD_ROOT
6632f8a
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
6632f8a
6632f8a
#Remove libtool archives.
6632f8a
rm -rf %{buildroot}/%{_libdir}/*.la
6632f8a
6632f8a
%find_lang %{name}
6632f8a
6632f8a
# Mutter contains a .desktop file so we just need to validate it
6632f8a
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
6632f8a
264d242
%pre
6632f8a
if [ "$1" -gt 1 ]; then
6632f8a
  export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
6632f8a
  gconftool-2 --makefile-uninstall-rule \
6632f8a
    %{_sysconfdir}/gconf/schemas/mutter.schemas \
6632f8a
    > /dev/null || :
6632f8a
fi
6632f8a
264d242
%preun
a2fe35c
if [ "$1" -eq 0 ]; then
6632f8a
  export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
6632f8a
  gconftool-2 --makefile-uninstall-rule \
6632f8a
    %{_sysconfdir}/gconf/schemas/mutter.schemas \
6632f8a
    > /dev/null || :
6632f8a
fi
6632f8a
264d242
%post
6632f8a
/sbin/ldconfig
6632f8a
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
6632f8a
gconftool-2 --makefile-install-rule \
6632f8a
    %{_sysconfdir}/gconf/schemas/mutter.schemas \
6632f8a
  > /dev/null || :
6632f8a
6632f8a
%postun -p /sbin/ldconfig
6632f8a
6632f8a
%files -f %{name}.lang
6632f8a
%doc README AUTHORS COPYING NEWS HACKING doc/theme-format.txt
6632f8a
%doc %{_mandir}/man1/mutter.1.gz
6632f8a
%doc %{_mandir}/man1/mutter-message.1.gz
6632f8a
%{_bindir}/mutter
6632f8a
%{_bindir}/mutter-message
6632f8a
%{_datadir}/applications/*.desktop
6632f8a
%{_datadir}/gnome/wm-properties/mutter-wm.desktop
6632f8a
%{_sysconfdir}/gconf/schemas/mutter.schemas
6632f8a
%{_datadir}/mutter
6632f8a
%{_libdir}/lib*.so.*
6632f8a
%{_libdir}/mutter/
6632f8a
6632f8a
%files devel
6632f8a
%{_bindir}/mutter-theme-viewer
6632f8a
%{_bindir}/mutter-window-demo
6632f8a
%{_includedir}/*
6632f8a
%{_libdir}/lib*.so
6632f8a
%{_libdir}/pkgconfig/*
6632f8a
%doc %{_mandir}/man1/mutter-theme-viewer.1.gz
6632f8a
%doc %{_mandir}/man1/mutter-window-demo.1.gz
6632f8a
6632f8a
%changelog
ecee2f5
* Wed Oct 19 2011 Matthias Clasen <mclasen@redhat.com> - 3.2.1-1
ecee2f5
- Update to 3.2.1
ecee2f5
ecee2f5
* Mon Sep 26 2011 Owen Taylor <otaylor@redhat.com> - 3.2.0-1
6ad9cb6
- Update to 3.2.0
6ad9cb6
0c4ca3f
* Tue Sep 20 2011 Matthias Clasen <mclasen@redhat.com> - 3.1.92-1
0c4ca3f
- Update to 3.1.92
0c4ca3f
ecee2f5
* Wed Sep 14 2011 Owen Taylor <otaylor@redhat.com> - 3.1.91.1-1
ecee2f5
- Update to 3.1.91.1
ecee2f5
ecee2f5
* Wed Aug 31 2011 Matthias Clasen <mclasen@redhat.com> - 3.1.90.1-1
ecee2f5
- Update to 3.1.90.1
ecee2f5
ecee2f5
* Wed Jul 27 2011 Matthias Clasen <mclasen@redhat.com> - 3.1.4-1
ecee2f5
- Update to 3.1.4
ecee2f5
ecee2f5
* Wed Jul 27 2011 Matthias Clasen <mclasen@redhat.com> - 3.1.3.1-3
ecee2f5
- Rebuild
ecee2f5
1519d99
* Mon Jul  4 2011 Peter Robinson <pbrobinson@gmail.com> - 3.1.3.1-2
1519d99
- rebuild against new clutter/cogl
1519d99
f7d513b
* Mon Jul 04 2011 Adam Williamson <awilliam@redhat.com> - 3.1.3.1-1
f7d513b
- Update to 3.1.3.1
f7d513b
Owen W. Taylor 7dfc29b
* Thu Jun 30 2011 Owen Taylor <otaylor@redhat.com> - 3.1.3-1
Owen W. Taylor 7dfc29b
- Update to 3.1.3
Owen W. Taylor 7dfc29b
Owen W. Taylor aec6fe8
* Wed May 25 2011 Owen Taylor <otaylor@redhat.com> - 3.0.2.1-1
Owen W. Taylor aec6fe8
- Update to 3.0.2.1
Owen W. Taylor aec6fe8
71d5e79
* Fri Apr 29 2011 Matthias Clasen <mclasen@redhat.com> - 3.0.1-3
71d5e79
- Actually apply the patch for #700276
71d5e79
e25ef0f
* Thu Apr 28 2011 Matthias Clasen <mclasen@redhat.com> - 3.0.1-2
e25ef0f
- Make session saving of gnome-shell work
e25ef0f
Owen W. Taylor f1996aa
* Mon Apr 25 2011 Owen Taylor <otaylor@redhat.com> - 3.0.1-1
Owen W. Taylor f1996aa
- Update to 3.0.1
Owen W. Taylor f1996aa
Owen W. Taylor 65d8ac8
* Mon Apr  4 2011 Owen Taylor <otaylor@redhat.com> - 3.0.0-1
Owen W. Taylor 65d8ac8
- Update to 3.0.0
Owen W. Taylor 65d8ac8
0ed1ab5
* Mon Mar 28 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.93-1
0ed1ab5
- Update to 2.91.93
0ed1ab5
e531827
* Wed Mar 23 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.92-1
e531827
- Update to 2.91.92
e531827
Owen W. Taylor a5b99a2
* Mon Mar  7 2011 Owen Taylor <otaylor@redhat.com> - 2.91.91-1
Owen W. Taylor a5b99a2
- Update to 2.91.91
Owen W. Taylor a5b99a2
b9d9157
* Tue Mar  1 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.90-2
b9d9157
- Build against libcanberra, to enable AccessX feedback features
b9d9157
cec5493
* Tue Feb 22 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.90-1
cec5493
- Update to 2.91.90
cec5493
1e29ffe
* Thu Feb 10 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.6-4
1e29ffe
- Rebuild against newer gtk
1e29ffe
f61307a
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.91.6-3
f61307a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
f61307a
bc7ec28
* Wed Feb  2 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.6-2
bc7ec28
- Rebuild against newer gtk
bc7ec28
Owen W. Taylor 1ab7a48
* Tue Feb  1 2011 Owen Taylor <otaylor@redhat.com> - 2.91.6-1
Owen W. Taylor 1ab7a48
- Update to 2.91.6
Owen W. Taylor 1ab7a48
d624f21
* Tue Jan 11 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.5-1
d624f21
- Update to 2.91.5
d624f21
264d242
* Fri Jan  7 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.4-1
264d242
- Update to 2.91.4
264d242
abcbb33
* Fri Dec  3 2010 Matthias Clasen <mclasen@redhat.com> - 2.91.3-2
abcbb33
- Rebuild against new gtk
abcbb33
- Drop no longer needed %%clean etc
abcbb33
Owen W. Taylor 7801cc0
* Mon Nov 29 2010 Owen Taylor <otaylor@redhat.com> - 2.91.3-1
Owen W. Taylor 7801cc0
- Update to 2.91.3
Owen W. Taylor 7801cc0
Owen W. Taylor 6c1cef6
* Tue Nov  9 2010 Owen Taylor <otaylor@redhat.com> - 2.91.2-1
Owen W. Taylor 6c1cef6
- Update to 2.91.2
Owen W. Taylor 6c1cef6
d293424
* Tue Nov  2 2010 Matthias Clasen <mclasen@redhat.com> - 2.91.1-2
d293424
- Rebuild against newer gtk3
d293424
Owen W. Taylor b4f88d5
* Fri Oct 29 2010 Owen Taylor <otaylor@redhat.com> - 2.91.1-1
Owen W. Taylor b4f88d5
- Update to 2.91.1
Owen W. Taylor b4f88d5
Owen W. Taylor 30dcffb
* Mon Oct  4 2010 Owen Taylor <otaylor@redhat.com> - 2.91.0-1
Owen W. Taylor 30dcffb
- Update to 2.91.0
Owen W. Taylor 30dcffb
785f2b3
* Wed Sep 22 2010 Matthias Clasen <mclasen@redhat.com> - 2.31.5-4
785f2b3
- Rebuild against newer gobject-introspection
785f2b3
3004fa6
* Wed Jul 14 2010 Colin Walters <walters@verbum.org> - 2.31.5-3
3004fa6
- Rebuild for new gobject-introspection
3004fa6
8b67a23
* Tue Jul 13 2010 Adel Gadllah <adel.gadllah@gmail.com> - 2.31.5-2
8b67a23
- Build against gtk3
8b67a23
4a3fefe
* Mon Jul 12 2010 Colin Walters <walters@pocket> - 2.31.5-1
4a3fefe
- New upstream version
4a3fefe
3017fe3
* Mon Jul 12 2010 Colin Walters <walters@verbum.org> - 2.31.2-5
3017fe3
- Rebuild against new gobject-introspection
3017fe3
aca0591
* Tue Jul  6 2010 Colin Walters <walters@verbum.org> - 2.31.2-4
aca0591
- Changes to support snapshot builds
aca0591
7371864
* Fri Jun 25 2010 Colin Walters <walters@megatron> - 2.31.2-3
7371864
- drop gir-repository-devel dep
7371864
b23c316
* Wed May 26 2010 Adam Miller <maxamillion@fedoraproject.org> - 2.31.2-2
b23c316
- removed "--with-clutter" as configure is claiming it to be an unknown option
b23c316
690718b
* Wed May 26 2010 Adam Miller <maxamillion@fedoraproject.org> - 2.31.2-1
690718b
- New upstream 2.31.2 release
690718b
2d24d51
* Thu Mar 25 2010 Peter Robinson <pbrobinson@gmail.com> 2.29.1-1
2d24d51
- New upstream 2.29.1 release
2d24d51
dac4a5f
* Wed Mar 17 2010 Peter Robinson <pbrobinson@gmail.com> 2.29.0-1
dac4a5f
- New upstream 2.29.0 release
dac4a5f
6dde2f1
* Tue Feb 16 2010 Adam Jackson <ajax@redhat.com> 2.28.1-0.2
6dde2f1
- mutter-2.28.1-add-needed.patch: Fix FTBFS from --no-add-needed
6dde2f1
6bd12ec
* Thu Feb  4 2010 Peter Robinson <pbrobinson@gmail.com> 2.28.1-0.1
6bd12ec
- Move to git snapshot
6bd12ec
627c02c
* Wed Oct  7 2009 Owen Taylor <otaylor@redhat.com> - 2.28.0-1
627c02c
- Update to 2.28.0
627c02c
1ae228f
* Tue Sep 15 2009 Owen Taylor <otaylor@redhat.com> - 2.27.5-1
1ae228f
- Update to 2.27.5
1ae228f
8c5f68d
* Fri Sep  4 2009 Owen Taylor <otaylor@redhat.com> - 2.27.4-1
8c5f68d
- Remove workaround for #520209
8c5f68d
- Update to 2.27.4
8c5f68d
a2fe35c
* Sat Aug 29 2009 Owen Taylor <otaylor@redhat.com> - 2.27.3-3
a2fe35c
- Fix %%preun GConf script to properly be for package removal
a2fe35c
c349b07
* Fri Aug 28 2009 Owen Taylor <otaylor@redhat.com> - 2.27.3-2
c349b07
- Add a workaround for Red Hat bug #520209
c349b07
deaa3dd
* Fri Aug 28 2009 Owen Taylor <otaylor@redhat.com> - 2.27.3-1
deaa3dd
- Update to 2.27.3, remove mutter-metawindow.patch
deaa3dd
83dddcd
* Fri Aug 21 2009 Peter Robinson <pbrobinson@gmail.com> 2.27.2-2
83dddcd
- Add upstream patch needed by latest mutter-moblin
83dddcd
711ebb6
* Tue Aug 11 2009 Peter Robinson <pbrobinson@gmail.com> 2.27.2-1
711ebb6
- New upstream 2.27.2 release. Drop upstreamed patches.
711ebb6
8d70229
* Wed Jul 29 2009 Peter Robinson <pbrobinson@gmail.com> 2.27.1-5
8d70229
- Add upstream patches for clutter 1.0
8d70229
895e688
* Wed Jul 29 2009 Peter Robinson <pbrobinson@gmail.com> 2.27.1-4
895e688
- Add patch to fix mutter --replace
895e688
faf6374
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.27.1-3
faf6374
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
faf6374
6632f8a
* Sat Jul 18 2009 Peter Robinson <pbrobinson@gmail.com> 2.27.1-2
6632f8a
- Updates from review request
6632f8a
6632f8a
* Fri Jul 17 2009 Peter Robinson <pbrobinson@gmail.com> 2.27.1-1
6632f8a
- Update to official 2.27.1 and review updates
6632f8a
6632f8a
* Thu Jun 18 2009 Peter Robinson <pbrobinson@gmail.com> 2.27.0-0.2
6632f8a
- Updates from initial reviews
6632f8a
6632f8a
* Thu Jun 18 2009 Peter Robinson <pbrobinson@gmail.com> 2.27.0-0.1
6632f8a
- Initial packaging