I tried creating a k9copy rpm with cpack but
though the executable was created the rpm is just
empty (contains a /usr dir size of 0)

1) extracted the tar
2) ran "cmake ."
-- if I don't I get "CPack Error: CPack project
name not specified"
3) ran " cpack -D
CPACK_RPM_PACKAGE_NAME="kde4-9copy" -D
CPACK_RPM_PACKAGE_VERSION="2.3.3" -G RPM"
====================
konsole messages"
CPack: Create package using RPM
CPack: Install projects
CPack: - Run preinstall target for: k9copy
CPack: - Install project: k9copy
CPack: Compress package
CPack: Finalize package
CPack: Package /home/MyTemp/k9copy-2.3.3-
Source/k9copy-2.3.3-Linux.rpm generated.
=====================
spec file created:

# -*- rpm-spec -*-
Buildroot: /home/smiley/MyTemp/k9copy-2.3.3-
Source/_CPack_Packages/Linux/RPM/k9copy-2.3.3-
Linux
Summary: k9copy built using CMake
Name: kde4-k9copy
Version: 2.3.3
Release: 1
License: unknown
Group: unknown
Vendor: Humanity


#%define prefix /usr/local
%define _rpmdir /home/MyTemp/k9copy-2.3.3-
Source/_CPack_Packages/Linux/RPM
%define _rpmfilename k9copy-2.3.3-Linux.rpm
%define _unpackaged_files_terminate_build 0
%define _topdir /home/MyTemp/k9copy-2.3.3-
Source/_CPack_Packages/Linux/RPM
=================
rpmbuild.err and rpm.log both look clean
=====================


thanks,

--
openSuse 11.1 x64bit, KDE4.x Factory, Opera
weekly