summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorJinkun Jang <jinkun.jang@samsung.com>2013-03-13 01:48:14 +0900
committerJinkun Jang <jinkun.jang@samsung.com>2013-03-13 01:48:14 +0900
commitedf4ed956aa1a4a56af6f0842eb0f67154fda5e7 (patch)
tree7594e0ae234012b78e1bded1f96009d59b477e6b /packaging
parent09d307234071df1a9419de81d4b9b4193ea461fd (diff)
downloaddefault-fonts-fc-sdk-submit/tizen/20130517.044924.tar.gz
default-fonts-fc-sdk-submit/tizen/20130517.044924.tar.bz2
default-fonts-fc-sdk-submit/tizen/20130517.044924.zip
Diffstat (limited to 'packaging')
-rw-r--r--packaging/default-fonts-fc-sdk.manifest14
-rw-r--r--packaging/default-fonts-fc-sdk.spec38
2 files changed, 52 insertions, 0 deletions
diff --git a/packaging/default-fonts-fc-sdk.manifest b/packaging/default-fonts-fc-sdk.manifest
new file mode 100644
index 0000000..042c40b
--- /dev/null
+++ b/packaging/default-fonts-fc-sdk.manifest
@@ -0,0 +1,14 @@
+<manifest>
+ <define>
+ <domain name="default-fonts-fc-sdk" policy="restricted" plist="settings"/>
+ <provide>
+ <label name="default-fonts-fc-sdk::config"/>
+ </provide>
+ </define>
+ <request>
+ <domain name="_"/>
+ </request>
+ <assign>
+ <filesystem path="/opt/etc/fonts/conf.avail/99-slp.conf" label="default-fonts-fc-sdk::config"/>
+ </assign>
+</manifest>
diff --git a/packaging/default-fonts-fc-sdk.spec b/packaging/default-fonts-fc-sdk.spec
new file mode 100644
index 0000000..6d8a635
--- /dev/null
+++ b/packaging/default-fonts-fc-sdk.spec
@@ -0,0 +1,38 @@
+#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: 1
+Group: TO_BE/FILLED_IN
+License: TO BE FILLED IN
+Source0: %{name}-%{version}.tar.gz
+Source1001: packaging/default-fonts-fc-sdk.manifest
+
+%description
+Font configuration package for SDK
+This package is maintained by SDK team
+
+%prep
+%setup -q
+
+%build
+cp %{SOURCE1001} .
+
+%install
+rm -rf %{buildroot}
+
+mkdir -p %{buildroot}%{_prefix}/etc/fonts/conf.d/
+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 ../../../../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
+%manifest default-fonts-fc-sdk.manifest
+%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