1 | %define pkgname org.gnome.Weather.Application |
---|
2 | |
---|
3 | Summary: Weather application for GNOME |
---|
4 | Summary(ja): GNOME 用天気アプリケーション |
---|
5 | Name: gnome-weather |
---|
6 | Version: 3.20.1 |
---|
7 | Release: 1%{?_dist_release} |
---|
8 | License: GPLv2+ |
---|
9 | Group: User Interface/Desktops |
---|
10 | URL: https://live.gnome.org/Design/Apps/Weather |
---|
11 | |
---|
12 | Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.20/%{name}-%{version}.tar.xz |
---|
13 | |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
15 | |
---|
16 | BuildRequires: gtk3-devel |
---|
17 | BuildRequires: gjs-devel |
---|
18 | BuildRequires: libgweather-devel >= 3.9.5 |
---|
19 | BuildRequires: geoclue2-devel |
---|
20 | |
---|
21 | Requires(postun,posttrans): desktop-file-utils |
---|
22 | |
---|
23 | Obsoletes: %{name}-devel < 3.14.0 |
---|
24 | |
---|
25 | Vendor: Project Vine |
---|
26 | Distribution: Vine Linux |
---|
27 | Packager: Takemikaduchi |
---|
28 | |
---|
29 | |
---|
30 | %description |
---|
31 | This is a small application that allows you to monitor the current |
---|
32 | weather conditions for your city, or anywhere in the world, and to |
---|
33 | access updated forecasts provided by various internet services. |
---|
34 | |
---|
35 | %description -l ja |
---|
36 | gnome-weather は世界各地の現在の天候を表示し、様々なインターネット |
---|
37 | サービスで提供された天気予報にアクセスするための小さなアプリケーションです。 |
---|
38 | |
---|
39 | |
---|
40 | %prep |
---|
41 | %setup -q |
---|
42 | |
---|
43 | %build |
---|
44 | %configure |
---|
45 | |
---|
46 | make %{?_smp_mflags} |
---|
47 | |
---|
48 | %install |
---|
49 | rm -rf $RPM_BUILD_ROOT |
---|
50 | |
---|
51 | make install DESTDIR=${RPM_BUILD_ROOT} |
---|
52 | |
---|
53 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
54 | |
---|
55 | %find_lang org.gnome.Weather |
---|
56 | |
---|
57 | %clean |
---|
58 | rm -rf $RPM_BUILD_ROOT |
---|
59 | |
---|
60 | %post |
---|
61 | touch --no-create %{_datadir}/icons/hicolor > /dev/null || : |
---|
62 | |
---|
63 | %postun |
---|
64 | if [ $1 -eq 0 ]; then |
---|
65 | update-desktop-database -q &> /dev/null ||: |
---|
66 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
67 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor || : |
---|
68 | fi |
---|
69 | |
---|
70 | %posttrans |
---|
71 | update-desktop-database -q &> /dev/null ||: |
---|
72 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
73 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor || : |
---|
74 | |
---|
75 | |
---|
76 | %files -f org.gnome.Weather.lang |
---|
77 | %defattr(-,root,root,-) |
---|
78 | %doc NEWS |
---|
79 | %{_bindir}/%{name} |
---|
80 | %{_datadir}/appdata/%{pkgname}.appdata.xml |
---|
81 | %{_datadir}/applications/%{pkgname}.desktop |
---|
82 | %{_datadir}/dbus-1/services/%{pkgname}.service |
---|
83 | %{_datadir}/dbus-1/services/org.gnome.Weather.BackgroundService.service |
---|
84 | %{_datadir}/glib-2.0/schemas/%{pkgname}.gschema.xml |
---|
85 | %{_datadir}/gnome-shell/search-providers/%{pkgname}.search-provider.ini |
---|
86 | %{_datadir}/icons/*/*/*/* |
---|
87 | %{_datadir}/org.gnome.Weather |
---|
88 | |
---|
89 | |
---|
90 | %changelog |
---|
91 | * Mon Jul 18 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.20.1-1 |
---|
92 | - new upstream release |
---|
93 | - add BuildRequires: geoclue2-devel |
---|
94 | |
---|
95 | * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.1-1 |
---|
96 | - new upstream release |
---|
97 | |
---|
98 | * Sun May 03 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.2.1-1 |
---|
99 | - new upstream release |
---|
100 | |
---|
101 | * Sun Apr 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.1-1 |
---|
102 | - new upstream release |
---|
103 | |
---|
104 | * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1 |
---|
105 | - new upstream release |
---|
106 | |
---|
107 | * Sun Nov 23 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-2 |
---|
108 | - fix typo in Group |
---|
109 | |
---|
110 | * Wed Oct 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-1 |
---|
111 | - new upstream release |
---|
112 | - remove %%{name}-devel subpackage |
---|
113 | |
---|
114 | * Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1 |
---|
115 | - new upstream release |
---|
116 | |
---|
117 | * Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1 |
---|
118 | - new upstream release |
---|
119 | |
---|
120 | * Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-2 |
---|
121 | - rebuild with VineSeed environment |
---|
122 | |
---|
123 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1 |
---|
124 | - new upstream release |
---|
125 | - add BuildRequires: libgweather-devel |
---|
126 | |
---|
127 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1 |
---|
128 | - new upstream release |
---|
129 | |
---|
130 | * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1 |
---|
131 | - initial build |
---|