第一次编写spec文件,内容如下 [code] Summary: Extsuite File and Configure Name: extsuite Version: 1 Release: eserver License: GPL Group: Applications/Mail Source: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %description Include extsuite config files, change property for some file and folder. %prep %setup -q %pre %files %config /etc/ %config /hom...
我在redhat8安装,报错Version为空 Summary: CCISS Driver Name: cciss%(echo ${LINUX_DISTRIBUTION:+-$LINUX_DISTRIBUTION-})%(echo ${KERNEL_VERSION:+$KERNEL_VERSION}) Version: %(echo $PKG_VERSION) Release: %(echo $PKG_RELEASE) Copyright: %(echo $PKG_COPYRIGHT) Group: CCISS Driver Distribution: SteelEye LifeKeeper for Linux Vendor: SteelEye Technology Inc. URL: http://www.steeleye.com Packager: SteelEye T...
我记得好像是rpm -ba...可是现在不行了... 是这样的!!我安装了一个src的源码包..我改了一下里面的编译参数...我现在又要把它打成rpm包...怎么搞?
Summary: GNU myproj Name: myproj Version: 1.0.0 Release: 1 Source: %{name}-%{version}.tar.gz License: GPL Group: Development/Tools %description The GNU indent program reformats C code to any of a variety of formatting standards, or you can define your own. %prep %setup -q -n %{name}-%{version} %build ./configure make %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install %clean rm -r...
RPM制作 2.1 基本步骤 1) 取回软件的源代码和相关的补丁 2) 测试所需的补丁,以便于顺利的构建整个程序 3) 编辑spec文件 4) 把文件放到正确的位置 5) 使用RPM构建rpm包 2.2 目录结构 /usr/src/redhat/BUILD 编译时的临时目录 /usr/src/redhat/RPMS 存放RPM包 /usr/src/redhat/SOURCES 存放源代码和补丁 /usr/src/redhat/specS 存放控制文件--spec文件 /usr/src/redhat/SRPMS 存放源代码包...
我有几台服务器,都安装redhat linux。打算在自己的工作站rpmbuild那些update包之后,应用到服务器上,但工作站和几台服务器的硬件都不太一样,是否需要在每台服务器的实际环境rpmbuild。redhat的spec文件是否设置最为合理的?
据资料介绍 每个rpm软件包都有一个描述文件(spec) 比如我有一个软件包 叫 xxx.rpm 我想得到他的 spec文件 如何做到? rpm2cpio xxx.rpm |cpio -idv 不行 其中没有 xxx.spec文件! 忘高手指点!
大家好: 我现在正在安装suse Linux Enterprise Server 9,安装过程种让我选择系统的文件格式,有ext2, ext3, FAT, JFS, Reiser, XFS, 默认的是Reiser,我想问的是这几种各自都有哪些特点,一般应该选哪个?希望高手解答 :roll: