Archive for the ‘RPM package’ Category

Create RPM package for fonts

September 3, 2009

Create the rpm package using the following command:

$mkdir src/rpm

$cd src/rpm

$mkdir BUILD RPMS SOURCES SPECS SRPMS

$cd src

Move the myfonts directory here(in that two ttf fonts are located)and also created the spec file in the name myfonts.spec

I just copy the spec file already in the site

here

$ tar -czvf myfonts.tar.gz myfonts

$ rpmbuild -ta myfonts1.tar.gz

Then the rpm package is created successfully.

Location of the rpm package:

src/rpm/RPMS/noarch/myfonts-1.0-1.noarch.rpm