summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorJinkun Jang <jinkun.jang@samsung.com>2013-03-13 01:48:43 +0900
committerJinkun Jang <jinkun.jang@samsung.com>2013-03-13 01:48:43 +0900
commitbd559b2f818039b88ff509ae68970e2da558b13c (patch)
treeadca661ba1f73e619410b7c4cba6427634d74c46 /packaging
parentccc78506708f99ca0d2db354e98b408fe79492d1 (diff)
downloadlibslp-lbs-plugin-replay-bd559b2f818039b88ff509ae68970e2da558b13c.tar.gz
libslp-lbs-plugin-replay-bd559b2f818039b88ff509ae68970e2da558b13c.tar.bz2
libslp-lbs-plugin-replay-bd559b2f818039b88ff509ae68970e2da558b13c.zip
Tizen 2.1 base
Diffstat (limited to 'packaging')
-rw-r--r--packaging/libslp-lbsplugin-replay.spec64
1 files changed, 43 insertions, 21 deletions
diff --git a/packaging/libslp-lbsplugin-replay.spec b/packaging/libslp-lbsplugin-replay.spec
index 79378c5..05c807a 100644
--- a/packaging/libslp-lbsplugin-replay.spec
+++ b/packaging/libslp-lbsplugin-replay.spec
@@ -1,40 +1,62 @@
Name: libslp-lbsplugin-replay
-Summary: gps-manager plugin library for replaying NMEA
-Version: 0.1.3
-Release: 0
-Group: TO_BE/FILLED_IN
-License: TO BE FILLED IN
+Summary: gps-manager plugin library for replay mode
+Version: 0.1.8
+Release: 1
+Group: System/Libraries
+License: Apache Licensc, Version 2.0
Source0: %{name}-%{version}.tar.gz
-BuildRequires: cmake
-BuildRequires: pkgconfig(gps-manager-plugin)
-BuildRequires: pkgconfig(glib-2.0)
-BuildRequires: pkgconfig(dlog)
-BuildRequires: pkgconfig(vconf)
+BuildRequires: cmake
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(gps-manager-plugin)
+#BuildRequires: pkgconfig(geoclue-xps-plugin)
%description
+gps-manager plugin library for replay mode
+
+%define DATADIR /etc/gps-manager
+
+#%package -n libslp-xpsplugin-replay
+#Summary: Position/Velocity server for GeoClue (XPS)
+#Group: TO_BE/FILLED_IN
+
+#%description -n libslp-xpsplugin-replay
+#GeoClue provides applications access to various geographical information sources using a D-Bus API or a C library.-
+#This package provides a positioning backend for GeoClue.
%prep
%setup -q
-%build
./autogen.sh
-%configure --disable-static --datadir=/opt/data/gps-manager
+./configure --prefix=%{_prefix} --datadir=%{DATADIR}
-make %{?jobs:-j%jobs}
+%build
+make %{?jobs:-j%jobs}
%install
rm -rf %{buildroot}
%make_install
-mkdir -p %{buildroot}/opt/data/gps-manager/replay
-cp -a nmea-log/nmea_replay.log %{buildroot}/opt/data/gps-manager/replay
+mkdir -p %{buildroot}%{DATADIR}/replay
+cp -a nmea-log/*.log %{buildroot}%{DATADIR}/replay
+%post
+rm -rf /usr/lib/libSLP-lbs-plugin.so
+ln -sf /usr/lib/libSLP-lbs-plugin-replay.so /usr/lib/libSLP-lbs-plugin.so
-%files
-%{_libdir}/libSLP-lbs-plugin-replay.so.0.0.0
-%{_libdir}/libSLP-lbs-plugin-replay.so.0
-%{_libdir}/libSLP-lbs-plugin-replay.so
-/opt/data/gps-manager/replay/nmea_replay.log
-
+#%post -n libslp-xpsplugin-replay
+#rm -rf /usr/lib/libSLP-xps-plugin.so
+#ln -sf /usr/lib/libSLP-xps-plugin-replay.so /usr/lib/libSLP-xps-plugin.so
+%files
+%manifest libslp-lbsplugin-replay.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libSLP-lbs-plugin-replay.so*
+%{DATADIR}/replay/*
+
+#%files -n libslp-xpsplugin-replay
+#%manifest libslp-xpsplugin-replay.manifest
+#%defattr(-,root,root,-)
+#%{_libdir}/libSLP-xps-plugin-replay.so*