Accepting request 582754 from GNOME:Factory

- Modernize spec-file by calling spec-cleaner (forwarded request 581121 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/582754
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-weather?expand=0&rev=31
This commit is contained in:
Dominique Leuenberger 2018-03-09 09:38:58 +00:00 committed by Git OBS Bridge
commit 9c92955a59
2 changed files with 13 additions and 8 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 28 16:30:23 UTC 2018 - dimstar@opensuse.org
- Modernize spec-file by calling spec-cleaner
-------------------------------------------------------------------
Sat Dec 2 21:59:18 UTC 2017 - zaitor@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package gnome-weather
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,21 +16,20 @@
#
Name: gnome-weather
%define _name org.gnome.Weather
Name: gnome-weather
Version: 3.26.0
Release: 0
Summary: Weather App for GNOME
License: GPL-2.0+
License: GPL-2.0-or-later
Group: Productivity/Other
Url: https://live.gnome.org/Design/Apps/Weather
URL: https://live.gnome.org/Design/Apps/Weather
Source0: http://download.gnome.org/sources/gnome-weather/3.26/%{name}-%{version}.tar.xz
# PATCH-FIX-UPSTREAM gnome-weather-fix-gettext-domain.patch zaitor@opensuse.org -- gschema: Fix gettext-domain
Patch0: gnome-weather-fix-gettext-domain.patch
BuildRequires: gjs
BuildRequires: intltool >= 0.26
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(gdk-3.0)
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
@ -42,8 +41,8 @@ BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.35.9
BuildRequires: pkgconfig(gtk+-3.0) >= 3.11.4
BuildRequires: pkgconfig(gweather-3.0) >= 3.25.91
BuildRequires: pkgconfig(libgeoclue-2.0) >= 2.3.1
BuildArch: noarch
Recommends: %{name}-lang
BuildArch: noarch
%glib2_gsettings_schema_requires
%description
@ -56,8 +55,8 @@ GNOME 3 weather app that does:
%package -n gnome-shell-search-provider-gnome-weather
Summary: GNOME Weather -- Search Provider for GNOME Shell
Group: Productivity/Other
Supplements: packageand(gnome-shell:%{name})
Requires: %{name} = %{version}
Supplements: packageand(gnome-shell:%{name})
%description -n gnome-shell-search-provider-gnome-weather
This package contains a search provider to enable GNOME Shell to get
@ -78,6 +77,7 @@ search results from GNOME Weather.
%find_lang %{_name}
%files
%license COPYING
%{_bindir}/%{name}
%dir %{_datadir}/appdata
%{_datadir}/appdata/org.gnome.Weather.appdata.xml