summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeokjin Kim <deokjin81.kim@samsung.com>2012-08-27 03:43:05 (GMT)
committerDeokjin Kim <deokjin81.kim@samsung.com>2012-08-30 04:19:15 (GMT)
commit75e258bba3f6bb47766b662c3e15cb7f0c214919 (patch)
treeffe2317e85137a9452c66d26dd1f5f74388dc867
parent343defe9c94a5942fc19e59fbf9da391dcf199ea (diff)
downloaddefault-fonts-fc-sdk-75e258bba3f6bb47766b662c3e15cb7f0c214919.zip
default-fonts-fc-sdk-75e258bba3f6bb47766b662c3e15cb7f0c214919.tar.gz
default-fonts-fc-sdk-75e258bba3f6bb47766b662c3e15cb7f0c214919.tar.bz2
Move 99-slp.conf from /usr to /opt
Signed-off-by: Deokjin Kim <deokjin81.kim@samsung.com>
-rw-r--r--packaging/default-fonts-fc-sdk.spec15
1 files changed, 9 insertions, 6 deletions
diff --git a/packaging/default-fonts-fc-sdk.spec b/packaging/default-fonts-fc-sdk.spec
index 6747082..fb8076e 100644
--- a/packaging/default-fonts-fc-sdk.spec
+++ b/packaging/default-fonts-fc-sdk.spec
@@ -1,8 +1,8 @@
#sbs-git:slp/sdk/default-fonts-fc-sdk default-fonts-fc-sdk 0.0.2 8414dbd3e62b6f7a864ba031e043dd7604b3d86d
Name: default-fonts-fc-sdk
Summary: Font configuration package for SDK
-Version: 0.0.2
-Release: 0
+Version: 0.0.2
+Release: 4
Group: TO_BE/FILLED_IN
License: TO BE FILLED IN
Source0: %{name}-%{version}.tar.gz
@@ -20,13 +20,16 @@ This package is maintained by SDK team
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_prefix}/etc/fonts/conf.d/
-mkdir -p %{buildroot}%{_prefix}/etc/fonts/conf.avail/ && cp -a sdk_fonts_fc/* %{buildroot}%{_prefix}/etc/fonts/conf.avail/
+mkdir -p %{buildroot}/opt/etc/fonts/conf.avail/ && cp -a sdk_fonts_fc/* %{buildroot}/opt/etc/fonts/conf.avail/
cd %{buildroot}%{_prefix}/etc/fonts/conf.d/
-ln -s ../conf.avail/99-slp.conf %{buildroot}%{_prefix}/etc/fonts/conf.d/99-slp.conf
+ln -s ../../../../opt/etc/fonts/conf.avail/99-slp.conf %{buildroot}%{_prefix}/etc/fonts/conf.d/99-slp.conf
+%post
+chown :5000 /opt/etc/fonts/conf.avail/99-slp.conf
+chmod 664 /opt/etc/fonts/conf.avail/99-slp.conf
%files
-%defattr(-,root,root,-)
-%{_prefix}/etc/fonts/conf.avail/99-slp.conf
+%defattr(-,root,root,-)
+/opt/etc/fonts/conf.avail/99-slp.conf
%{_prefix}/etc/fonts/conf.d/99-slp.conf
%exclude %{_prefix}/etc/fonts/conf.d/documentation.list