geoclue-vl.spec 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  1. Summary: A modular geoinformation service
  2. Summary(ja): モジュール型地理情報サービス
  3. Name: geoclue
  4. Version: 0.12.99
  5. Release: 3%{?_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. %build
  68. autoreconf -if
  69. %configure --disable-static --enable-gtk-doc --enable-networkmanager=yes --enable-gypsy=yes --enable-skyhook=yes --enable-gsmloc=yes
  70. make %{?_smp_mflags} V=1
  71. %install
  72. rm -rf $RPM_BUILD_ROOT
  73. make install DESTDIR=$RPM_BUILD_ROOT
  74. find %{buildroot} -name '*.la' -exec rm -f {} ';'
  75. # Install the test gui as it seems the test isn't installed any more
  76. mkdir $RPM_BUILD_ROOT%{_bindir}
  77. cp test/.libs/geoclue-test-gui $RPM_BUILD_ROOT%{_bindir}/
  78. %clean
  79. rm -rf $RPM_BUILD_ROOT
  80. %post -p /sbin/ldconfig
  81. %postun
  82. /sbin/ldconfig
  83. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  84. %posttrans
  85. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  86. %files
  87. %defattr(-,root,root,-)
  88. %doc AUTHORS COPYING README
  89. %dir %{_datadir}/geoclue-providers
  90. %{_libdir}/libgeoclue.so.0
  91. %{_libdir}/libgeoclue.so.0.0.0
  92. %{_datadir}/GConf/gsettings/geoclue
  93. %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Master.service
  94. %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Example.service
  95. %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Geonames.service
  96. %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Hostip.service
  97. %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Localnet.service
  98. %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Manual.service
  99. %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Plazes.service
  100. %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Yahoo.service
  101. %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Gsmloc.service
  102. %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Nominatim.service
  103. %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Skyhook.service
  104. %{_datadir}/geoclue-providers/geoclue-example.provider
  105. %{_datadir}/geoclue-providers/geoclue-geonames.provider
  106. %{_datadir}/geoclue-providers/geoclue-hostip.provider
  107. %{_datadir}/geoclue-providers/geoclue-localnet.provider
  108. %{_datadir}/geoclue-providers/geoclue-manual.provider
  109. %{_datadir}/geoclue-providers/geoclue-plazes.provider
  110. %{_datadir}/geoclue-providers/geoclue-yahoo.provider
  111. %{_datadir}/geoclue-providers/geoclue-gsmloc.provider
  112. %{_datadir}/geoclue-providers/geoclue-nominatim.provider
  113. %{_datadir}/geoclue-providers/geoclue-skyhook.provider
  114. %{_datadir}/glib-2.0/schemas/org.freedesktop.Geoclue.gschema.xml
  115. %{_libexecdir}/geoclue-example
  116. %{_libexecdir}/geoclue-geonames
  117. %{_libexecdir}/geoclue-hostip
  118. %{_libexecdir}/geoclue-localnet
  119. %{_libexecdir}/geoclue-manual
  120. %{_libexecdir}/geoclue-master
  121. %{_libexecdir}/geoclue-plazes
  122. %{_libexecdir}/geoclue-yahoo
  123. %{_libexecdir}/geoclue-gsmloc
  124. %{_libexecdir}/geoclue-nominatim
  125. %{_libexecdir}/geoclue-skyhook
  126. %files devel
  127. %defattr(-,root,root,-)
  128. %dir %{_includedir}/geoclue
  129. %dir %{_datadir}/gtk-doc/html/geoclue/
  130. %doc %{_datadir}/gtk-doc/html/geoclue/*
  131. %{_includedir}/geoclue/*
  132. %{_libdir}/pkgconfig/geoclue.pc
  133. %{_libdir}/libgeoclue.so
  134. %files gui
  135. %{_bindir}/geoclue-test-gui
  136. %files gpsd
  137. %{_libexecdir}/geoclue-gpsd
  138. %{_datadir}/geoclue-providers/geoclue-gpsd.provider
  139. %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Gpsd.service
  140. %files gypsy
  141. %{_libexecdir}/geoclue-gypsy
  142. %{_datadir}/geoclue-providers/geoclue-gypsy.provider
  143. %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Gypsy.service
  144. %changelog
  145. * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.99-3
  146. - rebuild with VineSeed environment
  147. * Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.99-2
  148. - rebuild with gpsd-3.7
  149. - add Patch0 (geoclue-0.12.99-gpsd.patch)
  150. * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.99-1
  151. - new upstream release
  152. - remove Patch0 (geoclue-nm08.patch)
  153. - remove Patch1 (geoclue-use-libnm-glib.patch)
  154. - remove Patch2 (geoclue-unused-var.patch)
  155. * Tue Aug 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.0-3
  156. - rebuild with NetworkManager-0.8.9997
  157. - add Patch1 (geoclue-use-libnm-glib.patch) from fedora
  158. - add Patch2 (geoclue-unused-var.patch) from fedora
  159. * Mon Sep 27 2010 Shu KONNO <owa@bg.wakwak.com> 0.12.0-2
  160. - rebuilt with rpm-4.8.1 for pkg-config
  161. * Sun Aug 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.0-1
  162. - new upstream release
  163. - add BuildRequires: libsoup-devel, libtool
  164. - change BuildRequires: NetworkManager-glib-devel instead of NetworkManager-devel
  165. - add Requires: dbus-glib-devel, libxml2-devel
  166. - add Patch0(geoclue-nm08.patch) from FC package
  167. - fix %build and %install
  168. * Mon Feb 02 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.11.1-1
  169. - initial build for Vine Linux
  170. * Sat Nov 22 2008 Peter Robinson <pbrobinson@gmail.com> 0.11.1-13
  171. - Fix summary
  172. * Thu Jul 31 2008 Peter Robinson <pbrobinson@gmail.com> 0.11.1-12
  173. - Once more for fun
  174. * Thu Jul 31 2008 Peter Robinson <pbrobinson@gmail.com> 0.11.1-11
  175. - Increment build number to allow for clean F-8 and F-9 to F-10 upgrade
  176. * Wed Jul 2 2008 Peter Robinson <pbrobinson@gmail.com> 0.11.1-6
  177. - Fixed spec file so gpsd and gypsy are actually properly in a subpackage
  178. * Sun May 18 2008 Peter Robinson <pbrobinson@gmail.com> 0.11.1-5
  179. - Added gypsy and gpsd providers to build as sub packages
  180. * Mon Apr 28 2008 Peter Robinson <pbrobinson@gmail.com> 0.11.1-4
  181. - Moved api documentation to -devel
  182. * Sat Apr 26 2008 Peter Robinson <pbrobinson@gmail.com> 0.11.1-3
  183. - Cleanup requires and group for test gui
  184. * Sat Apr 26 2008 Peter Robinson <pbrobinson@gmail.com> 0.11.1-2
  185. - Some spec file cleanups
  186. * Fri Apr 25 2008 Peter Robinson <pbrobinson@gmail.com> 0.11.1-1
  187. - Initial package