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