2 Summary: Location Based Service
5 Group: System/Libraries
7 Source0: %{name}-%{version}.tar.gz
8 Requires(post): /sbin/ldconfig
9 Requires(post): /usr/bin/vconftool
10 Requires(postun): /sbin/ldconfig
11 BuildRequires: pkgconfig(glib-2.0)
12 BuildRequires: pkgconfig(gconf-2.0)
13 BuildRequires: pkgconfig(dlog)
14 BuildRequires: pkgconfig(vconf)
15 BuildRequires: pkgconfig(json-glib-1.0)
19 Location Based Service Libraries
23 Summary: Location Based Service (Development files)
24 Group: System/Libraries
25 Requires: %{name} = %{version}-%{release}
28 Location Based Service Development Package
33 %setup -q -n %{name}-%{version}
39 ./configure --prefix=%{_prefix} --enable-dlog
50 vconftool set -t int db/location/lastposition/gps/Timestamp "0" -f
51 vconftool set -t double db/location/lastposition/gps/Latitude "0.0" -f
52 vconftool set -t double db/location/lastposition/gps/Longitude "0.0" -f
53 vconftool set -t double db/location/lastposition/gps/Altitude "0.0" -f
54 vconftool set -t double db/location/lastposition/gps/HorAccuracy "0.0" -f
55 vconftool set -t double db/location/lastposition/gps/VerAccuracy "0.0" -f
56 vconftool set -t int db/location/lastposition/wps/Timestamp "0" -f
57 vconftool set -t double db/location/lastposition/wps/Latitude "0.0" -f
58 vconftool set -t double db/location/lastposition/wps/Longitude "0.0" -f
59 vconftool set -t double db/location/lastposition/wps/Altitude "0.0" -f
60 vconftool set -t double db/location/lastposition/wps/HorAccuracy "0.0" -f
61 vconftool set -t int db/location/lastposition/sps/Timestamp "0" -f
62 vconftool set -t double db/location/lastposition/sps/Latitude "0.0" -f
63 vconftool set -t double db/location/lastposition/sps/Longitude "0.0" -f
64 vconftool set -t double db/location/lastposition/sps/Altitude "0.0" -f
65 vconftool set -t double db/location/lastposition/sps/HorAccuracy "0.0" -f
66 vconftool set -t double db/location/lastposition/sps/VerAccuracy "0.0" -f
67 vconftool set -t int db/location/setting/GpsEnabled "0" -g 6514 -f
68 vconftool set -t int db/location/setting/AgpsEnabled "0" -g 6514 -f
69 vconftool set -t int db/location/setting/NetworkEnabled "0" -g 6514 -f
70 vconftool set -t int db/location/setting/SensorEnabled "0" -g 6514 -f
72 %postun -p /sbin/ldconfig
80 %{_includedir}/location/*.h
82 %{_libdir}/pkgconfig/*.pc