1 Name: hal-backend-device-common
2 Summary: HAL backend device common
7 Source0: %{name}-%{version}.tar.gz
8 Source1: %{name}.manifest
10 BuildRequires: pkgconfig(libusbgx)
11 BuildRequires: pkgconfig(hal-api-device)
12 BuildRequires: pkgconfig(libsyscommon)
13 BuildRequires: pkgconfig(dlog)
16 Library for HAL backend device modules
19 Summary: Library for HAL backend device modules (devel)
20 Requires: %{name} = %{version}-%{release}
23 Library for HAL backend device modules (devel)
30 %cmake . -DHAL_LIB_DIR=%{_hal_libdir} \
31 -DHAL_INCLUDE_DIR=%{_hal_includedir} \
32 -DHAL_LICENSE_DIR=%{_hal_licensedir} \
41 %manifest %{name}.manifest
42 %{_hal_licensedir}/%{name}/LICENSE.Apache-2.0
43 %{_hal_libdir}/libhal-backend-device-common.so
46 %manifest %{name}.manifest
47 %{_hal_licensedir}/%{name}/LICENSE.Apache-2.0
48 %{_hal_includedir}/device/hal-backend-common*.h
49 %{_libdir}/pkgconfig/*.pc