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