summaryrefslogtreecommitdiffstats
path: root/metacity.spec
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@fedoraproject.org>2009-02-10 05:10:04 +0000
committerMatthias Clasen <mclasen@fedoraproject.org>2009-02-10 05:10:04 +0000
commit382252b812129ba894ec105d3075b1f80a6f7085 (patch)
tree185d5e163058d72d94631f1d0abbae885c89a407 /metacity.spec
parent51ff7341268314b99d6f594a5b7be7ab9b3ceba3 (diff)
downloadmetacity-382252b812129ba894ec105d3075b1f80a6f7085.tar.gz
metacity-382252b812129ba894ec105d3075b1f80a6f7085.tar.xz
metacity-382252b812129ba894ec105d3075b1f80a6f7085.zip
play alert sound for system bell
Diffstat (limited to 'metacity.spec')
-rw-r--r--metacity.spec15
1 files changed, 13 insertions, 2 deletions
diff --git a/metacity.spec b/metacity.spec
index 4d73280..451d441 100644
--- a/metacity.spec
+++ b/metacity.spec
@@ -1,12 +1,14 @@
Summary: Unobtrusive window manager
Name: metacity
Version: 2.25.144
-Release: 1%{?dist}
+Release: 2%{?dist}
URL: http://download.gnome.org/sources/metacity/
Source0: http://download.gnome.org/sources/metacity/2.25/metacity-%{version}.tar.bz2
Patch0: default-theme.patch
# http://bugzilla.gnome.org/show_bug.cgi?id=558723
Patch4: stop-spamming-xsession-errors.patch
+# http://bugzilla.gnome.org/show_bug.cgi?id=557921
+Patch5: metacity-canberra.patch
License: GPLv2+
Group: User Interface/Desktops
@@ -17,6 +19,7 @@ BuildRequires: fontconfig-devel
BuildRequires: GConf2-devel >= 2.2.0
BuildRequires: desktop-file-utils >= 0.3
BuildRequires: libglade2-devel >= 2.0.0
+BuildRequires: autoconf, automake, libtool
BuildRequires: intltool >= 0.35
BuildRequires: startup-notification-devel >= 0.7
BuildRequires: libtool automake autoconf gettext
@@ -66,6 +69,9 @@ API. This package exists purely for technical reasons.
%setup -q
%patch0 -p1 -b .default-theme
%patch4 -p1 -b .stop-spamming-xsession-errors
+%patch5 -p1 -b .canberra
+
+autoreconf -i -f
%build
rm -rf $RPM_BUILD_ROOT
@@ -90,6 +96,7 @@ done
make CPPFLAGS="$CPPFLAGS" LIBS="$LIBS"
+%if 0
# strip unneeded translations from .mo files
cd po
grep -v ".*[.]desktop[.]in$\|.*[.]server[.]in$\|.*[.]schemas[.]in$" POTFILES.in > POTFILES.keep
@@ -99,7 +106,7 @@ for p in *.po; do
msgmerge $p metacity.pot > $p.out
msgfmt -o `basename $p .po`.gmo $p.out
done
-
+%endif
%install
rm -rf $RPM_BUILD_ROOT
@@ -168,6 +175,10 @@ fi
%{_mandir}/man1/metacity-window-demo.1.gz
%changelog
+* Tue Feb 10 2009 Matthias Clasen <mclasen@redhat.com> - 2.25.144-2
+- Use libcanberra to play the alert sound from the sound theme
+ for the audible system bell
+
* Tue Feb 3 2009 Matthias Clasen <mclasen@redhat.com> - 2.25.144-1
- Update to 2.25.144