1 | %define ver 0.12 |
---|
2 | |
---|
3 | Summary: Map view for Clutter |
---|
4 | Summary(ja): Clutter用のマップビューア |
---|
5 | Name: libchamplain |
---|
6 | Version: 0.12.10 |
---|
7 | Release: 1%{?_dist_release} |
---|
8 | License: LGPLv2+ |
---|
9 | Group: System Environment/Libraries |
---|
10 | URL: http://projects.gnome.org/libchamplain/ |
---|
11 | Source0: http://download.gnome.org/sources/libchamplain/0.12/%{name}-%{version}.tar.xz |
---|
12 | |
---|
13 | Requires: gobject-introspection |
---|
14 | |
---|
15 | BuildRequires: clutter-devel |
---|
16 | BuildRequires: clutter-gtk-devel |
---|
17 | BuildRequires: libsoup-devel |
---|
18 | BuildRequires: sqlite3-devel |
---|
19 | BuildRequires: gtk-doc >= 1.14 |
---|
20 | BuildRequires: gobject-introspection-devel >= 0.6.8 |
---|
21 | |
---|
22 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
23 | |
---|
24 | Vendor: Project Vine |
---|
25 | Distribution: Vine Linux |
---|
26 | Packager: Takemikaduchi |
---|
27 | |
---|
28 | %description |
---|
29 | Libchamplain is a C library aimed to provide a ClutterActor to display |
---|
30 | rasterized maps. |
---|
31 | |
---|
32 | %description -l ja |
---|
33 | Libchamplain はラスタライズされたマップを表示するために ClutterActor を提供することを目的とした C ライブラリです。 |
---|
34 | |
---|
35 | %package devel |
---|
36 | Summary: Development files for %{name} |
---|
37 | Group: Development/Libraries |
---|
38 | |
---|
39 | Requires: gobject-introspection-devel |
---|
40 | Requires: clutter-devel |
---|
41 | Requires: sqlite3-devel |
---|
42 | Requires: libsoup-devel |
---|
43 | Requires: %{name} = %{version}-%{release} |
---|
44 | |
---|
45 | %description devel |
---|
46 | This package contains development files for %{name}. |
---|
47 | |
---|
48 | %package gtk |
---|
49 | Summary: Gtk+ widget wrapper for %{name} |
---|
50 | Group: System Environment/Libraries |
---|
51 | |
---|
52 | Requires: %{name} = %{version}-%{release} |
---|
53 | |
---|
54 | %description gtk |
---|
55 | Libchamplain-gtk is a library providing a GtkWidget to embed %{name} |
---|
56 | into Gtk+ applications. |
---|
57 | |
---|
58 | %package gtk-devel |
---|
59 | Summary: Development files for %{name}-gtk |
---|
60 | Group: Development/Libraries |
---|
61 | |
---|
62 | Requires: clutter-gtk-devel |
---|
63 | Requires: gtk2-devel |
---|
64 | Requires: %{name}-devel = %{version}-%{release} |
---|
65 | Requires: %{name}-gtk = %{version}-%{release} |
---|
66 | |
---|
67 | %description gtk-devel |
---|
68 | This package contains development files for %{name}-gtk. |
---|
69 | |
---|
70 | %package vala |
---|
71 | Summary: Vala bindings for %{name} |
---|
72 | Summary(ja): %{name} の Vala バインディング |
---|
73 | Group: Development/Libraries |
---|
74 | Requires: %{name} = %{version}-%{release} |
---|
75 | Requires: %{name}-gtk = %{version}-%{release} |
---|
76 | Requires: vala |
---|
77 | |
---|
78 | %description vala |
---|
79 | Vala bindings for %{name}. |
---|
80 | |
---|
81 | %package docs |
---|
82 | Summary: Documentation for %{name} |
---|
83 | Summary(ja): %{name} 用のドキュメント |
---|
84 | Group: Documentation |
---|
85 | Requires: %{name} = %{version}-%{release} |
---|
86 | Requires: gtk-doc |
---|
87 | BuildArch: noarch |
---|
88 | |
---|
89 | %description docs |
---|
90 | This package contains documentation for %{name}. |
---|
91 | |
---|
92 | |
---|
93 | %prep |
---|
94 | %setup -q |
---|
95 | |
---|
96 | %build |
---|
97 | %configure --disable-debug --disable-static --enable-gtk --enable-gtk-doc \ |
---|
98 | --enable-introspection=yes --enable-silent-rules |
---|
99 | |
---|
100 | # Omit unused direct shared library dependencies. |
---|
101 | sed --in-place --expression 's! -shared ! -Wl,--as-needed\0!g' libtool |
---|
102 | |
---|
103 | make %{?_smp_mflags} |
---|
104 | |
---|
105 | %install |
---|
106 | rm -rf $RPM_BUILD_ROOT |
---|
107 | |
---|
108 | make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT |
---|
109 | find $RPM_BUILD_ROOT -type f -name "*.la" -delete |
---|
110 | |
---|
111 | %clean |
---|
112 | rm -rf $RPM_BUILD_ROOT |
---|
113 | |
---|
114 | %post -p /sbin/ldconfig |
---|
115 | |
---|
116 | %postun -p /sbin/ldconfig |
---|
117 | |
---|
118 | %post gtk -p /sbin/ldconfig |
---|
119 | |
---|
120 | %postun gtk -p /sbin/ldconfig |
---|
121 | |
---|
122 | %files |
---|
123 | %defattr(-,root,root,-) |
---|
124 | %doc AUTHORS |
---|
125 | %doc ChangeLog |
---|
126 | %doc COPYING |
---|
127 | %doc NEWS |
---|
128 | %{_libdir}/girepository-1.0/Champlain-%{ver}.typelib |
---|
129 | %{_libdir}/%{name}-%{ver}.so.* |
---|
130 | |
---|
131 | %files devel |
---|
132 | %defattr(-,root,root,-) |
---|
133 | %doc demos/animated-marker.c |
---|
134 | %doc demos/launcher.c |
---|
135 | %doc demos/markers.c |
---|
136 | %doc demos/markers.h |
---|
137 | %doc demos/polygons.c |
---|
138 | %doc demos/url-marker.c |
---|
139 | %{_datadir}/gir-1.0/Champlain-%{ver}.gir |
---|
140 | %{_libdir}/%{name}-%{ver}.so |
---|
141 | %{_libdir}/pkgconfig/champlain-%{ver}.pc |
---|
142 | |
---|
143 | %dir %{_includedir}/%{name}-%{ver} |
---|
144 | %{_includedir}/%{name}-%{ver}/champlain |
---|
145 | |
---|
146 | %files gtk |
---|
147 | %defattr(-,root,root,-) |
---|
148 | %{_libdir}/girepository-1.0/GtkChamplain-%{ver}.typelib |
---|
149 | %{_libdir}/%{name}-gtk-%{ver}.so.* |
---|
150 | |
---|
151 | %files gtk-devel |
---|
152 | %defattr(-,root,root,-) |
---|
153 | %doc demos/launcher-gtk.c |
---|
154 | %doc demos/markers.c |
---|
155 | %{_datadir}/gir-1.0/GtkChamplain-%{ver}.gir |
---|
156 | %{_libdir}/%{name}-gtk-%{ver}.so |
---|
157 | %{_libdir}/pkgconfig/champlain-gtk-%{ver}.pc |
---|
158 | |
---|
159 | %dir %{_includedir}/%{name}-gtk-%{ver} |
---|
160 | %{_includedir}/%{name}-gtk-%{ver}/champlain-gtk |
---|
161 | |
---|
162 | %files vala |
---|
163 | %defattr(-,root,root,-) |
---|
164 | %{_datadir}/vala/vapi/champlain-%{ver}.vapi |
---|
165 | %{_datadir}/vala/vapi/champlain-gtk-%{ver}.vapi |
---|
166 | |
---|
167 | %files docs |
---|
168 | %defattr(-,root,root,-) |
---|
169 | %{_datadir}/gtk-doc/html/libchamplain-%{ver} |
---|
170 | %{_datadir}/gtk-doc/html/libchamplain-gtk-%{ver} |
---|
171 | |
---|
172 | |
---|
173 | %changelog |
---|
174 | * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.10-1 |
---|
175 | - new upstream release |
---|
176 | |
---|
177 | * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.9-1 |
---|
178 | - new upstream release |
---|
179 | |
---|
180 | * Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.7-1 |
---|
181 | - new upstream release |
---|
182 | |
---|
183 | * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.5-2 |
---|
184 | - rebuild with VineSeed environment |
---|
185 | |
---|
186 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.5-1 |
---|
187 | - new upstream release |
---|
188 | - create vala, docs subpackages |
---|
189 | |
---|
190 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.4-1 |
---|
191 | - new upstream release |
---|
192 | |
---|
193 | * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.3-3 |
---|
194 | - rebuild with cogl-0.14.0 |
---|
195 | |
---|
196 | * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.3-2 |
---|
197 | - rebuild with cogl-0.12.0 |
---|
198 | |
---|
199 | * Tue Jul 17 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.3-1 |
---|
200 | - new upstream release |
---|
201 | |
---|
202 | * Sat Apr 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.2-1 |
---|
203 | - new upstream release |
---|
204 | |
---|
205 | * Wed Dec 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.1-1 |
---|
206 | - new upstream release |
---|
207 | |
---|
208 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.0-1 |
---|
209 | - new upstream release |
---|
210 | |
---|
211 | * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.1-1 |
---|
212 | - new upstream release |
---|
213 | - add Requires: sqlite3-devel, libsoup-devel (-devel package) |
---|
214 | |
---|
215 | * Tue Oct 19 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.0-2 |
---|
216 | - add Requires: sqlite3-devel, libsoup-devel (-devel package) |
---|
217 | - add Requires: gtk2-devel (-gtk-devel package) |
---|
218 | |
---|
219 | * Mon Oct 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.0-1 |
---|
220 | - new upstream release |
---|
221 | - remove BuildRequires: gir-repository-devel |
---|
222 | - fix %files (change version) |
---|
223 | |
---|
224 | * Sat Sep 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.7-2 |
---|
225 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
226 | |
---|
227 | * Mon Aug 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.7-1 |
---|
228 | - new upstream release |
---|
229 | |
---|
230 | * Mon Jun 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.6-1 |
---|
231 | - new upstream release |
---|
232 | |
---|
233 | * Sun Apr 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.5-1 |
---|
234 | - new upstream release |
---|
235 | - fix BuildRequires: gtk-doc >= 1.14 |
---|
236 | - add Requires: clutter-devel (devel package) |
---|
237 | - add Requires: clutter-gtk-devel (gtk-devel package) |
---|
238 | |
---|
239 | * Sun Mar 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.4-1 |
---|
240 | - Initial build for Vine Linux |
---|
241 | - add BuildRequires: sqlite3-devel, gtk-doc, gobject-introspection |
---|
242 | |
---|
243 | |
---|
244 | * Thu Oct 29 2009 Debarshi Ray <rishi@fedoraproject.org> - 0.4.2-1 |
---|
245 | - Version bump to 0.4.2. |
---|
246 | * Fixed acceptable values of "decel-rate". (GNOME Bugzilla #595552) |
---|
247 | * Fixed GObject Introspection build failure. (GNOME Bugzilla #598942) |
---|
248 | * http://download.gnome.org/sources/libchamplain/0.4/libchamplain-0.4.2.news |
---|
249 | * http://download.gnome.org/sources/libchamplain/0.4/libchamplain-0.4.2.changes |
---|
250 | |
---|
251 | * Mon Oct 19 2009 Debarshi Ray <rishi@fedoraproject.org> - 0.4.1-1 |
---|
252 | - Version bump to 0.4.1. |
---|
253 | * Added champlain_view_remove_layer. |
---|
254 | * ChamplainSelectionLayer now has a "changed" signal. |
---|
255 | * Added champlain_marker_get_highlighted_text_color, |
---|
256 | champlain_marker_set_highlighted_text_color and |
---|
257 | Added champlain_marker_get_highlighted_color. |
---|
258 | * Fixed slowdowns with big caches. |
---|
259 | * Don't emit invalid latitude and longitude notifications. |
---|
260 | * Ensure map is displayed in Eye of GNOME's champlain plugin. (GNOME |
---|
261 | Bugzilla #598106) |
---|
262 | * http://download.gnome.org/sources/libchamplain/0.4/libchamplain-0.4.1.news |
---|
263 | * http://download.gnome.org/sources/libchamplain/0.4/libchamplain-0.4.1.changes |
---|
264 | |
---|
265 | - Enabled GObject Introspection, and added 'Requires: gobject-introspection' |
---|
266 | and 'BuildRequires: gir-repository-devel'. Patched to fix build failure. |
---|
267 | (GNOME Bugzilla #598942) |
---|
268 | - Explicitly disabled debug code. |
---|
269 | - RPaths fixed by upstream. Removed 'BuildRequires: chrpath'. |
---|
270 | |
---|
271 | * Mon Sep 21 2009 Debarshi Ray <rishi@fedoraproject.org> - 0.4.0-1 |
---|
272 | - Version bump to 0.4.0. |
---|
273 | * ChamplainView now has keyboard shortcuts (but not when used with |
---|
274 | GtkChamplainEmbed). |
---|
275 | * Removed deprecated symbols introduced in 0.3. |
---|
276 | * Fixed X error when using GtkChamplainEmbed. (GNOME Bugzilla #590692) |
---|
277 | * Events were not being sent until the mouse moved. (GNOME Bugzilla #590727) |
---|
278 | * Fixed memory leak in ChamplainLayer. (GNOME Bugzilla #593505) |
---|
279 | * Initial center_on should not result on the map being in Antarctica. |
---|
280 | (GNOME Bugzilla #594963) |
---|
281 | * http://download.gnome.org/sources/libchamplain/0.3/libchamplain-0.3.92.news |
---|
282 | * http://download.gnome.org/sources/libchamplain/0.3/libchamplain-0.3.92.changes |
---|
283 | |
---|
284 | * Mon Aug 24 2009 Matthias Clasen <mclasen@redhat.com> - 0.3.91-1 |
---|
285 | - Version bump to 0.3.91. |
---|
286 | * http://download.gnome.org/sources/libchamplain/0.3/libchamplain-0.3.91.news |
---|
287 | |
---|
288 | * Tue Aug 11 2009 Matthias Clasen <mclasen@redhat.com> - 0.3.90-1 |
---|
289 | - Version bump to 0.3.90. |
---|
290 | * http://download.gnome.org/sources/libchamplain/0.3/libchamplain-0.3.90.news |
---|
291 | * http://download.gnome.org/sources/libchamplain/0.3/libchamplain-0.3.90.changes |
---|
292 | |
---|
293 | * Mon Aug 3 2009 Matthias Clasen <mclasen@redhat.com> - 0.3.6-1 |
---|
294 | - Version bump to 0.3.6. |
---|
295 | * New marker animation API. |
---|
296 | * Ported to Clutter 1.0. (GNOME Bugzilla #576391) |
---|
297 | * http://download.gnome.org/sources/libchamplain/0.3/libchamplain-0.3.6.news |
---|
298 | * http://download.gnome.org/sources/libchamplain/0.3/libchamplain-0.3.6.changes |
---|
299 | |
---|
300 | * Sun Aug 02 2009 Debarshi Ray <rishi@fedoraproject.org> - 0.3.5-1 |
---|
301 | - Version bump to 0.3.5. |
---|
302 | * Marker selection API. (GNOME Bugzilla #577909) |
---|
303 | * http://download.gnome.org/sources/libchamplain/0.3/libchamplain-0.3.5.news |
---|
304 | * http://download.gnome.org/sources/libchamplain/0.3/libchamplain-0.3.4.news |
---|
305 | * http://download.gnome.org/sources/libchamplain/0.3/libchamplain-0.3.5.changes |
---|
306 | * http://download.gnome.org/sources/libchamplain/0.3/libchamplain-0.3.4.changes |
---|
307 | |
---|
308 | * Fri Jul 24 2009 Release Engineering <rel-eng@fedoraproject.org> - 0.3.3-2 |
---|
309 | - Autorebuild for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
310 | |
---|
311 | * Sat Jul 11 2009 Debarshi Ray <rishi@fedoraproject.org> - 0.3.3-1 |
---|
312 | - Version bump to 0.3.3. |
---|
313 | * Support for custom map sources and listing available map sources. |
---|
314 | * Smooth movement to a new position. (GNOME Bugzilla #557641) |
---|
315 | * Keep the center of the map in the center after a resize. (GNOME Bugzilla |
---|
316 | #557642) |
---|
317 | * Double click to zoom and center. (GNOME Bugzilla #557644) |
---|
318 | * Added a way to know the maximum and minimum zoom level. (GNOME Bugzilla |
---|
319 | #557965) |
---|
320 | * Fixed unwanted wrap effect when panning at zoom level >= 8. (GNOME |
---|
321 | Bugzilla #558020) |
---|
322 | * Fixed center on and zooming in behavior. (GNOME Bugzilla #558026) |
---|
323 | * Lack of user feedback during loading of tiles. (GNOME Bugzilla #559522) |
---|
324 | * Added missing zoom level to OpenStreetMap Mapnik. (GNOME Bugzilla |
---|
325 | #559446) |
---|
326 | * Fixed wrong elastic effect affecting Emapthy's map view. (GNOME Bugzilla |
---|
327 | #561700) |
---|
328 | * Added disk cache management. (GNOME Bugzillla #568931) |
---|
329 | * Host application should be able to limit the maximum and minimum zoom |
---|
330 | levels. (GNOME Bugzilla #571702) |
---|
331 | * Allow host applications to draw lines/routes on the map. (GNOME Bugzilla |
---|
332 | #572377) |
---|
333 | * Support proxies. (GNOME Bugzilla #573937) |
---|
334 | * Provide a way to make visible a bunch of markers. (GNOME Bugzilla #574809) |
---|
335 | * Do not allow negative zoom levels. (GNOME Bugzilla #575138) |
---|
336 | * Fixed corrupted map when double-clicking at maximum level. (GNOME Bugzilla |
---|
337 | #575139) |
---|
338 | * Prevent ChamplainNetworkMapSource from crashing when setting "proxy-uri". |
---|
339 | (GNOME Bugzilla #575902). |
---|
340 | * Implemented advanced markers. (GNOME Bugzilla #576055) |
---|
341 | * Various memory management fixes for ChamplainTile. (GNOME Bugzilla |
---|
342 | #576159) |
---|
343 | * Any go_to should stop a previous and not yet finished go_to. (GNOME |
---|
344 | Bugzilla #576832) |
---|
345 | * Prevent segmentation fault on 32 bit platforms. (GNOME Bugzilla #576698) |
---|
346 | * Introduced a new signal called ChamplainView::animation-completed. (GNOME |
---|
347 | Bugzilla #577169) |
---|
348 | * Set decel-rate correctly. (GNOME Bugzilla #580785) |
---|
349 | * champlain_network_map_source_fill_tile should be private. (GNOME Bugzilla |
---|
350 | #582786) |
---|
351 | * Fixed champlain_view_center_on. (GNOME Bugzilla #583502) |
---|
352 | * Fixed "longitude" and "latitude" properties, which were reversed. (GNOME |
---|
353 | Bugzilla #584365) |
---|
354 | * Make the cache work the first time. (GNOME Bugzilla #584390) |
---|
355 | * GNOME Goal: use accessor functions instead direct access. (GNOME Bugzilla |
---|
356 | #585698) |
---|
357 | - Added 'BuildRequires: chrpath' for removing rpaths. |
---|
358 | |
---|
359 | * Wed Mar 18 2009 Debarshi Ray <rishi@fedoraproject.org> - 0.2.9-1 |
---|
360 | - Version bump to 0.2.9. |
---|
361 | * Fixed elastic effect. |
---|
362 | * Reduced exported symbols. |
---|
363 | |
---|
364 | * Wed Feb 25 2009 Release Engineering <rel-eng@fedoraproject.org> - 0.2.8-3 |
---|
365 | - Autorebuild for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
366 | |
---|
367 | * Wed Jan 28 2009 Debarshi Ray <rishi@fedoraproject.org> - 0.2.8-2 |
---|
368 | - Removed 'Requires: clutter-devel >= 0.8 pkgconfig' from libchamplain-devel |
---|
369 | for all distributions, except Fedora 10. |
---|
370 | - Fixed sample code to not use generic headers. |
---|
371 | |
---|
372 | * Wed Jan 14 2009 Debarshi Ray <rishi@fedoraproject.org> - 0.2.8-1 |
---|
373 | - Initial build. Imported SPEC from openSUSE. |
---|
374 | * Added a new constructor for ChamplainMarkers made of an image. |
---|
375 | * Double clicking on the map will now zoom and recenter. |
---|
376 | * When resizing a ChamplainView, the centered content will still be |
---|
377 | centered after the resizing. Can be disabled. |
---|
378 | * The Map's license is displayed by default on the lower right corner. |
---|
379 | * Fixed map centering on startup. |
---|
380 | * Fixed missing zoom level in OpenStreetMap Mapnik. |
---|
381 | * Fixed zooming and centering behaviour. (GNOME Bugzilla #558026) |
---|