]> git.pld-linux.org Git - packages/geoclue.git/blame - geoclue.spec
- release 4 (by relup.sh)
[packages/geoclue.git] / geoclue.spec
CommitLineData
dbb8bacc
JB
1#
2# Conditional build:
3%bcond_without gps # GPS support via gpsd
b8edd2f4 4
f419b210 5Summary: A modular geoinformation service
56780d4b 6Summary(pl.UTF-8): Modularna usługa geoinformacyjna
f419b210 7Name: geoclue
29acf44b 8Version: 0.12.99
ca3afe81 9Release: 4
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
b8edd2f4
ER
92%if "%{_rpmversion}" >= "5"
93BuildArch: noarch
94%endif
f419b210
PZ
95
96%description apidocs
56780d4b
JB
97Developer documentation for geoclue.
98
99%description apidocs -l pl.UTF-8
100Dokumentacja programisty do geoclue.
f419b210
PZ
101
102%package gpsd
103Summary: gpsd provider for geoclue
56780d4b
JB
104Summary(pl.UTF-8): Interfejs geoclue do gpsd
105Group: Applications
f419b210 106Requires: %{name} = %{version}-%{release}
dbb8bacc 107Requires: gpsd >= 3
f419b210
PZ
108
109%description gpsd
56780d4b
JB
110A gpsd provider for geoclue.
111
112%description gpsd -l pl.UTF-8
113Interfejs geoclue do gpsd.
f419b210
PZ
114
115%package gypsy
116Summary: gypsy provider for geoclue
56780d4b
JB
117Summary(pl.UTF-8): Interfejs geoclue do gypsy
118Group: Applications
f419b210 119Requires: %{name} = %{version}-%{release}
dbb8bacc 120Requires: gypsy >= 0.7.1
f419b210
PZ
121
122%description gypsy
56780d4b
JB
123A gypsy provider for geoclue.
124
125%description gypsy -l pl.UTF-8
126Interfejs geoclue do gypsy.
f419b210
PZ
127
128%prep
6f3b03fc 129%setup -q
b10f8104 130%patch0 -p1
dbb8bacc 131%patch1 -p1
f419b210
PZ
132
133%build
134%{__gtkdocize}
135%{__libtoolize}
136%{__aclocal}
f419b210 137%{__autoconf}
56780d4b 138%{__autoheader}
f419b210
PZ
139%{__automake}
140%configure \
f419b210 141 --enable-gtk-doc \
56780d4b 142 --disable-conic \
dbb8bacc 143 --enable-gpsd%{!?with_gps:=no} \
56780d4b
JB
144 --enable-gypsy \
145 --enable-networkmanager \
dbb8bacc 146 --disable-silent-rules \
56780d4b 147 --enable-skyhook \
f419b210
PZ
148 --with-html-dir=%{_gtkdocdir}
149
150%{__make}
151
152%install
153rm -rf $RPM_BUILD_ROOT
6f3b03fc 154
f419b210
PZ
155%{__make} install \
156 DESTDIR=$RPM_BUILD_ROOT
157
4639f03a
MB
158%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
159
f419b210
PZ
160%clean
161rm -rf $RPM_BUILD_ROOT
162
56780d4b
JB
163%post libs -p /sbin/ldconfig
164%postun libs -p /sbin/ldconfig
f419b210
PZ
165
166%files
167%defattr(644,root,root,755)
6f3b03fc 168%doc AUTHORS README
56780d4b
JB
169%attr(755,root,root) %{_libexecdir}/geoclue-example
170%attr(755,root,root) %{_libexecdir}/geoclue-geonames
171%attr(755,root,root) %{_libexecdir}/geoclue-gsmloc
172%attr(755,root,root) %{_libexecdir}/geoclue-hostip
173%attr(755,root,root) %{_libexecdir}/geoclue-localnet
174%attr(755,root,root) %{_libexecdir}/geoclue-manual
175%attr(755,root,root) %{_libexecdir}/geoclue-master
176%attr(755,root,root) %{_libexecdir}/geoclue-nominatim
177%attr(755,root,root) %{_libexecdir}/geoclue-plazes
178%attr(755,root,root) %{_libexecdir}/geoclue-skyhook
179%attr(755,root,root) %{_libexecdir}/geoclue-yahoo
f419b210 180%dir %{_datadir}/geoclue-providers
29acf44b 181%{_datadir}/GConf/gsettings/geoclue
56780d4b
JB
182%{_datadir}/geoclue-providers/geoclue-example.provider
183%{_datadir}/geoclue-providers/geoclue-geonames.provider
184%{_datadir}/geoclue-providers/geoclue-gsmloc.provider
185%{_datadir}/geoclue-providers/geoclue-hostip.provider
186%{_datadir}/geoclue-providers/geoclue-localnet.provider
187%{_datadir}/geoclue-providers/geoclue-manual.provider
188%{_datadir}/geoclue-providers/geoclue-nominatim.provider
189%{_datadir}/geoclue-providers/geoclue-plazes.provider
190%{_datadir}/geoclue-providers/geoclue-skyhook.provider
191%{_datadir}/geoclue-providers/geoclue-yahoo.provider
29acf44b 192%{_datadir}/glib-2.0/schemas/org.freedesktop.Geoclue.gschema.xml
f419b210
PZ
193%{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Master.service
194%{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Example.service
195%{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Geonames.service
b10f8104 196%{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Gsmloc.service
f419b210
PZ
197%{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Hostip.service
198%{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Localnet.service
199%{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Manual.service
30d37806 200%{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Nominatim.service
f419b210 201%{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Plazes.service
b10f8104 202%{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Skyhook.service
f419b210 203%{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Yahoo.service
56780d4b
JB
204
205%files libs
206%defattr(644,root,root,755)
207%attr(755,root,root) %{_libdir}/libgeoclue.so.*.*.*
208%attr(755,root,root) %ghost %{_libdir}/libgeoclue.so.0
f419b210
PZ
209
210%files devel
211%defattr(644,root,root,755)
6f3b03fc 212%attr(755,root,root) %{_libdir}/libgeoclue.so
f419b210
PZ
213%{_includedir}/geoclue
214%{_pkgconfigdir}/geoclue.pc
f419b210 215
56780d4b
JB
216%files static
217%defattr(644,root,root,755)
218%{_libdir}/libgeoclue.a
219
f419b210
PZ
220%files apidocs
221%defattr(644,root,root,755)
8270201b 222%{_gtkdocdir}/geoclue
f419b210 223
58b52510 224%if %{with gps}
f419b210
PZ
225%files gpsd
226%defattr(644,root,root,755)
6f3b03fc 227%attr(755,root,root) %{_libexecdir}/geoclue-gpsd
f419b210
PZ
228%{_datadir}/geoclue-providers/geoclue-gpsd.provider
229%{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Gpsd.service
58b52510 230%endif
f419b210
PZ
231
232%files gypsy
233%defattr(644,root,root,755)
6f3b03fc 234%attr(755,root,root) %{_libexecdir}/geoclue-gypsy
f419b210
PZ
235%{_datadir}/geoclue-providers/geoclue-gypsy.provider
236%{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Gypsy.service
This page took 0.112632 seconds and 4 git commands to generate.