1 | Summary: Library for accessing weather information |
---|
2 | Summary(ja): 天気予報情報にアクセスするライブラリ |
---|
3 | Name: libgweather |
---|
4 | Version: 3.2.1 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | URL: http://www.gnome.org/ |
---|
7 | License: GPL |
---|
8 | Group: System Environment/Libraries |
---|
9 | Source0: http://ftp.gnome.org/pub/GNOME/sources/libgweather/3.2/%{name}-%{version}.tar.xz |
---|
10 | |
---|
11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
12 | BuildRequires: glib2-devel |
---|
13 | BuildRequires: gtk3-devel |
---|
14 | BuildRequires: GConf2-devel |
---|
15 | BuildRequires: libsoup-devel |
---|
16 | Requires(post,pre,preun): GConf2 |
---|
17 | |
---|
18 | Vendor: Project Vine |
---|
19 | Distribution: Vine Linux |
---|
20 | |
---|
21 | %description |
---|
22 | |
---|
23 | libgweather is a library to access weather information from online |
---|
24 | services for numerous locations. |
---|
25 | |
---|
26 | %description -l ja |
---|
27 | |
---|
28 | libgweather はオンラインサービス上にある世界中の天気予報情報に |
---|
29 | アクセスするためのライブラリです。 |
---|
30 | |
---|
31 | |
---|
32 | %package l10n |
---|
33 | Summary: Localized xml files for %{name} |
---|
34 | Summary(ja): %{name} の多言語データ |
---|
35 | Group: System Environment/Libraries |
---|
36 | Requires: %{name} = %{version} |
---|
37 | |
---|
38 | %description l10n |
---|
39 | This package contains localized xml files for libgweather. |
---|
40 | (except for English and Japanese) |
---|
41 | |
---|
42 | %description -l ja l10n |
---|
43 | このパッケージには libgweather 用の各種言語の xml ファイルが |
---|
44 | 含まれています。(英語および日本語以外の言語) |
---|
45 | |
---|
46 | |
---|
47 | %package devel |
---|
48 | Summary: Libraries and headers for libgweather |
---|
49 | Summary(ja): libgweather 用ライブラリとヘッダ |
---|
50 | Group: Development/Libraries |
---|
51 | Requires: %{name} = %{version} |
---|
52 | Requires: gtk3-devel |
---|
53 | Requires: GConf2-devel |
---|
54 | Requires: libsoup-devel |
---|
55 | |
---|
56 | %description devel |
---|
57 | |
---|
58 | Libraries and headers for libgweather. |
---|
59 | |
---|
60 | %description devel -l ja |
---|
61 | |
---|
62 | libgweather 用ライブラリとヘッダ |
---|
63 | |
---|
64 | |
---|
65 | %prep |
---|
66 | %setup -q |
---|
67 | |
---|
68 | |
---|
69 | %build |
---|
70 | %configure --disable-schemas-install |
---|
71 | # do NOT use smp flag |
---|
72 | make |
---|
73 | |
---|
74 | |
---|
75 | %install |
---|
76 | rm -rf $RPM_BUILD_ROOT |
---|
77 | |
---|
78 | export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
---|
79 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
80 | unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
---|
81 | |
---|
82 | rm -rf $RPM_BUILD_ROOT%{_libdir}/lib*.{a,la} |
---|
83 | |
---|
84 | %find_lang %{name}-3.0 |
---|
85 | |
---|
86 | |
---|
87 | %clean |
---|
88 | rm -rf $RPM_BUILD_ROOT |
---|
89 | |
---|
90 | |
---|
91 | %post |
---|
92 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
93 | gconftool-2 --makefile-install-rule \ |
---|
94 | %{_sysconfdir}/gconf/schemas/gweather.schemas \ |
---|
95 | > /dev/null || : |
---|
96 | /sbin/ldconfig |
---|
97 | |
---|
98 | |
---|
99 | %pre |
---|
100 | if [ "$1" -gt 1 ]; then |
---|
101 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
102 | gconftool-2 --makefile-uninstall-rule \ |
---|
103 | %{_sysconfdir}/gconf/schemas/gweather.schemas \ |
---|
104 | > /dev/null || : |
---|
105 | fi |
---|
106 | |
---|
107 | |
---|
108 | %preun |
---|
109 | if [ "$1" -eq 0 ]; then |
---|
110 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
111 | gconftool-2 --makefile-uninstall-rule \ |
---|
112 | %{_sysconfdir}/gconf/schemas/gweather.schemas \ |
---|
113 | > /dev/null || : |
---|
114 | fi |
---|
115 | |
---|
116 | |
---|
117 | %postun -p /sbin/ldconfig |
---|
118 | |
---|
119 | |
---|
120 | %files -f %{name}-3.0.lang |
---|
121 | %defattr(-,root,root) |
---|
122 | %doc AUTHORS COPYING NEWS README |
---|
123 | %{_sysconfdir}/gconf/schemas/*.schemas |
---|
124 | %{_libdir}/lib*.so.* |
---|
125 | %{_libdir}/girepository-1.0/GWeather-3.0.typelib |
---|
126 | %dir %{_datadir}/libgweather |
---|
127 | %{_datadir}/libgweather/Locations.xml |
---|
128 | %{_datadir}/libgweather/Locations.ja.xml |
---|
129 | %{_datadir}/libgweather/locations.dtd |
---|
130 | %{_datadir}/icons/gnome/*/status/weather-* |
---|
131 | |
---|
132 | |
---|
133 | %files l10n |
---|
134 | %defattr(-,root,root) |
---|
135 | %{_datadir}/libgweather/*.xml |
---|
136 | %exclude %{_datadir}/libgweather/Locations.xml |
---|
137 | %exclude %{_datadir}/libgweather/Locations.ja.xml |
---|
138 | %exclude %{_datadir}/libgweather/locations.dtd |
---|
139 | |
---|
140 | |
---|
141 | %files devel |
---|
142 | %defattr(-,root,root) |
---|
143 | %{_libdir}/lib*.so |
---|
144 | %{_libdir}/pkgconfig/* |
---|
145 | %{_includedir}/* |
---|
146 | %{_datadir}/gir-1.0/GWeather-3.0.gir |
---|
147 | %{_datadir}/gtk-doc/html/libgweather-3.0 |
---|
148 | |
---|
149 | |
---|
150 | %changelog |
---|
151 | * Thu Nov 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1 |
---|
152 | - new upstream release |
---|
153 | |
---|
154 | * Wed Sep 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1 |
---|
155 | - new upstream release |
---|
156 | |
---|
157 | * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.3-1 |
---|
158 | - new upstream release |
---|
159 | - change BuildRequires: gtk3-devel instead of gtk2-devel |
---|
160 | |
---|
161 | * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.3-1 |
---|
162 | - new upstream release |
---|
163 | |
---|
164 | * Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-2 |
---|
165 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
166 | |
---|
167 | * Tue Jun 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1 |
---|
168 | - new upstream release |
---|
169 | |
---|
170 | * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1 |
---|
171 | - new upstream release |
---|
172 | |
---|
173 | * Sat Oct 31 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.0-1 |
---|
174 | - new upstream release |
---|
175 | - removed BR: gnome-vfs2-devel |
---|
176 | - added BR: libsoup-devel |
---|
177 | |
---|
178 | * Sat Jul 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2.1-1 |
---|
179 | - new upstream release |
---|
180 | |
---|
181 | * Wed Apr 08 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-2 |
---|
182 | - split l10n xml files to -l10n subpackage. |
---|
183 | |
---|
184 | * Sat Mar 21 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1 |
---|
185 | - new upstream release |
---|
186 | - remove static libs |
---|
187 | |
---|
188 | * Mon Jan 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.3-1 |
---|
189 | - new upstream release |
---|
190 | |
---|
191 | * Sun Oct 26 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.1-1 |
---|
192 | - new upstream release |
---|
193 | |
---|
194 | * Wed Sep 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1 |
---|
195 | - new upstream release |
---|
196 | |
---|
197 | * Wed Jul 30 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.22.3-1 |
---|
198 | - new upstream release |
---|
199 | - added Japanese summary and description, in UTF-8 |
---|
200 | |
---|
201 | * Sun Jun 1 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.2-1 |
---|
202 | - new upstream release |
---|
203 | |
---|
204 | * Sat Apr 19 2008 NAKAMURA Kenta <kenta@vinelinux.org> 2.22.1.2-2 |
---|
205 | - dropped %%{_smp_mflags} from make option |
---|
206 | |
---|
207 | * Thu Apr 17 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1.2-1vl5 |
---|
208 | - new upstream release |
---|
209 | |
---|
210 | * Wed Apr 9 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1.1-1vl5 |
---|
211 | - new upstream release |
---|
212 | |
---|
213 | * Sun Mar 30 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5 |
---|
214 | - initial package for Vine Linux |
---|