geoclue-vl.spec 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  1. Summary: A modular geoinformation service
  2. Summary(ja): モジュール型地理情報サービス
  3. Name: geoclue
  4. Version: 0.12.0
  5. Release: 2%{?_dist_release}
  6. Group: System Environment/Libraries
  7. License: LGPLv2
  8. URL: http://geoclue.freedesktop.org/
  9. Source0: http://folks.o-hand.com/jku/geoclue-releases/%{name}-%{version}.tar.gz
  10. Patch0: geoclue-nm08.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. %description
  26. Geoclue is a modular geoinformation service built on top of the D-Bus
  27. messaging system. The goal of the Geoclue project is to make creating
  28. location-aware applications as simple as possible.
  29. %package devel
  30. Summary: Development package for geoclue
  31. Summary(ja): geoclue の開発パッケージ
  32. Group: Development/Libraries
  33. Requires: %{name} = %{version}-%{release}
  34. Requires: pkgconfig
  35. Requires: dbus-glib-devel
  36. Requires: libxml2-devel
  37. %description devel
  38. Files for development with geoclue.
  39. %package gui
  40. Summary: Testing gui for geoclue
  41. Summary(ja): geoclue のテスト用 GUI
  42. Group: Development/Libraries
  43. Requires: %{name} = %{version}-%{release}
  44. %description gui
  45. Testing gui for geoclue
  46. %package gpsd
  47. Summary: gpsd provider for geoclue
  48. Summary(ja): geoclue 用 gpsd プロバイダ
  49. Group: Development/Libraries
  50. Requires: %{name} = %{version}-%{release}
  51. Requires: gpsd
  52. %description gpsd
  53. A gpsd provider for geoclue
  54. %package gypsy
  55. Summary: gypsy provider for geoclue
  56. Summary(ja): geoclue 用 gypsy プロバイダ
  57. Group: Development/Libraries
  58. Requires: %{name} = %{version}-%{release}
  59. Requires: gypsy
  60. %description gypsy
  61. A gypsy provider for geoclue
  62. %prep
  63. %setup -q
  64. %patch0 -p1 -b .nm08
  65. # Need this for the NM-0.8 patch
  66. gtkdocize
  67. autoreconf
  68. %build
  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 -p /sbin/ldconfig
  82. %files
  83. %defattr(-,root,root,-)
  84. %doc AUTHORS COPYING README
  85. %dir %{_datadir}/geoclue-providers
  86. %{_libdir}/libgeoclue.so.0
  87. %{_libdir}/libgeoclue.so.0.0.0
  88. %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Master.service
  89. %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Example.service
  90. %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Geonames.service
  91. %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Hostip.service
  92. %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Localnet.service
  93. %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Manual.service
  94. %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Plazes.service
  95. %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Yahoo.service
  96. %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Gsmloc.service
  97. %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Nominatim.service
  98. %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Skyhook.service
  99. %{_datadir}/geoclue-providers/geoclue-example.provider
  100. %{_datadir}/geoclue-providers/geoclue-geonames.provider
  101. %{_datadir}/geoclue-providers/geoclue-hostip.provider
  102. %{_datadir}/geoclue-providers/geoclue-localnet.provider
  103. %{_datadir}/geoclue-providers/geoclue-manual.provider
  104. %{_datadir}/geoclue-providers/geoclue-plazes.provider
  105. %{_datadir}/geoclue-providers/geoclue-yahoo.provider
  106. %{_datadir}/geoclue-providers/geoclue-gsmloc.provider
  107. %{_datadir}/geoclue-providers/geoclue-nominatim.provider
  108. %{_datadir}/geoclue-providers/geoclue-skyhook.provider
  109. %{_libexecdir}/geoclue-example
  110. %{_libexecdir}/geoclue-geonames
  111. %{_libexecdir}/geoclue-hostip
  112. %{_libexecdir}/geoclue-localnet
  113. %{_libexecdir}/geoclue-manual
  114. %{_libexecdir}/geoclue-master
  115. %{_libexecdir}/geoclue-plazes
  116. %{_libexecdir}/geoclue-yahoo
  117. %{_libexecdir}/geoclue-gsmloc
  118. %{_libexecdir}/geoclue-nominatim
  119. %{_libexecdir}/geoclue-skyhook
  120. %files devel
  121. %defattr(-,root,root,-)
  122. %dir %{_includedir}/geoclue
  123. %dir %{_datadir}/gtk-doc/html/geoclue/
  124. %doc %{_datadir}/gtk-doc/html/geoclue/*
  125. %{_includedir}/geoclue/*
  126. %{_libdir}/pkgconfig/geoclue.pc
  127. %{_libdir}/libgeoclue.so
  128. %files gui
  129. %{_bindir}/geoclue-test-gui
  130. %files gpsd
  131. %{_libexecdir}/geoclue-gpsd
  132. %{_datadir}/geoclue-providers/geoclue-gpsd.provider
  133. %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Gpsd.service
  134. %files gypsy
  135. %{_libexecdir}/geoclue-gypsy
  136. %{_datadir}/geoclue-providers/geoclue-gypsy.provider
  137. %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Gypsy.service
  138. %changelog
  139. * Mon Sep 27 2010 Shu KONNO <owa@bg.wakwak.com> 0.12.0-2
  140. - rebuilt with rpm-4.8.1 for pkg-config
  141. * Sun Aug 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.0-1
  142. - new upstream release
  143. - add BuildRequires: libsoup-devel, libtool
  144. - change BuildRequires: NetworkManager-glib-devel instead of NetworkManager-devel
  145. - add Requires: dbus-glib-devel, libxml2-devel
  146. - add Patch0(geoclue-nm08.patch) from FC package
  147. - fix %build and %install
  148. * Mon Feb 02 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.11.1-1
  149. - initial build for Vine Linux
  150. * Sat Nov 22 2008 Peter Robinson <pbrobinson@gmail.com> 0.11.1-13
  151. - Fix summary
  152. * Thu Jul 31 2008 Peter Robinson <pbrobinson@gmail.com> 0.11.1-12
  153. - Once more for fun
  154. * Thu Jul 31 2008 Peter Robinson <pbrobinson@gmail.com> 0.11.1-11
  155. - Increment build number to allow for clean F-8 and F-9 to F-10 upgrade
  156. * Wed Jul 2 2008 Peter Robinson <pbrobinson@gmail.com> 0.11.1-6
  157. - Fixed spec file so gpsd and gypsy are actually properly in a subpackage
  158. * Sun May 18 2008 Peter Robinson <pbrobinson@gmail.com> 0.11.1-5
  159. - Added gypsy and gpsd providers to build as sub packages
  160. * Mon Apr 28 2008 Peter Robinson <pbrobinson@gmail.com> 0.11.1-4
  161. - Moved api documentation to -devel
  162. * Sat Apr 26 2008 Peter Robinson <pbrobinson@gmail.com> 0.11.1-3
  163. - Cleanup requires and group for test gui
  164. * Sat Apr 26 2008 Peter Robinson <pbrobinson@gmail.com> 0.11.1-2
  165. - Some spec file cleanups
  166. * Fri Apr 25 2008 Peter Robinson <pbrobinson@gmail.com> 0.11.1-1
  167. - Initial package