libchamplain-vl.spec 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287
  1. Summary: Map view for Clutter
  2. Summary(ja): Clutter用のマップビューア
  3. Name: libchamplain
  4. Version: 0.4.5
  5. Release: 1%{?_dist_release}
  6. License: LGPLv2+
  7. Group: System Environment/Libraries
  8. URL: http://projects.gnome.org/libchamplain/
  9. Source0: http://download.gnome.org/sources/libchamplain/0.4/%{name}-%{version}.tar.bz2
  10. Requires: gobject-introspection
  11. BuildRequires: clutter-devel
  12. BuildRequires: clutter-gtk-devel
  13. BuildRequires: gir-repository-devel
  14. BuildRequires: libsoup-devel
  15. BuildRequires: sqlite3-devel
  16. BuildRequires: gtk-doc >= 1.14
  17. BuildRequires: gobject-introspection-devel >= 0.6.8
  18. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  19. %description
  20. Libchamplain is a C library aimed to provide a ClutterActor to display
  21. rasterized maps.
  22. %description -l ja
  23. Libchamplain はラスタライズされたマップを表示するために ClutterActor を提供することを目的とした C ライブラリです。
  24. %package devel
  25. Summary: Development files for %{name}
  26. Group: Development/Libraries
  27. Requires: gobject-introspection-devel
  28. Requires: gtk-doc
  29. Requires: clutter-devel
  30. Requires: %{name} = %{version}-%{release}
  31. %description devel
  32. This package contains development files for %{name}.
  33. %package gtk
  34. Summary: Gtk+ widget wrapper for %{name}
  35. Group: System Environment/Libraries
  36. Requires: %{name} = %{version}-%{release}
  37. %description gtk
  38. Libchamplain-gtk is a library providing a GtkWidget to embed %{name}
  39. into Gtk+ applications.
  40. %package gtk-devel
  41. Summary: Development files for %{name}-gtk
  42. Group: Development/Libraries
  43. Requires: gtk-doc
  44. Requires: clutter-gtk-devel
  45. Requires: %{name}-devel = %{version}-%{release}
  46. Requires: %{name}-gtk = %{version}-%{release}
  47. %description gtk-devel
  48. This package contains development files for %{name}-gtk.
  49. %prep
  50. %setup -q
  51. %build
  52. %configure --disable-debug --disable-static --enable-gtk --enable-gtk-doc \
  53. --enable-introspection=yes --enable-silent-rules
  54. # Omit unused direct shared library dependencies.
  55. sed --in-place --expression 's! -shared ! -Wl,--as-needed\0!g' libtool
  56. make %{?_smp_mflags}
  57. %install
  58. rm -rf $RPM_BUILD_ROOT
  59. make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT
  60. find $RPM_BUILD_ROOT -type f -name "*.la" -delete
  61. %clean
  62. rm -rf $RPM_BUILD_ROOT
  63. %post -p /sbin/ldconfig
  64. %postun -p /sbin/ldconfig
  65. %post gtk -p /sbin/ldconfig
  66. %postun gtk -p /sbin/ldconfig
  67. %files
  68. %defattr(-,root,root,-)
  69. %doc AUTHORS
  70. %doc ChangeLog
  71. %doc COPYING
  72. %doc NEWS
  73. %{_libdir}/girepository-1.0/Champlain-0.4.typelib
  74. %{_libdir}/%{name}-0.4.so.*
  75. %files devel
  76. %defattr(-,root,root,-)
  77. %doc demos/animated-marker.c
  78. %doc demos/launcher.c
  79. %doc demos/markers.c
  80. %doc demos/markers.h
  81. %doc demos/polygons.c
  82. %doc demos/url-marker.c
  83. %{_datadir}/gir-1.0/Champlain-0.4.gir
  84. %{_libdir}/%{name}-0.4.so
  85. %{_libdir}/pkgconfig/champlain-0.4.pc
  86. %dir %{_datadir}/gtk-doc/html/libchamplain
  87. %doc %{_datadir}/gtk-doc/html/libchamplain/*
  88. %dir %{_includedir}/%{name}-0.4
  89. %{_includedir}/%{name}-0.4/champlain
  90. %files gtk
  91. %defattr(-,root,root,-)
  92. %{_libdir}/girepository-1.0/GtkChamplain-0.4.typelib
  93. %{_libdir}/%{name}-gtk-0.4.so.*
  94. %files gtk-devel
  95. %defattr(-,root,root,-)
  96. %doc demos/launcher-gtk.c
  97. %doc demos/markers.c
  98. %{_datadir}/gir-1.0/GtkChamplain-0.4.gir
  99. %{_libdir}/%{name}-gtk-0.4.so
  100. %{_libdir}/pkgconfig/champlain-gtk-0.4.pc
  101. %dir %{_datadir}/gtk-doc/html/libchamplain-gtk
  102. %doc %{_datadir}/gtk-doc/html/libchamplain-gtk/*
  103. %dir %{_includedir}/%{name}-gtk-0.4
  104. %{_includedir}/%{name}-gtk-0.4/champlain-gtk
  105. %changelog
  106. * Sun Apr 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> -0.4.5-1
  107. - new upstream release
  108. - fix BuildRequires: gtk-doc >= 1.14
  109. - add Requires: clutter-devel (devel package)
  110. - add Requires: clutter-gtk-devel (gtk-devel package)
  111. * Sun Mar 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> -0.4.4-1
  112. - Initial build for Vine Linux
  113. - add BuildRequires: sqlite3-devel, gtk-doc, gobject-introspection
  114. * Thu Oct 29 2009 Debarshi Ray <rishi@fedoraproject.org> - 0.4.2-1
  115. - Version bump to 0.4.2.
  116. * Fixed acceptable values of "decel-rate". (GNOME Bugzilla #595552)
  117. * Fixed GObject Introspection build failure. (GNOME Bugzilla #598942)
  118. * http://download.gnome.org/sources/libchamplain/0.4/libchamplain-0.4.2.news
  119. * http://download.gnome.org/sources/libchamplain/0.4/libchamplain-0.4.2.changes
  120. * Mon Oct 19 2009 Debarshi Ray <rishi@fedoraproject.org> - 0.4.1-1
  121. - Version bump to 0.4.1.
  122. * Added champlain_view_remove_layer.
  123. * ChamplainSelectionLayer now has a "changed" signal.
  124. * Added champlain_marker_get_highlighted_text_color,
  125. champlain_marker_set_highlighted_text_color and
  126. Added champlain_marker_get_highlighted_color.
  127. * Fixed slowdowns with big caches.
  128. * Don't emit invalid latitude and longitude notifications.
  129. * Ensure map is displayed in Eye of GNOME's champlain plugin. (GNOME
  130. Bugzilla #598106)
  131. * http://download.gnome.org/sources/libchamplain/0.4/libchamplain-0.4.1.news
  132. * http://download.gnome.org/sources/libchamplain/0.4/libchamplain-0.4.1.changes
  133. - Enabled GObject Introspection, and added 'Requires: gobject-introspection'
  134. and 'BuildRequires: gir-repository-devel'. Patched to fix build failure.
  135. (GNOME Bugzilla #598942)
  136. - Explicitly disabled debug code.
  137. - RPaths fixed by upstream. Removed 'BuildRequires: chrpath'.
  138. * Mon Sep 21 2009 Debarshi Ray <rishi@fedoraproject.org> - 0.4.0-1
  139. - Version bump to 0.4.0.
  140. * ChamplainView now has keyboard shortcuts (but not when used with
  141. GtkChamplainEmbed).
  142. * Removed deprecated symbols introduced in 0.3.
  143. * Fixed X error when using GtkChamplainEmbed. (GNOME Bugzilla #590692)
  144. * Events were not being sent until the mouse moved. (GNOME Bugzilla #590727)
  145. * Fixed memory leak in ChamplainLayer. (GNOME Bugzilla #593505)
  146. * Initial center_on should not result on the map being in Antarctica.
  147. (GNOME Bugzilla #594963)
  148. * http://download.gnome.org/sources/libchamplain/0.3/libchamplain-0.3.92.news
  149. * http://download.gnome.org/sources/libchamplain/0.3/libchamplain-0.3.92.changes
  150. * Mon Aug 24 2009 Matthias Clasen <mclasen@redhat.com> - 0.3.91-1
  151. - Version bump to 0.3.91.
  152. * http://download.gnome.org/sources/libchamplain/0.3/libchamplain-0.3.91.news
  153. * Tue Aug 11 2009 Matthias Clasen <mclasen@redhat.com> - 0.3.90-1
  154. - Version bump to 0.3.90.
  155. * http://download.gnome.org/sources/libchamplain/0.3/libchamplain-0.3.90.news
  156. * http://download.gnome.org/sources/libchamplain/0.3/libchamplain-0.3.90.changes
  157. * Mon Aug 3 2009 Matthias Clasen <mclasen@redhat.com> - 0.3.6-1
  158. - Version bump to 0.3.6.
  159. * New marker animation API.
  160. * Ported to Clutter 1.0. (GNOME Bugzilla #576391)
  161. * http://download.gnome.org/sources/libchamplain/0.3/libchamplain-0.3.6.news
  162. * http://download.gnome.org/sources/libchamplain/0.3/libchamplain-0.3.6.changes
  163. * Sat Aug 02 2009 Debarshi Ray <rishi@fedoraproject.org> - 0.3.5-1
  164. - Version bump to 0.3.5.
  165. * Marker selection API. (GNOME Bugzilla #577909)
  166. * http://download.gnome.org/sources/libchamplain/0.3/libchamplain-0.3.5.news
  167. * http://download.gnome.org/sources/libchamplain/0.3/libchamplain-0.3.4.news
  168. * http://download.gnome.org/sources/libchamplain/0.3/libchamplain-0.3.5.changes
  169. * http://download.gnome.org/sources/libchamplain/0.3/libchamplain-0.3.4.changes
  170. * Fri Jul 24 2009 Release Engineering <rel-eng@fedoraproject.org> - 0.3.3-2
  171. - Autorebuild for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  172. * Sat Jul 11 2009 Debarshi Ray <rishi@fedoraproject.org> - 0.3.3-1
  173. - Version bump to 0.3.3.
  174. * Support for custom map sources and listing available map sources.
  175. * Smooth movement to a new position. (GNOME Bugzilla #557641)
  176. * Keep the center of the map in the center after a resize. (GNOME Bugzilla
  177. #557642)
  178. * Double click to zoom and center. (GNOME Bugzilla #557644)
  179. * Added a way to know the maximum and minimum zoom level. (GNOME Bugzilla
  180. #557965)
  181. * Fixed unwanted wrap effect when panning at zoom level >= 8. (GNOME
  182. Bugzilla #558020)
  183. * Fixed center on and zooming in behavior. (GNOME Bugzilla #558026)
  184. * Lack of user feedback during loading of tiles. (GNOME Bugzilla #559522)
  185. * Added missing zoom level to OpenStreetMap Mapnik. (GNOME Bugzilla
  186. #559446)
  187. * Fixed wrong elastic effect affecting Emapthy's map view. (GNOME Bugzilla
  188. #561700)
  189. * Added disk cache management. (GNOME Bugzillla #568931)
  190. * Host application should be able to limit the maximum and minimum zoom
  191. levels. (GNOME Bugzilla #571702)
  192. * Allow host applications to draw lines/routes on the map. (GNOME Bugzilla
  193. #572377)
  194. * Support proxies. (GNOME Bugzilla #573937)
  195. * Provide a way to make visible a bunch of markers. (GNOME Bugzilla #574809)
  196. * Do not allow negative zoom levels. (GNOME Bugzilla #575138)
  197. * Fixed corrupted map when double-clicking at maximum level. (GNOME Bugzilla
  198. #575139)
  199. * Prevent ChamplainNetworkMapSource from crashing when setting "proxy-uri".
  200. (GNOME Bugzilla #575902).
  201. * Implemented advanced markers. (GNOME Bugzilla #576055)
  202. * Various memory management fixes for ChamplainTile. (GNOME Bugzilla
  203. #576159)
  204. * Any go_to should stop a previous and not yet finished go_to. (GNOME
  205. Bugzilla #576832)
  206. * Prevent segmentation fault on 32 bit platforms. (GNOME Bugzilla #576698)
  207. * Introduced a new signal called ChamplainView::animation-completed. (GNOME
  208. Bugzilla #577169)
  209. * Set decel-rate correctly. (GNOME Bugzilla #580785)
  210. * champlain_network_map_source_fill_tile should be private. (GNOME Bugzilla
  211. #582786)
  212. * Fixed champlain_view_center_on. (GNOME Bugzilla #583502)
  213. * Fixed "longitude" and "latitude" properties, which were reversed. (GNOME
  214. Bugzilla #584365)
  215. * Make the cache work the first time. (GNOME Bugzilla #584390)
  216. * GNOME Goal: use accessor functions instead direct access. (GNOME Bugzilla
  217. #585698)
  218. - Added 'BuildRequires: chrpath' for removing rpaths.
  219. * Wed Mar 18 2009 Debarshi Ray <rishi@fedoraproject.org> - 0.2.9-1
  220. - Version bump to 0.2.9.
  221. * Fixed elastic effect.
  222. * Reduced exported symbols.
  223. * Wed Feb 25 2009 Release Engineering <rel-eng@fedoraproject.org> - 0.2.8-3
  224. - Autorebuild for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  225. * Wed Jan 28 2009 Debarshi Ray <rishi@fedoraproject.org> - 0.2.8-2
  226. - Removed 'Requires: clutter-devel >= 0.8 pkgconfig' from libchamplain-devel
  227. for all distributions, except Fedora 10.
  228. - Fixed sample code to not use generic headers.
  229. * Wed Jan 14 2009 Debarshi Ray <rishi@fedoraproject.org> - 0.2.8-1
  230. - Initial build. Imported SPEC from openSUSE.
  231. * Added a new constructor for ChamplainMarkers made of an image.
  232. * Double clicking on the map will now zoom and recenter.
  233. * When resizing a ChamplainView, the centered content will still be
  234. centered after the resizing. Can be disabled.
  235. * The Map's license is displayed by default on the lower right corner.
  236. * Fixed map centering on startup.
  237. * Fixed missing zoom level in OpenStreetMap Mapnik.
  238. * Fixed zooming and centering behaviour. (GNOME Bugzilla #558026)