]> git.pld-linux.org Git - packages/gnome-weather.git/blob - gnome-weather.spec
be1bda05782972e1134e1e8247dc1225724f61a9
[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.32.2
5 Release:        1
6 License:        GPL v2+
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gnome-weather/3.32/%{name}-%{version}.tar.xz
9 # Source0-md5:  824022f82b3abc466e1afad99b431039
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.46.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:       gtk+3 >= 3.20
31 Requires:       hicolor-icon-theme
32 Requires:       libgweather >= 3.28
33 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35 %description
36 gnome-weather is a small application that allows you to monitor the
37 current weather conditions for your city, or anywhere in the world,
38 and to access updated forecasts provided by various Internet services.
39
40 %description -l pl.UTF-8
41 gnome-weather to mała aplikacja pozwalająca na śledzenie aktualnych
42 warunków pogodowych we własnym mieście lub dowolnym miejscu na świecie
43 oraz na dostęp do uaktualnianych prognoz dostarczanych przez różne
44 serwisy internetowe.
45
46 %prep
47 %setup -q
48
49 %build
50 %meson build
51
52 %ninja_build -C build
53
54 %if 0
55 %{__intltoolize}
56 %{__aclocal} -I m4
57 %{__autoconf}
58 %{__automake}
59 %configure \
60         GJS="/usr/bin/gjs" \
61         --disable-silent-rules
62 %{__make}
63 %endif
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67
68 %ninja_install -C build
69
70 %find_lang org.gnome.Weather
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %post
76 %glib_compile_schemas
77 %update_icon_cache hicolor
78
79 %postun
80 %glib_compile_schemas
81 %update_icon_cache hicolor
82
83 %files -f org.gnome.Weather.lang
84 %defattr(644,root,root,755)
85 %doc NEWS
86 %attr(755,root,root) %{_bindir}/gnome-weather
87 %{_datadir}/dbus-1/services/org.gnome.Weather.service
88 %{_datadir}/dbus-1/services/org.gnome.Weather.BackgroundService.service
89 %{_datadir}/glib-2.0/schemas/org.gnome.Weather.gschema.xml
90 %{_datadir}/gnome-shell/search-providers/org.gnome.Weather.search-provider.ini
91 %{_datadir}/metainfo/org.gnome.Weather.appdata.xml
92 %dir %{_datadir}/org.gnome.Weather
93 %attr(755,root,root) %{_datadir}/org.gnome.Weather/org.gnome.Weather
94 %attr(755,root,root) %{_datadir}/org.gnome.Weather/org.gnome.Weather.BackgroundService
95 %{_datadir}/org.gnome.Weather/org.gnome.Weather.*.gresource
96 %{_desktopdir}/org.gnome.Weather.desktop
97 %{_iconsdir}/hicolor/scalable/apps/org.gnome.Weather.svg
98 %{_iconsdir}/hicolor/symbolic/apps/org.gnome.Weather-symbolic.svg
This page took 0.101345 seconds and 2 git commands to generate.