[7938] | 1 | %define pkgname org.gnome.Weather.Application |
---|
| 2 | |
---|
[7633] | 3 | Summary: Weather application for GNOME |
---|
| 4 | Summary(ja): GNOME 用天気アプリケーション |
---|
| 5 | Name: gnome-weather |
---|
[10716] | 6 | Version: 3.20.1 |
---|
[9475] | 7 | Release: 1%{?_dist_release} |
---|
[7633] | 8 | License: GPLv2+ |
---|
[9114] | 9 | Group: User Interface/Desktops |
---|
[7633] | 10 | URL: https://live.gnome.org/Design/Apps/Weather |
---|
| 11 | |
---|
[10716] | 12 | Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.20/%{name}-%{version}.tar.xz |
---|
[7633] | 13 | |
---|
| 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 15 | |
---|
| 16 | BuildRequires: gtk3-devel |
---|
| 17 | BuildRequires: gjs-devel |
---|
[7938] | 18 | BuildRequires: libgweather-devel >= 3.9.5 |
---|
[10716] | 19 | BuildRequires: geoclue2-devel |
---|
[7633] | 20 | |
---|
| 21 | Requires(postun,posttrans): desktop-file-utils |
---|
| 22 | |
---|
[9073] | 23 | Obsoletes: %{name}-devel < 3.14.0 |
---|
| 24 | |
---|
[7633] | 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 | |
---|
[9073] | 55 | %find_lang org.gnome.Weather |
---|
[7633] | 56 | |
---|
| 57 | %clean |
---|
| 58 | rm -rf $RPM_BUILD_ROOT |
---|
| 59 | |
---|
[7938] | 60 | %post |
---|
| 61 | touch --no-create %{_datadir}/icons/hicolor > /dev/null || : |
---|
| 62 | |
---|
[7633] | 63 | %postun |
---|
| 64 | if [ $1 -eq 0 ]; then |
---|
| 65 | update-desktop-database -q &> /dev/null ||: |
---|
| 66 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
[7938] | 67 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor || : |
---|
[7633] | 68 | fi |
---|
| 69 | |
---|
| 70 | %posttrans |
---|
| 71 | update-desktop-database -q &> /dev/null ||: |
---|
| 72 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
[7938] | 73 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor || : |
---|
[7633] | 74 | |
---|
| 75 | |
---|
[9073] | 76 | %files -f org.gnome.Weather.lang |
---|
[7633] | 77 | %defattr(-,root,root,-) |
---|
| 78 | %doc NEWS |
---|
| 79 | %{_bindir}/%{name} |
---|
[7938] | 80 | %{_datadir}/appdata/%{pkgname}.appdata.xml |
---|
| 81 | %{_datadir}/applications/%{pkgname}.desktop |
---|
| 82 | %{_datadir}/dbus-1/services/%{pkgname}.service |
---|
[9073] | 83 | %{_datadir}/dbus-1/services/org.gnome.Weather.BackgroundService.service |
---|
[7938] | 84 | %{_datadir}/glib-2.0/schemas/%{pkgname}.gschema.xml |
---|
| 85 | %{_datadir}/gnome-shell/search-providers/%{pkgname}.search-provider.ini |
---|
[9073] | 86 | %{_datadir}/icons/*/*/*/* |
---|
| 87 | %{_datadir}/org.gnome.Weather |
---|
[7633] | 88 | |
---|
| 89 | |
---|
| 90 | %changelog |
---|
[10716] | 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 | |
---|
[9791] | 95 | * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.1-1 |
---|
| 96 | - new upstream release |
---|
| 97 | |
---|
[9536] | 98 | * Sun May 03 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.2.1-1 |
---|
| 99 | - new upstream release |
---|
| 100 | |
---|
[9520] | 101 | * Sun Apr 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.1-1 |
---|
| 102 | - new upstream release |
---|
| 103 | |
---|
[9475] | 104 | * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1 |
---|
| 105 | - new upstream release |
---|
| 106 | |
---|
[9114] | 107 | * Sun Nov 23 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-2 |
---|
| 108 | - fix typo in Group |
---|
| 109 | |
---|
[9073] | 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 | |
---|
[8447] | 114 | * Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1 |
---|
| 115 | - new upstream release |
---|
| 116 | |
---|
[8353] | 117 | * Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1 |
---|
| 118 | - new upstream release |
---|
| 119 | |
---|
[8152] | 120 | * Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-2 |
---|
| 121 | - rebuild with VineSeed environment |
---|
| 122 | |
---|
[7938] | 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 | |
---|
[7681] | 127 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1 |
---|
| 128 | - new upstream release |
---|
| 129 | |
---|
[7633] | 130 | * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1 |
---|
| 131 | - initial build |
---|