blob: f142de1a4aa66c14a36136f312a098a45e1bae8a (
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
46
47
48
49
|
#git:/slp/pkgs/e/emulator-plugin-accel-proc
Name: sf-plugin-proc-accel-emul
Version: 0.2.17
Release: 1
Summary: Accel simulator Processor plugin for sensor framework (using setting)
Group: System Environment/Libraries
License: GNUv2
Source0: %{name}-%{version}.tar.gz
Source1001: packaging/sf-plugin-proc-accel-emul.manifest
BuildRequires: cmake
BuildRequires: pkgconfig(sf_common)
BuildRequires: pkgconfig(vconf)
%description
Accel simulator Processor plugin for sensor framework(unstripped)
Easy Accel simulator Processor plugin for SLP(not recommended)
%prep
%setup -q
%build
export LDFLAGS+="-Wl,--rpath=%{_prefix}/lib -Wl,--as-needed"
LDFLAGS="$LDFLAGS" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
make
%install
rm -rf %{buildroot}
%make_install
%clean
make clean
rm -rf CMakeCache.txt
rm -rf CMakeFiles
rm -rf cmake_install.cmake
rm -rf Makefile
rm -rf install_manifes.txt
rm -rf *.so
%post
%postun
%files
%defattr(-,root,root,-)
%{_prefix}/lib/sensor_framework/*.so*
%changelog
|