libchamplain-vl.spec 12 KB

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