在/usr/src/redhat/SOURCES下新建一个hellow目录,mv以上三个文件到里面
字串9
然后tar –czvf hellow-0.1-1.tar.gz hellow
字串1
搞定后就可以进入rpm包制作的关键步骤了――写一个spec,如果你对spec没有任何了解也不要紧,简单来说,它就是一个rpm包的信息列表和生成指南。 字串3
在/usr/src/redhat/SPECS下vi 一个hellow-0.1-1.spec,以下是我的spec的内容: 字串2
Summary: the First RPM of Howard 字串3 Name: hellow 字串6 Version: 0.1 字串5 Release: 1 字串4 Vendor:Ace soft (howard_ace@hotmail.com ) 字串1 License: Share 字串1 Group: Applications/Text 字串4 Source0:hellow-0.1-1.tar.gz 字串7 #Patch0:hellow-0.1-1.patch
字串9
然后tar –czvf hellow-0.1-1.tar.gz hellow
字串1
搞定后就可以进入rpm包制作的关键步骤了――写一个spec,如果你对spec没有任何了解也不要紧,简单来说,它就是一个rpm包的信息列表和生成指南。 字串3
在/usr/src/redhat/SPECS下vi 一个hellow-0.1-1.spec,以下是我的spec的内容: 字串2
Summary: the First RPM of Howard 字串3 Name: hellow 字串6 Version: 0.1 字串5 Release: 1 字串4 Vendor:Ace soft (howard_ace@hotmail.com ) 字串1 License: Share 字串1 Group: Applications/Text 字串4 Source0:hellow-0.1-1.tar.gz 字串7 #Patch0:hellow-0.1-1.patch