1 # git clone --depth 1 git://anongit.freedesktop.org/geoclue
3 # git archive master --prefix geoclue/ | bzip2 > geoclue-$(date +%Y%m%d).tar.bz2
5 Summary: A modular geoinformation service
11 Source0: http://folks.o-hand.com/jku/geoclue-releases/%{name}-%{version}.tar.gz
12 # Source0-md5: 33af8307f332e0065af056ecba65fec2
13 Patch0: %{name}-configure.patch
14 URL: http://geoclue.freedesktop.org/
15 BuildRequires: GConf2-devel
16 BuildRequires: NetworkManager-devel
17 BuildRequires: autoconf >= 2.59
18 BuildRequires: automake
19 BuildRequires: dbus-glib-devel
20 BuildRequires: docbook-dtd412-xml
21 BuildRequires: glib2-devel
22 BuildRequires: gpsd-devel >= 2.91
23 BuildRequires: gtk+2-devel
24 BuildRequires: gtk-doc
25 BuildRequires: gypsy-devel
26 BuildRequires: libsoup-gnome-devel >= 2.4.0
27 BuildRequires: libtool
28 BuildRequires: libxml2-devel
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 Geoclue is a modular geoinformation service built on top of the D-Bus
34 messaging system. The goal of the Geoclue project is to make creating
35 location-aware applications as simple as possible.
38 Summary: Development package for geoclue
39 Group: Development/Libraries
40 Requires: %{name} = %{version}-%{release}
41 Requires: dbus-glib-devel
42 Requires: libxml2-devel
45 Files for development with geoclue.
48 Summary: Developer documentation for geoclue
49 Group: Development/Libraries
50 Requires: gtk-doc-common
53 Developer documentation for geoclue
56 Summary: gpsd provider for geoclue
57 Group: Development/Libraries
58 Requires: %{name} = %{version}-%{release}
59 Requires: gpsd >= 2.91
62 A gpsd provider for geoclue
65 Summary: gypsy provider for geoclue
66 Group: Development/Libraries
67 Requires: %{name} = %{version}-%{release}
71 A gypsy provider for geoclue
90 --enable-networkmanager=yes \
91 --enable-skyhook=yes \
92 --with-html-dir=%{_gtkdocdir}
97 rm -rf $RPM_BUILD_ROOT
100 DESTDIR=$RPM_BUILD_ROOT
103 rm -rf $RPM_BUILD_ROOT
105 %post -p /sbin/ldconfig
106 %postun -p /sbin/ldconfig
109 %defattr(644,root,root,755)
111 %dir %{_datadir}/geoclue-providers
112 %attr(755,root,root) %{_libdir}/libgeoclue.so.*.*.*
113 %attr(755,root,root) %ghost %{_libdir}/libgeoclue.so.0
114 %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Master.service
115 %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Example.service
116 %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Geonames.service
117 %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Gsmloc.service
118 %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Hostip.service
119 %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Localnet.service
120 %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Manual.service
121 %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Nominatim.service
122 %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Plazes.service
123 %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Skyhook.service
124 %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Yahoo.service
125 %{_datadir}/geoclue-providers/geoclue-example.provider
126 %{_datadir}/geoclue-providers/geoclue-geonames.provider
127 %{_datadir}/geoclue-providers/geoclue-gsmloc.provider
128 %{_datadir}/geoclue-providers/geoclue-hostip.provider
129 %{_datadir}/geoclue-providers/geoclue-localnet.provider
130 %{_datadir}/geoclue-providers/geoclue-manual.provider
131 %{_datadir}/geoclue-providers/geoclue-nominatim.provider
132 %{_datadir}/geoclue-providers/geoclue-plazes.provider
133 %{_datadir}/geoclue-providers/geoclue-skyhook.provider
134 %{_datadir}/geoclue-providers/geoclue-yahoo.provider
135 %attr(755,root,root) %{_libexecdir}/geoclue-example
136 %attr(755,root,root) %{_libexecdir}/geoclue-geonames
137 %attr(755,root,root) %{_libexecdir}/geoclue-gsmloc
138 %attr(755,root,root) %{_libexecdir}/geoclue-hostip
139 %attr(755,root,root) %{_libexecdir}/geoclue-localnet
140 %attr(755,root,root) %{_libexecdir}/geoclue-manual
141 %attr(755,root,root) %{_libexecdir}/geoclue-master
142 %attr(755,root,root) %{_libexecdir}/geoclue-nominatim
143 %attr(755,root,root) %{_libexecdir}/geoclue-plazes
144 %attr(755,root,root) %{_libexecdir}/geoclue-skyhook
145 %attr(755,root,root) %{_libexecdir}/geoclue-yahoo
148 %defattr(644,root,root,755)
149 %attr(755,root,root) %{_libdir}/libgeoclue.so
150 %{_libdir}/libgeoclue.la
151 %{_includedir}/geoclue
152 %{_pkgconfigdir}/geoclue.pc
155 %defattr(644,root,root,755)
156 %{_gtkdocdir}/geoclue
159 %defattr(644,root,root,755)
160 %attr(755,root,root) %{_libexecdir}/geoclue-gpsd
161 %{_datadir}/geoclue-providers/geoclue-gpsd.provider
162 %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Gpsd.service
165 %defattr(644,root,root,755)
166 %attr(755,root,root) %{_libexecdir}/geoclue-gypsy
167 %{_datadir}/geoclue-providers/geoclue-gypsy.provider
168 %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Gypsy.service