Now build the binary rpm and source rpm with rpmbuild with the mysqlcc.spec file in the SPECS directory (you should already be in that directory).
[root@localhost SPECS]# rpmbuild -ba mysqlcc.spec Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1192 + umask 022 + cd /usr/src/redhat/BUILD + LANG=C + export LANG + unset DISPLAY + rm -rf /var/tmp/mysqlcc-buildroot + mkdir -p /var/tmp/mysqlcc-buildroot/usr/local + mkdir -p /var/tmp/mysqlcc-buildroot/usr/share/applications + mkdir -p /var/tmp/mysqlcc-buildroot/usr/share/pixmaps + cd /usr/src/redhat/BUILD + rm -rf mysqlcc-0.9.4-linux-glibc23 + /usr/bin/gzip -dc /usr/src/redhat/SOURCES/mysqlcc-0.9.4-linux-glibc23.tar.gz + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd mysqlcc-0.9.4-linux-glibc23 ++ /usr/bin/id -u + '[' 0 = 0 ']' + /bin/chown -Rhf root . ++ /usr/bin/id -u + '[' 0 = 0 ']' + /bin/chgrp -Rhf root . + /bin/chmod -Rf a+rX,g-w,o-w . + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.78766 + umask 022 + cd /usr/src/redhat/BUILD + cd mysqlcc-0.9.4-linux-glibc23 + LANG=C + export LANG + unset DISPLAY + cd /var/tmp/mysqlcc-buildroot/usr/local + tar zxf /usr/src/redhat/SOURCES/mysqlcc-0.9.4-linux-glibc23.tar.gz + cp -a /usr/src/redhat/SOURCES/mysqlcc.xpm /var/tmp/mysqlcc-buildroot/usr/share/pixmaps + cp -a /usr/src/redhat/SOURCES/mysqlcc.desktop /var/tmp/mysqlcc-buildroot/usr/share/applications + /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: mysqlcc-0.9.4-3.fc1 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.78766 + umask 022 + cd /usr/src/redhat/BUILD + cd mysqlcc-0.9.4-linux-glibc23 + DOCDIR=/var/tmp/mysqlcc-buildroot/usr/share/doc/mysqlcc-0.9.4 + export DOCDIR + rm -rf /var/tmp/mysqlcc-buildroot/usr/share/doc/mysqlcc-0.9.4 + /bin/mkdir -p /var/tmp/mysqlcc-buildroot/usr/share/doc/mysqlcc-0.9.4 + cp -pr LICENSE.txt INSTALL.txt Changelog.txt README.txt TODO.txt /var/tmp/mysqlcc-buildroot/usr/share/doc/mysqlcc-0.9.4 + exit 0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/mysqlcc-buildroot Wrote: /usr/src/redhat/SRPMS/mysqlcc-0.9.4-3.fc1.src.rpm Wrote: /usr/src/redhat/RPMS/i386/mysqlcc-0.9.4-3.fc1.i386.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.42896 + umask 022 + cd /usr/src/redhat/BUILD + cd mysqlcc-0.9.4-linux-glibc23 + rm -rf /var/tmp/mysqlcc-buildroot + exit 0 [root@localhost SPECS]#