geoclue-vl.spec 7.4 KB

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