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