]> git.pld-linux.org Git - SPECS.git/blob - gnome-weather.spec
SPECS updated Sat 31 Jul 21:27:02 CEST 2021
[SPECS.git] / gnome-weather.spec
1 Summary:        A weather application for GNOME
2 Summary(pl.UTF-8):      Aplikacja pogodowa dla GNOME
3 Name:           gnome-weather
4 Version:        40.0
5 Release:        1
6 License:        GPL v2+
7 Group:          X11/Applications
8 Source0:        https://download.gnome.org/sources/gnome-weather/40/%{name}-%{version}.tar.xz
9 # Source0-md5:  a172aa420065fd58d376429d2e80f603
10 URL:            https://wiki.gnome.org/Apps/Weather
11 BuildRequires:  appstream-glib
12 BuildRequires:  geoclue2-devel >= 2.3.1
13 BuildRequires:  gettext-tools
14 BuildRequires:  gjs-devel >= 1.50.0
15 BuildRequires:  glib2-devel >= 1:2.36.0
16 BuildRequires:  gobject-introspection-devel >= 1.36.0
17 BuildRequires:  gtk+3-devel >= 3.20
18 BuildRequires:  libgweather-devel >= 3.28
19 BuildRequires:  libhandy1-devel >= 1.1.90
20 BuildRequires:  meson >= 0.50.0
21 BuildRequires:  ninja >= 1.5
22 BuildRequires:  pkgconfig >= 1:0.22
23 BuildRequires:  rpmbuild(macros) >= 1.736
24 BuildRequires:  tar >= 1:1.22
25 BuildRequires:  xz
26 Requires(post,postun):  glib2 >= 1:2.36.0
27 Requires(post,postun):  gtk-update-icon-cache
28 Requires:       geoclue2 >= 2.3.1
29 Requires:       gjs >= 1.50.0
30 Requires:       glib2 >= 1:2.36.0
31 Requires:       gobject-introspection >= 1.36.0
32 Requires:       gtk+3 >= 3.20
33 Requires:       hicolor-icon-theme
34 Requires:       libgweather >= 3.28
35 Requires:       libhandy1 >= 1.1.90
36 BuildArch:      noarch
37 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
39 %description
40 gnome-weather is a small application that allows you to monitor the
41 current weather conditions for your city, or anywhere in the world,
42 and to access updated forecasts provided by various Internet services.
43
44 %description -l pl.UTF-8
45 gnome-weather to mała aplikacja pozwalająca na śledzenie aktualnych
46 warunków pogodowych we własnym mieście lub dowolnym miejscu na świecie
47 oraz na dostęp do uaktualnianych prognoz dostarczanych przez różne
48 serwisy internetowe.
49
50 %prep
51 %setup -q
52
53 %build
54 %meson build
55
56 %ninja_build -C build
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60
61 %ninja_install -C build
62
63 %find_lang org.gnome.Weather
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %post
69 %glib_compile_schemas
70 %update_icon_cache hicolor
71
72 %postun
73 %glib_compile_schemas
74 %update_icon_cache hicolor
75
76 %files -f org.gnome.Weather.lang
77 %defattr(644,root,root,755)
78 %doc NEWS
79 %attr(755,root,root) %{_bindir}/gnome-weather
80 %{_datadir}/dbus-1/services/org.gnome.Weather.service
81 %{_datadir}/dbus-1/services/org.gnome.Weather.BackgroundService.service
82 %{_datadir}/glib-2.0/schemas/org.gnome.Weather.gschema.xml
83 %{_datadir}/gnome-shell/search-providers/org.gnome.Weather.search-provider.ini
84 %{_datadir}/metainfo/org.gnome.Weather.appdata.xml
85 %dir %{_datadir}/org.gnome.Weather
86 %attr(755,root,root) %{_datadir}/org.gnome.Weather/org.gnome.Weather
87 %attr(755,root,root) %{_datadir}/org.gnome.Weather/org.gnome.Weather.BackgroundService
88 %{_datadir}/org.gnome.Weather/org.gnome.Weather.*.gresource
89 %{_desktopdir}/org.gnome.Weather.desktop
90 %{_iconsdir}/hicolor/scalable/apps/org.gnome.Weather.svg
91 %{_iconsdir}/hicolor/scalable/status/temperature-symbolic.svg
92 %{_iconsdir}/hicolor/scalable/status/weather-*.svg
93 %{_iconsdir}/hicolor/symbolic/apps/org.gnome.Weather-symbolic.svg
This page took 0.074192 seconds and 3 git commands to generate.