3 Technical implementation
4 ~~~~~~~~~~~~~~~~~~~~~~~~
6 browser-plugins(%{_target_base_arch}) provides:
7 - %dir /etc/browser-plugins
9 %{_plugindir} expands to %{_libdir}/browser-plugins
11 - %{_sbindir}/update-browser-plugins script
12 The script will parse /etc/browser-plugins/*.blacklist and delete dead and add
13 new symlinks to browser specific plugin directories.
15 The list of browser plugin directories is taken by reading existing symlinks
16 matching glob: /etc/browser-plugins/browser.d/<browser>.%{_target_base_arch}
19 - %config(noreplace) /etc/browser-plugins/<plugin>-<browser>-%{_target_base_arch}.blacklist
20 The blacklist contains shell globs of filenames to be excluded from linking to
21 browser specific plugin directory. The shell globs are base of %{_plugindir},
22 subdirectories are allowed. Comments and empty lines are ignored.
24 - %post/%postun scriptlet
25 the scriptlet will call %update_browser_plugins
28 - /etc/browser-plugins/browser.d/<browser>.%{_target_base_arch} symlink
29 the symlink will point to the single directory where it searches for its plugins.
31 - %post/%postun scriptlet
32 the scriptlet will call %update_browser_plugins