c01735799b2a1061c850a205ceca227055d73c38
[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.16
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 mkdir -p %{buildroot}/usr/share/license
29 cp LICENSE.APLv2 %{buildroot}/usr/share/license/%{name}
30
31 %post
32 /sbin/ldconfig
33
34 %postun
35 /sbin/ldconfig
36
37 %files
38 %defattr(-,root,root,-)
39 %{_libdir}/libslp_devman_plugin.so
40 /usr/share/license/%{name}