Hello all,<br><br>sorry to ask questions again and again.<br>I am new to rpm packaging.<br><br>I am trying to  create one RPM package for my daemon application in Fedora 10.<br><br>daemon application contains ,<br>1. daemon.c<br>

2. daemon.h<br>3. list.c<br>4.list.h<br>5.makefile.<br><br>So , I am just tar the daemon application as "daemon.tar.gz".<br><br>I put this daemon.tar.gz in /home/user/rpmbuild/SOURCES directory.<br><br>I am creating spec filr and put it in  /home/user/rpmbuild/SPECS  directory.<br>

<br>Now, I am trying to create binary RPM for my application. I am in x86_64 architecture.<br><br>when I run <b>rpmbuild -bs daemon-1.spec</b>   and then <b>rpmbuild -bb daemon-1.spec</b><br><br>only source rpm created. Binary RPM is not created.<br>

<br>How to cretae binary RPM for my application.<br>If my spec file is wrong, please correct me.<br>I create .rpmmacros in my home director (/home/user/).<br><br><br>MY spec file is,<br><br>[SPEC]<br>Summary: This Package install Daemon application<br>
Name: daemon<br>Version:1<br>Release:1<br>License: GPL<br>Group: Applications/System<br>
Source:daemon.tar.gz<br>BuildRoot: /home/nco_user/rpmbuild/tmp<br><br>BuildArch:noarch<br>Packager:S.J.Ram<br><div id=":ia" class="ii gt"><br>%description<br>This Package install Daemon application<br>
%prep<br>%setup -q<br>%build<br>make <br><br>%install<br>rm -rf $RPM_BUILD_ROOT<br>make install<br><br>%clean<br>rm -rf $RPM_BUILD_ROOT<br><br>%files<br>%defattr(-,root,root,-)<br>%{_tmppath}/daemon<br><br>[/SPEC]<br>
<br><br>please guide me to create binary rpm.<br>Do I need to change SPEC file?.<br><br>If any one already did RPM package for their C or java application, please give me the example (with one tar.gz file)<br>thank you.</div>