UNPKG

2.94 kBTypeScriptView Raw
1export interface MakerRpmConfigOptions {
2 /**
3 * Name of the package (e.g. atom), used in the Package field of the control
4 * specification.
5 */
6 name?: string;
7 /**
8 * Name of the application (e.g. Atom), used in the Name field of the desktop specification.
9 */
10 productName?: string;
11 /**
12 * Generic name of the application (e.g. Text Editor), used in the GenericName field of the
13 * desktop specification.
14 */
15 genericName?: string;
16 /**
17 * Short description of the application, used in the Summary field of the spec file.
18 */
19 description?: string;
20 /**
21 * Long description of the application, used in the %description tag of the spec file.
22 */
23 productDescription?: string;
24 /**
25 * Version number of the package, used in the Version field of the spec file.
26 */
27 version?: string;
28 /**
29 * Revision number of the package, used in the Release field of the spec file.
30 */
31 revision?: string;
32 /**
33 * License of the package, used in the License field of the spec file.
34 */
35 license?: string;
36 /**
37 * Group of the package, used in the Group field of the spec file.
38 */
39 group?: string;
40 /**
41 * Packages that are required when the program starts, used in the Requires field of the
42 * spec file.
43 */
44 requires?: string[];
45 /**
46 * URL of the homepage for the package, used in the Homepage field of the control specification.
47 */
48 homepage?: string;
49 /**
50 * Package compression level, from 0 to 9.
51 */
52 compressionLevel?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9;
53 /**
54 * Relative path to the executable that will act as binary for the application, used in the
55 * Exec field of the desktop specification.
56 *
57 * Defaults to options.name
58 */
59 bin?: string;
60 /**
61 * Command-line arguments to pass to the executable. Will be added to the Exec field of the
62 * desktop specification.
63 */
64 execArguments?: string[];
65 /**
66 * Path to a single image that will act as icon for the application:
67 */
68 icon?: string;
69 /**
70 * Categories in which the application should be shown in a menu, used in the Categories field of
71 * the desktop specification.
72 *
73 * Generated on https://specifications.freedesktop.org/menu-spec/latest/apa.html with:
74 *
75 * `(${$$('.informaltable tr td:first-child').map(td => `'$\{td.innerText\}'`).join(' | ')})[]`
76 */
77 categories?: ('AudioVideo' | 'Audio' | 'Video' | 'Development' | 'Education' | 'Game' | 'Graphics' | 'Network' | 'Office' | 'Science' | 'Settings' | 'System' | 'Utility')[];
78 /**
79 * MIME types the application is able to open, used in the MimeType field of the desktop
80 * specification.
81 */
82 mimeType?: string[];
83}
84export interface MakerRpmConfig {
85 options?: MakerRpmConfigOptions;
86}
87//# sourceMappingURL=Config.d.ts.map
\No newline at end of file