]> git.pld-linux.org Git - packages/geoclue2.git/blame - geoclue2.spec
- geoclue2 under new name
[packages/geoclue2.git] / geoclue2.spec
CommitLineData
e7373d81
JB
1Summary: A modular geoinformation service
2Summary(pl.UTF-8): Modularna usługa geoinformacyjna
3Name: geoclue2
4Version: 1.99.2
5Release: 1
6License: GPL v2+
7Group: Applications
8Source0: http://cgit.freedesktop.org/geoclue/snapshot/geoclue-%{version}.tar.gz
9# Source0-md5: 21551a387a9e5e3e5ebea11254f94a77
10URL: http://geoclue.freedesktop.org/
11BuildRequires: GeoIP-devel >= 1.5.1
12BuildRequires: autoconf >= 2.63
13BuildRequires: automake >= 1:1.11
14BuildRequires: glib2-devel >= 1:2.34.0
15BuildRequires: json-glib-devel >= 0.14
16BuildRequires: libsoup-devel >= 2.4.0
17BuildRequires: libtool >= 2:2.2
18BuildRequires: libxml2-devel >= 2.0
19BuildRequires: pkgconfig >= 1:0.22
20BuildRequires: sed >= 4.0
21BuildRequires: yelp-tools
22Requires: GeoIP >= 1.5.1
23Requires: dbus
24Requires: glib2 >= 1:2.34.0
25Requires: json-glib >= 0.14
26Requires: libsoup >= 2.4.0
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
30Geoclue is a modular geoinformation service built on top of the D-Bus
31messaging system. The goal of the Geoclue project is to make creating
32location-aware applications as simple as possible.
33
34%description -l pl.UTF-8
35Geoclue to modularna usługa geoinformacyjna zbudowana w oparciu o
36system komunikacji D-Bus. Celem projektu jest jak największe
37ułatwienie tworzenia aplikacji uwzględniających lokalizację.
38
39%package devel
40Summary: Development package for geoclue2
41Summary(pl.UTF-8): Pakiet programistyczny geoclue2
42Group: Development/Libraries
43# doesn't require base
44Requires: glib2-devel >= 1:2.34.0
45Requires: json-glib-devel >= 0.14
46Requires: libsoup-devel >= 2.4.0
47
48%description devel
49Header files for development with geoclue2.
50
51%description devel -l pl.UTF-8
52Pliki 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
72rm -rf $RPM_BUILD_ROOT
73
74%{__make} install \
75 DESTDIR=$RPM_BUILD_ROOT
76
77%clean
78rm -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.040484 seconds and 4 git commands to generate.