]> git.pld-linux.org Git - packages/geoclue.git/blame - geoclue.spec
- updated versioned dependencies
[packages/geoclue.git] / geoclue.spec
CommitLineData
dbb8bacc
JB
1#
2# Conditional build:
3%bcond_without gps # GPS support via gpsd
4#
f419b210 5Summary: A modular geoinformation service
56780d4b 6Summary(pl.UTF-8): Modularna usługa geoinformacyjna
f419b210 7Name: geoclue
29acf44b 8Version: 0.12.99
2c98217e 9Release: 2
dbb8bacc 10License: LGPL v2+
56780d4b 11Group: Applications
29acf44b
MK
12Source0: http://freedesktop.org/~hadess/%{name}-%{version}.tar.gz
13# Source0-md5: 779245045bfeeec4853da8baaa3a18e6
14Patch0: %{name}-libsoup.patch
dbb8bacc 15Patch1: %{name}-gpsd.patch
f419b210 16URL: http://geoclue.freedesktop.org/
56780d4b 17BuildRequires: GConf2-devel >= 2.0
f419b210 18BuildRequires: NetworkManager-devel
6f3b03fc 19BuildRequires: autoconf >= 2.59
56780d4b 20BuildRequires: automake >= 1:1.9
dbb8bacc 21BuildRequires: dbus-glib-devel >= 0.86
d731a752 22BuildRequires: docbook-dtd412-xml
dbb8bacc
JB
23BuildRequires: glib2-devel >= 1:2.26
24%{?with_gps:BuildRequires: gpsd-devel >= 3}
56780d4b
JB
25BuildRequires: gtk+2-devel >= 1:2.0
26BuildRequires: gtk-doc >= 1.0
dbb8bacc 27BuildRequires: gypsy-devel >= 0.7.1
56780d4b 28BuildRequires: libsoup-devel >= 2.4.0
f419b210 29BuildRequires: libtool
56780d4b
JB
30BuildRequires: libxml2-devel >= 2.0
31BuildRequires: libxslt-progs
32Requires: %{name}-libs = %{version}-%{release}
f419b210
PZ
33Requires: dbus
34BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36%description
37Geoclue is a modular geoinformation service built on top of the D-Bus
38messaging system. The goal of the Geoclue project is to make creating
39location-aware applications as simple as possible.
40
56780d4b
JB
41%description -l pl.UTF-8
42Geoclue to modularna usługa geoinformacyjna zbudowana w oparciu o
43system komunikacji D-Bus. Celem projektu jest jak największe
44ułatwienie tworzenia aplikacji uwzględniających lokalizację.
45
46%package libs
47Summary: Geoclue modular geoinformation service library
48Summary(pl.UTF-8): Biblioteka geoclue - modularnej usługi geoinformacyjnej
49Group: Libraries
dbb8bacc
JB
50Requires: dbus-glib >= 0.86
51Requires: glib2 >= 1:2.26
56780d4b
JB
52Conflicts: geoclue < 0.12.0-3
53
54%description libs
55geoclue modular geoinformation service library.
56
57%description libs -l pl.UTF-8
58Biblioteka geoclue - modularnej usługi geoinformacyjnej.
59
f419b210
PZ
60%package devel
61Summary: Development package for geoclue
56780d4b 62Summary(pl.UTF-8): Pakiet programistyczny geoclue
f419b210 63Group: Development/Libraries
56780d4b 64Requires: %{name}-libs = %{version}-%{release}
dbb8bacc
JB
65Requires: dbus-glib-devel >= 0.86
66Requires: glib2-devel >= 1:2.26
56780d4b 67Requires: libxml2-devel >= 2.0
f419b210
PZ
68
69%description devel
56780d4b
JB
70Header files for development with geoclue.
71
72%description devel -l pl.UTF-8
73Pliki nagłówkowe do programowania z użyciem geoclue.
74
75%package static
76Summary: Static geoclue library
77Summary(pl.UTF-8): Statyczna biblioteka geoclue
78Group: Development/Libraries
79Requires: %{name}-devel = %{version}-%{release}
80
81%description static
82Static geoclue library.
83
84%description static -l pl.UTF-8
85Statyczna biblioteka geoclue.
f419b210
PZ
86
87%package apidocs
88Summary: Developer documentation for geoclue
56780d4b 89Summary(pl.UTF-8): Dokumentacja programisty do geoclue
f419b210 90Group: Development/Libraries
6f3b03fc 91Requires: gtk-doc-common
f419b210
PZ
92
93%description apidocs
56780d4b
JB
94Developer documentation for geoclue.
95
96%description apidocs -l pl.UTF-8
97Dokumentacja programisty do geoclue.
f419b210
PZ
98
99%package gpsd
100Summary: gpsd provider for geoclue
56780d4b
JB
101Summary(pl.UTF-8): Interfejs geoclue do gpsd
102Group: Applications
f419b210 103Requires: %{name} = %{version}-%{release}
dbb8bacc 104Requires: gpsd >= 3
f419b210
PZ
105
106%description gpsd
56780d4b
JB
107A gpsd provider for geoclue.
108
109%description gpsd -l pl.UTF-8
110Interfejs geoclue do gpsd.
f419b210
PZ
111
112%package gypsy
113Summary: gypsy provider for geoclue
56780d4b
JB
114Summary(pl.UTF-8): Interfejs geoclue do gypsy
115Group: Applications
f419b210 116Requires: %{name} = %{version}-%{release}
dbb8bacc 117Requires: gypsy >= 0.7.1
f419b210
PZ
118
119%description gypsy
56780d4b
JB
120A gypsy provider for geoclue.
121
122%description gypsy -l pl.UTF-8
123Interfejs geoclue do gypsy.
f419b210
PZ
124
125%prep
6f3b03fc 126%setup -q
b10f8104 127%patch0 -p1
dbb8bacc 128%patch1 -p1
f419b210
PZ
129
130%build
131%{__gtkdocize}
132%{__libtoolize}
133%{__aclocal}
f419b210 134%{__autoconf}
56780d4b 135%{__autoheader}
f419b210
PZ
136%{__automake}
137%configure \
f419b210 138 --enable-gtk-doc \
56780d4b 139 --disable-conic \
dbb8bacc 140 --enable-gpsd%{!?with_gps:=no} \
56780d4b
JB
141 --enable-gypsy \
142 --enable-networkmanager \
dbb8bacc 143 --disable-silent-rules \
56780d4b 144 --enable-skyhook \
f419b210
PZ
145 --with-html-dir=%{_gtkdocdir}
146
147%{__make}
148
149%install
150rm -rf $RPM_BUILD_ROOT
6f3b03fc 151
f419b210
PZ
152%{__make} install \
153 DESTDIR=$RPM_BUILD_ROOT
154
4639f03a
MB
155%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
156
f419b210
PZ
157%clean
158rm -rf $RPM_BUILD_ROOT
159
56780d4b
JB
160%post libs -p /sbin/ldconfig
161%postun libs -p /sbin/ldconfig
f419b210
PZ
162
163%files
164%defattr(644,root,root,755)
6f3b03fc 165%doc AUTHORS README
56780d4b
JB
166%attr(755,root,root) %{_libexecdir}/geoclue-example
167%attr(755,root,root) %{_libexecdir}/geoclue-geonames
168%attr(755,root,root) %{_libexecdir}/geoclue-gsmloc
169%attr(755,root,root) %{_libexecdir}/geoclue-hostip
170%attr(755,root,root) %{_libexecdir}/geoclue-localnet
171%attr(755,root,root) %{_libexecdir}/geoclue-manual
172%attr(755,root,root) %{_libexecdir}/geoclue-master
173%attr(755,root,root) %{_libexecdir}/geoclue-nominatim
174%attr(755,root,root) %{_libexecdir}/geoclue-plazes
175%attr(755,root,root) %{_libexecdir}/geoclue-skyhook
176%attr(755,root,root) %{_libexecdir}/geoclue-yahoo
f419b210 177%dir %{_datadir}/geoclue-providers
29acf44b 178%{_datadir}/GConf/gsettings/geoclue
56780d4b
JB
179%{_datadir}/geoclue-providers/geoclue-example.provider
180%{_datadir}/geoclue-providers/geoclue-geonames.provider
181%{_datadir}/geoclue-providers/geoclue-gsmloc.provider
182%{_datadir}/geoclue-providers/geoclue-hostip.provider
183%{_datadir}/geoclue-providers/geoclue-localnet.provider
184%{_datadir}/geoclue-providers/geoclue-manual.provider
185%{_datadir}/geoclue-providers/geoclue-nominatim.provider
186%{_datadir}/geoclue-providers/geoclue-plazes.provider
187%{_datadir}/geoclue-providers/geoclue-skyhook.provider
188%{_datadir}/geoclue-providers/geoclue-yahoo.provider
29acf44b 189%{_datadir}/glib-2.0/schemas/org.freedesktop.Geoclue.gschema.xml
f419b210
PZ
190%{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Master.service
191%{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Example.service
192%{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Geonames.service
b10f8104 193%{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Gsmloc.service
f419b210
PZ
194%{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Hostip.service
195%{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Localnet.service
196%{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Manual.service
30d37806 197%{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Nominatim.service
f419b210 198%{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Plazes.service
b10f8104 199%{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Skyhook.service
f419b210 200%{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Yahoo.service
56780d4b
JB
201
202%files libs
203%defattr(644,root,root,755)
204%attr(755,root,root) %{_libdir}/libgeoclue.so.*.*.*
205%attr(755,root,root) %ghost %{_libdir}/libgeoclue.so.0
f419b210
PZ
206
207%files devel
208%defattr(644,root,root,755)
6f3b03fc 209%attr(755,root,root) %{_libdir}/libgeoclue.so
f419b210
PZ
210%{_includedir}/geoclue
211%{_pkgconfigdir}/geoclue.pc
f419b210 212
56780d4b
JB
213%files static
214%defattr(644,root,root,755)
215%{_libdir}/libgeoclue.a
216
f419b210
PZ
217%files apidocs
218%defattr(644,root,root,755)
8270201b 219%{_gtkdocdir}/geoclue
f419b210 220
58b52510 221%if %{with gps}
f419b210
PZ
222%files gpsd
223%defattr(644,root,root,755)
6f3b03fc 224%attr(755,root,root) %{_libexecdir}/geoclue-gpsd
f419b210
PZ
225%{_datadir}/geoclue-providers/geoclue-gpsd.provider
226%{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Gpsd.service
58b52510 227%endif
f419b210
PZ
228
229%files gypsy
230%defattr(644,root,root,755)
6f3b03fc 231%attr(755,root,root) %{_libexecdir}/geoclue-gypsy
f419b210
PZ
232%{_datadir}/geoclue-providers/geoclue-gypsy.provider
233%{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Gypsy.service
This page took 0.074111 seconds and 4 git commands to generate.