[fedmsg-notify/f18] 0.2.1 release, with new GSettings schema

Luke Macken lmacken at fedoraproject.org
Wed Oct 10 15:57:50 UTC 2012


commit fbcfd6cb8f5cc5abf4e4fb853b9eb91f2699cd4e
Author: Luke Macken <lmacken at redhat.com>
Date:   Wed Oct 10 11:57:00 2012 -0400

    0.2.1 release, with new GSettings schema

 .gitignore         |    1 +
 fedmsg-notify.spec |   22 +++++++++++++++++++++-
 sources            |    2 +-
 3 files changed, 23 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 86b3111..fee1d82 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /fedmsg-notify-0.2.0.tar.gz
+/fedmsg-notify-0.2.1.tar.gz
diff --git a/fedmsg-notify.spec b/fedmsg-notify.spec
index 04901a2..5c698ca 100644
--- a/fedmsg-notify.spec
+++ b/fedmsg-notify.spec
@@ -5,7 +5,7 @@
 %global busname org.fedoraproject.fedmsg.notify
 
 Name:           fedmsg-notify
-Version:        0.2.0
+Version:        0.2.1
 Release:        1%{?dist}
 Summary:        Fedmsg Desktop Notifications
 
@@ -41,6 +41,7 @@ the service.
 %{__python} setup.py install -O1 --skip-build \
     --install-data=%{_datadir} --root %{buildroot}
 
+# DBus configuration
 mkdir -p %{buildroot}%{_datadir}/dbus-1/services/
 install -m 0644 conf/%{busname}.service \
     %{buildroot}%{_datadir}/dbus-1/services/%{busname}.service
@@ -48,10 +49,24 @@ mkdir -p %{buildroot}%{_sysconfdir}/dbus-1/system.d
 install -m 0644 conf/%{busname}.conf \
     %{buildroot}%{_sysconfdir}/dbus-1/system.d/%{busname}.conf
 
+# fedmsg-notify-config desktop file
 desktop-file-install \
     --dir=%{buildroot}%{_datadir}/applications \
     conf/%{name}-config.desktop
 
+# GSettings schema
+mkdir -p %{buildroot}%{_datadir}/glib-2.0/schemas
+install -m 0644 conf/%{busname}.gschema.xml %{buildroot}%{_datadir}/glib-2.0/schemas
+
+
+%postun
+if [ $1 -eq 0 ]; then
+    glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
+fi
+
+%posttrans
+glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
+
 
 %files
 %doc README.rst LICENSE
@@ -62,8 +77,13 @@ desktop-file-install \
 %{_datadir}/dbus-1/services/%{busname}.service
 %{_datadir}/applications/%{name}-config.desktop
 %{_sysconfdir}/dbus-1/system.d/%{busname}.conf
+%{_datadir}/glib-2.0/schemas/%{busname}.gschema.xml
 
 
 %changelog
+* Thu Oct 06 2012 Luke Macken <lmacken at redhat.com> - 0.2.1-1
+- 0.2.1 release
+- Add the GSettings schema
+
 * Thu Oct 04 2012 Luke Macken <lmacken at redhat.com> - 0.2.0-1
 - Initial package.
diff --git a/sources b/sources
index cc70764..ea16f7b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-73094a85b368746295ef7ff2f8034563  fedmsg-notify-0.2.0.tar.gz
+c2c0cc122a3096ea261cfc32673c4723  fedmsg-notify-0.2.1.tar.gz


More information about the scm-commits mailing list