1 | Summary: Weather application for GNOME |
---|
2 | Summary(ja): GNOME 用天気アプリケーション |
---|
3 | Name: gnome-weather |
---|
4 | Version: 3.8.2 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | License: GPLv2+ |
---|
7 | Group: User Interface/Deskops |
---|
8 | URL: https://live.gnome.org/Design/Apps/Weather |
---|
9 | |
---|
10 | Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.8/%{name}-%{version}.tar.xz |
---|
11 | |
---|
12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
13 | |
---|
14 | BuildRequires: gtk3-devel |
---|
15 | BuildRequires: gjs-devel |
---|
16 | |
---|
17 | Requires(postun,posttrans): desktop-file-utils |
---|
18 | |
---|
19 | Vendor: Project Vine |
---|
20 | Distribution: Vine Linux |
---|
21 | Packager: Takemikaduchi |
---|
22 | |
---|
23 | |
---|
24 | %description |
---|
25 | This is a small application that allows you to monitor the current |
---|
26 | weather conditions for your city, or anywhere in the world, and to |
---|
27 | access updated forecasts provided by various internet services. |
---|
28 | |
---|
29 | %description -l ja |
---|
30 | gnome-weather は世界各地の現在の天候を表示し、様々なインターネット |
---|
31 | サービスで提供された天気予報にアクセスするための小さなアプリケーションです。 |
---|
32 | |
---|
33 | |
---|
34 | %package devel |
---|
35 | Summary: Development tools for %{name} |
---|
36 | Summary(ja): %{name} の開発環境 |
---|
37 | Group: Development/Libraries |
---|
38 | Requires: %{name} = %{version}-%{release} |
---|
39 | Requires: pkgconfig |
---|
40 | |
---|
41 | %description devel |
---|
42 | Header files and libraries for building a extension library for the %{name}. |
---|
43 | |
---|
44 | |
---|
45 | %prep |
---|
46 | %setup -q |
---|
47 | |
---|
48 | %build |
---|
49 | %configure |
---|
50 | |
---|
51 | make %{?_smp_mflags} |
---|
52 | |
---|
53 | %install |
---|
54 | rm -rf $RPM_BUILD_ROOT |
---|
55 | |
---|
56 | make install DESTDIR=${RPM_BUILD_ROOT} |
---|
57 | |
---|
58 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
59 | |
---|
60 | %find_lang %{name} |
---|
61 | |
---|
62 | %clean |
---|
63 | rm -rf $RPM_BUILD_ROOT |
---|
64 | |
---|
65 | %postun |
---|
66 | if [ $1 -eq 0 ]; then |
---|
67 | update-desktop-database -q &> /dev/null ||: |
---|
68 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
69 | fi |
---|
70 | |
---|
71 | %posttrans |
---|
72 | update-desktop-database -q &> /dev/null ||: |
---|
73 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
74 | |
---|
75 | |
---|
76 | %files -f %{name}.lang |
---|
77 | %defattr(-,root,root,-) |
---|
78 | %doc NEWS |
---|
79 | %{_bindir}/%{name} |
---|
80 | %{_libdir}/%{name}/girepository-1.0/Gd-1.0.typelib |
---|
81 | %{_libdir}/%{name}/libgd.so |
---|
82 | %{_datadir}/applications/%{name}.desktop |
---|
83 | %{_datadir}/glib-2.0/schemas/org.gnome.Weather.Application.gschema.xml |
---|
84 | %{_datadir}/%{name}/*.js |
---|
85 | %{_datadir}/%{name}/gnome-weather.gresource |
---|
86 | |
---|
87 | %files devel |
---|
88 | %defattr(-,root,root,-) |
---|
89 | %{_datadir}/%{name}/gir-1.0/Gd-1.0.gir |
---|
90 | |
---|
91 | |
---|
92 | %changelog |
---|
93 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1 |
---|
94 | - new upstream release |
---|
95 | |
---|
96 | * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1 |
---|
97 | - initial build |
---|