2013-03-13 20:54:18 +01:00
|
|
|
#
|
2013-03-22 13:03:43 +01:00
|
|
|
# spec file for package gnome-weather
|
2013-03-13 20:54:18 +01:00
|
|
|
#
|
|
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2013-03-22 13:03:43 +01:00
|
|
|
|
2013-03-13 20:54:18 +01:00
|
|
|
Name: gnome-weather
|
2013-07-31 20:57:36 +02:00
|
|
|
Version: 3.9.5
|
2013-03-13 20:54:18 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Weather App for GNOME
|
2013-03-22 13:03:43 +01:00
|
|
|
License: GPL-2.0+
|
2013-03-13 20:54:18 +01:00
|
|
|
Group: Productivity/Other
|
2013-03-22 13:03:43 +01:00
|
|
|
Url: https://live.gnome.org/Design/Apps/Weather
|
2013-05-28 18:07:29 +02:00
|
|
|
Source: http://download.gnome.org/sources/gnome-weather/3.9/%{name}-%{version}.tar.xz
|
2013-03-22 13:03:43 +01:00
|
|
|
BuildRequires: gjs
|
2013-03-13 20:54:18 +01:00
|
|
|
BuildRequires: intltool >= 0.26
|
|
|
|
BuildRequires: update-desktop-files
|
2013-07-31 20:57:36 +02:00
|
|
|
BuildRequires: pkgconfig(gdk-3.0)
|
2013-03-13 20:54:18 +01:00
|
|
|
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
|
|
|
BuildRequires: pkgconfig(gio-2.0)
|
2013-07-31 20:57:36 +02:00
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
|
|
BuildRequires: pkgconfig(gobject-2.0)
|
2013-03-22 13:03:43 +01:00
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.35.9
|
2013-07-31 20:57:36 +02:00
|
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.9.4
|
|
|
|
BuildRequires: pkgconfig(gweather-3.0) >= 3.9.5
|
2013-03-13 20:54:18 +01:00
|
|
|
Recommends: %{name}-lang
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2013-03-22 13:03:43 +01:00
|
|
|
%glib2_gsettings_schema_requires
|
2013-03-13 20:54:18 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
GNOME 3 weather app that does:
|
|
|
|
* display current conditions
|
|
|
|
* display forecasts
|
|
|
|
* show radar maps
|
2013-07-31 20:57:36 +02:00
|
|
|
* notify on hazardous weather conditions
|
2013-03-13 20:54:18 +01:00
|
|
|
|
|
|
|
%lang_package
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
%suse_update_desktop_file %{name} Utility DesktopUtility
|
|
|
|
%find_lang %{name}
|
|
|
|
|
2013-03-22 13:03:43 +01:00
|
|
|
%post
|
|
|
|
%glib2_gsettings_schema_post
|
|
|
|
%desktop_database_post
|
2013-06-23 15:46:42 +02:00
|
|
|
%icon_theme_cache_post
|
2013-03-22 13:03:43 +01:00
|
|
|
|
|
|
|
%postun
|
|
|
|
%glib2_gsettings_schema_postun
|
|
|
|
%desktop_database_postun
|
2013-06-23 15:46:42 +02:00
|
|
|
%icon_theme_cache_postun
|
2013-03-22 13:03:43 +01:00
|
|
|
|
2013-03-13 20:54:18 +01:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_libdir}/%{name}/
|
|
|
|
%{_datadir}/applications/%{name}.desktop
|
|
|
|
%{_datadir}/%{name}/
|
2013-03-22 13:03:43 +01:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.Weather.Application.gschema.xml
|
2013-06-23 15:46:42 +02:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/%{name}.*
|
2013-03-13 20:54:18 +01:00
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
|
|
|
%changelog
|