# AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: Fedora RPM Guide\n" "POT-Creation-Date: 2011-03-02T00:57:13\n" "PO-Revision-Date: 2011-08-21 08:31+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: Malayalam \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: ml\n" "Plural-Forms: nplurals=2; plural=(n != 1)\n" #. Tag: title #, no-c-format msgid "Controlling the Build with rpmbuild" msgstr "" #. Tag: para #, no-c-format msgid "This chapter covers:" msgstr "" #. Tag: para #, no-c-format msgid "Building with the rpmbuild command" msgstr "" #. Tag: para #, no-c-format msgid "Building RPMs without an external spec file" msgstr "" #. Tag: para #, no-c-format msgid "Working with source RPMs" msgstr "" #. Tag: para #, no-c-format msgid "Optimizing builds" msgstr "" #. Tag: para #, no-c-format msgid "Signing built RPMs" msgstr "" #. Tag: para #, no-c-format msgid "" "The preceding chapters in this Part cover details on how to put together " "RPMs. This chapter rounds out the discussion by delving into more details on" " the rpmbuild command." msgstr "" #. Tag: para #, no-c-format msgid "" "You can customize how rpmbuild creates RPMs, and you can use RPM commands to" " test and debug your package." msgstr "" #. Tag: title #, no-c-format msgid "Building RPMs with the rpmbuild Command" msgstr "" #. Tag: para #, no-c-format msgid "" "The rpmbuild command provides a workhorse command for building RPMs in all " "sorts of ways. The basic syntax, as shown in , is:" msgstr "" #. Tag: para #, no-c-format msgid "rpmbuild -bBuildStage spec_file" msgstr "" #. Tag: para #, no-c-format msgid "" "The BuildStage is a letter, such as c, to prepare and compile the " "application, executing through the %build section, or i, to execute through " "the %install section. This allows you a good deal of flexibility for " "building the entire RPM or stopping at some point prior to a full build." msgstr "" #. Tag: para #, no-c-format msgid "" "There’s more to the rpmbuild command, though. Quite a few additional options" " allow you to further customize the build." msgstr "" #. Tag: para #, no-c-format msgid "Note" msgstr "" #. Tag: para #, no-c-format msgid "" "As mentioned in , previous versions of" " the RPM system used the rpm command with a -b, for build, option. This " "option is no longer supported. Use the rpmbuild command to build RPMs." msgstr "" #. Tag: title #, no-c-format msgid "Customizing the build" msgstr "" #. Tag: para #, no-c-format msgid "" "You can customize the rpmbuild command with the options listed in Table " "12-1." msgstr "" #. Tag: para #, no-c-format msgid "Table 12-1 Extra build options for the rpmbuild command" msgstr "" #. Tag: para #, no-c-format msgid "Option" msgstr "" #. Tag: para #, no-c-format msgid "Usage" msgstr "" #. Tag: para #, no-c-format msgid "--buildroot directory" msgstr "" #. Tag: para #, no-c-format msgid "" "Override the default root directory for building with directory, generally " "not very useful since most packages already name a buildroot" msgstr "" #. Tag: para #, no-c-format msgid "--clean" msgstr "" #. Tag: para #, no-c-format msgid "Remove the build tree after building" msgstr "" #. Tag: para #, no-c-format msgid "--nobuild" msgstr "" #. Tag: para #, no-c-format msgid "Just test the spec file and do not run the build" msgstr "" #. Tag: para #, no-c-format msgid "--rmsource" msgstr "" #. Tag: para #, no-c-format msgid "Remove the sources after the build" msgstr "" #. Tag: para #, no-c-format msgid "--rmspec" msgstr "" #. Tag: para #, no-c-format msgid "Remove the spec file after the build" msgstr "" #. Tag: para #, no-c-format msgid "--short-circuit" msgstr "" #. Tag: para #, no-c-format msgid "" "With the -bc or -bi options, jump directly to the given stage and resume the" " build from that stage" msgstr "" #. Tag: para #, no-c-format msgid "--sign" msgstr "" #. Tag: para #, no-c-format msgid "Sign the package with a GPG signature" msgstr "" #. Tag: para #, no-c-format msgid "--target platform" msgstr "" #. Tag: para #, no-c-format msgid "" "Build for the given platform. May not work if you don't have the other " "platform build commands, such as cross compilers, set up. Can work for Intel" " platforms with i386, i686, and so on." msgstr "" #. Tag: title #, no-c-format msgid "Testing the build" msgstr "" #. Tag: para #, no-c-format msgid "" "One of the most useful options is --nobuild, which tells the rpmbuild " "command to not build anything. This may seem silly, but the --nobuild option" " is very useful for testing whether your RPMs can be built. With the " "--nobuild option, the rpmbuild command parses the spec file and checks for " "errors, but does not run any of the build stages." msgstr "" #. Tag: para #, no-c-format msgid "" "The --buildroot allows you to specify a different top-level directory for " "building, overriding the BuildRoot tag in the spec file. This means you can " "build in a separate location, which is helpful in case there are mistakes. " "Using a separate directory means the build won’t get mixed with anything " "else in the build root directory." msgstr "" #. Tag: title #, no-c-format msgid "Debugging the build" msgstr "" #. Tag: para #, no-c-format msgid "" "The --short-circuit option tells the rpmbuild command to restart at a " "particular location in the build. Rather than working its way through all " "the steps up to the build stage you ask for, the --short-circuit option " "allows the rpmbuild command to restart just at the step you ask for." msgstr "" #. Tag: para #, no-c-format msgid "" "This works with the -bc and -bi options only, as well as the -tc and -ti " "options covered later in this chapter." msgstr "" #. Tag: para #, no-c-format msgid "" "For example, if you run the rpmbuild -bc command to stop after the %build " "section, you can use the --short-circuit option to restart the build at the " "%build section. If you found a problem in the %build section and corrected " "it, you can quickly get going again by restarting the build at the %build " "section rather than extracting all the sources yet again." msgstr "" #. Tag: para #, no-c-format msgid "" "This option is most useful when you are compiling a package, hit an error, " "and fix that error. Without the --short-circuit option, you’ll likely end up" " spending a lot of time recompiling the code you have already compiled." msgstr "" #. Tag: para #, no-c-format msgid "" "During normal development of an RPM package, you will likely execute each " "build section, one at a time, stop, fix any errors and restart where you " "left off. You’ll go through this cycle a number of times before the RPM " "finally builds right." msgstr "" #. Tag: para #, no-c-format msgid "Warning" msgstr "" #. Tag: para #, no-c-format msgid "" "Never distribute an RPM made with the --short-circuit option. Instead, once " "you have everything working, start from scratch and rebuild the RPM. This is" " to avoid any problems with a partially-created RPM." msgstr "" #. Tag: title #, no-c-format msgid "Cleaning up" msgstr "" #. Tag: para #, no-c-format msgid "" "The --clean option tells the rpmbuild command to remove the build tree when " "complete. This helps ensure that the next time you run the rpmbuild command," " you are starting from a known situation." msgstr "" #. Tag: para #, no-c-format msgid "For example:" msgstr "" #. Tag: para #, no-c-format msgid "$ rpmbuild --clean /usr/src/redhat/SPECS/jikes.spec" msgstr "" #. Tag: para #, no-c-format msgid "Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.98247" msgstr "" #. Tag: para #, no-c-format msgid "+ umask 022" msgstr "" #. Tag: para #, no-c-format msgid "+ cd /usr/src/redhat/BUILD" msgstr "" #. Tag: para #, no-c-format msgid "+ rm -rf jikes-1.17" msgstr "" #. Tag: para #, no-c-format msgid "+ exit 0" msgstr "" #. Tag: para #, no-c-format msgid "" "You can use the --clean option alone, as shown previously, or in concert " "with another option such as -bi to build and install a binary RPM. In the " "latter case, the rpmbuild command will clean the built files after the rest " "of the command finishes." msgstr "" #. Tag: para #, no-c-format msgid "" "Similarly, the --rmsource option tells the rpmbuild command to remove the " "sources after completing the command. You can call this option with another " "option, such as -bi for building and installing a binary RPM (and then " "removing the sources), or alone on the command line to remove the sources " "only." msgstr "" #. Tag: para #, no-c-format msgid "rpmbuild --rmsource jikes.spec" msgstr "" #. Tag: para #, no-c-format msgid "" "The abbreviation rm is short for remove. It comes from the Linux rm command," " used for removing files." msgstr "" #. Tag: para #, no-c-format msgid "" "The --rmspec option tells the rpmbuild command to remove the spec file when " "done with the command. As with the --rmsource option, you can use the " "--rmspec option in conjunction with another rpmbuild option or on its own to" " just remove the spec file." msgstr "" #. Tag: para #, no-c-format msgid "rpmbuild --rmspec jikes.spec" msgstr "" #. Tag: para #, no-c-format msgid "" "The file you are removing with this command is the spec file you are passing" " to the command. Be careful, because you cannot undo this operation and you " "have now lost your spec file, except inside your source package." msgstr "" #. Tag: title #, no-c-format msgid "Building for other platforms" msgstr "" #. Tag: para #, no-c-format msgid "" "The --target option tells the rpmbuild command to build a package for " "another platform. You need to pass the name of the platform. For example:" msgstr "" #. Tag: para #, no-c-format msgid "rpmbuild -bi --target i486-redhat-linux" msgstr "" #. Tag: para #, no-c-format msgid "The basic format is:" msgstr "" #. Tag: para #, no-c-format msgid "cpu-vendor-os" msgstr "" #. Tag: para #, no-c-format msgid "" "For example, i686-redhat-linux specifies a 686 CPU with Red Hat Linux. Other" " CPUs include ppc for PowerPC and sparc for Sun SPARC." msgstr "" #. Tag: para #, no-c-format msgid "Cross Reference" msgstr "" #. Tag: para #, no-c-format msgid "" "The --target option sets the target architecture at build time. covers how you can use the --ignoreos and " "--ignorearch options when installing RPMs to ignore the operating system and" " architecture that is flagged within the RPM. Of course, this works only if " "you are installing on a compatible architecture." msgstr "" #. Tag: para #, no-c-format msgid "" "On the surface level, the --target option overrides some of the macros in " "the spec file, %_target, %_target_arch, and %_target_os. This flags the RPM " "for the new target platform." msgstr "" #. Tag: para #, no-c-format msgid "" "Under the covers, setting the architecture macros is not enough. You really " "cannot create a PowerPC executable, for example, on an Intel-architecture " "machine, unless you have a PowerPC cross compiler, a compiler that can make " "PowerPC executables." msgstr "" #. Tag: para #, no-c-format msgid "" "Set the target with care. Make sure you can really build executable programs" " for that architecture." msgstr "" #. Tag: para #, no-c-format msgid "" "If you try to compile a system that uses the GNU configure system to " "configure the build, your target will likely be ignored. For example, if you" " try to build the aforementioned jikes package with a target of ppc-ibm-aix," " to specify IBM’s UNIX, called AIX, on a PowerPC architecture, you will see " "the target ignored as the configure system detects that it's running on " "Linux on an i686 architecture." msgstr "" #. Tag: para #, no-c-format msgid "$ rpmbuild -bc --target ppc-ibm-aix /usr/src/redhat/SPECS/jikes.spec" msgstr "" #. Tag: para #, no-c-format msgid "Building target platforms: ppc-ibm-aix" msgstr "" #. Tag: para #, no-c-format msgid "Building for target ppc-ibm-aix" msgstr "" #. Tag: para #, no-c-format msgid "Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.94955" msgstr "" #. Tag: para #, no-c-format msgid "+ LANG=C" msgstr "" #. Tag: para #, no-c-format msgid "+ export LANG" msgstr "" #. Tag: para #, no-c-format msgid "+ /usr/bin/gzip -dc /usr/src/redhat/SOURCES/jikes-1.17.tar.gz" msgstr "" #. Tag: para #, no-c-format msgid "+ tar -xf -" msgstr "" #. Tag: para #, no-c-format msgid "+ STATUS=0" msgstr "" #. Tag: para #, no-c-format msgid "+ '[' 0 -ne 0 ']'" msgstr "" #. Tag: para #, no-c-format msgid "+ cd jikes-1.17" msgstr "" #. Tag: para #, no-c-format msgid "++ /usr/bin/id -u" msgstr "" #. Tag: para #, no-c-format msgid "+ '[' 500 = 0 ']'" msgstr "" #. Tag: para #, no-c-format msgid "+ /bin/chmod -Rf a+rX,g-w,o-w ." msgstr "" #. Tag: para #, no-c-format msgid "Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.15710" msgstr "" #. Tag: para #, no-c-format msgid "+ ./configure CXXFLAGS=-O3 --prefix=/tmp/jikesrpm/usr" msgstr "" #. Tag: para #, no-c-format msgid "checking for a BSD-compatible install... /usr/bin/install -c" msgstr "" #. Tag: para #, no-c-format msgid "checking whether build environment is sane... yes" msgstr "" #. Tag: para #, no-c-format msgid "checking for gawk... gawk" msgstr "" #. Tag: para #, no-c-format msgid "checking whether make sets ${MAKE}... yes" msgstr "" #. Tag: para #, no-c-format msgid "" "checking whether to enable maintainer-specific portions of Makefiles... no" msgstr "" #. Tag: para #, no-c-format msgid "checking build system type... i686-pc-linux-gnu" msgstr "" #. Tag: para #, no-c-format msgid "checking host system type... i686-pc-linux-gnu" msgstr "" #. Tag: para #, no-c-format msgid "checking for g++... g++" msgstr "" #. Tag: para #, no-c-format msgid "" "As you can see, the command starts out with the target as the platform, but " "the configure script soon overrides that, as shown at the end of the " "truncated output." msgstr "" #. Tag: title #, no-c-format msgid "Building RPMs Without an External Spec File" msgstr "" #. Tag: para #, no-c-format msgid "" "Most of the options for the rpmbuild command require an RPM spec file. This " "file defines all the necessary parameters for the RPM to build. If you’ve " "downloaded an application, though, you may not have all the information " "needed to build a spec file. In addition, writing the spec file is the most " "time-consuming task when building RPMs. If you are lucky, the provider of a " "given application may have already created a spec file and included the spec" " file within the source distribution." msgstr "" #. Tag: title #, no-c-format msgid "Options for working with tar archives" msgstr "" #. Tag: para #, no-c-format msgid "" "A special set of options aims toward building RPMs with spec files stored in" " tar archives, also called tarballs. Tarballs are files combined with the " "tar (tape archiver) utility and then optionally compressed, usually with the" " gzip command. Because this format is used so often for UNIX and Linux " "software, you can use a set of -t options to the rpmbuild command that mimic" " the -b options." msgstr "" #. Tag: para #, no-c-format msgid "The basic syntax follows:" msgstr "" #. Tag: para #, no-c-format msgid "rpmbuild -tBuildStage compressed_tar_archive" msgstr "" #. Tag: para #, no-c-format msgid "" "The -t option is a lot like the -b option covered in , except -t tells rpmbuild to build an RPM from a " "compressed tar archive instead of from an RPM spec file. You still need a " "spec file. These commands just assume that the spec file is located within " "the tar archive. The extra BuildStage option is a special code that tells " "the rpmbuild command how far to go when building. Table 12-2 lists these " "options:" msgstr "" #. Tag: para #, no-c-format msgid "Table 12-2 Options for building with rpmbuild with tar archives" msgstr "" #. Tag: para #, no-c-format msgid "-ta" msgstr "" #. Tag: para #, no-c-format msgid "Build all, both a binary and source RPM" msgstr "" #. Tag: para #, no-c-format msgid "-tb" msgstr "" #. Tag: para #, no-c-format msgid "Build a binary RPM" msgstr "" #. Tag: para #, no-c-format msgid "-tc" msgstr "" #. Tag: para #, no-c-format msgid "Stop after the %build section" msgstr "" #. Tag: para #, no-c-format msgid "-tp" msgstr "" #. Tag: para #, no-c-format msgid "Stop after the %prep section" msgstr "" #. Tag: para #, no-c-format msgid "-ti" msgstr "" #. Tag: para #, no-c-format msgid "Stop after the %install section" msgstr "" #. Tag: para #, no-c-format msgid "-tl" msgstr "" #. Tag: para #, no-c-format msgid "Check the listing of files for the RPM" msgstr "" #. Tag: para #, no-c-format msgid "-ts" msgstr "" #. Tag: para #, no-c-format msgid "Build a source RPM only" msgstr "" #. Tag: para #, no-c-format msgid "" "These command-line options work with a tar archive or a compressed tar " "archive." msgstr "" #. Tag: title #, no-c-format msgid "The expected archive structure" msgstr "" #. Tag: para #, no-c-format msgid "" "To build a package this way, the tar archive must have enough of an expected" " structure, such as a configure script and a Makefile with the expected make" " targets. The most crucial element is that the tar archive must have the " "package spec file.That’s because the rpmbuild command doesn’t know how to " "build every program in the universe. Instead, rpmbuild expects to find a " "spec file to tell it what to do. If you see an error like the following, " "then your tar archive likely is missing the spec file:" msgstr "" #. Tag: para #, no-c-format msgid "$ rpmbuild -tc vixie-cron*tar.gz" msgstr "" #. Tag: para #, no-c-format msgid "error: Name field must be present in package: (main package)" msgstr "" #. Tag: para #, no-c-format msgid "error: Version field must be present in package: (main package)" msgstr "" #. Tag: para #, no-c-format msgid "error: Release field must be present in package: (main package)" msgstr "" #. Tag: para #, no-c-format msgid "error: Summary field must be present in package: (main package)" msgstr "" #. Tag: para #, no-c-format msgid "error: Group field must be present in package: (main package)" msgstr "" #. Tag: para #, no-c-format msgid "error: License field must be present in package: (main package)" msgstr "" #. Tag: para #, no-c-format msgid "These errors show expected tags from the missing spec file." msgstr "" #. Tag: title #, no-c-format msgid "Working with Source RPMs" msgstr "" #. Tag: para #, no-c-format msgid "" "Most of your work with the rpmbuild command will likely be to create binary " "RPMs after you have the sources for an application and a spec file. You can " "also get a lot of mileage out of source RPMs, whether you build them or " "download them." msgstr "" #. Tag: para #, no-c-format msgid " covers the spec file in depth." msgstr "" #. Tag: para #, no-c-format msgid "" "Because they are RPMs themselves, source RPMs act like other RPMs. For " "example, you can use the rpm -i command to install a source RPM. This " "installs the sources provided by the source RPM, not the actual application." " Normally, when you install a source RPM on a Red Hat Linux system, the " "package gets installed into /usr/src/redhat." msgstr "" #. Tag: para #, no-c-format msgid "" "This directory is obviously specific to Red Hat Linux. On other Linux " "distributions, you'll likely see directories such as /usr/src/OpenLinux for " "SCO (formerly Caldera) OpenLinux." msgstr "" #. Tag: para #, no-c-format msgid "" "Installing a source RPM is not exactly the same as installing a binary RPM. " "For example, the rpm command does not update the RPM database when you " "install a source RPM. In addition, listing the files in a source RPM only " "shows the relative paths, not the full paths." msgstr "" #. Tag: para #, no-c-format msgid "" "Once installation is complete, you can use the rpmbuild command to create a " "binary RPM from the sources in the source RPM, using the -b command-line " "options introduced in . The next " "sections show more shortcuts with source RPMs." msgstr "" #. Tag: title #, no-c-format msgid "Rebuilding binary RPMS from source RPMs" msgstr "" #. Tag: para #, no-c-format msgid "" "As a shortcut, you do not have to install a source RPM to create a binary " "RPM. Instead, you can build the binary RPM directory using the --rebuild " "option." msgstr "" #. Tag: para #, no-c-format msgid "" "The --rebuild option tells the rpmbuild command to rebuild a binary RPM from" " a source RPM file. The basic syntax is:" msgstr "" #. Tag: para #, no-c-format msgid "rpmbuild --rebuild package.src.rpm" msgstr "" #. Tag: para #, no-c-format msgid "" "This command builds a binary RPM out of a source RPM with a minimum of fuss." " For example:" msgstr "" #. Tag: para #, no-c-format msgid "$ rpmbuild --rebuild unix2dos-2.2-17.src.rpm" msgstr "" #. Tag: para #, no-c-format msgid "Installing unix2dos-2.2-17.src.rpm" msgstr "" #. Tag: para #, no-c-format msgid "Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.15828" msgstr "" #. Tag: para #, no-c-format msgid "+ rm -rf unix2dos-2.2" msgstr "" #. Tag: para #, no-c-format msgid "+ /bin/mkdir -p unix2dos-2.2" msgstr "" #. Tag: para #, no-c-format msgid "+ cd unix2dos-2.2" msgstr "" #. Tag: para #, no-c-format msgid "+ /usr/bin/gzip -dc /usr/src/redhat/S OURCES/unix2dos-2.2.src.tar.gz" msgstr "" #. Tag: para #, no-c-format msgid "+ echo 'Patch #0 (unix2dos-mkstemp.patch):'" msgstr "" #. Tag: para #, no-c-format msgid "Patch #0 (unix2dos-mkstemp.patch):" msgstr "" #. Tag: para #, no-c-format msgid "+ patch -p1 -b --suffix .sec -s" msgstr "" #. Tag: para #, no-c-format msgid "+ echo 'Patch #1 (unix2dos-2.2-segfault.patch):'" msgstr "" #. Tag: para #, no-c-format msgid "Patch #1 (unix2dos-2.2-segfault.patch):" msgstr "" #. Tag: para #, no-c-format msgid "+ patch -p1 -b --suffix .segf -s" msgstr "" #. Tag: para #, no-c-format msgid "+ echo 'Patch #2 (unix2dos-2.2-manpage.patch):'" msgstr "" #. Tag: para #, no-c-format msgid "Patch #2 (unix2dos-2.2-manpage.patch):" msgstr "" #. Tag: para #, no-c-format msgid "+ patch -p1 -b --suffix .man -s" msgstr "" #. Tag: para #, no-c-format msgid "" "+ perl -pi -e 's,^#endif.*,#endif,g;s,^#else.*,#else,g' unix2dos.c " "unix2dos.h" msgstr "" #. Tag: para #, no-c-format msgid "Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.60650" msgstr "" #. Tag: para #, no-c-format msgid "+ gcc -O2 -march=i386 -mcpu=i686 -ounix2dos unix2dos.c" msgstr "" #. Tag: para #, no-c-format msgid "Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.35128" msgstr "" #. Tag: para #, no-c-format msgid "+ rm -rf /var/tmp/unix2dos-root" msgstr "" #. Tag: para #, no-c-format msgid "+ mkdir -p /var/tmp/unix2dos-root/usr/bin /var/tmp/unix2dos-" msgstr "" #. Tag: para #, no-c-format msgid "root/usr/share/man/man1" msgstr "" #. Tag: para #, no-c-format msgid "+ install -m755 unix2dos /var/tmp/unix2dos-root/usr/bin" msgstr "" #. Tag: para #, no-c-format msgid "+ install -m444 unix2dos.1 /var/tmp/unix2dos-root/usr/share/man/man1" msgstr "" #. Tag: para #, no-c-format msgid "+ /usr/lib/rpm/redhat/brp-compress" msgstr "" #. Tag: para #, no-c-format msgid "+ /usr/lib/rpm/redhat/brp-strip" msgstr "" #. Tag: para #, no-c-format msgid "+ /usr/lib/rpm/redhat/brp-strip-comment-note" msgstr "" #. Tag: para #, no-c-format msgid "Processing files: unix2dos-2.2-17" msgstr "" #. Tag: para #, no-c-format msgid "Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.12033" msgstr "" #. Tag: para #, no-c-format msgid "+ DOCDIR=/var/tmp/unix2dos-root/usr/share/doc/unix2dos-2.2" msgstr "" #. Tag: para #, no-c-format msgid "+ export DOCDIR" msgstr "" #. Tag: para #, no-c-format msgid "+ rm -rf /var/tmp/unix2dos-root/usr/share/doc/unix2dos-2.2" msgstr "" #. Tag: para #, no-c-format msgid "+ /bin/mkdir -p /var/tmp/unix2dos-root/usr/share/doc/unix2dos-2.2" msgstr "" #. Tag: para #, no-c-format msgid "+ cp -pr COPYRIGHT /var/tmp/unix2dos-root/usr/share/doc/unix2dos-2.2" msgstr "" #. Tag: para #, no-c-format msgid "Finding Provides: /usr/lib/rpm/find-provides" msgstr "" #. Tag: para #, no-c-format msgid "Finding Requires: /usr/lib/rpm/find-requires" msgstr "" #. Tag: para #, no-c-format msgid "" "PreReq: rpmlib(PayloadFilesHavePrefix) <= 4.0-1 " "rpmlib(CompressedFileNames)" msgstr "" #. Tag: para #, no-c-format msgid "<= 3.0.4-1" msgstr "" #. Tag: para #, no-c-format msgid "Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1" msgstr "" #. Tag: para #, no-c-format msgid "rpmlib(CompressedFileNames) <= 3.0.4-1" msgstr "" #. Tag: para #, no-c-format msgid "Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1)" msgstr "" #. Tag: para #, no-c-format msgid "" "Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/unix2dos-" "root" msgstr "" #. Tag: para #, no-c-format msgid "Wrote: /usr/src/redhat/RPMS/i386/unix2dos-2.2-17.i386.rpm" msgstr "" #. Tag: para #, no-c-format msgid "Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.47653" msgstr "" #. Tag: para #, no-c-format msgid "Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.47653" msgstr "" #. Tag: para #, no-c-format msgid "" "With the --rebuild option, the rpmbuild command installs the source RPM for " "you and then performs the preparation, compile, and installation stages of " "building a binary RPM. Unless there are errors, you should have a new binary" " RPM file." msgstr "" #. Tag: para #, no-c-format msgid "" "When complete, the rpmbuild --rebuild command cleans out the built files in " "the build directory, as if the --clean option were used. The rpmbuild " "--rebuild command also removes the installed sources and spec file upon " "completion." msgstr "" #. Tag: title #, no-c-format msgid "Recompiling binaries from source RPMs" msgstr "" #. Tag: para #, no-c-format msgid "" "If you just want to recompile the files in a source RPM, you can use the " "--recompile option. The --recompile option tells the rpmbuild command to " "recompile the binary application from a source RPM." msgstr "" #. Tag: para #, no-c-format msgid "rpmbuild --recompile package.src.rpm" msgstr "" #. Tag: para #, no-c-format msgid "" "This is the same as installing the source RPM and then running rpmbuild -bc " "--clean with the package spec file." msgstr "" #. Tag: para #, no-c-format msgid "" "There is no difference between --recompile and --rebuild in RPM 4.1. RPM 4.2" " fixes this problem." msgstr "" #. Tag: title #, no-c-format msgid "SRPMS? Finding source RPMs" msgstr "" #. Tag: para #, no-c-format msgid "" "Often, source RPMs are abbreviated as SRPMs. In fact, if you see a directory" " named SRPM or SRPMS, chances are the directory holds source RPMs. (Red Hat " "uses this convention for its Linux distributions.)" msgstr "" #. Tag: para #, no-c-format msgid "" "The SRPMS directories on Red Hat CD-ROMs or on the Red Hat FTP Internet " "site, ftp.redhat.com, indicate directories that hold source RPMs." msgstr "" #. Tag: title #, no-c-format msgid "Signing Built RPMs" msgstr "" #. Tag: para #, no-c-format msgid "" "Signing RPMs adds an extra level of trustworthiness to your RPMs. A digital " "signature helps establish that the package comes from you, really you, and " "not from someone masquerading as you. Unfortunately, the RPM system requires" " a bit of set up work before you can sign RPMs." msgstr "" #. Tag: title #, no-c-format msgid "Checking that the GPG software is installed" msgstr "" #. Tag: para #, no-c-format msgid "" "To sign packages, you need to ensure that you have the gpg command installed" " and configured. To check that this command is installed, use a command like" " the following:" msgstr "" #. Tag: para #, no-c-format msgid "$ rpm -qf `which gpg`" msgstr "" #. Tag: para #, no-c-format msgid "gnupg-1.0.7-6" msgstr "" #. Tag: para #, no-c-format msgid "This shows that the command is available." msgstr "" #. Tag: para #, no-c-format msgid "GPG and PGP? Acronyms Explained" msgstr "" #. Tag: para #, no-c-format msgid "" "The RPM documentation uses GPG and PGP pretty much interchangeably, so much " "so, in fact, that you may think these are typographical errors. Not so." msgstr "" #. Tag: para #, no-c-format msgid "" "PGP stands for Pretty Good Privacy. Invented by Phil Zimmerman, PGP was " "originally invented to encrypt e-mail to allow for private communication. " "Based on a public-key cryptography algorithm, PGP also supports encrypted " "digital signatures. These signatures allow you to verify that a package you " "have downloaded really comes from the vendor you think it does. You do this " "by using the vendor’s public key." msgstr "" #. Tag: para #, no-c-format msgid "" "GPG stands for GNU Privacy Guard, a free, open-source implementation of PGP " "from the GNU project. GPG aims to be compatible with the OpenPGP Internet " "standard as defined in RFC 2440. It started when a number of developers " "wanted a free implementation. One such free implementation, GPG, allows " "Linux vendors such as Red Hat to include PGP in their products. So, in a " "sense, GPG provides PGP." msgstr "" #. Tag: para #, no-c-format msgid "" "PGP has a long and somewhat troubled history as an open-source product and " "as a commercial product. See www.philzimmermann.com for background on PGP " "and its long history. See www.gnupg.org for more details on GPG." msgstr "" #. Tag: title #, no-c-format msgid "Configuring a signature" msgstr "" #. Tag: para #, no-c-format msgid "" "To configure a signature, you first need to create a new key with the gpg " "command, using the --gen-key option, as shown following:" msgstr "" #. Tag: para #, no-c-format msgid "$ gpg --gen-key" msgstr "" #. Tag: para #, no-c-format msgid "gpg (GnuPG) 1.0.7; Copyright (C) 2002 Free Software Foundation, Inc." msgstr "" #. Tag: para #, no-c-format msgid "This program comes with ABSOLUTELY NO WARRANTY." msgstr "" #. Tag: para #, no-c-format msgid "This is free software, and you are welcome to redistribute it" msgstr "" #. Tag: para #, no-c-format msgid "under certain conditions. See the file COPYING for details." msgstr "" #. Tag: para #, no-c-format msgid "gpg: Warning: using insecure memory!" msgstr "" #. Tag: para #, no-c-format msgid "gpg: please see http://www.gnupg.org/faq.html for more information" msgstr "" #. Tag: para #, no-c-format msgid "gpg: keyring `/home2/ericfj/.gnupg/secring.gpg' created" msgstr "" #. Tag: para #, no-c-format msgid "gpg: keyring `/home2/ericfj/.gnupg/pubring.gpg' created" msgstr "" #. Tag: para #, no-c-format msgid "Please select what kind of key you want:" msgstr "" #. Tag: para #, no-c-format msgid "(1) DSA and ElGamal (default)" msgstr "" #. Tag: para #, no-c-format msgid "(2) DSA (sign only)" msgstr "" #. Tag: para #, no-c-format msgid "(4) ElGamal (sign and encrypt)" msgstr "" #. Tag: para #, no-c-format msgid "(5) RSA (sign only)" msgstr "" #. Tag: para #, no-c-format msgid "Your selection? 1" msgstr "" #. Tag: para #, no-c-format msgid "DSA keypair will have 1024 bits." msgstr "" #. Tag: para #, no-c-format msgid "About to generate a new ELG-E keypair." msgstr "" #. Tag: para #, no-c-format msgid "minimum keysize is 768 bits" msgstr "" #. Tag: para #, no-c-format msgid "default keysize is 1024 bits" msgstr "" #. Tag: para #, no-c-format msgid "highest suggested keysize is 2048 bits" msgstr "" #. Tag: para #, no-c-format msgid "What keysize do you want? (1024)" msgstr "" #. Tag: para #, no-c-format msgid "Requested keysize is 1024 bits" msgstr "" #. Tag: para #, no-c-format msgid "Please specify how long the key should be valid." msgstr "" #. Tag: para #, no-c-format msgid "0 = key does not expire" msgstr "" #. Tag: para #, no-c-format msgid "<n> = key expires in n days" msgstr "" #. Tag: para #, no-c-format msgid "<n>w = key expires in n weeks" msgstr "" #. Tag: para #, no-c-format msgid "<n>m = key expires in n months" msgstr "" #. Tag: para #, no-c-format msgid "<n>y = key expires in n years" msgstr "" #. Tag: para #, no-c-format msgid "Key is valid for? (0)" msgstr "" #. Tag: para #, no-c-format msgid "" "You need a User-ID to identify your key; the software constructs the user id" msgstr "" #. Tag: para #, no-c-format msgid "from Real Name, Comment and Email Address in this form:" msgstr "" #. Tag: para #, no-c-format msgid "\"Heinrich Heine (Der Dichter) <heinrichh@duesseldorf.de>\"" msgstr "" #. Tag: para #, no-c-format msgid "Real name: Eric Foster-Johnson" msgstr "" #. Tag: para #, no-c-format msgid "Email address: please_no_spam@nospam.com" msgstr "" #. Tag: para #, no-c-format msgid "Comment: Example for Red Hat RPM Guide" msgstr "" #. Tag: para #, no-c-format msgid "You selected this USER-ID:" msgstr "" #. Tag: para #, no-c-format msgid "" "\"Eric Foster-Johnson (Example for Red Hat RPM Guide) " "<erc@no_spam.com>\"" msgstr "" #. Tag: para #, no-c-format msgid "Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit?" msgstr "" #. Tag: para #, no-c-format msgid "O" msgstr "" #. Tag: para #, no-c-format msgid "You need a Passphrase to protect your secret key." msgstr "" #. Tag: para #, no-c-format msgid "Enter passphrase:" msgstr "" #. Tag: para #, no-c-format msgid "" "We need to generate a lot of random bytes. It is a good idea to perform" msgstr "" #. Tag: para #, no-c-format msgid "some other action (type on the keyboard, move the mouse, utilize the" msgstr "" #. Tag: para #, no-c-format msgid "disks) during the prime generation; this gives the random number" msgstr "" #. Tag: para #, no-c-format msgid "generator a better chance to gain enough entropy." msgstr "" #. Tag: para #, no-c-format msgid "" "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" msgstr "" #. Tag: para #, no-c-format msgid "" "+++++++++++++++++++++++++++++++++++..+++++..++++++++++>++++++++++........+++++" msgstr "" #. Tag: para #, no-c-format msgid "gpg: /home2/ericfj/.gnupg/trustdb.gpg: trustdb created" msgstr "" #. Tag: para #, no-c-format msgid "public and secret key created and signed." msgstr "" #. Tag: para #, no-c-format msgid "key marked as ultimately trusted." msgstr "" #. Tag: para #, no-c-format msgid "" "pub 1024D/01681C24 2002-11-05 Eric Foster-Johnson (Example for Red Hat RPM" msgstr "" #. Tag: para #, no-c-format msgid "Guide) <please_no_spam@nospam.com>" msgstr "" #. Tag: para #, no-c-format msgid "Key fingerprint = 8C14 A2E9 47D1 301B 2153 7CDF BEE5 9C10 0268 1D24" msgstr "" #. Tag: para #, no-c-format msgid "sub 1024g/1A15D6C8 2002-11-05" msgstr "" #. Tag: para #, no-c-format msgid "" "You can choose the default options for most choices. You need to enter a " "real name, an e-mail address, and a pass phrase. Remember the pass phrase. " "You will need to enter the pass phrase every time you wish to sign a " "package." msgstr "" #. Tag: para #, no-c-format msgid "" "Once you have a key, the next step is to set up some RPM macros. There are a" " number of places you can do this, but using the .rpmmacros file in your " "home directory is one of the easiest. Edit this file as shown in the " "following example:" msgstr "" #. Tag: para #, no-c-format msgid "%_signature gpg" msgstr "" #. Tag: para #, no-c-format msgid "%_gpg_path /home2/ericfj/.gnupg" msgstr "" #. Tag: para #, no-c-format msgid "%_gpg_name EricFJ (Eric Key) <erc@no_spam.com>" msgstr "" #. Tag: para #, no-c-format msgid "%_gpgbin /usr/bin/gpg" msgstr "" #. Tag: para #, no-c-format msgid "" "Add lines like these to the $HOME/.rpmmacros file. (Create this file if it " "does not exist.)" msgstr "" #. Tag: para #, no-c-format msgid "" " covers RPM macros and the " "$HOME/.rpmmacros file." msgstr "" #. Tag: para #, no-c-format msgid "" "Inside the file, change the %gpg_path macro to the .gnupg directory under " "your home directory (or the root user’s home directory). Change the " "%_gpg_name macro to the name you have entered into the gpg program." msgstr "" #. Tag: title #, no-c-format msgid "Signing with the rpmbuild command" msgstr "" #. Tag: para #, no-c-format msgid "" "The --sign option tells the rpmbuild command to sign the created package. " "You need to have configured the RPM system for your signature as shown in " "the previous sections." msgstr "" #. Tag: para #, no-c-format msgid "" "When you then build an RPM, you will be prompted for your pass phrase prior " "to the package build. For example, the following shows this prompt (and " "truncates the rest of the rpmbuild messages that follow):" msgstr "" #. Tag: para #, no-c-format msgid "$ rpmbuild -bb --sign xtoolwait-1.2.spec" msgstr "" #. Tag: para #, no-c-format msgid "Enter pass phrase:" msgstr "" #. Tag: para #, no-c-format msgid "Pass phrase is good." msgstr "" #. Tag: title #, no-c-format msgid "Signing with the rpm command" msgstr "" #. Tag: para #, no-c-format msgid "" "In addition to the --sign option for the rpmbuild command, you can sign " "packages that have already been created using the rpm command. The --addsign" " and --resign options generate new signatures and insert them into the " "passed-in package file. The basic syntax is:" msgstr "" #. Tag: para #, no-c-format msgid "rpm --addsign package.rpm" msgstr "" #. Tag: para #, no-c-format msgid "rpm --resign package.rpm" msgstr "" #. Tag: para #, no-c-format msgid "" "The --addsign option adds another signature to the RPM. RPM versions prior " "to 4.1 allowed you to sign a package with multiple keys, which causes " "problems for automatic verification. Because of that, use the --resign " "option, which removes the old signature and inserts a new signature into the" " package." msgstr "" #. Tag: title #, no-c-format msgid "Verifying signatures" msgstr "" #. Tag: para #, no-c-format msgid "" "You can verify the RPM signature to ensure that the package has not been " "modified since it has been signed. Verification also checks that the package" " is signed by the key that matches the claimed vendor." msgstr "" #. Tag: para #, no-c-format msgid "" "To verify the signature in an RPM, use the -K option to the rpm command. The" " basic syntax is:" msgstr "" #. Tag: para #, no-c-format msgid "rpm -K package.rpm" msgstr "" #. Tag: para #, no-c-format msgid "This is the rpm command, not the rpmbuild command." msgstr "" #. Tag: para #, no-c-format msgid "" "This command accepts the options shown in Table 12-3 to turn off checking " "for certain types of signatures." msgstr "" #. Tag: para #, no-c-format msgid "Table 12-3 Options to turn off signature checking" msgstr "" #. Tag: para #, no-c-format msgid "--nogpg" msgstr "" #. Tag: para #, no-c-format msgid "Don’t check for GPG signatures" msgstr "" #. Tag: para #, no-c-format msgid "--nomd5" msgstr "" #. Tag: para #, no-c-format msgid "Don’t check for MD5 signatures" msgstr "" #. Tag: para #, no-c-format msgid "--nopgp" msgstr "" #. Tag: para #, no-c-format msgid "Don’t check for PGP signatures" msgstr "" #. Tag: para #, no-c-format msgid "" "You can also use the --checksig option, which is the same as -K. When you " "run this command on a package that has a verifiable key, you will see output" " like the following:" msgstr "" #. Tag: para #, no-c-format msgid "# rpm -K xtoolwait-1.3-3.src.rpm" msgstr "" #. Tag: para #, no-c-format msgid "xtoolwait-1.3-3.src.rpm: (sha1) dsa sha1 md5 gpg OK" msgstr "" #. Tag: para #, no-c-format msgid "" "This verifies that the package has not been changed from when it was first " "signed. It also verifies that the signature matches the public key from the " "vendor of the package. This goes a long ways toward verifying that the " "package is indeed legitimate." msgstr "" #. Tag: para #, no-c-format msgid "To get more information, add a -v (verbose) option. For example:" msgstr "" #. Tag: para #, no-c-format msgid "$ rpm -Kv vixie-cron-3.0.1-69.src.rpm" msgstr "" #. Tag: para #, no-c-format msgid "vixie-cron-3.0.1-69.src.rpm:" msgstr "" #. Tag: para #, no-c-format msgid "Header V3 DSA signature: OK, key ID db42a60e" msgstr "" #. Tag: para #, no-c-format msgid "Header SHA1 digest: OK (ecbb244ab022ecd23114bb1d6c9bdeb74f8d9520)" msgstr "" #. Tag: para #, no-c-format msgid "MD5 digest: OK (fb0a75eca1d526d391c36dc956c23bdd)" msgstr "" #. Tag: para #, no-c-format msgid "V3 DSA signature: OK, key ID db42a60e" msgstr "" #. Tag: para #, no-c-format msgid "" "If you run this command on a package that does not verify, you’ll see an " "error like the following:" msgstr "" #. Tag: para #, no-c-format msgid "# rpm --checksig xtoolwait-1.3-3.src.rpm" msgstr "" #. Tag: para #, no-c-format msgid "" "xtoolwait-1.3-3.src.rpm: (SHA1) DSA sha1 md5 (GPG) NOT OK (MISSING KEYS: " "GPG#db42a60e)" msgstr "" #. Tag: para #, no-c-format msgid "" "Items that fail are listed in uppercase, such as DSA, while items that " "succeed appear in lowercase. In this example, the sha1 and md5 tests " "succeeded, while the DSA test failed. This failure does not necessarily mean" " that the package is not legitimate. This failure can mean one of three " "things:" msgstr "" #. Tag: para #, no-c-format msgid "" "1.The package was not properly signed in the first place. That is, it is a " "legitimate package but the package author did not properly sign the RPM." msgstr "" #. Tag: para #, no-c-format msgid "" "2.The package has been modified in some way. That is, the package is not " "legitimate." msgstr "" #. Tag: para #, no-c-format msgid "" "3.The RPM system has not been initialized with the public key from the " "package vendor." msgstr "" #. Tag: para #, no-c-format msgid "" "From this error, you don’t yet know whether the package is legitimate or " "not. The first step, though, is to check that you have imported the proper " "public key from the package vendor." msgstr "" #. Tag: title #, no-c-format msgid "Importing public keys" msgstr "" #. Tag: para #, no-c-format msgid "" "The --import option to the rpm command imports the public key from a given " "vendor. The format for this key follows:" msgstr "" #. Tag: para #, no-c-format msgid "The following public key can be used to verify RPM packages built and" msgstr "" #. Tag: para #, no-c-format msgid "signed by Red Hat, Inc. using `rpm -K' using the GNU GPG package." msgstr "" #. Tag: para #, no-c-format msgid "Questions about this key should be sent to security@redhat.com." msgstr "" #. Tag: para #, no-c-format msgid "-----BEGIN PGP PUBLIC KEY BLOCK-----" msgstr "" #. Tag: para #, no-c-format msgid "Version: GnuPG v1.0.0 (GNU/Linux)" msgstr "" #. Tag: para #, no-c-format msgid "Comment: For info see http://www.gnupg.org" msgstr "" #. Tag: para #, no-c-format msgid "mQGiBDfqVEqRBADBKr3Bl6PO8BQ0H8sJoD6p9U7Yyl7pjtZqioviPwXP+DCWd4u8" msgstr "" #. Tag: para #, no-c-format msgid "HQzcxAZ57m8ssA1LK1Fx93coJhDzM130+p5BG9mYSPShLabR3N1KXdXAYYcowTOM" msgstr "" #. Tag: para #, no-c-format msgid "GxdwYRGr1Spw8QydLhjVfU1VSl4xt6bupPbFJbyjkg5Z3P7BlUOUJmrx3wCgobNV" msgstr "" #. Tag: para #, no-c-format msgid "EDGaWYJcch5z5B1of/41G8kEAKii6q7Gu/vhXXnLS6m15oNnPVybyngiw/23dKjS" msgstr "" #. Tag: para #, no-c-format msgid "ti/PYrrL2J11P2ed0x7zm8v3gLrY0cue1iSba+8glY+p31ZPOr5ogaJw7ZARgoS8" msgstr "" #. Tag: para #, no-c-format msgid "BwjyRymXQp+8Dete0TELKOL2/itDOPGHW07SsVWOR6cmX4VlRRcWB5KejaNvdrE5" msgstr "" #. Tag: para #, no-c-format msgid "4XFtOd04NMgWI63uqZc4zkRa+kwEZtmbz3tHSdWCCE+Y7YVP6IUf/w6YPQFQriWY" msgstr "" #. Tag: para #, no-c-format msgid "FiA6fD10eB+BlIUqIw80EqjsBKmCwvKkn4jg8kibUgj4/TzQSx77uYokw1EqQ2wk" msgstr "" #. Tag: para #, no-c-format msgid "OZoaEtcubsNMquuLCMWijYhGBBgRAgAGBQI36lRyAAoJECGRgM3bQqYOhyYAnj7h" msgstr "" #. Tag: para #, no-c-format msgid "VDY/FJAGqmtZpwVp9IlitW5tAJ4xQApr/jNFZCTksnI+4O1765F7tA==" msgstr "" #. Tag: para #, no-c-format msgid "=3AHZ" msgstr "" #. Tag: para #, no-c-format msgid "-----END PGP PUBLIC KEY BLOCK-----" msgstr "" #. Tag: para #, no-c-format msgid "For reasons of space, this is not a complete key." msgstr "" #. Tag: para #, no-c-format msgid "" "You need to pass the name of the text file that holds the key to the rpm " "--import command, as shown following:" msgstr "" #. Tag: para #, no-c-format msgid "rpm --import key_file" msgstr "" #. Tag: para #, no-c-format msgid "You must be logged in as the root user to import keys." msgstr "" #. Tag: para #, no-c-format msgid "# rpm --import RPM-GPG-KEY" msgstr "" #. Tag: para #, no-c-format msgid "" "This example shows an error message when trying to verify the key. Then, " "after importing the Red Hat public key, the verification works." msgstr "" #. Tag: para #, no-c-format msgid "" "If, after importing this key, you still have problems, you can assume there " "are problems with the package. Many administrators will refuse to install " "such packages." msgstr "" #. Tag: para #, no-c-format msgid "" "You should be careful with packages that have signatures that do not verify." msgstr "" #. Tag: para #, no-c-format msgid "To list the available keys, use a command like the following:" msgstr "" #. Tag: para #, no-c-format msgid "$ rpm -qa | grep -i gpg" msgstr "" #. Tag: para #, no-c-format msgid "gpg-pubkey-db42a60e-37ea5438" msgstr "" #. Tag: para #, no-c-format msgid "This example shows one key installed." msgstr "" #. Tag: para #, no-c-format msgid "" "You can erase this key as if it were a package, using the rpm -e command." msgstr "" #. Tag: title #, no-c-format msgid "Getting the Red Hat public key" msgstr "" #. Tag: para #, no-c-format msgid "" "Strangely enough, the Red Hat public key is not installed when you install " "Red Hat Linux 8.0. If you need the key, the Red Hat public key is available " "on the root directory of all Red Hat Linux CD-ROMs, as shown in the " "following listing:" msgstr "" #. Tag: para #, no-c-format msgid "$ ls /mnt/cdrom/" msgstr "" #. Tag: para #, no-c-format msgid "EULA GPL README RedHat/ RPM-GPG-KEY SRPMS/ TRANS.TBL" msgstr "" #. Tag: para #, no-c-format msgid "" "Simply copy the RPM-GPG-KEY file to get the public key. Then use the rpm " "--import command with this key file." msgstr "" #. Tag: para #, no-c-format msgid "" "You can also download this key file from the Red Hat FTP site, at " "ftp://ftp.redhat.com/pub/redhat/linux/8.0/en/os/i386/." msgstr "" #. Tag: title #, no-c-format msgid "Summary" msgstr "" #. Tag: para #, no-c-format msgid "" "This chapter covers options for the rpmbuild command that allow you to " "achieve a finer grain of control over how the command works. For example, " "the --short-circuit option tells the rpmbuild command to build just the " "stages you ask for. This helps when you have problems in one area of " "building an RPM and don’t want to start over each time you try to see if the" " problem is solved." msgstr "" #. Tag: para #, no-c-format msgid "" "The rpmbuild command also supports a set of -t options that work like the -b" " options, except the -t options try to build an RPM from a tar archive of " "sources (a tarball) instead of an RPM spec file. In this case, the rpmbuild " "command tries to work without a spec file." msgstr "" #. Tag: para #, no-c-format msgid "" "The --rebuild option tells the rpmbuild command to install a source RPM, " "build the binary RPM, and clean out the installed source RPM. This provides " "quite a shortcut for installing binary RPMs from source RPMs." msgstr "" #. Tag: para #, no-c-format msgid "" "RPMs should be signed to provide an extra level of authentication. This " "system isn’t perfect, but it helps you verify that a package is from the " "person it says it is from and that the package has not been modified. You " "can check the signature on RPM packages you download. You can also, with " "some configuration, sign the packages you create." msgstr ""