1 Summary: A modular geoinformation service
2 Summary(pl.UTF-8): Modularna usługa geoinformacyjna
8 Source0: http://cgit.freedesktop.org/geoclue/snapshot/geoclue-%{version}.tar.gz
9 # Source0-md5: 21551a387a9e5e3e5ebea11254f94a77
10 URL: http://geoclue.freedesktop.org/
11 BuildRequires: GeoIP-devel >= 1.5.1
12 BuildRequires: autoconf >= 2.63
13 BuildRequires: automake >= 1:1.11
14 BuildRequires: glib2-devel >= 1:2.34.0
15 BuildRequires: json-glib-devel >= 0.14
16 BuildRequires: libsoup-devel >= 2.4.0
17 BuildRequires: libtool >= 2:2.2
18 BuildRequires: libxml2-devel >= 2.0
19 BuildRequires: pkgconfig >= 1:0.22
20 BuildRequires: sed >= 4.0
21 BuildRequires: yelp-tools
22 Requires: GeoIP >= 1.5.1
24 Requires: glib2 >= 1:2.34.0
25 Requires: json-glib >= 0.14
26 Requires: libsoup >= 2.4.0
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 Geoclue is a modular geoinformation service built on top of the D-Bus
31 messaging system. The goal of the Geoclue project is to make creating
32 location-aware applications as simple as possible.
34 %description -l pl.UTF-8
35 Geoclue to modularna usługa geoinformacyjna zbudowana w oparciu o
36 system komunikacji D-Bus. Celem projektu jest jak największe
37 ułatwienie tworzenia aplikacji uwzględniających lokalizację.
40 Summary: Development package for geoclue2
41 Summary(pl.UTF-8): Pakiet programistyczny geoclue2
42 Group: Development/Libraries
43 # doesn't require base
44 Requires: glib2-devel >= 1:2.34.0
45 Requires: json-glib-devel >= 0.14
46 Requires: libsoup-devel >= 2.4.0
49 Header files for development with geoclue2.
51 %description devel -l pl.UTF-8
52 Pliki nagłówkowe do programowania z użyciem geoclue2.
55 %setup -q -n geoclue-%{version}
57 %{__sed} -i -e '/po\/Makefile.in/d' -e '/IT_PROG_INTLTOOL/d' configure.ac
58 %{__sed} -i -e 's/ po$//' Makefile.am
67 --disable-silent-rules
72 rm -rf $RPM_BUILD_ROOT
75 DESTDIR=$RPM_BUILD_ROOT
78 rm -rf $RPM_BUILD_ROOT
81 %defattr(644,root,root,755)
83 %attr(755,root,root) %{_bindir}/geoip-lookup
84 %attr(755,root,root) %{_bindir}/geoip-update
85 %attr(755,root,root) %{_libexecdir}/geoclue
86 /etc/dbus-1/system.d/org.freedesktop.GeoClue2.conf
87 %{_datadir}/geoclue-2.0
88 %{_datadir}/dbus-1/system-services/org.freedesktop.GeoClue2.service
91 %defattr(644,root,root,755)
92 %{_pkgconfigdir}/geoclue-2.0.pc