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