[gnome-shell-extension-pomodoro/f21] Update to git snapshot of 0.11.0 for gnome 3.14 support
Mat Booth
mbooth at fedoraproject.org
Mon Sep 29 13:44:27 UTC 2014
commit cd1ceaf9c56a9d46f7e40be9cefa4238b701d993
Author: Mat Booth <mat.booth at redhat.com>
Date: Mon Sep 29 14:43:57 2014 +0100
Update to git snapshot of 0.11.0 for gnome 3.14 support
.gitignore | 1 +
gnome-shell-extension-pomodoro.spec | 44 +++++++++++++++++++---------------
sources | 2 +-
3 files changed, 27 insertions(+), 20 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 63a0322..db8150c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
/.build-*.log
/x86_64/
/*.src.rpm
+/656e06434559f52d1e473b87bac8385ff6f192fb.tar.gz
diff --git a/gnome-shell-extension-pomodoro.spec b/gnome-shell-extension-pomodoro.spec
index 271d39e..093bacd 100644
--- a/gnome-shell-extension-pomodoro.spec
+++ b/gnome-shell-extension-pomodoro.spec
@@ -1,27 +1,33 @@
-%global uuid pomodoro at arun.codito.in
+%global uuid pomodoro at arun.codito.in
+%global gittag 656e06434559f52d1e473b87bac8385ff6f192fb
Name: gnome-shell-extension-pomodoro
-Version: 0.10.2
-Release: 1%{?dist}
+Version: 0.11.0
+Release: 0.1.git656e0643%{?dist}
Summary: A time management utility for GNOME
License: GPLv3+
URL: https://github.com/codito/gnome-shell-pomodoro
-Source0: https://github.com/codito/gnome-shell-pomodoro/archive/%{version}.tar.gz
+Source0: https://github.com/codito/gnome-shell-pomodoro/archive/%{gittag}.tar.gz
BuildRequires: gettext
BuildRequires: intltool
BuildRequires: vala-tools
BuildRequires: desktop-file-utils
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(gobject-introspection-1.0)
+BuildRequires: pkgconfig(gom-1.0)
BuildRequires: pkgconfig(gnome-desktop-3.0)
BuildRequires: pkgconfig(gstreamer-1.0)
-BuildRequires: pkgconfig(upower-glib)
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(dbus-glib-1)
BuildRequires: pkgconfig(libcanberra)
+BuildRequires: pkgconfig(libnotify)
+BuildRequires: pkgconfig(sqlite3)
+BuildRequires: pkgconfig(upower-glib)
-Requires: gnome-shell >= 3.10.0
+Requires: gnome-shell >= 3.14.0
Requires: hicolor-icon-theme
@@ -30,12 +36,7 @@ This GNOME utility helps to manage time according to Pomodoro Technique.
It intends to improve productivity and focus by taking short breaks.
%prep
-%setup -q -n gnome-shell-pomodoro-%{version}
-
-# A fix for this has been sent upstream:
-# https://github.com/codito/gnome-shell-pomodoro/pull/122
-sed -i -e 's at GNOME;GTK;Accessories at GNOME;GTK;Utility;@' \
- data/gnome-pomodoro.desktop.in
+%setup -q -n gnome-shell-pomodoro-%{gittag}
%build
./autogen.sh --prefix=%{_prefix}
@@ -44,7 +45,9 @@ make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot} INSTALL="install -p"
%find_lang gnome-pomodoro
-desktop-file-validate %{buildroot}/%{_datadir}/applications/gnome-pomodoro.desktop
+
+%check
+desktop-file-validate %{buildroot}/%{_datadir}/applications/org.gnome.Pomodoro.desktop
%post
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
@@ -53,25 +56,28 @@ touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
- /usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
+ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
fi
%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
-/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
+glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%files -f gnome-pomodoro.lang
-%doc README.md COPYING
+%doc README.md COPYING NEWS
%{_bindir}/gnome-pomodoro
%{_datadir}/gnome-pomodoro
-%{_datadir}/applications/gnome-pomodoro.desktop
+%{_datadir}/appdata/org.gnome.Pomodoro.appdata.xml
+%{_datadir}/applications/org.gnome.Pomodoro.desktop
%{_datadir}/gnome-shell/extensions/%{uuid}/
-%{_datadir}/icons/hicolor/*/apps/gnome-pomodoro.png
-%{_datadir}/icons/hicolor/scalable/status/timer-symbolic.svg
+%{_datadir}/icons/hicolor/*/apps/*
%{_datadir}/glib-2.0/schemas/org.gnome.pomodoro.gschema.xml
%{_datadir}/dbus-1/services/org.gnome.Pomodoro.service
%changelog
+* Mon Sep 29 2014 Mat Booth <mat.booth at redhat.com> - 0.11.0-0.1.git656e0643
+- Update to git snapshot of 0.11.0 for gnome 3.14 support
+
* Mon Sep 29 2014 Mat Booth <mat.booth at redhat.com> - 0.10.2-1
- Update to upstream version 0.10.2
diff --git a/sources b/sources
index 7cadf4c..310b601 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-94ebe041335e8eb9c412f8d8254f25e6 0.10.2.tar.gz
+040b5c63122bae202c375288aadcdbc3 656e06434559f52d1e473b87bac8385ff6f192fb.tar.gz
More information about the scm-commits
mailing list