aboutsummaryrefslogtreecommitdiffstats
path: root/README
blob: eef5b6d95cafc2b592a9c56a07d1092976d455e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
spec-helper is a set of helper scripts to be executed at package installation
time. They are automatically invocated at the end of the %install section to
perform various tasks. Here is a list of them, along with their usage
instructions:

clean_files
remove backup files.
Set DONT_CLEANUP to disable.

compress_files
compress man and info pages.
Set DONT_COMPRESS to disable, or EXCLUDE_FROM_COMPRESS to give a
regexps matching files to exclude.

check_elf_files
Check for overlinking/underlinking.
See http://wiki.mandriva.com/en/Overlinking for more info about overlinking

check_desktop_files
validate desktop files
Set DONT_CHECK_DESKTOP_FILES to disable.

relink_symlinks
Relativize absolute symlinks.
Set DONT_RELINK to disable.

clean_perl
Remove useless files in perl tree.
Set DONT_CLEAN_PERL to disable.

lib_symlinks
Run ldconfig to create symlinks to libraries.
Set DONT_SYMLINK_LIBS to disable.

gprintify
rewrite "bla $TOTO bla" in "bla %s bla" $TOTO in
echo/failure/success/passed/daemon/action and replace echo by gprintf.
Set DONT_GPRINTIFY to disable.

fix-mo
Fix bad translations.
Set DONT_FIX_MO to disable.

fixpamd
Fix pam.d config files.
Set DONT_FIX_PAMD_CONFIGS to disable.

remove_info_dir
Remove info directories.
Set DONT_REMOVE_INFO_DIR to disable.

fix-eol
Convert end of line patterns from DOS to UNIX.
Set DONT_FIX_EOL to disable, or EXCLUDE_FROM_EOL_CONVERSION to give a
regexp matching files to exclude.