blob: d02d5bca33c6834c08357c6740ea5a80f8037d42 (
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
50
|
#git:/slp/pkgs/e/emulator-plugin-accel-proc
Name: sf-plugin-proc-accel-emul
Version: 0.2.10
Release: 1
Summary: Accel simulator Processor plugin for sensor framework (using setting)
Group: System Environment/Libraries
License: GNUv2
Source0: %{name}-%{version}.tar.gz
BuildArch: i386
ExclusiveArch: %{ix86}
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
|