1 #sbs-git:slp/sdk/default-fonts-fc-sdk default-fonts-fc-sdk 0.0.2 8414dbd3e62b6f7a864ba031e043dd7604b3d86d
2 Name: default-fonts-fc-sdk
3 Summary: Font configuration package for SDK
8 Source0: %{name}-%{version}.tar.gz
9 Source1001: packaging/default-fonts-fc-sdk.manifest
10 BuildRequires: pkgconfig(libtzplatform-config)
13 Font configuration package for SDK
14 This package is maintained by SDK team
23 export FONT_CONF_FILE_1="99-tizen.conf"
24 export FONT_CONF_FILE_2="98-tizen-alias.conf"
26 ## TZ_SYS_RO_ETC: /etc, TZ_SYS_ETC: /opt/etc/
28 mkdir -p %{buildroot}%{TZ_SYS_RO_ETC}/fonts/conf.d/
29 mkdir -p %{buildroot}%{TZ_SYS_ETC}/fonts/conf.avail/ && cp -a sdk_fonts_fc/* %{buildroot}%{TZ_SYS_ETC}/fonts/conf.avail/
30 ln -s %{TZ_SYS_ETC}/fonts/conf.avail/$FONT_CONF_FILE_1 %{buildroot}%{TZ_SYS_RO_ETC}/fonts/conf.d/$FONT_CONF_FILE_1
31 ln -s %{TZ_SYS_ETC}/fonts/conf.avail/$FONT_CONF_FILE_2 %{buildroot}%{TZ_SYS_RO_ETC}/fonts/conf.d/$FONT_CONF_FILE_2
34 chown root:users %{TZ_SYS_ETC}/fonts/conf.avail/*.conf
35 chmod 664 %{TZ_SYS_ETC}/fonts/conf.avail/*.conf
36 chsmack -a '*' %{TZ_SYS_ETC}/fonts/conf.avail/*.conf
39 %manifest default-fonts-fc-sdk.manifest
40 %defattr(-,root,root,-)
41 %{TZ_SYS_ETC}/fonts/conf.avail/*.conf
42 %{TZ_SYS_RO_ETC}/fonts/conf.d/*.conf
43 %exclude %{TZ_SYS_RO_ETC}/fonts/conf.d/documentation.list