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