summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyotaek Shim <hyotaek.shim@samsung.com>2021-06-07 14:12:29 +0900
committerHyotaek Shim <hyotaek.shim@samsung.com>2021-06-07 14:15:19 +0900
commitf31d3dc48dfa36fcc79ce0ce1ccba7f744a36c34 (patch)
tree1fa01c952bf2cfcff859b9290ce51eaff89aa055
parent1a922a408e77d3b62cb389d848cf4ebfa6092b11 (diff)
downloaddevice-emulator-f31d3dc48dfa36fcc79ce0ce1ccba7f744a36c34.tar.gz
device-emulator-f31d3dc48dfa36fcc79ce0ce1ccba7f744a36c34.tar.bz2
device-emulator-f31d3dc48dfa36fcc79ce0ce1ccba7f744a36c34.zip
Change-Id: I61fd690091d4ad2cf323329d14992c34543605e2 Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
-rw-r--r--CMakeLists.txt2
-rw-r--r--packaging/hal-backend-device-emulator.manifest (renamed from device-manager-plugin-emul.manifest)0
-rw-r--r--packaging/hal-backend-device-emulator.spec (renamed from packaging/device-manager-plugin-emul.spec)10
3 files changed, 7 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 00365bd..1ac7295 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,5 @@
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
-PROJECT(device-manager-plugin-emul C)
+PROJECT(hal-backend-device-emulator C)
IF("${CMAKE_BUILD_TYPE}" STREQUAL "")
SET(CMAKE_BUILD_TYPE "Release")
diff --git a/device-manager-plugin-emul.manifest b/packaging/hal-backend-device-emulator.manifest
index 97e8c31..97e8c31 100644
--- a/device-manager-plugin-emul.manifest
+++ b/packaging/hal-backend-device-emulator.manifest
diff --git a/packaging/device-manager-plugin-emul.spec b/packaging/hal-backend-device-emulator.spec
index 319a5d2..da45f13 100644
--- a/packaging/device-manager-plugin-emul.spec
+++ b/packaging/hal-backend-device-emulator.spec
@@ -1,10 +1,11 @@
-Name: device-manager-plugin-emul
-Summary: Device manager plugin for emulator
+Name: hal-backend-device-emulator
+Summary: Device HAL backend drivers for emulator targets
Version: 0.0.21
Release: 1
Group: SDK/Other
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
+Source1: %{name}.manifest
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires: cmake
@@ -17,10 +18,11 @@ BuildRequires: pkgconfig(capi-system-info)
BuildRequires: pkgconfig(hal-backend-device-common)
%description
-Emulator plugin for emulator.
+Device HAL backend drivers for emulator targets
%prep
%setup -q
+cp %{SOURCE1} .
%build
export LDFLAGS+="-Wl,--rpath=%{_libdir} -Wl,--as-needed"
@@ -42,5 +44,5 @@ make
%files
%{_hal_licensedir}/%{name}/LICENSE
%defattr(-,root,root,-)
-%manifest device-manager-plugin-emul.manifest
+%manifest %{name}.manifest
%{_hal_libdir}/*.so*