Build binary rpm and source rpm with rpmbulid from rpmbuld/SPECS directory [tchung@localhost download]$ cd ~/rpmbuild/SPECS/ [tchung@localhost SPECS]$ ls HelixPlayer.spec [tchung@localhost SPECS]$ rpmbuild -ba HelixPlayer.spec Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.20210 + umask 022 + cd /home/tchung/rpmbuild/BUILD + LANG=C + export LANG + unset DISPLAY + rm -rf /var/tmp/HelixPlayer-buildroot + mkdir -p /var/tmp/HelixPlayer-buildroot/usr/local + mkdir -p /var/tmp/HelixPlayer-buildroot/usr/bin + mkdir -p /var/tmp/HelixPlayer-buildroot/usr/lib/mozilla/plugins + mkdir -p /var/tmp/HelixPlayer-buildroot/usr/share/applications + mkdir -p /var/tmp/HelixPlayer-buildroot/usr/share/pixmaps + cd /home/tchung/rpmbuild/BUILD + rm -rf HelixPlayer-0.2.0.0 + /bin/mkdir -p HelixPlayer-0.2.0.0 + cd HelixPlayer-0.2.0.0 + /usr/bin/gzip -dc /home/tchung/rpmbuild/SOURCES/hxplay-linux-2.2-libc6-gcc32-i586.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.20210 + umask 022 + cd /home/tchung/rpmbuild/BUILD + cd HelixPlayer-0.2.0.0 + LANG=C + export LANG + unset DISPLAY + cp -a HelixPlayer /var/tmp/HelixPlayer-buildroot/usr/local + ln -sf /usr/local/HelixPlayer/hxplay /var/tmp/HelixPlayer-buildroot/usr/bin + ln -sf /usr/local/HelixPlayer/mozilla/nphelix.so /var/tmp/HelixPlayer-buildroot/usr/lib/mozilla/plugins + ln -sf /usr/local/HelixPlayer/mozilla/nphelix.xpt /var/tmp/HelixPlayer-buildroot/usr/lib/mozilla/plugins + install -p -m644 /home/tchung/rpmbuild/SOURCES/helixplayer.desktop /var/tmp/HelixPlayer-buildroot/usr/share/applications + ln -sf /usr/local/HelixPlayer/share/helix_ico.xpm /var/tmp/HelixPlayer-buildroot/usr/share/pixmaps/helixplayer.xpm + /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: HelixPlayer-0.2.0.0-20040106 Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/HelixPlayer-buildroot Wrote: /home/tchung/rpmbuild/SRPMS/HelixPlayer-0.2.0.0-20040106.src.rpm Wrote: /home/tchung/rpmbuild/RPMS/i386/HelixPlayer-0.2.0.0-20040106.i386.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.18169 + umask 022 + cd /home/tchung/rpmbuild/BUILD + cd HelixPlayer-0.2.0.0 + rm -rf /var/tmp/HelixPlayer-buildroot + exit 0 [tchung@localhost SPECS]$