diff --git a/0001-timer-Set-width-chars-2-property-on-the-spinbuttons.patch b/0001-timer-Set-width-chars-2-property-on-the-spinbuttons.patch new file mode 100644 index 0000000000000000000000000000000000000000..cb9321dc2043a5e5c63afa67fcb73d21d46c872b --- /dev/null +++ b/0001-timer-Set-width-chars-2-property-on-the-spinbuttons.patch @@ -0,0 +1,68 @@ +From 4f70df82ff3800c96fcf927f499e3273cc989c88 Mon Sep 17 00:00:00 2001 +From: Yanko Kaneti +Date: Tue, 18 Sep 2018 16:26:52 +0300 +Subject: [PATCH] timer: Set width-chars=2 property on the spinbuttons + +Set width-chars to help gtk pre-allocate the spin buttons +drawing area regardless of font + +Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1630248 +--- + data/ui/timer.ui | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/data/ui/timer.ui b/data/ui/timer.ui +index 40ff931..7c37afe 100644 +--- a/data/ui/timer.ui ++++ b/data/ui/timer.ui +@@ -67,6 +67,7 @@ + vertical + adjustment_hours + True ++ 2 + True + + +@@ -109,6 +110,7 @@ + vertical + adjustment_minutes + True ++ 2 + True + + +@@ -152,6 +154,7 @@ + vertical + adjustment_seconds + True ++ 2 + True + + +@@ -263,6 +266,7 @@ + vertical + adjustment_hours + True ++ 2 + True + + +@@ -306,6 +310,7 @@ + vertical + adjustment_minutes + True ++ 2 + True + + +@@ -349,6 +354,7 @@ + vertical + adjustment_seconds + True ++ 2 + True + + +-- +2.19.0 + diff --git a/gnome-clocks-3.30.0.tar.xz b/gnome-clocks-3.30.0.tar.xz new file mode 100644 index 0000000000000000000000000000000000000000..b9e6bf33e06daadd7aab5e467659a35fd21b99f5 Binary files /dev/null and b/gnome-clocks-3.30.0.tar.xz differ diff --git a/gnome-clocks.spec b/gnome-clocks.spec new file mode 100644 index 0000000000000000000000000000000000000000..6771d57f1621f426b30e61cbd8bae90c81f3faa2 --- /dev/null +++ b/gnome-clocks.spec @@ -0,0 +1,51 @@ +Name: gnome-clocks +Version: 3.30.0 +Release: 4 +Summary: CGNOME 3 clock application +License: GPLv2+ +URL: https://wiki.gnome.org/Apps/Clocks +Source0: https://download.gnome.org/sources/gnome-clocks/3.30/%{name}-%{version}.tar.xz +Patch0001: 0001-timer-Set-width-chars-2-property-on-the-spinbuttons.patch +BuildRequires: meson desktop-file-utils gettext itstool libappstream-glib vala +BuildRequires: pkgconfig(gtk+-3.0) >= 3.20 pkgconfig(gweather-3.0) >= 3.27.2 +BuildRequires: pkgconfig(gnome-desktop-3.0) >= 3.8 pkgconfig(glib-2.0) >= 2.44 +BuildRequires: pkgconfig(gobject-2.0) >= 2.44 pkgconfig(libgeoclue-2.0) >= 2.4 +BuildRequires: pkgconfig(geocode-glib-1.0) >= 1.0 pkgconfig(gsound) >= 0.98 +Requires: libgweather >= 3.27.2 + +%description +GNOME Clocks is a simple application to show the time and date +in multiple locations and set alarms or timers. A stopwatch is +also included. + +%prep +%autosetup -n %{name}-%{version} -p1 + +%build +%meson +%meson_build + +%install +%meson_install +%find_lang gnome-clocks --with-gnome + +%check +desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.clocks.desktop + +%files -f gnome-clocks.lang +%doc AUTHORS README NEWS COPYING +%dir %{_datadir}/gnome-shell/ +%dir %{_datadir}/gnome-shell/search-providers/ +%{_bindir}/gnome-clocks +%{_datadir}/gnome-clocks +%{_datadir}/icons/hicolor/*/apps/org.gnome.clocks.png +%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.clocks-symbolic.svg +%{_datadir}/applications/org.gnome.clocks.desktop +%{_datadir}/dbus-1/services/org.gnome.clocks.service +%{_datadir}/glib-2.0/schemas/org.gnome.clocks.gschema.xml +%{_datadir}/gnome-shell/search-providers/org.gnome.clocks.search-provider.ini +%{_datadir}/metainfo/org.gnome.clocks.appdata.xml + +%changelog +* Tue Dec 10 2019 gulining - 3.30.0-4 +- Pakcage init