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