f9c0b7b072a035c392a6c22726222c2bc35eaf48
[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.12
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=%{_prefix}/lib -Wl,--as-needed"
22 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
23
24 make 
25
26 %install
27 rm -rf %{buildroot}
28 %make_install
29
30 %post
31 /sbin/ldconfig
32
33 %postun
34 /sbin/ldconfig
35
36 %files
37 %defattr(-,root,root,-)
38 %{_libdir}/libslp_devman_plugin.so
39