SHA256
1
0
forked from pool/gnome-clocks

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
This commit is contained in:
Dominique Leuenberger 2013-02-15 08:15:56 +00:00 committed by Git OBS Bridge
parent 820ec3bfe8
commit 4df70dae03
4 changed files with 37 additions and 15 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:42ee9924515fac1c57229057e57e37ea1a7915f9f43e64064f8e740433058b12
size 478968

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e1dac0815abaceb50586043262ac841cd5303ecdc4014d1e537ba9a87a402fa6
size 518336

View File

@ -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 Tue Dec 4 07:47:43 UTC 2012 - dimstar@opensuse.org

View File

@ -1,7 +1,7 @@
# #
# spec file for package gnome-clocks # 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. # Copyright (c) 2012 Dominique Leuenberger, Amsterdam, The Netherlands.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@ -18,7 +18,7 @@
Name: gnome-clocks Name: gnome-clocks
Version: 0.1.5 Version: 0.1.6
Release: 0 Release: 0
Summary: Clock application designed for GNOME 3 Summary: Clock application designed for GNOME 3
License: GPL-2.0+ License: GPL-2.0+
@ -29,13 +29,15 @@ Source: http://download.gnome.org/sources/gnome-clocks/0.1/%{name}-%{ver
BuildRequires: gobject-introspection BuildRequires: gobject-introspection
# For icont_theme_chache post and postun macros # For icont_theme_chache post and postun macros
BuildRequires: hicolor-icon-theme BuildRequires: hicolor-icon-theme
BuildRequires: intltool BuildRequires: intltool >= 0.40
BuildRequires: python-distutils-extra BuildRequires: python >= 3.2
BuildRequires: update-desktop-files BuildRequires: update-desktop-files
Requires: python-xdg BuildRequires: pkgconfig(pycairo)
BuildRequires: pkgconfig(pygobject-3.0) >= 3.4.2
Recommends: %{name}-lang Recommends: %{name}-lang
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch BuildArch: noarch
%glib2_gsettings_schema_requires
%description %description
A nice simple app to show the time, date, and alarms. 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 %setup -q
%build %build
python setup.py build %configure
%install %install
python setup.py install --root=%{buildroot} --prefix=%{_prefix} %make_install
# We package the DOCS in defaultdocdir.
rm -r %{buildroot}%{_datadir}/doc/%{name}/
%suse_update_desktop_file %{name} Utility X-SuSE-TimeUtility %suse_update_desktop_file %{name} Utility X-SuSE-TimeUtility
%find_lang %{name} %{?no_lang_C} %find_lang %{name} %{?no_lang_C}
%post %post
%glib2_gsettings_schema_post
%icon_theme_cache_post %icon_theme_cache_post
%icon_theme_cache_post HighContrast
%desktop_database_post %desktop_database_post
%postun %postun
%glib2_gsettings_schema_postun
%icon_theme_cache_postun %icon_theme_cache_postun
%icon_theme_cache_postun HighContrast
%desktop_database_postun %desktop_database_postun
%files %files
@ -67,9 +71,10 @@ rm -r %{buildroot}%{_datadir}/doc/%{name}/
%doc README COPYING %doc README COPYING
%{_bindir}/%{name} %{_bindir}/%{name}
%{_datadir}/%{name}/ %{_datadir}/%{name}/
%{_datadir}/icons/hicolor/*/apps/clocks.* %{_datadir}/glib-2.0/schemas/org.gnome.clocks.gschema.xml
%{python_sitelib}/gnomeclocks/ %{_datadir}/icons/hicolor/*/apps/gnome-clocks.*
%{python_sitelib}/gnome_clocks-%{version}-py%{py_ver}.egg-info %{_datadir}/icons/HighContrast/
%{python3_sitelib}/gnomeclocks/
%{_datadir}/applications/%{name}.desktop %{_datadir}/applications/%{name}.desktop
%files lang -f %{name}.lang %files lang -f %{name}.lang