]> git.pld-linux.org Git - packages/geoclue2.git/blob - geoclue2.spec
013e04a457585b4e2909a0f1b58a82e296da4d31
[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 # some releases at:
9 #Source0:       http://freedesktop.org/~hadess/%{name}-%{version}.tar.gz
10 # all available at:
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
28 Requires:       dbus
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)
33
34 %description
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.
38
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ę.
43
44 %package devel
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
52
53 %description devel
54 Header files for development with geoclue2.
55
56 %description devel -l pl.UTF-8
57 Pliki nagłówkowe do programowania z użyciem geoclue2.
58
59 %prep
60 %setup -q -n geoclue-%{version}
61
62 %{__sed} -i -e '/po\/Makefile.in/d' -e '/IT_PROG_INTLTOOL/d' configure.ac
63 %{__sed} -i -e 's/ po$//' Makefile.am
64
65 %build
66 %{__libtoolize}
67 %{__aclocal}
68 %{__autoconf}
69 %{__autoheader}
70 %{__automake}
71 %configure \
72         --disable-silent-rules
73
74 %{__make}
75
76 %install
77 rm -rf $RPM_BUILD_ROOT
78
79 %{__make} install \
80         DESTDIR=$RPM_BUILD_ROOT
81
82 %clean
83 rm -rf $RPM_BUILD_ROOT
84
85 %files
86 %defattr(644,root,root,755)
87 %doc NEWS README
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
94
95 %files devel
96 %defattr(644,root,root,755)
97 %{_pkgconfigdir}/geoclue-2.0.pc
This page took 0.181628 seconds and 2 git commands to generate.