1 Name: drm-service-core-intel
2 Summary: The plugin library for installing drm-service-core-intel.so
7 Source0: %{name}-%{version}.tar.gz
10 Provides: libdrm-service-core-intel.so.0
12 Requires(post): /sbin/ldconfig
13 Requires(postun): /sbin/ldconfig
16 The plugin library for installing drm-service-core-intel.so
19 Summary: The plugin library for drm-service-core-intel(Development)
20 Group: TO_BE/FILLED_IN
21 Requires: %{name} = %{version}-%{release}
24 The plugin library for installing drm-service-core-intel.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 mkdir -p /opt/var/drm/inteldrm
48 chown 0:5000 /opt/var/drm/inteldrm
49 chmod 775 /opt/var/drm/inteldrm
51 ln -s -f %{_libdir}/libdrm-service-core-intel.so.0.1.0 %{_libdir}/libdrm-service-core-intel.so.0
52 ln -s -f %{_libdir}/libdrm-service-core-intel.so.0 %{_libdir}/libdrm-service-core-intel.so
54 %postun -p /sbin/ldconfig
57 %defattr(-,root,root,-)
58 %{_libdir}/libdrm-service-core-intel.so*
61 %defattr(-,root,root,-)
62 %{_includedir}/drm-intel/*.h
63 %{_libdir}/pkgconfig/drm-service-core-intel.pc