diff options
author | Yan Yin <yan.yin@intel.com> | 2012-03-14 14:09:05 +0800 |
---|---|---|
committer | Yan Yin <yan.yin@intel.com> | 2012-03-14 14:09:05 +0800 |
commit | 79a71ed0fa8c86a0ea7769c1dd0e4aec2e8a64fb (patch) | |
tree | e39e67532053ccd6fe680c66a4f2ba728317b9ed | |
parent | e27179493bc70aaf341cdd86686977cffaf423ef (diff) | |
download | libslp-location-79a71ed0fa8c86a0ea7769c1dd0e4aec2e8a64fb.tar.gz libslp-location-79a71ed0fa8c86a0ea7769c1dd0e4aec2e8a64fb.tar.bz2 libslp-location-79a71ed0fa8c86a0ea7769c1dd0e4aec2e8a64fb.zip |
update for beta universally
-rw-r--r-- | packaging/libslp-location.spec | 42 |
1 files changed, 26 insertions, 16 deletions
diff --git a/packaging/libslp-location.spec b/packaging/libslp-location.spec index cc04c6d..d0e3cb8 100644 --- a/packaging/libslp-location.spec +++ b/packaging/libslp-location.spec @@ -1,11 +1,10 @@ - Name: libslp-location Summary: Location Based Service -Version: 0.3.23 +Version: 0.3.34 Release: 2 Group: System/Libraries -License: TBD -Source0: %{name}-%{version}.tar.bz2 +License: Apache-2.0 +Source0: %{name}-%{version}.tar.gz Requires(post): /sbin/ldconfig Requires(post): /usr/bin/vconftool Requires(postun): /sbin/ldconfig @@ -13,8 +12,8 @@ BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gconf-2.0) BuildRequires: pkgconfig(dlog) BuildRequires: pkgconfig(vconf) +BuildRequires: pkgconfig(json-glib-1.0) -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Location Based Service Libraries @@ -37,27 +36,38 @@ Location Based Service Development Package %build ./autogen.sh -./configure --prefix=%{_prefix} --enable-dlog --enable-debug +./configure --prefix=%{_prefix} --enable-dlog -# Call make instruction with smp support make %{?jobs:-j%jobs} %install -rm -rf %{buildroot} %make_install -%clean -rm -rf %{buildroot} - - %post /sbin/ldconfig -vconftool set -t int db/location/LocationEnabled "1" -g 6514 -f -vconftool set -t int db/location/NetworkEnabled "0" -g 6514 -f -vconftool set -t int db/location/AgpsEnabled "0" -g 6514 -f -vconftool set -t int db/location/SensorEnabled "0" -g 6514 -f +vconftool set -t int db/location/lastposition/gps/Timestamp "0" -f +vconftool set -t double db/location/lastposition/gps/Latitude "0.0" -f +vconftool set -t double db/location/lastposition/gps/Longitude "0.0" -f +vconftool set -t double db/location/lastposition/gps/Altitude "0.0" -f +vconftool set -t double db/location/lastposition/gps/HorAccuracy "0.0" -f +vconftool set -t double db/location/lastposition/gps/VerAccuracy "0.0" -f +vconftool set -t int db/location/lastposition/wps/Timestamp "0" -f +vconftool set -t double db/location/lastposition/wps/Latitude "0.0" -f +vconftool set -t double db/location/lastposition/wps/Longitude "0.0" -f +vconftool set -t double db/location/lastposition/wps/Altitude "0.0" -f +vconftool set -t double db/location/lastposition/wps/HorAccuracy "0.0" -f +vconftool set -t int db/location/lastposition/sps/Timestamp "0" -f +vconftool set -t double db/location/lastposition/sps/Latitude "0.0" -f +vconftool set -t double db/location/lastposition/sps/Longitude "0.0" -f +vconftool set -t double db/location/lastposition/sps/Altitude "0.0" -f +vconftool set -t double db/location/lastposition/sps/HorAccuracy "0.0" -f +vconftool set -t double db/location/lastposition/sps/VerAccuracy "0.0" -f +vconftool set -t int db/location/setting/GpsEnabled "0" -g 6514 -f +vconftool set -t int db/location/setting/AgpsEnabled "0" -g 6514 -f +vconftool set -t int db/location/setting/NetworkEnabled "0" -g 6514 -f +vconftool set -t int db/location/setting/SensorEnabled "0" -g 6514 -f %postun -p /sbin/ldconfig |