Saturday, November 27, 2010

Creating an .spec file

I created a skeleton .spec file using the command in ~/rpmbuild/SPECS directory.

rpmdev-newspec nled

- building a .spec file for nled was pretty easy. After filing in the version . summary and the regular, since i already had the executable file.. I filled in %install section with a copy command to copy nled to /usr/bin/nled directory.
- after editing the .spec file, checked it with rpmbuild -ba nled.spec
- It worked fine.

No comments:

Post a Comment