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