Error in Creating rpm package for a simple "Hello World" Program
Hi friends,
I tried to created a simple rpm package for "Hello world" program
Im getting the error while creating rpm package using rpmbuild -bb hello.spec.
My spec file:
#script to build sample rpm
%define ver 1.0
%define rel 1
%define prefix /usr
Name: Demorpm
Version: 1.0
Release: 1.0
Summary: To test the rpm package building process
Group: Applications
License: GPL
URL: None
Source0: %{name}-%{ver}.tar.gz
Source1: %{name}-%{ver}
BuildRoot: /tmp/%{name}-%{ver}-root
#BuildRequires:
#Requires:
%description
To test the sample rpm build
%prep
%setup
make
%build
#make
#%configure
#make configure
%install
rm -rf ${RPM_BUILD_ROOT}
make install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc
#%changelog
Can any one help me..
Thanks in advance.
|