]>
Commit | Line | Data |
---|---|---|
ac828673 ER |
1 | New browser-plugins |
2 | ||
22f27ac8 ER |
3 | Technical implementation |
4 | ~~~~~~~~~~~~~~~~~~~~~~~~ | |
5 | ||
6 | browser-plugins(%{_target_base_arch}) provides: | |
7 | - %dir /etc/browser-plugins | |
90e18e58 ER |
8 | - %dir %{_plugindir} |
9 | %{_plugindir} expands to %{_libdir}/browser-plugins | |
10 | ||
22f27ac8 ER |
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. | |
14 | ||
90e18e58 ER |
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} | |
22f27ac8 ER |
17 | |
18 | plugin provides | |
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}, | |
90e18e58 ER |
22 | subdirectories are allowed. Comments and empty lines are ignored. |
23 | ||
22f27ac8 ER |
24 | - %post/%postun scriptlet |
25 | the scriptlet will call %update_browser_plugins | |
26 | ||
27 | browser provides | |
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. | |
90e18e58 | 30 | |
22f27ac8 ER |
31 | - %post/%postun scriptlet |
32 | the scriptlet will call %update_browser_plugins |