summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeokjin Kim <deokjin81.kim@samsung.com>2012-08-27 12:43:05 +0900
committerDeokjin Kim <deokjin81.kim@samsung.com>2012-08-27 12:43:05 +0900
commit24d405d1da979d861f19dfea88669a678a427c1a (patch)
tree8e0e72ac9569d5a2d88edf7f41105a16a37e34cf
parent1edb499315f30a8c64053030d0071c4230d09a76 (diff)
downloaddefault-fonts-fc-sdk-24d405d1da979d861f19dfea88669a678a427c1a.tar.gz
default-fonts-fc-sdk-24d405d1da979d861f19dfea88669a678a427c1a.tar.bz2
default-fonts-fc-sdk-24d405d1da979d861f19dfea88669a678a427c1a.zip
Move 99-slp.conf from /usr to /opt
-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..ccf1d03 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: 1
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