diff options
author | Jinkun Jang <jinkun.jang@samsung.com> | 2013-03-16 01:14:45 +0900 |
---|---|---|
committer | Jinkun Jang <jinkun.jang@samsung.com> | 2013-03-16 01:14:45 +0900 |
commit | cd09f84c00ba6bffffffc82536440d1af6e491ee (patch) | |
tree | cd313914f5117c1f5910ddf4a9af9225c90ff7ff /packaging | |
parent | bba779c70e8d4a378679fa7e0f266f484c5efba1 (diff) | |
download | libslp-lbs-plugin-replay-cd09f84c00ba6bffffffc82536440d1af6e491ee.tar.gz libslp-lbs-plugin-replay-cd09f84c00ba6bffffffc82536440d1af6e491ee.tar.bz2 libslp-lbs-plugin-replay-cd09f84c00ba6bffffffc82536440d1af6e491ee.zip |
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/libslp-lbs-plugin-replay.spec | 45 | ||||
-rw-r--r-- | packaging/libslp-lbsplugin-replay.spec | 62 |
2 files changed, 45 insertions, 62 deletions
diff --git a/packaging/libslp-lbs-plugin-replay.spec b/packaging/libslp-lbs-plugin-replay.spec new file mode 100644 index 0000000..c8ec68b --- /dev/null +++ b/packaging/libslp-lbs-plugin-replay.spec @@ -0,0 +1,45 @@ +Name: libslp-lbs-plugin-replay +Summary: gps-manager plugin library for replay mode +Version: 0.1.3 +Release: 1 +Group: TO_BE/FILLED_IN +License: TO_BE/FILLED_IN +Source0: %{name}-%{version}.tar.gz +BuildRequires: cmake +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(vconf) +BuildRequires: pkgconfig(dlog) +BuildRequires: pkgconfig(gps-manager-plugin) + +%description +gps-manager plugin library for replay mode + +%define DATADIR /etc/gps-manager + +%prep +%setup -q + +./autogen.sh +./configure --prefix=%{_prefix} --datadir=%{DATADIR} + + +%build +make %{?jobs:-j%jobs} + +%install +rm -rf %{buildroot} +%make_install + +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 +%manifest libslp-lbs-plugin-replay.manifest +%defattr(-,root,root,-) +%{_libdir}/libSLP-lbs-plugin-replay.so +%{_libdir}/libSLP-lbs-plugin-replay.so.* +%{DATADIR}/replay/* diff --git a/packaging/libslp-lbsplugin-replay.spec b/packaging/libslp-lbsplugin-replay.spec deleted file mode 100644 index 05c807a..0000000 --- a/packaging/libslp-lbsplugin-replay.spec +++ /dev/null @@ -1,62 +0,0 @@ -Name: libslp-lbsplugin-replay -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(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 - -./autogen.sh -./configure --prefix=%{_prefix} --datadir=%{DATADIR} - - -%build -make %{?jobs:-j%jobs} - -%install -rm -rf %{buildroot} -%make_install - -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 - -#%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* |