to be included in %files section of package which ships own
fontconfig files; expands in
/usr/share/%{name}
/usr/share/%{name}/conf.avail
- introduced new rpm macro: %files_fontsconf_file
to be included in %files section of package which ships own
fontconfig file;
%files_fontsconf_file -l name.conf
expands in
/usr/share/%{name}/conf.avail/name.conf
%config /etc/fonts/conf.d/name.conf
when -l switch isn't supplied, only
/usr/share/%{name}/conf.avail/name.conf
is packaged
OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/fontpackages?expand=0&rev=13
for given file (path/to/01-font.conf), it
1. creates %{_fontsconfavaildir}
2. copies path/to/01-font.conf to %{_fontsconfavaildir}
uses %link_avail_to_system_fontsconf to
3. create %{_fontsconfddir}
4. link %{_fontsavaildir}/01-fonts.conf %{_fontsconfddir}
OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/fontpackages?expand=0&rev=12
/etc/fonts/conf.avail to /usr/share/%{name}/conf.avail as
fontconfig 2.10 ship its avail conf in /usr/share/fontconfig/conf.avail
- added %link_avail_to_system_fontsconf, which creates symlink pointing
from /etc/fonts/conf.d to ../../../usr/share/%{name}/conf.avail
OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/fontpackages?expand=0&rev=11