Revert BreezeSansFallback fonts
[platform/core/graphics/default-fonts-sdk.git] / packaging / default-fonts-sdk.spec
1 Name:       default-fonts-sdk
2 Summary:    free fonts for Tizen SDK
3 Version:    1.2.1.0
4 Release:    10
5 Group:      TO_BE/FILLED_IN
6 License:    Apache-2.0 and GPL-2.0-with-font-exception
7 Source0:    %{name}-%{version}.tar.gz
8 Source1001: packaging/default-fonts-sdk.manifest
9 BuildRequires: pkgconfig(libtzplatform-config)
10 Requires(post): fontconfig
11
12 %description
13 free fonts for Tizen SDK
14 This package is maintained by SDK team
15
16 %prep
17 %setup -q
18
19 %build
20 cp %{SOURCE1001} .
21
22 %install
23 rm -rf %{buildroot}
24
25 mkdir -p %{buildroot}%{_datadir}/fonts && cp -a common/fonts %{buildroot}%{_datadir}
26 #cp -a $TARGET/fonts %{buildroot}%{_datadir}
27 mkdir -p %{buildroot}%{_datadir}/fallback_fonts && cp -a common/fallback_fonts %{buildroot}%{_datadir}
28 #cp -a $TARGET/fallback_fonts %{buildroot}%{_datadir}
29
30 %post
31 if [ -x /usr/bin/fc-cache ] ; then
32   /usr/bin/fc-cache -f
33   chsmack -a User::App::Shared %{TZ_SYS_VAR}/cache/fontconfig/*
34 fi
35
36 %files
37 %manifest default-fonts-sdk.manifest
38 %defattr(-,root,root,-)
39 %{_datadir}/fonts/*
40 %{_datadir}/fallback_fonts/*
41 %license LICENSE