[CentOS] how to build rpm

Fri Jul 29 04:25:15 UTC 2016
Clint Dilks <clintd at waikato.ac.nz>

On Fri, Jul 29, 2016 at 4:12 PM, qw <applemax82 at 163.com> wrote:

> Hi,
>
> For software development, projects are built through makefile. After
> building, I can run binary program. rpm is more convenient. Is there some
> tool that can build rpm?
>
> Thanks!
>
> Regards
>
> Andrew
>

Hi Andrew, if you are expecting a program or tool that can automatically
create an RPM for you then no but if you understand processes like
./configure, make and make install then in a lot of cases creating your own
rpms is reasonably easy.  As a start check out things like rpmbuild and
mock https://wiki.centos.org/HowTos/SetupRpmBuildEnvironment

It can also be useful to check out source RPMS to see how other rpms have
been created.   https://wiki.centos.org/HowTos/SetupRpmBuildEnvironment





















> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos
>