请教这个spec有什么问题??
Name:kdocker
Summary:KDocker will help you dock any application in the system tray
Version:1.0rc2
Release:1mgc
Group:Applications/System
License:GPL
Source:%{name}-%{version}.tar.bz2
BuildRoot:%{_tmppath}/%{name}-%{version}-%{release}-root
URL:http:://kdocker.sourceforge.net
Prefix:%{_sysconfdir}
Requires: qt
Packager:tingxx<tingxx@21cn.com>
%description
Docker will help you dock any application in the system tray. This means you
can dock openoffice, xmms, firefox, thunderbolt, eclipse, anything! Just point
and click. Works for both KDE and GNOME (In fact it should work for most modern
window managers that support NET WM Specification. I believe it works for XFCE,
for instance).
%prep
%setup -n %{name}
qmake
%build
make
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=%{_prefix} install
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf "$RPM_BUILD_ROOT"
%post
%files
%defattr(-,root,root)
%{_bindir}
%{_datadir}
%changelog
打包的是一个基于qmake的程序,最后的结果总是
Processing files: kdocker-1.0rc2-1mgc
error: File not found: /var/tmp/kdocker-1.0rc2-1mgc-root/usr/bin
error: File not found: /var/tmp/kdocker-1.0rc2-1mgc-root/usr/share
Processing files: kdocker-debuginfo-1.0rc2-1mgc
RPM build errors:
File not found: /var/tmp/kdocker-1.0rc2-1mgc-root/usr/bin
File not found: /var/tmp/kdocker-1.0rc2-1mgc-root/usr/share