]> git.pld-linux.org Git - packages/browser-plugins.git/blame - browser-plugins.README
- filesystem dependency
[packages/browser-plugins.git] / browser-plugins.README
CommitLineData
ac828673
ER
1New browser-plugins
2
22f27ac8
ER
3Technical implementation
4~~~~~~~~~~~~~~~~~~~~~~~~
5
0c8d6d2f 6filesystem provides:
90e18e58
ER
7- %dir %{_plugindir}
8%{_plugindir} expands to %{_libdir}/browser-plugins
9
7c305dcd
ER
10browser-plugins provides:
11- %dir /etc/browser-plugins
12- %dir /etc/browser-plugins/browser.d
13- %dir /etc/browser-plugins/blacklist.d
22f27ac8
ER
14- %{_sbindir}/update-browser-plugins script
15The script will parse /etc/browser-plugins/*.blacklist and delete dead and add
16new symlinks to browser specific plugin directories.
17
90e18e58
ER
18The list of browser plugin directories is taken by reading existing symlinks
19matching glob: /etc/browser-plugins/browser.d/<browser>.%{_target_base_arch}
22f27ac8 20
7c305dcd
ER
21The update script will scan /usr/lib/browser-plugins and
22/usr/lib64/browser-plugins dir for existing plugins as browser-plugins itself
23is noarch package.
24
0c8d6d2f
ER
25browser-plugins requires:
26- filesystem >= EVR
27the EVR is package version including %{_libdir}/browser-plugins directory.
28
29plugin provides:
7c305dcd 30- %config(noreplace) /etc/browser-plugins/blacklist.d/<plugin>-<browser>-%{_target_base_arch}.blacklist
22f27ac8
ER
31The blacklist contains shell globs of filenames to be excluded from linking to
32browser specific plugin directory. The shell globs are base of %{_plugindir},
90e18e58
ER
33subdirectories are allowed. Comments and empty lines are ignored.
34
22f27ac8
ER
35- %post/%postun scriptlet
36the scriptlet will call %update_browser_plugins
37
0c8d6d2f 38plugin requires:
ffed8261
ER
39- BuildRequires: rpmbuild(macros) >= VERSION
40- Requires: browser-plugins >= 2.0
41
0c8d6d2f 42browser provides:
22f27ac8
ER
43- /etc/browser-plugins/browser.d/<browser>.%{_target_base_arch} symlink
44the symlink will point to the single directory where it searches for its plugins.
90e18e58 45
22f27ac8
ER
46- %post/%postun scriptlet
47the scriptlet will call %update_browser_plugins
ffed8261 48
0c8d6d2f 49browser requires:
ffed8261
ER
50- BuildRequires: rpmbuild(macros) >= VERSION
51- Requires: browser-plugins >= 2.0
52
0c8d6d2f 53rpm-build-macros provides:
ffed8261
ER
54- %update_browser_plugins macro
55the macro will just call /usr/sbin/update-browser-plugins and ignore any errors from it.
56- %{_browser_plugindir} macro
57the macro will be defined as /usr/%{_lib}/browser-plugins
58
0c8d6d2f 59adapter provides:
ffed8261 60- replacement for sole location of browser-plugins with %{_browser_plugindir} macro
This page took 0.042631 seconds and 4 git commands to generate.