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.10.1 |
---|
7 | Release: 2%{?_dist_release} |
---|
8 | License: GPLv2+ |
---|
9 | Group: User Interface/Deskops |
---|
10 | URL: https://live.gnome.org/Design/Apps/Weather |
---|
11 | |
---|
12 | Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.10/%{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 | |
---|
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 | |
---|
63 | %find_lang %{pkgname} |
---|
64 | |
---|
65 | %clean |
---|
66 | rm -rf $RPM_BUILD_ROOT |
---|
67 | |
---|
68 | %post |
---|
69 | touch --no-create %{_datadir}/icons/hicolor > /dev/null || : |
---|
70 | |
---|
71 | %postun |
---|
72 | if [ $1 -eq 0 ]; then |
---|
73 | update-desktop-database -q &> /dev/null ||: |
---|
74 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
75 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor || : |
---|
76 | fi |
---|
77 | |
---|
78 | %posttrans |
---|
79 | update-desktop-database -q &> /dev/null ||: |
---|
80 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
81 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor || : |
---|
82 | |
---|
83 | |
---|
84 | %files -f %{pkgname}.lang |
---|
85 | %defattr(-,root,root,-) |
---|
86 | %doc NEWS |
---|
87 | %{_bindir}/%{name} |
---|
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} |
---|
98 | %{_datadir}/%{pkgname}/%{pkgname}.gresource |
---|
99 | |
---|
100 | %files devel |
---|
101 | %defattr(-,root,root,-) |
---|
102 | %{_datadir}/%{pkgname}/gir-1.0/Gd-1.0.gir |
---|
103 | |
---|
104 | |
---|
105 | %changelog |
---|
106 | * Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-2 |
---|
107 | - rebuild with VineSeed environment |
---|
108 | |
---|
109 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1 |
---|
110 | - new upstream release |
---|
111 | - add BuildRequires: libgweather-devel |
---|
112 | |
---|
113 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1 |
---|
114 | - new upstream release |
---|
115 | |
---|
116 | * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1 |
---|
117 | - initial build |
---|