请教RPM包制作的问题
我的spec文件:
Summary:Jack-ni's First RPM !
Name:squid
Version:3.0
Release:STABLE1
Vendor:fastweb.com.cn
License:Share
Group:Applications/Editors
Source:squid-3.0.STABLE1.tar.gz
%description
Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It r
educes bandwidth and improves response times by caching and reusing frequently-r
equested web pages. Squid has extensive access controls and makes a great server
accelerator. It runs on Unix and Windows and is licensed under the GNU GPL.
%prep
tar -xzvf /usr/src/redhat/SOURCES/squid-3.0.STABLE1.tar.gz
%build
cd /usr/src/redhat/BUILD/squid-3.0.STABLE1
./configure
make
%install
cd /usr/src/redhat/BUILD/squid-3.0.STABLE1
make install
#rm -rf /usr/src/redhat/BUILD/squid-3.0.STABLE1
%files
#%defattr(-,root,root)
#/usr/bin/squid
%doc /usr/src/redhat/BUILD/squid-3.0.STABLE1/README
#%changelog
我这个能够生成RPM包,但是安装后不能使用,请高手指教!谢谢!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论