1 Name: drm-service-core-sapps
2 Summary: The plugin library for installing drm-service-core-sapps.so
7 Source0: %{name}-%{version}.tar.gz
10 Provides: libdrm-service-core-sapps.so.0
12 Requires(post): /sbin/ldconfig
13 Requires(postun): /sbin/ldconfig
16 The plugin library for installing drm-service-core-sapps.so
19 Summary: The plugin library for drm-service-core-sapps(Development)
20 Group: TO_BE/FILLED_IN
21 Requires: %{name} = %{version}-%{release}
24 The plugin library for installing drm-service-core-sapps.so and header files.
31 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DARCH=arm
33 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DARCH=ix86
36 #make %{?jobs:-j%jobs}
44 /bin/rm -f /etc/ld.so.cache
47 %{_bindir}/drm_sapps_initialize
49 ln -s -f %{_libdir}/libdrm-service-core-sapps.so.0.2.8 %{_libdir}/libdrm-service-core-sapps.so.0
50 ln -s -f %{_libdir}/libdrm-service-core-sapps.so.0 %{_libdir}/libdrm-service-core-sapps.so
52 %postun -p /sbin/ldconfig
55 %manifest drm-service-core-sapps.manifest
56 %defattr(-,root,root,-)
57 %{_libdir}/libdrm-service-core-sapps.so*
58 %{_bindir}/drm_sapps_initialize
61 %defattr(-,root,root,-)
62 %{_libdir}/pkgconfig/drm-service-core-sapps.pc
63 %{_includedir}/drm-sapps/drm-oem-sapps.h
66 rm -rf drm_sapps_initialize
67 rm -rf libdrm-service-core-sapps.so*