论坛: UNIX系统 标题: 求助:.spec文件的书写,先谢了。(老大,能帮忙看下吗?) 复制本贴地址    
作者: lwai [lwai]       登录
linux下,进行rpm的制作。写.spec文件出错了。

# This spec file was generated using Kpp
# If you find any problems with this spec file please report
# the error to ian geiser <geiseri@msoe.edu>
Summary:   test
Name:      test-0.7
Version:   0.7
Release:  0.1
Copyright: Share
Vendor:    zee
Packager:  zee
Group:     Application
Source:    das202.tar.gz
BuildRoot: make

%description


%prep
%setup
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure \
                %%config%% \
                $LOCALFLAGS
%build
# Setup for parallel builds
numprocs=`egrep -c ^cpu[0-9]+ /proc/stat || :`
if [ "$numprocs" = "0" ]; then
  numprocs=1
fi

make -j$numprocs






[此贴被 曾经(lwai) 在 04月16日12时29分 编辑过]

地主 发表时间: 04/04 15:25

回复: lwai [lwai]      登录
老大,能帮忙看下吗?谢谢了。

B1层 发表时间: 04/16 12:37

论坛: UNIX系统

20CN网络安全小组版权所有
Copyright © 2000-2010 20CN Security Group. All Rights Reserved.
论坛程序编写:NetDemon

粤ICP备05087286号