libchamplain-vl.spec 11 KB

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