Imported Upstream version 15.0.0
[platform/upstream/libzypp.git] / doc / autoinclude / FeatureTest.doc
1 /**
2
3 \page feature-test Testing for provided features.
4
5 \author Michael Andres <ma@suse.de>
6
7 <HR><!-- ====================================================================== -->
8 \section intro Introduction
9
10 The libzypp rpm package will indicate the presence of certain features by using special \c Provides:
11
12 \verbatim
13   # Provides:     libzypp(FEATURE) = FEATURE_VERSION
14   Provides:       libzypp(code10) = 0
15 \endverbatim
16
17 Packages requiring a feature may use the corresponding \c Requires: in their .spec file.
18
19
20 <HR><!-- ====================================================================== -->
21 \section features Features
22 <DL>
23
24   <DT>plugin</DT>
25   <DD><DL>
26     <DT>version 0</DT>
27     <DD>General ability to provide and handle plugins.</DD>
28   </DL></DD>
29
30   <DT>plugin:commit</DT>
31   <DD><DL>
32     <DT>version 0</DT>
33     <DD>\see \ref plugin-commit </DD>
34   </DL></DD>
35
36   <DT>plugin:services</DT>
37   <DD><DL>
38     <DT>version 0</DT>
39     <DD>\see \ref plugin-services </DD>
40   </DL></DD>
41
42   <DT>plugin:system</DT>
43   <DD><DL>
44     <DT>version 0</DT>
45     <DD>Plugin executed when system content change is detected (by now SUSE Manager/spacewalk only).</DD>
46   </DL></DD>
47
48   <DT>plugin:urlresolver</DT>
49   <DD><DL>
50     <DT>version 0</DT>
51     <DD>\see \ref plugin-url-resolver </DD>
52   </DL></DD>
53
54   <DT>repovarexpand</DT>
55   <DD><DL>
56     <DT>version 0</DT>
57     <DD>Also support braced variables, shell like default and alternate values. \see \ref zypp-repovars</DD>
58   </DL></DD>
59 </DL>
60
61 */