From 4df70dae03d78c140755915f7e90bd006b1a51c0c8b62a2b9fb5f4632b3e5daf Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 15 Feb 2013 08:15:56 +0000 Subject: [PATCH] Accepting request 155418 from GNOME:Next - Update to version 0.1.6: + Reworked the alarms panel (design is still in progress). + Implemented disabled alarms. + Depend on newer GWeather. + Ported to Python 3. + Ported to autotools. + Move configuration to GSettings. + Remove pyxdg dependency. + Misc bugfixes. + Updated translations. - Change build and install section to use configure / make install. - Add glib schema handling to post/postun. - Drop python-xdg Requires: no longer needed. OBS-URL: https://build.opensuse.org/request/show/155418 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-clocks?expand=0&rev=7 --- gnome-clocks-0.1.5.tar.xz | 3 --- gnome-clocks-0.1.6.tar.xz | 3 +++ gnome-clocks.changes | 17 +++++++++++++++++ gnome-clocks.spec | 29 +++++++++++++++++------------ 4 files changed, 37 insertions(+), 15 deletions(-) delete mode 100644 gnome-clocks-0.1.5.tar.xz create mode 100644 gnome-clocks-0.1.6.tar.xz diff --git a/gnome-clocks-0.1.5.tar.xz b/gnome-clocks-0.1.5.tar.xz deleted file mode 100644 index be1243f..0000000 --- a/gnome-clocks-0.1.5.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:42ee9924515fac1c57229057e57e37ea1a7915f9f43e64064f8e740433058b12 -size 478968 diff --git a/gnome-clocks-0.1.6.tar.xz b/gnome-clocks-0.1.6.tar.xz new file mode 100644 index 0000000..8882186 --- /dev/null +++ b/gnome-clocks-0.1.6.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e1dac0815abaceb50586043262ac841cd5303ecdc4014d1e537ba9a87a402fa6 +size 518336 diff --git a/gnome-clocks.changes b/gnome-clocks.changes index 33d7442..00056ae 100644 --- a/gnome-clocks.changes +++ b/gnome-clocks.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Tue Feb 5 22:11:55 UTC 2013 - dimstar@opensuse.org + +- Update to version 0.1.6: + + Reworked the alarms panel (design is still in progress). + + Implemented disabled alarms. + + Depend on newer GWeather. + + Ported to Python 3. + + Ported to autotools. + + Move configuration to GSettings. + + Remove pyxdg dependency. + + Misc bugfixes. + + Updated translations. +- Change build and install section to use configure / make install. +- Add glib schema handling to post/postun. +- Drop python-xdg Requires: no longer needed. + ------------------------------------------------------------------- Tue Dec 4 07:47:43 UTC 2012 - dimstar@opensuse.org diff --git a/gnome-clocks.spec b/gnome-clocks.spec index d019c6e..10843f0 100644 --- a/gnome-clocks.spec +++ b/gnome-clocks.spec @@ -1,7 +1,7 @@ # # spec file for package gnome-clocks # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2012 Dominique Leuenberger, Amsterdam, The Netherlands. # # All modifications and additions to the file contributed by third parties @@ -18,7 +18,7 @@ Name: gnome-clocks -Version: 0.1.5 +Version: 0.1.6 Release: 0 Summary: Clock application designed for GNOME 3 License: GPL-2.0+ @@ -29,13 +29,15 @@ Source: http://download.gnome.org/sources/gnome-clocks/0.1/%{name}-%{ver BuildRequires: gobject-introspection # For icont_theme_chache post and postun macros BuildRequires: hicolor-icon-theme -BuildRequires: intltool -BuildRequires: python-distutils-extra +BuildRequires: intltool >= 0.40 +BuildRequires: python >= 3.2 BuildRequires: update-desktop-files -Requires: python-xdg +BuildRequires: pkgconfig(pycairo) +BuildRequires: pkgconfig(pygobject-3.0) >= 3.4.2 Recommends: %{name}-lang BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch +%glib2_gsettings_schema_requires %description A nice simple app to show the time, date, and alarms. @@ -45,21 +47,23 @@ A nice simple app to show the time, date, and alarms. %setup -q %build -python setup.py build +%configure %install -python setup.py install --root=%{buildroot} --prefix=%{_prefix} -# We package the DOCS in defaultdocdir. -rm -r %{buildroot}%{_datadir}/doc/%{name}/ +%make_install %suse_update_desktop_file %{name} Utility X-SuSE-TimeUtility %find_lang %{name} %{?no_lang_C} %post +%glib2_gsettings_schema_post %icon_theme_cache_post +%icon_theme_cache_post HighContrast %desktop_database_post %postun +%glib2_gsettings_schema_postun %icon_theme_cache_postun +%icon_theme_cache_postun HighContrast %desktop_database_postun %files @@ -67,9 +71,10 @@ rm -r %{buildroot}%{_datadir}/doc/%{name}/ %doc README COPYING %{_bindir}/%{name} %{_datadir}/%{name}/ -%{_datadir}/icons/hicolor/*/apps/clocks.* -%{python_sitelib}/gnomeclocks/ -%{python_sitelib}/gnome_clocks-%{version}-py%{py_ver}.egg-info +%{_datadir}/glib-2.0/schemas/org.gnome.clocks.gschema.xml +%{_datadir}/icons/hicolor/*/apps/gnome-clocks.* +%{_datadir}/icons/HighContrast/ +%{python3_sitelib}/gnomeclocks/ %{_datadir}/applications/%{name}.desktop %files lang -f %{name}.lang