89453dca91bf8371a77e84aa2e2024ac4d06dfde
[platform/adaptation/emulator/device-manager-plugin-emul.git] / packaging / device-manager-plugin-maru.spec
1 Name:       device-manager-plugin-maru
2 Summary:    device-manager-plugin-maru
3 Version: 0.0.13
4 Release:    1
5 Group:      TO_BE/FILLED_IN
6 License:    TO_BE/FILLED_IN
7 Source0:    %{name}-%{version}.tar.gz
8 Source1001: packaging/device-manager-plugin-maru.manifest
9 Requires(post): /sbin/ldconfig
10 Requires(postun): /sbin/ldconfig
11 BuildRequires:  cmake
12 BuildRequires:  pkgconfig(devman_plugin)
13
14 %description
15 device-manager-plugin-maru.
16
17 %prep
18 %setup -q
19
20 %build
21 export LDFLAGS+="-Wl,--rpath=%{_libdir} -Wl,--as-needed"
22 %cmake .
23
24 make 
25
26 %install
27 %make_install
28
29 %post
30 /sbin/ldconfig
31
32 %postun
33 /sbin/ldconfig
34
35 %files
36 %defattr(-,root,root,-)
37 %{_libdir}/libslp_devman_plugin.so
38