|
软件采有公社软件区的。
我用rpmbuild -ba krusader.spec。显示错误 :
+ exit 0 <----make是确定的吧
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.50069
+ umask 022
+ cd /usr/src/mBuild/BUILD
+ cd krusader-1.50
+ LANG=C
+ export LANG
+ unset DISPLAY
+ rm -rf RPM_BUILD_ROOT
+ %make DESTDIR=/var/tmp/krusader-1.50-1mgc-root install
/var/tmp/rpm-tmp.50069: line 28: fg: no job control 《-----这里是什么意思??
error: Bad exit status from /var/tmp/rpm-tmp.50069 (%install)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.50069 (%install)
再有就是,我在/usr/src/BUILD/krusader-1.50里面执行make DESTDIR=/var/tmp/krusader-1.50-1mgc-root install都是成功的
spec如下
Name:krusader
Summary:A file manager for KDE
Version:1.50
Release:1mgc
Group:Applications/File
License:GPL
Source:%{name}-%{version}.tar.gz
BuildRoot:%{_tmppath}/%{name}-%{version}-%{release}-root
Prefix:%{_prefix}
URL:http://app.kde.org
Requires:qt,arts,kdelibs,kdebase
Packager:tingxx<[email protected]>
%description
This is a file manager for KDE
%prep
%setup -n %{name}-%{version}
%build
./configure --prefix=%{_prefix}
make
%install
rm -rf RPM_BUILD_ROOT
%make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%post
%files
%defattr(-,root,root)
%{_bindir}
%{_libdir}
%{_datadir}
%exclude %{_libdir}/debug
%changelog |
|