diff options
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/sf-plugin-proc-accel-emul.manifest | 5 | ||||
-rw-r--r-- | packaging/sf-plugin-proc-accel-emul.spec | 49 |
2 files changed, 54 insertions, 0 deletions
diff --git a/packaging/sf-plugin-proc-accel-emul.manifest b/packaging/sf-plugin-proc-accel-emul.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/sf-plugin-proc-accel-emul.manifest @@ -0,0 +1,5 @@ +<manifest> + <request> + <domain name="_"/> + </request> +</manifest> diff --git a/packaging/sf-plugin-proc-accel-emul.spec b/packaging/sf-plugin-proc-accel-emul.spec new file mode 100644 index 0000000..3de4abc --- /dev/null +++ b/packaging/sf-plugin-proc-accel-emul.spec @@ -0,0 +1,49 @@ +#git:/slp/pkgs/e/emulator-plugin-accel-proc +Name: sf-plugin-proc-accel-emul +Version: 0.2.18 +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 |