3 %bcond_without gps # GPS support via gpsd
4 %bcond_with conic # Maemo LibConIC connectivity support
5 %bcond_with connman # ConnMan connectivity support
6 %bcond_without nm # NetworkManager connectivity support
8 Summary: A modular geoinformation service
9 Summary(pl.UTF-8): Modularna usługa geoinformacyjna
15 Source0: http://freedesktop.org/~hadess/%{name}-%{version}.tar.gz
16 # Source0-md5: 779245045bfeeec4853da8baaa3a18e6
17 Patch0: %{name}-libsoup.patch
18 Patch1: %{name}-gpsd.patch
19 Patch2: %{name}-format.patch
20 Patch3: %{name}-nm.patch
21 URL: http://geoclue.freedesktop.org/
22 BuildRequires: GConf2-devel >= 2.0
23 %{?with_nm:BuildRequires: NetworkManager-devel >= 1.0}
24 BuildRequires: autoconf >= 2.59
25 BuildRequires: automake >= 1:1.9
26 %{?with_connman:BuildRequires: connman-devel}
27 BuildRequires: dbus-glib-devel >= 0.86
28 BuildRequires: docbook-dtd412-xml
29 BuildRequires: glib2-devel >= 1:2.26
30 %{?with_gps:BuildRequires: gpsd-devel >= 3.18}
31 BuildRequires: gtk+2-devel >= 1:2.0
32 BuildRequires: gtk-doc >= 1.0
33 BuildRequires: gypsy-devel >= 0.7.1
34 %{?with_conic:BuildRequires: libconic-devel}
35 BuildRequires: libsoup-devel >= 2.4.0
36 BuildRequires: libtool
37 BuildRequires: libxml2-devel >= 2.0
38 BuildRequires: libxslt-progs
39 BuildRequires: pkgconfig
40 Requires: %{name}-libs = %{version}-%{release}
42 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
45 Geoclue is a modular geoinformation service built on top of the D-Bus
46 messaging system. The goal of the Geoclue project is to make creating
47 location-aware applications as simple as possible.
49 %description -l pl.UTF-8
50 Geoclue to modularna usługa geoinformacyjna zbudowana w oparciu o
51 system komunikacji D-Bus. Celem projektu jest jak największe
52 ułatwienie tworzenia aplikacji uwzględniających lokalizację.
55 Summary: Geoclue modular geoinformation service library
56 Summary(pl.UTF-8): Biblioteka geoclue - modularnej usługi geoinformacyjnej
58 Requires: dbus-glib >= 0.86
59 Requires: glib2 >= 1:2.26
60 Conflicts: geoclue < 0.12.0-3
63 geoclue modular geoinformation service library.
65 %description libs -l pl.UTF-8
66 Biblioteka geoclue - modularnej usługi geoinformacyjnej.
69 Summary: Development package for geoclue
70 Summary(pl.UTF-8): Pakiet programistyczny geoclue
71 Group: Development/Libraries
72 Requires: %{name}-libs = %{version}-%{release}
73 Requires: dbus-glib-devel >= 0.86
74 Requires: glib2-devel >= 1:2.26
75 Requires: libxml2-devel >= 2.0
78 Header files for development with geoclue.
80 %description devel -l pl.UTF-8
81 Pliki nagłówkowe do programowania z użyciem geoclue.
84 Summary: Static geoclue library
85 Summary(pl.UTF-8): Statyczna biblioteka geoclue
86 Group: Development/Libraries
87 Requires: %{name}-devel = %{version}-%{release}
90 Static geoclue library.
92 %description static -l pl.UTF-8
93 Statyczna biblioteka geoclue.
96 Summary: Developer documentation for geoclue
97 Summary(pl.UTF-8): Dokumentacja programisty do geoclue
98 Group: Development/Libraries
99 Requires: gtk-doc-common
103 Developer documentation for geoclue.
105 %description apidocs -l pl.UTF-8
106 Dokumentacja programisty do geoclue.
109 Summary: gpsd provider for geoclue
110 Summary(pl.UTF-8): Interfejs geoclue do gpsd
112 Requires: %{name} = %{version}-%{release}
113 Requires: gpsd >= 3.18
116 A gpsd provider for geoclue.
118 %description gpsd -l pl.UTF-8
119 Interfejs geoclue do gpsd.
122 Summary: gypsy provider for geoclue
123 Summary(pl.UTF-8): Interfejs geoclue do gypsy
125 Requires: %{name} = %{version}-%{release}
126 Requires: gypsy >= 0.7.1
129 A gypsy provider for geoclue.
131 %description gypsy -l pl.UTF-8
132 Interfejs geoclue do gypsy.
150 --enable-conic%{!?with_conic:=no} \
151 --enable-connman%{!?with_connman:=no} \
152 --enable-gpsd%{!?with_gps:=no} \
154 --enable-networkmanager%{!?with_nm:=no} \
155 --disable-silent-rules \
157 --with-html-dir=%{_gtkdocdir}
162 rm -rf $RPM_BUILD_ROOT
165 DESTDIR=$RPM_BUILD_ROOT
167 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
170 rm -rf $RPM_BUILD_ROOT
172 %post libs -p /sbin/ldconfig
173 %postun libs -p /sbin/ldconfig
176 %defattr(644,root,root,755)
178 %attr(755,root,root) %{_libexecdir}/geoclue-example
179 %attr(755,root,root) %{_libexecdir}/geoclue-geonames
180 %attr(755,root,root) %{_libexecdir}/geoclue-gsmloc
181 %attr(755,root,root) %{_libexecdir}/geoclue-hostip
182 %attr(755,root,root) %{_libexecdir}/geoclue-localnet
183 %attr(755,root,root) %{_libexecdir}/geoclue-manual
184 %attr(755,root,root) %{_libexecdir}/geoclue-master
185 %attr(755,root,root) %{_libexecdir}/geoclue-nominatim
186 %attr(755,root,root) %{_libexecdir}/geoclue-plazes
187 %attr(755,root,root) %{_libexecdir}/geoclue-skyhook
188 %attr(755,root,root) %{_libexecdir}/geoclue-yahoo
189 %dir %{_datadir}/geoclue-providers
190 %{_datadir}/GConf/gsettings/geoclue
191 %{_datadir}/geoclue-providers/geoclue-example.provider
192 %{_datadir}/geoclue-providers/geoclue-geonames.provider
193 %{_datadir}/geoclue-providers/geoclue-gsmloc.provider
194 %{_datadir}/geoclue-providers/geoclue-hostip.provider
195 %{_datadir}/geoclue-providers/geoclue-localnet.provider
196 %{_datadir}/geoclue-providers/geoclue-manual.provider
197 %{_datadir}/geoclue-providers/geoclue-nominatim.provider
198 %{_datadir}/geoclue-providers/geoclue-plazes.provider
199 %{_datadir}/geoclue-providers/geoclue-skyhook.provider
200 %{_datadir}/geoclue-providers/geoclue-yahoo.provider
201 %{_datadir}/glib-2.0/schemas/org.freedesktop.Geoclue.gschema.xml
202 %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Master.service
203 %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Example.service
204 %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Geonames.service
205 %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Gsmloc.service
206 %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Hostip.service
207 %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Localnet.service
208 %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Manual.service
209 %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Nominatim.service
210 %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Plazes.service
211 %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Skyhook.service
212 %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Yahoo.service
215 %defattr(644,root,root,755)
216 %attr(755,root,root) %{_libdir}/libgeoclue.so.*.*.*
217 %attr(755,root,root) %ghost %{_libdir}/libgeoclue.so.0
220 %defattr(644,root,root,755)
221 %attr(755,root,root) %{_libdir}/libgeoclue.so
222 %{_includedir}/geoclue
223 %{_pkgconfigdir}/geoclue.pc
226 %defattr(644,root,root,755)
227 %{_libdir}/libgeoclue.a
230 %defattr(644,root,root,755)
231 %{_gtkdocdir}/geoclue
235 %defattr(644,root,root,755)
236 %attr(755,root,root) %{_libexecdir}/geoclue-gpsd
237 %{_datadir}/geoclue-providers/geoclue-gpsd.provider
238 %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Gpsd.service
242 %defattr(644,root,root,755)
243 %attr(755,root,root) %{_libexecdir}/geoclue-gypsy
244 %{_datadir}/geoclue-providers/geoclue-gypsy.provider
245 %{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Gypsy.service