]>
Commit | Line | Data |
---|---|---|
e7373d81 JB |
1 | Summary: A modular geoinformation service |
2 | Summary(pl.UTF-8): Modularna usługa geoinformacyjna | |
3 | Name: geoclue2 | |
99c3d283 | 4 | Version: 2.1.8 |
fdf25fec | 5 | Release: 1 |
e7373d81 JB |
6 | License: GPL v2+ |
7 | Group: Applications | |
fdf25fec | 8 | Source0: http://www.freedesktop.org/software/geoclue/releases/2.1/geoclue-%{version}.tar.xz |
99c3d283 | 9 | # Source0-md5: 49096b9c3c2458b5e8e36b886983d9aa |
e7373d81 | 10 | URL: http://geoclue.freedesktop.org/ |
fdf25fec JB |
11 | BuildRequires: ModemManager-devel >= 1.0.0 |
12 | BuildRequires: NetworkManager-devel >= 0.9.8.0 | |
e7373d81 JB |
13 | BuildRequires: autoconf >= 2.63 |
14 | BuildRequires: automake >= 1:1.11 | |
15 | BuildRequires: glib2-devel >= 1:2.34.0 | |
4f34e5d2 MB |
16 | BuildRequires: gnome-common |
17 | BuildRequires: gtk-doc >= 1.0 | |
fdf25fec | 18 | BuildRequires: intltool >= 0.40.0 |
e7373d81 | 19 | BuildRequires: json-glib-devel >= 0.14 |
fdf25fec | 20 | BuildRequires: libnotify-devel |
e7373d81 JB |
21 | BuildRequires: libsoup-devel >= 2.4.0 |
22 | BuildRequires: libtool >= 2:2.2 | |
fdf25fec | 23 | BuildRequires: libxml2-devel >= 1:2.7 |
e7373d81 | 24 | BuildRequires: pkgconfig >= 1:0.22 |
e7373d81 | 25 | BuildRequires: yelp-tools |
e7373d81 JB |
26 | Requires: dbus |
27 | Requires: glib2 >= 1:2.34.0 | |
28 | Requires: json-glib >= 0.14 | |
29 | Requires: libsoup >= 2.4.0 | |
fdf25fec | 30 | Requires: libxml2 >= 1:2.7 |
e7373d81 JB |
31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
32 | ||
33 | %description | |
34 | Geoclue is a modular geoinformation service built on top of the D-Bus | |
35 | messaging system. The goal of the Geoclue project is to make creating | |
36 | location-aware applications as simple as possible. | |
37 | ||
38 | %description -l pl.UTF-8 | |
39 | Geoclue to modularna usługa geoinformacyjna zbudowana w oparciu o | |
40 | system komunikacji D-Bus. Celem projektu jest jak największe | |
41 | ułatwienie tworzenia aplikacji uwzględniających lokalizację. | |
42 | ||
43 | %package devel | |
44 | Summary: Development package for geoclue2 | |
45 | Summary(pl.UTF-8): Pakiet programistyczny geoclue2 | |
46 | Group: Development/Libraries | |
47 | # doesn't require base | |
48 | Requires: glib2-devel >= 1:2.34.0 | |
49 | Requires: json-glib-devel >= 0.14 | |
50 | Requires: libsoup-devel >= 2.4.0 | |
51 | ||
52 | %description devel | |
53 | Header files for development with geoclue2. | |
54 | ||
55 | %description devel -l pl.UTF-8 | |
56 | Pliki nagłówkowe do programowania z użyciem geoclue2. | |
57 | ||
58 | %prep | |
59 | %setup -q -n geoclue-%{version} | |
60 | ||
e7373d81 | 61 | %build |
fdf25fec | 62 | %{__intltoolize} |
e7373d81 | 63 | %{__libtoolize} |
fdf25fec | 64 | %{__aclocal} -I m4 |
e7373d81 JB |
65 | %{__autoconf} |
66 | %{__autoheader} | |
67 | %{__automake} | |
68 | %configure \ | |
fdf25fec | 69 | --enable-demo-agent \ |
e7373d81 JB |
70 | --disable-silent-rules |
71 | ||
72 | %{__make} | |
73 | ||
74 | %install | |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | ||
77 | %{__make} install \ | |
78 | DESTDIR=$RPM_BUILD_ROOT | |
79 | ||
80 | %clean | |
81 | rm -rf $RPM_BUILD_ROOT | |
82 | ||
83 | %files | |
84 | %defattr(644,root,root,755) | |
85 | %doc NEWS README | |
e7373d81 | 86 | %attr(755,root,root) %{_libexecdir}/geoclue |
fdf25fec JB |
87 | %dir %{_sysconfdir}/geoclue |
88 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/geoclue/geoclue.conf | |
89 | %{systemdunitdir}/geoclue.service | |
e7373d81 | 90 | /etc/dbus-1/system.d/org.freedesktop.GeoClue2.conf |
fdf25fec | 91 | /etc/dbus-1/system.d/org.freedesktop.GeoClue2.Agent.conf |
e7373d81 | 92 | %{_datadir}/dbus-1/system-services/org.freedesktop.GeoClue2.service |
fdf25fec JB |
93 | # demos |
94 | %dir %{_libexecdir}/geoclue-2.0 | |
95 | %dir %{_libexecdir}/geoclue-2.0/demos | |
96 | %attr(755,root,root) %{_libexecdir}/geoclue-2.0/demos/agent | |
97 | %attr(755,root,root) %{_libexecdir}/geoclue-2.0/demos/where-am-i | |
98 | %{_desktopdir}/geoclue-demo-agent.desktop | |
99 | %{_desktopdir}/geoclue-where-am-i.desktop | |
e7373d81 JB |
100 | |
101 | %files devel | |
102 | %defattr(644,root,root,755) | |
103 | %{_pkgconfigdir}/geoclue-2.0.pc | |
fdf25fec JB |
104 | %{_datadir}/dbus-1/interfaces/org.freedesktop.GeoClue2.xml |
105 | %{_datadir}/dbus-1/interfaces/org.freedesktop.GeoClue2.Agent.xml |