summaryrefslogtreecommitdiff
path: root/packaging/device-manager-plugin-maru.spec
blob: 657e36a8c6eeeaefa2bf61e2eb842c08bd432bf3 (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
Name:       device-manager-plugin-maru
Summary:    device-manager-plugin-maru
Version: 0.0.8
Release:    1
Group:      TO_BE/FILLED_IN
License:    TO_BE/FILLED_IN
Source0:    %{name}-%{version}.tar.gz
ExclusiveArch: %{ix86}
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires:  cmake
BuildRequires:  pkgconfig(devman_plugin)

%description
device-manager-plugin-maru.

%prep
%setup -q

%build
export LDFLAGS+="-Wl,--rpath=%{_prefix}/lib -Wl,--as-needed"
cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}

make 

%install
rm -rf %{buildroot}
%make_install

%post
/sbin/ldconfig

%postun
/sbin/ldconfig

%files
%defattr(-,root,root,-)
%{_libdir}/libslp_devman_plugin.so