blob: ea99faa69f42fd24c1434fc00e0c49af5a53cd31 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
Name: device-manager-plugin-artik
Summary: Device manager plugin artik
Version: 0.0.1
Release: 0
Group: System/Hardware Adaptation
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
Source1: %{name}.manifest
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires: cmake
BuildRequires: pkgconfig(dlog)
BuildRequires: pkgconfig(hwcommon)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(capi-system-peripheral-io)
BuildRequires: pkgconfig(libusbgx)
%description
Device manager plugin artik
%prep
%setup -q
cp %{SOURCE1} .
%build
%cmake .
make %{?jobs:-j%jobs}
%install
%make_install
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%{_libdir}/hw/*.so
%manifest %{name}.manifest
%license LICENSE
|