1file2pacDep(1rrp)              rpmrebuild plugin             file2pacDep(1rrp)
2
3
4

NAME

6       file2pacDep.plug - a plugin for rpmrebuild, to change file dependencies
7       into package dependencies
8
9

SYNOPSIS

11       rpmrebuild --include file2pacDep.plug <packagename>
12       or
13       rpmrebuild  --change-spec-requires="file2pacDep.sh [option]"  <package‐
14       name>
15       the first form apply all changes
16       the second allow to choose which part to change, and plugin options
17
18

DESCRIPTION

20       this  plugin  is to replace all package's files dependencies to package
21       dependencies.
22       For example, a dependency to /bin/bash will be changed to a  dependency
23       to bash package, the same for libraries.
24
25

OPTIONS

27       -f, --file
28              just apply changes on files with path (ex : /bin/bash)
29
30       -l, --lib
31              just apply changes on libraries file (ex : libc.so)
32
33       -h, --help
34              output help information about plugins option and exit.
35
36       -v, --version
37              print plugin version and exit
38
39       -V, --forceversion
40              add a dependency to current version (>=)
41
42

FILES

44       file2pacDep.plug
45              is the 'include file' for a quicker use
46
47       file2pacDep.sh
48              contains the code
49
50       file2pacDep.plug.1
51              is this man page
52
53

EXAMPLES

55       "normal" rpm dependencies are :
56
57       $ rpm -qR rpm
58       gawk
59       fileutils
60       textutils
61       mktemp
62       shadow-utils
63       popt = 1.6.4
64       /bin/sh
65       /bin/sh
66       /bin/sh
67       rpmlib(CompressedFileNames) <= 3.0.4-1
68       ld-linux.so.2
69       libbz2.so.1
70       libc.so.6
71       libpopt.so.0
72       libpthread.so.0
73       librpm-4.0.4.so
74       librpmbuild-4.0.4.so
75       librpmdb-4.0.4.so
76       librpmio-4.0.4.so
77       librt.so.1
78       libz.so.1
79       /bin/sh
80       libc.so.6(GLIBC_2.0)
81       libc.so.6(GLIBC_2.1)
82       libc.so.6(GLIBC_2.1.3)
83       libc.so.6(GLIBC_2.2)
84       libc.so.6(GLIBC_2.2.3)
85       libpthread.so.0(GLIBC_2.0)
86       librt.so.1(GLIBC_2.1)
87
88
89       now build a modified package:
90
91       rpmrebuild --include file2pacDep.plug rpm
92
93       and the result is :
94
95       $ rpm -qpR rpm-4.0.4-7x19.i386.rpm
96       rpmlib(VersionedDependencies) <= 3.0.3-1
97       popt = 1.6.4
98       bash
99       bzip2-libs
100       fileutils
101       gawk
102       glibc
103       mktemp
104       popt
105       rpm
106       shadow-utils
107       textutils
108       zlib
109       rpmlib(PayloadFilesHavePrefix) <= 4.0-1
110       rpmlib(CompressedFileNames) <= 3.0.4-1
111
112
113

AUTHORS

115       Eric Gerbier <eric.gerbier@tutanota.com>
116
117       See <URL:http://rpmrebuild.sourceforge.net/>.
118
119

NOTES

121       this plugin is given as an example of what can be done
122
123
125       rpmrebuild is copyright (C) 2004 by Eric Gerbier.
126       this program is distributed under GNU General Public License
127       It is provided "as is", without any express or implied warranties.  See
128       the file COPYING for details.
129
130

SEE ALSO

132       rpm(8), rpmbuild(8), rpmrebuild_plugins(1)
133       compat_digest.plug(1), demo.plug(1), demofiles.plug(1),  nodoc.plug(1),
134       uniq.plug(1),    file2pacDep.plug(1),   exclude_file.plug(1),   un_pre‐
135       link.plug(1) set_tag.plug(1), unset_tag.plug(1)
136       man -k rrp for plugins specific manpages
137
138
139
140Eric Gerbier                         2.17                    file2pacDep(1rrp)
Impressum