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