From e1b43a1e9fce04267eebae1573790e9a6495ba00 Mon Sep 17 00:00:00 2001 From: Hyotaek Shim Date: Fri, 4 Jun 2021 21:31:06 +0900 Subject: Initialization for platform/hal/backend/tw3/device-tw3 Change-Id: I115b18762f8d7d12bb82dd397bd609d3fe32f396 Signed-off-by: Hyotaek Shim --- CMakeLists.txt | 2 +- packaging/device-manager-plugin-tw3.manifest | 5 --- packaging/device-manager-plugin-tw3.spec | 46 ---------------------------- packaging/hal-backend-device-tw3.manifest | 5 +++ packaging/hal-backend-device-tw3.spec | 46 ++++++++++++++++++++++++++++ 5 files changed, 52 insertions(+), 52 deletions(-) delete mode 100644 packaging/device-manager-plugin-tw3.manifest delete mode 100644 packaging/device-manager-plugin-tw3.spec create mode 100644 packaging/hal-backend-device-tw3.manifest create mode 100644 packaging/hal-backend-device-tw3.spec diff --git a/CMakeLists.txt b/CMakeLists.txt index 47708fd..b976029 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.6) -PROJECT(device-manager-plugin-tw3 C) +PROJECT(hal-backend-device-tw3 C) SET(PREFIX ${CMAKE_INSTALL_PREFIX}) diff --git a/packaging/device-manager-plugin-tw3.manifest b/packaging/device-manager-plugin-tw3.manifest deleted file mode 100644 index af9b883..0000000 --- a/packaging/device-manager-plugin-tw3.manifest +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/packaging/device-manager-plugin-tw3.spec b/packaging/device-manager-plugin-tw3.spec deleted file mode 100644 index 3a77b5c..0000000 --- a/packaging/device-manager-plugin-tw3.spec +++ /dev/null @@ -1,46 +0,0 @@ -Name: device-manager-plugin-tw3 -Summary: Device manager plugin for TW3 -Version: 0.0.1 -Release: 0 -Group: System/Hardware Adaptation -License: Apache-2.0 -Source0: %{name}-%{version}.tar.gz -Source1: %{name}.manifest -BuildRequires: cmake -BuildRequires: pkgconfig(glib-2.0) -BuildRequires: pkgconfig(libusbgx) -BuildRequires: pkgconfig(capi-system-info) -BuildRequires: pkgconfig(hal-api-common) -BuildRequires: pkgconfig(hal-api-device) -BuildRequires: pkgconfig(libsyscommon) -BuildRequires: pkgconfig(hal-backend-device-common) -Requires(post): /sbin/ldconfig -Requires(postun): /sbin/ldconfig - -%description -Device manager plugin for TW3 - -%prep -%setup -q -cp %{SOURCE1} . - -%build -%cmake . -DENABLE_DLOG=on \ - -DHAL_LIB_DIR=%{_hal_libdir} \ - -DHAL_LICENSE_DIR=%{_hal_licensedir} - -make %{?jobs:-j%jobs} - -%install -%make_install - -%post -/sbin/ldconfig - -%postun -/sbin/ldconfig - -%files -%manifest %{name}.manifest -%{_hal_licensedir}/%{name}/LICENSE.Apache-2.0 -%{_hal_libdir}/*.so* diff --git a/packaging/hal-backend-device-tw3.manifest b/packaging/hal-backend-device-tw3.manifest new file mode 100644 index 0000000..af9b883 --- /dev/null +++ b/packaging/hal-backend-device-tw3.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/hal-backend-device-tw3.spec b/packaging/hal-backend-device-tw3.spec new file mode 100644 index 0000000..9c5ee74 --- /dev/null +++ b/packaging/hal-backend-device-tw3.spec @@ -0,0 +1,46 @@ +Name: hal-backend-device-tw3 +Summary: Device HAL backend drivers for TW3 +Version: 0.0.1 +Release: 0 +Group: System/Hardware Adaptation +License: Apache-2.0 +Source0: %{name}-%{version}.tar.gz +Source1: %{name}.manifest +BuildRequires: cmake +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(libusbgx) +BuildRequires: pkgconfig(capi-system-info) +BuildRequires: pkgconfig(hal-api-common) +BuildRequires: pkgconfig(hal-api-device) +BuildRequires: pkgconfig(libsyscommon) +BuildRequires: pkgconfig(hal-backend-device-common) +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig + +%description +Device HAL backend drivers for TW3 + +%prep +%setup -q +cp %{SOURCE1} . + +%build +%cmake . -DENABLE_DLOG=on \ + -DHAL_LIB_DIR=%{_hal_libdir} \ + -DHAL_LICENSE_DIR=%{_hal_licensedir} + +make %{?jobs:-j%jobs} + +%install +%make_install + +%post +/sbin/ldconfig + +%postun +/sbin/ldconfig + +%files +%manifest %{name}.manifest +%{_hal_licensedir}/%{name}/LICENSE.Apache-2.0 +%{_hal_libdir}/*.so* -- cgit v1.2.3