Build binary and source rpm [tchung@localhost download]$ cd ~/rpmbuild/SPECS/ [tchung@localhost SPECS]$ ls acroread.spec [tchung@localhost SPECS]$ rpmbuild -ba acroread.spec Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.69154 + umask 022 + cd /home/tchung/rpmbuild/BUILD + LANG=C + export LANG + unset DISPLAY + rm -rf /var/tmp/acroread-buildroot + cd /home/tchung/rpmbuild/BUILD + rm -rf acroread-5.0.8 + /bin/mkdir -p acroread-5.0.8 + cd acroread-5.0.8 + /usr/bin/gzip -dc /home/tchung/rpmbuild/SOURCES/linux-508.tar.gz + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' ++ /usr/bin/id -u + '[' 500 = 0 ']' ++ /usr/bin/id -u + '[' 500 = 0 ']' + /bin/chmod -Rf a+rX,g-w,o-w . + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.94205 + umask 022 + cd /home/tchung/rpmbuild/BUILD + cd acroread-5.0.8 + LANG=C + export LANG + unset DISPLAY + install -d /var/tmp/acroread-buildroot/usr/lib/acroread + tar xpf LINUXRDR.TAR -C /var/tmp/acroread-buildroot/usr/lib/acroread + tar xpf COMMON.TAR -C /var/tmp/acroread-buildroot/usr/lib/acroread + install -d /var/tmp/acroread-buildroot/usr/lib/mozilla/plugins + ln -s /usr/lib/acroread/Browsers/intellinux/nppdf.so /var/tmp/acroread-buildroot/usr/lib/mozilla/plugins + patch /var/tmp/acroread-buildroot/usr/lib/acroread/bin/acroread.sh patching file /var/tmp/acroread-buildroot/usr/lib/acroread/bin/acroread.sh + patch /var/tmp/acroread-buildroot/usr/lib/acroread/Reader/intellinux/app-defaults/AcroRead patching file /var/tmp/acroread-buildroot/usr/lib/acroread/Reader/intellinux/app-defaults/AcroRead + install -d /var/tmp/acroread-buildroot/usr/bin + ln -s /usr/lib/acroread/bin/acroread.sh /var/tmp/acroread-buildroot/usr/bin/acroread + install -d /var/tmp/acroread-buildroot/usr/share/applications /var/tmp/acroread-buildroot/usr/share/pixmaps + install -p -m644 /home/tchung/rpmbuild/SOURCES/acroread.desktop /var/tmp/acroread-buildroot/usr/share/applications + install -p -m644 /home/tchung/rpmbuild/SOURCES/acroread.png /var/tmp/acroread-buildroot/usr/share/pixmaps + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump Processing files: acroread-5.0.8-fc1 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.46252 + umask 022 + cd /home/tchung/rpmbuild/BUILD + cd acroread-5.0.8 + DOCDIR=/var/tmp/acroread-buildroot/usr/share/doc/acroread-5.0.8 + export DOCDIR + rm -rf /var/tmp/acroread-buildroot/usr/share/doc/acroread-5.0.8 + /bin/mkdir -p /var/tmp/acroread-buildroot/usr/share/doc/acroread-5.0.8 + cp -pr README LICREAD.TXT /var/tmp/acroread-buildroot/usr/share/doc/acroread-5.0.8 + exit 0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/acroread-buildroot Wrote: /home/tchung/rpmbuild/SRPMS/acroread-5.0.8-fc1.src.rpm Wrote: /home/tchung/rpmbuild/RPMS/i386/acroread-5.0.8-fc1.i386.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.59930 + umask 022 + cd /home/tchung/rpmbuild/BUILD + cd acroread-5.0.8 + rm -rf /var/tmp/acroread-buildroot + exit 0 [tchung@localhost SPECS]$