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