]> git.pld-linux.org Git - packages/geoclue2.git/blob - geoclue2.spec
- geoclue2 under new name
[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:        1.99.2
5 Release:        1
6 License:        GPL v2+
7 Group:          Applications
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
23 Requires:       dbus
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)
28
29 %description
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.
33
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ę.
38
39 %package devel
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
47
48 %description devel
49 Header files for development with geoclue2.
50
51 %description devel -l pl.UTF-8
52 Pliki nagłówkowe do programowania z użyciem geoclue2.
53
54 %prep
55 %setup -q -n geoclue-%{version}
56
57 %{__sed} -i -e '/po\/Makefile.in/d' -e '/IT_PROG_INTLTOOL/d' configure.ac
58 %{__sed} -i -e 's/ po$//' Makefile.am
59
60 %build
61 %{__libtoolize}
62 %{__aclocal}
63 %{__autoconf}
64 %{__autoheader}
65 %{__automake}
66 %configure \
67         --disable-silent-rules
68
69 %{__make}
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73
74 %{__make} install \
75         DESTDIR=$RPM_BUILD_ROOT
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %files
81 %defattr(644,root,root,755)
82 %doc NEWS README
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
89
90 %files devel
91 %defattr(644,root,root,755)
92 %{_pkgconfigdir}/geoclue-2.0.pc
This page took 0.071075 seconds and 3 git commands to generate.