packaging: Move smbprint to a comman location.
[garming/samba-autobuild/.git] / packaging / RHEL-CTDB / README
1 The rpms should be built not directly from the spec file (although
2 it is possible) but more conveniently using the makerpms.sh script:
3 It takes care of making a source tarball and building the rpms for
4 x86_64 and i386, the latter also producing the winbind-32bit
5 compatibility packages for x86_64.
6
7 The makerpms.sh script must be invoked from out of a git checkout
8 (since git archive is used to produce the tarball for rpmbuild).
9
10 To eliminate the need of building the docs from the sources
11 (which is time consuming and has vast build dependencies),
12 you need a samba release docs tarball called docs.tar.bz2 and point
13 the DOCS_TARBALL environment variable to it before calling makerpms.sh.
14 Alternatively, if the DOCS_TARBALL variable is not set, but if a
15 docs.tar.bz2 exists inside the rpm SOURCES directory
16 (/usr/src/redhat/SORUCES/ by default), that will be used.
17
18 To produce an appropriate docs tarball, you can for instance pack the
19 docs dir from a samba release tarball using the command
20 "tar cjf docs.tar.bz2 docs".
21 Note: The docs tarball needs the docs/ prefix.