]> git.pld-linux.org Git - packages/geoclue2.git/blob - geoclue2.spec
8cf11cb8610708e19c35d4012ce02577c5d62842
[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.8
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:  49096b9c3c2458b5e8e36b886983d9aa
10 URL:            http://geoclue.freedesktop.org/
11 BuildRequires:  ModemManager-devel >= 1.0.0
12 BuildRequires:  NetworkManager-devel >= 0.9.8.0
13 BuildRequires:  autoconf >= 2.63
14 BuildRequires:  automake >= 1:1.11
15 BuildRequires:  glib2-devel >= 1:2.34.0
16 BuildRequires:  gnome-common
17 BuildRequires:  gtk-doc >= 1.0
18 BuildRequires:  intltool >= 0.40.0
19 BuildRequires:  json-glib-devel >= 0.14
20 BuildRequires:  libnotify-devel
21 BuildRequires:  libsoup-devel >= 2.4.0
22 BuildRequires:  libtool >= 2:2.2
23 BuildRequires:  libxml2-devel >= 1:2.7
24 BuildRequires:  pkgconfig >= 1:0.22
25 BuildRequires:  yelp-tools
26 Requires:       dbus
27 Requires:       glib2 >= 1:2.34.0
28 Requires:       json-glib >= 0.14
29 Requires:       libsoup >= 2.4.0
30 Requires:       libxml2 >= 1:2.7
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
61 %build
62 %{__intltoolize}
63 %{__libtoolize}
64 %{__aclocal} -I m4
65 %{__autoconf}
66 %{__autoheader}
67 %{__automake}
68 %configure \
69         --enable-demo-agent \
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
86 %attr(755,root,root) %{_libexecdir}/geoclue
87 %dir %{_sysconfdir}/geoclue
88 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/geoclue/geoclue.conf
89 %{systemdunitdir}/geoclue.service
90 /etc/dbus-1/system.d/org.freedesktop.GeoClue2.conf
91 /etc/dbus-1/system.d/org.freedesktop.GeoClue2.Agent.conf
92 %{_datadir}/dbus-1/system-services/org.freedesktop.GeoClue2.service
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
100
101 %files devel
102 %defattr(644,root,root,755)
103 %{_pkgconfigdir}/geoclue-2.0.pc
104 %{_datadir}/dbus-1/interfaces/org.freedesktop.GeoClue2.xml
105 %{_datadir}/dbus-1/interfaces/org.freedesktop.GeoClue2.Agent.xml
This page took 0.072063 seconds and 2 git commands to generate.