commit
5da2511a02
@ -37,7 +37,8 @@ make check
|
||||
%install
|
||||
rm -fr %{buildroot}
|
||||
install -m 0755 -d %{buildroot}%{_fontdir}
|
||||
install -m 0644 -p build/*.ttf %{buildroot}%{_fontdir}
|
||||
install -m 0755 -d %{buildroot}%{_datadir}/fonts/dejavu
|
||||
install -m 0644 -p build/*.ttf %{buildroot}%{_datadir}/fonts/dejavu
|
||||
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} %{buildroot}%{_fontconfig_confdir}
|
||||
|
||||
cd fontconfig
|
||||
@ -51,11 +52,16 @@ install -Dm 0644 -p %{SOURCE2} %{buildroot}%{_datadir}/appdata/dejavu-sans.metai
|
||||
install -Dm 0644 -p %{SOURCE2} %{buildroot}%{_datadir}/appdata/dejavu-sans-mono.metainfo.xml
|
||||
install -Dm 0644 -p %{SOURCE3} %{buildroot}%{_datadir}/appdata/dejavu-serif.metainfo.xml
|
||||
|
||||
%_font_pkg -f *-dejavu-*.conf DejaVu*.ttf
|
||||
%files
|
||||
%{_fontconfig_templatedir}/*-dejavu-*.conf
|
||||
%{_fontconfig_confdir}/*-dejavu-*.conf
|
||||
%{_datadir}/fonts/dejavu/DejaVu*.ttf
|
||||
%{_datadir}/appdata/*.metainfo.xml
|
||||
%doc AUTHORS BUGS LICENSE NEWS README
|
||||
%doc build/unicover.txt build/status.txt.bz2
|
||||
|
||||
%changelog
|
||||
* Wed Jan 8 2020 chenzhenyu <chenzhenyu13@huawei.com> - 2.35-8
|
||||
- change %files
|
||||
* Wed Nov 27 2019 chenzhenyu <chenzhenyu13@huawei.com> - 2.35-8
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user