geoclue-vl.spec 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  1. Summary: A modular geoinformation service
  2. Summary(ja): モジュール型地理情報サービス
  3. Name: geoclue
  4. Version: 0.12.99
  5. Release: 2%{?_dist_release}
  6. Group: System Environment/Libraries
  7. License: LGPLv2
  8. URL: http://geoclue.freedesktop.org/
  9. Source0: http://freedesktop.org/~hadess/%{name}-%{version}.tar.gz
  10. Patch0: geoclue-0.12.99-gpsd.patch
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  12. BuildRequires: dbus-devel
  13. BuildRequires: dbus-glib-devel
  14. BuildRequires: glib2-devel
  15. BuildRequires: libxml2-devel
  16. BuildRequires: GConf2-devel
  17. BuildRequires: gtk2-devel
  18. BuildRequires: NetworkManager-glib-devel
  19. BuildRequires: gypsy-devel
  20. BuildRequires: gpsd-devel
  21. BuildRequires: libsoup-devel
  22. #Needed for NetworkManager patch
  23. BuildRequires: libtool
  24. Requires: dbus
  25. Vendor: Project Vine
  26. Distribution: Vine Linux
  27. %description
  28. Geoclue is a modular geoinformation service built on top of the D-Bus
  29. messaging system. The goal of the Geoclue project is to make creating
  30. location-aware applications as simple as possible.
  31. %package devel
  32. Summary: Development package for geoclue
  33. Summary(ja): geoclue の開発パッケージ
  34. Group: Development/Libraries
  35. Requires: %{name} = %{version}-%{release}
  36. Requires: pkgconfig
  37. Requires: dbus-glib-devel
  38. Requires: libxml2-devel
  39. %description devel
  40. Files for development with geoclue.
  41. %package gui
  42. Summary: Testing gui for geoclue
  43. Summary(ja): geoclue のテスト用 GUI
  44. Group: Development/Libraries
  45. Requires: %{name} = %{version}-%{release}
  46. %description gui
  47. Testing gui for geoclue
  48. %package gpsd
  49. Summary: gpsd provider for geoclue
  50. Summary(ja): geoclue 用 gpsd プロバイダ
  51. Group: Development/Libraries
  52. Requires: %{name} = %{version}-%{release}
  53. Requires: gpsd
  54. %description gpsd
  55. A gpsd provider for geoclue
  56. %package gypsy
  57. Summary: gypsy provider for geoclue
  58. Summary(ja): geoclue 用 gypsy プロバイダ
  59. Group: Development/Libraries
  60. Requires: %{name} = %{version}-%{release}
  61. Requires: gypsy
  62. %description gypsy
  63. A gypsy provider for geoclue
  64. %prep
  65. %setup -q
  66. %patch0 -p0 -b .gpsd
  67. # Need this for the NM-0.8 patch
  68. libtoolize
  69. gtkdocize
  70. autoreconf
  71. %build
  72. %configure --disable-static --enable-gtk-doc --enable-networkmanager=yes --enable-gypsy=yes --enable-skyhook=yes --enable-gsmloc=yes
  73. make %{?_smp_mflags} V=1
  74. %install
  75. rm -rf $RPM_BUILD_ROOT
  76. make install DESTDIR=$RPM_BUILD_ROOT
  77. find %{buildroot} -name '*.la' -exec rm -f {} ';'
  78. # Install the test gui as it seems the test isn't installed any more
  79. mkdir $RPM_BUILD_ROOT%{_bindir}
  80. cp test/.libs/geoclue-test-gui $RPM_BUILD_ROOT%{_bindir}/
  81. %clean
  82. rm -rf $RPM_BUILD_ROOT
  83. %post -p /sbin/ldconfig
  84. %postun
  85. /sbin/ldconfig
  86. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  87. %posttrans
  88. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  89. %files
  90. %defattr(-,root,root,-)
  91. %doc AUTHORS COPYING README
  92. %dir %{_datadir}/geoclue-providers
  93. %{_libdir}/libgeoclue.so.0
  94. %{_libdir}/libgeoclue.so.0.0.0
  95. %{_datadir}/GConf/gsettings/geoclue
  96. %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Master.service
  97. %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Example.service
  98. %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Geonames.service
  99. %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Hostip.service
  100. %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Localnet.service
  101. %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Manual.service
  102. %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Plazes.service
  103. %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Yahoo.service
  104. %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Gsmloc.service
  105. %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Nominatim.service
  106. %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Skyhook.service
  107. %{_datadir}/geoclue-providers/geoclue-example.provider
  108. %{_datadir}/geoclue-providers/geoclue-geonames.provider
  109. %{_datadir}/geoclue-providers/geoclue-hostip.provider
  110. %{_datadir}/geoclue-providers/geoclue-localnet.provider
  111. %{_datadir}/geoclue-providers/geoclue-manual.provider
  112. %{_datadir}/geoclue-providers/geoclue-plazes.provider
  113. %{_datadir}/geoclue-providers/geoclue-yahoo.provider
  114. %{_datadir}/geoclue-providers/geoclue-gsmloc.provider
  115. %{_datadir}/geoclue-providers/geoclue-nominatim.provider
  116. %{_datadir}/geoclue-providers/geoclue-skyhook.provider
  117. %{_datadir}/glib-2.0/schemas/org.freedesktop.Geoclue.gschema.xml
  118. %{_libexecdir}/geoclue-example
  119. %{_libexecdir}/geoclue-geonames
  120. %{_libexecdir}/geoclue-hostip
  121. %{_libexecdir}/geoclue-localnet
  122. %{_libexecdir}/geoclue-manual
  123. %{_libexecdir}/geoclue-master
  124. %{_libexecdir}/geoclue-plazes
  125. %{_libexecdir}/geoclue-yahoo
  126. %{_libexecdir}/geoclue-gsmloc
  127. %{_libexecdir}/geoclue-nominatim
  128. %{_libexecdir}/geoclue-skyhook
  129. %files devel
  130. %defattr(-,root,root,-)
  131. %dir %{_includedir}/geoclue
  132. %dir %{_datadir}/gtk-doc/html/geoclue/
  133. %doc %{_datadir}/gtk-doc/html/geoclue/*
  134. %{_includedir}/geoclue/*
  135. %{_libdir}/pkgconfig/geoclue.pc
  136. %{_libdir}/libgeoclue.so
  137. %files gui
  138. %{_bindir}/geoclue-test-gui
  139. %files gpsd
  140. %{_libexecdir}/geoclue-gpsd
  141. %{_datadir}/geoclue-providers/geoclue-gpsd.provider
  142. %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Gpsd.service
  143. %files gypsy
  144. %{_libexecdir}/geoclue-gypsy
  145. %{_datadir}/geoclue-providers/geoclue-gypsy.provider
  146. %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Gypsy.service
  147. %changelog
  148. * Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.99-2
  149. - rebuild with gpsd-3.7
  150. - add Patch0 (geoclue-0.12.99-gpsd.patch)
  151. * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.99-1
  152. - new upstream release
  153. - remove Patch0 (geoclue-nm08.patch)
  154. - remove Patch1 (geoclue-use-libnm-glib.patch)
  155. - remove Patch2 (geoclue-unused-var.patch)
  156. * Tue Aug 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.0-3
  157. - rebuild with NetworkManager-0.8.9997
  158. - add Patch1 (geoclue-use-libnm-glib.patch) from fedora
  159. - add Patch2 (geoclue-unused-var.patch) from fedora
  160. * Mon Sep 27 2010 Shu KONNO <owa@bg.wakwak.com> 0.12.0-2
  161. - rebuilt with rpm-4.8.1 for pkg-config
  162. * Sun Aug 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.0-1
  163. - new upstream release
  164. - add BuildRequires: libsoup-devel, libtool
  165. - change BuildRequires: NetworkManager-glib-devel instead of NetworkManager-devel
  166. - add Requires: dbus-glib-devel, libxml2-devel
  167. - add Patch0(geoclue-nm08.patch) from FC package
  168. - fix %build and %install
  169. * Mon Feb 02 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.11.1-1
  170. - initial build for Vine Linux
  171. * Sat Nov 22 2008 Peter Robinson <pbrobinson@gmail.com> 0.11.1-13
  172. - Fix summary
  173. * Thu Jul 31 2008 Peter Robinson <pbrobinson@gmail.com> 0.11.1-12
  174. - Once more for fun
  175. * Thu Jul 31 2008 Peter Robinson <pbrobinson@gmail.com> 0.11.1-11
  176. - Increment build number to allow for clean F-8 and F-9 to F-10 upgrade
  177. * Wed Jul 2 2008 Peter Robinson <pbrobinson@gmail.com> 0.11.1-6
  178. - Fixed spec file so gpsd and gypsy are actually properly in a subpackage
  179. * Sun May 18 2008 Peter Robinson <pbrobinson@gmail.com> 0.11.1-5
  180. - Added gypsy and gpsd providers to build as sub packages
  181. * Mon Apr 28 2008 Peter Robinson <pbrobinson@gmail.com> 0.11.1-4
  182. - Moved api documentation to -devel
  183. * Sat Apr 26 2008 Peter Robinson <pbrobinson@gmail.com> 0.11.1-3
  184. - Cleanup requires and group for test gui
  185. * Sat Apr 26 2008 Peter Robinson <pbrobinson@gmail.com> 0.11.1-2
  186. - Some spec file cleanups
  187. * Fri Apr 25 2008 Peter Robinson <pbrobinson@gmail.com> 0.11.1-1
  188. - Initial package