<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div id="yiv6463985996"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><div id="yiv6463985996" style="font-family: 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"><div id="yiv6463985996yui_3_13_0_1_1396938529016_7293"><div id="yiv6463985996yui_3_13_0_1_1396938529016_7292" style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><div class="yiv6463985996thread-quoted-body" id="yiv6463985996yui_3_13_0_1_1396938529016_7387" style="margin:10px;padding-left:10px;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204, 204, 204);height:auto;overflow:visible;"><div class="yiv6463985996yahoo_quoted"
id="yiv6463985996yui_3_13_0_1_1396938529016_7386" style="display: block;"><div id="yiv6463985996yui_3_13_0_1_1396938529016_7385" style="font-size:12pt;"><div id="yiv6463985996yui_3_13_0_1_1396938529016_7384" style="font-size:12pt;"><div class="yiv6463985996y_msg_container" id="yiv6463985996yui_3_13_0_1_1396938529016_7393"><div id="yiv6463985996"><div id="yiv6463985996yui_3_13_0_1_1396938529016_7392"><div id="yiv6463985996yui_3_13_0_1_1396938529016_7391" style="font-size:12pt;"><div id="yiv6463985996"><div id="yiv6463985996yui_3_13_0_1_1396938529016_7390"><div id="yiv6463985996yui_3_13_0_1_1396938529016_7389" style="font-size:12pt;"><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140">Dear @All,</div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140"> i have completed all steps but when run the command got the error </div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140"><br clear="none"></div><div
id="yiv6463985996yui_3_13_0_1_1396505678030_4140" style="background-color:transparent;">some steps </div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140" style="background-color:transparent;">1-install rpm-build rpmdevtools</div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140" style="font-family: 'times new roman', 'new york', times, serif; background-color: transparent;"> 2- and create <span id="yiv6463985996yui_3_13_0_6_1396505678030_30" style="color: rgb(85, 85, 85); font-family: 'Roboto Slab', arial, sans-serif; font-size: 15px; line-height: 24px;">directory structure with {BUILD,RPMS,SOURCES,SPECS,SRPMS}</span></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140" style="color: rgb(85, 85, 85); font-size: 15px; font-family: 'Roboto Slab', arial, sans-serif; background-color: transparent;"><span id="yiv6463985996yui_3_13_0_6_1396505678030_35" style="line-height:24px;">3-after this create .rpmmacros file using(echo
%_topdir /home/ami/rpmbuild > .rpmmacros)</span></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140" style="color: rgb(85, 85, 85); font-size: 15px; font-family: 'Roboto Slab', arial, sans-serif; background-color: transparent;"><span id="yiv6463985996yui_3_13_0_6_1396505678030_39" style="line-height:24px;">4- and create SPEC file as
api.spec</span></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140" style="color: rgb(85, 85, 85); font-size: 15px; font-family: 'Roboto Slab', arial, sans-serif; background-color: transparent;"><span id="yiv6463985996yui_3_13_0_6_1396505678030_64" style="line-height:24px;"><br clear="none" id="yiv6463985996yui_3_13_0_6_1396505678030_70"></span></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140" style="color: rgb(85, 85, 85); font-size: 15px; font-family: 'Roboto Slab', arial, sans-serif; background-color: transparent;"><span id="yiv6463985996yui_3_13_0_6_1396505678030_67" style="line-height:24px;"><br clear="none"></span></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140" style="background-color:transparent;"><font id="yiv6463985996yui_3_13_0_1_1396505678030_8212" color="#555555" face="Roboto Slab, arial, sans-serif"><span id="yiv6463985996yui_3_13_0_1_1396505678030_8211" style="font-size:15px;line-height:24px;">Name:
apIP-Sec</span></font></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140" style="background-color:transparent;"><font id="yiv6463985996yui_3_13_0_1_1396505678030_9324" color="#555555" face="Roboto Slab, arial, sans-serif"><span id="yiv6463985996yui_3_13_0_1_1396505678030_9323" style="font-size:15px;line-height:24px;">Version: 1</span></font></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140" style="background-color:transparent;"><font id="yiv6463985996yui_3_13_0_1_1396505678030_8776" color="#555555" face="Roboto Slab, arial, sans-serif"><span id="yiv6463985996yui_3_13_0_1_1396505678030_8775" style="font-size:15px;line-height:24px;">Release: 1%{?dist}</span></font></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140" style="background-color:transparent;"><font id="yiv6463985996yui_3_13_0_1_1396505678030_8774" color="#555555" face="Roboto
Slab, arial, sans-serif"><span id="yiv6463985996yui_3_13_0_1_1396505678030_8773" style="font-size:15px;line-height:24px;">Summary: simple IP-Sec rpm package</span></font></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140" style="background-color:transparent;"><font color="#555555" face="Roboto Slab, arial, sans-serif"><span style="font-size:15px;line-height:24px;"><br clear="none"></span></font></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140" style="background-color:transparent;"><font id="yiv6463985996yui_3_13_0_1_1396505678030_8772" color="#555555" face="Roboto Slab, arial, sans-serif"><span id="yiv6463985996yui_3_13_0_1_1396505678030_8771" style="font-size:15px;line-height:24px;">Group: Development</span></font></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140" style="background-color:transparent;"><font id="yiv6463985996yui_3_13_0_1_1396505678030_8770"
color="#555555" face="Roboto Slab, arial, sans-serif"><span id="yiv6463985996yui_3_13_0_1_1396505678030_8769" style="font-size:15px;line-height:24px;">License: GPL+</span></font></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140" style="background-color:transparent;"><font id="yiv6463985996yui_3_13_0_1_1396505678030_8759" color="#555555" face="Roboto Slab, arial, sans-serif"><span id="yiv6463985996yui_3_13_0_1_1396505678030_8758" style="font-size:15px;line-height:24px;">URL: http://download.strongswan.org/</span></font></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140" style="background-color:transparent;"><font id="yiv6463985996yui_3_13_0_1_1396505678030_7186" color="#555555" face="Roboto Slab, arial, sans-serif"><span id="yiv6463985996yui_3_13_0_1_1396505678030_7185" style="font-size:15px;
line-height:24px;">Source0: http://download.strongswan.org/strongswan-5.1.2.tar.gz</span></font></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140" style="background-color:transparent;"><font color="#555555" face="Roboto Slab, arial, sans-serif"><span style="font-size:15px;line-height:24px;"><br clear="none"></span></font></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140" style="background-color:transparent;"><font id="yiv6463985996yui_3_13_0_1_1396505678030_7190" color="#555555" face="Roboto Slab, arial, sans-serif"><span id="yiv6463985996yui_3_13_0_1_1396505678030_7189" style="font-size:15px;line-height:24px;">BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root</span></font></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140" style="background-color:transparent;"><font color="#555555" face="Roboto Slab, arial, sans-serif"><span style="font-size:15px;line-height:24px;"><br
clear="none"></span></font></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140" style="background-color:transparent;"><font color="#555555" face="Roboto Slab, arial, sans-serif" id="yiv6463985996yui_3_13_0_1_1396938529016_7396"><span id="yiv6463985996yui_3_13_0_1_1396938529016_7395" style="font-size:15px;line-height:24px;">%description</span></font></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140" style="background-color:transparent;"><font id="yiv6463985996yui_3_13_0_1_1396505678030_8779" color="#555555" face="Roboto Slab, arial, sans-serif"><span id="yiv6463985996yui_3_13_0_6_1396505678030_80" style="font-size:15px;line-height:24px;">simple ip-sec Packaged </span></font></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140" style="background-color:transparent;"><font color="#555555" face="Roboto Slab, arial, sans-serif"><span style="font-size:15px;line-height:24px;"><br clear="none"></span></font></div><div
id="yiv6463985996yui_3_13_0_1_1396505678030_4140" style="background-color:transparent;"><font color="#555555" face="Roboto Slab, arial, sans-serif"><span style="font-size:15px;line-height:24px;">%prep</span></font></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140" style="background-color:transparent;"><font color="#555555" face="Roboto Slab, arial, sans-serif"><span style="font-size:15px;line-height:24px;">%setup -q</span></font></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140" style="background-color:transparent;"><font color="#555555" face="Roboto Slab, arial, sans-serif"><span style="font-size:15px;line-height:24px;"><br clear="none"></span></font></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140" style="background-color:transparent;"><font color="#555555" face="Roboto Slab, arial, sans-serif"><span style="font-size:15px;line-height:24px;"><br clear="none"></span></font></div><div
id="yiv6463985996yui_3_13_0_1_1396505678030_4140" style="background-color:transparent;"><font color="#555555" face="Roboto Slab, arial, sans-serif"><span id="yiv6463985996yui_3_13_0_6_1396505678030_42" style="font-size:15px;line-height:24px;"></span></font></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140" style="background-color:transparent;"><font id="yiv6463985996yui_3_13_0_6_1396505678030_55" color="#555555" face="Roboto Slab, arial, sans-serif"><span id="yiv6463985996yui_3_13_0_6_1396505678030_48" style="font-size:15px;line-height:24px;">%build</span></font></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140" style="background-color:transparent;"><font color="#555555" face="Roboto Slab, arial, sans-serif"><span style="font-size:15px;line-height:24px;">%configure</span></font></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140" style="background-color:transparent;"><font id="yiv6463985996yui_3_13_0_1_1396505678030_8210"
color="#555555" face="Roboto Slab, arial, sans-serif"><span id="yiv6463985996yui_3_13_0_1_1396505678030_8209" style="font-size:15px;line-height:24px;">make %{?_smp_mflags}</span></font></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140" style="background-color:transparent;"><font color="#555555" face="Roboto Slab, arial, sans-serif"><span style="font-size:15px;line-height:24px;"><br clear="none"></span></font></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140" style="background-color:transparent;"><font color="#555555" face="Roboto Slab, arial, sans-serif"><span style="font-size:15px;line-height:24px;"><br clear="none"></span></font></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140" style="background-color:transparent;"><font color="#555555" face="Roboto Slab, arial, sans-serif"><span style="font-size:15px;line-height:24px;">%install</span></font></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140"
style="background-color:transparent;"><font id="yiv6463985996yui_3_13_0_1_1396505678030_7651" color="#555555" face="Roboto Slab, arial, sans-serif"><span id="yiv6463985996yui_3_13_0_1_1396505678030_7650" style="font-size:15px;line-height:24px;">rm -rf $RPM_BUILD_ROOT</span></font></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140" style="background-color:transparent;"><font id="yiv6463985996yui_3_13_0_1_1396505678030_7649" color="#555555" face="Roboto Slab, arial, sans-serif"><span id="yiv6463985996yui_3_13_0_1_1396505678030_7648" style="font-size:15px;line-height:24px;">mkdir -p %{RPM_BUILD_ROOT}</span></font></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140" style="background-color:transparent;"><font color="#555555" face="Roboto Slab, arial, sans-serif"><span style="font-size:15px;line-height:24px;"><br clear="none"></span></font></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140"
style="background-color:transparent;"><font color="#555555" face="Roboto Slab, arial, sans-serif"><span style="font-size:15px;line-height:24px;"># in builddir</span></font></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140" style="background-color:transparent;"><font id="yiv6463985996yui_3_13_0_1_1396505678030_8208" color="#555555" face="Roboto Slab, arial, sans-serif"><span id="yiv6463985996yui_3_13_0_1_1396505678030_8207" style="font-size:15px;line-height:24px;">rm -rf %{RPM_BUILD_ROOT}</span></font></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140" style="background-color:transparent;"><font color="#555555" face="Roboto Slab, arial, sans-serif"><span style="font-size:15px;line-height:24px;"><br clear="none"></span></font></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140" style="background-color:transparent;"><font color="#555555" face="Roboto Slab, arial,
sans-serif"><span style="font-size:15px;line-height:24px;"><br clear="none"></span></font></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140" style="background-color:transparent;"><font color="#555555" face="Roboto Slab, arial, sans-serif"><span style="font-size:15px;line-height:24px;">%clean</span></font></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140" style="background-color:transparent;"><font id="yiv6463985996yui_3_13_0_1_1396505678030_7646" color="#555555" face="Roboto Slab, arial, sans-serif"><span id="yiv6463985996yui_3_13_0_1_1396505678030_8206" style="font-size:15px;line-height:24px;">rm -rf $RPM_BUILD_ROOT</span></font></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140" style="background-color:transparent;"><font color="#555555" face="Roboto Slab, arial, sans-serif"><span style="font-size:15px;line-height:24px;"><br clear="none"></span></font></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140"
style="background-color:transparent;"><font color="#555555" face="Roboto Slab, arial, sans-serif"><span style="font-size:15px;line-height:24px;"><br clear="none"></span></font></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140" style="background-color:transparent;"><font color="#555555" face="Roboto Slab, arial, sans-serif"><span style="font-size:15px;line-height:24px;">%files</span></font></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140" style="background-color:transparent;"><font id="yiv6463985996yui_3_13_0_1_1396505678030_7645" color="#555555" face="Roboto Slab, arial, sans-serif"><span id="yiv6463985996yui_3_13_0_1_1396505678030_7644" style="font-size:15px;line-height:24px;">%defattr(-,root,root,-)</span></font></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140" style="background-color:transparent;"><font id="yiv6463985996yui_3_13_0_1_1396505678030_7653" color="#555555" face="Roboto Slab, arial, sans-serif"><span
id="yiv6463985996yui_3_13_0_1_1396505678030_7652" style="font-size:15px;line-height:24px;">%config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf</span></font></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140" style="background-color:transparent;"><font id="yiv6463985996yui_3_13_0_6_1396505678030_54" color="#555555" face="Roboto Slab, arial, sans-serif"><span id="yiv6463985996yui_3_13_0_6_1396505678030_51" style="font-size:15px;line-height:24px;"></span></font></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_4140" style="background-color:transparent;"><font color="#555555" face="Roboto Slab, arial, sans-serif"><span style="font-size:15px;line-height:24px;">%{_bindir}/*</span></font></div><div id="yiv6463985996yui_3_13_0_6_1396505678030_57"><div id="yiv6463985996yui_3_13_0_6_1396505678030_57"><div id="yiv6463985996yui_3_13_0_6_1396505678030_57"><br clear="none"></div></div></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_7638"><div
id="yiv6463985996yui_3_13_0_1_1396505678030_7638">%changelog</div><div id="yiv6463985996yui_3_13_0_1_1396505678030_7638">* Thu Apr 1 2014</div><div id="yiv6463985996yui_3_13_0_1_1396505678030_7638">- First Build</div><div id="yiv6463985996yui_3_13_0_1_1396505678030_7638"><br clear="none"></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_7638"><br clear="none"></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_7638"><br clear="none"></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_7638"><br clear="none"></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_7638">after all we run command </div><div id="yiv6463985996yui_3_13_0_1_1396505678030_7638">rpmbuild -ba api.spec</div><div id="yiv6463985996yui_3_13_0_1_1396505678030_7638"><br clear="none"></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_7638"><br clear="none"></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_7638"><br clear="none"></div><div
id="yiv6463985996yui_3_13_0_1_1396505678030_7638">when we run this command then i have got error </div><div id="yiv6463985996yui_3_13_0_1_1396505678030_7638"><div id="yiv6463985996yui_3_13_0_1_1396505678030_7638"><br clear="none"></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_7638">error: failed to stat /home/ami/rpmbuild/api.spec: No such file or directory</div><div id="yiv6463985996yui_3_13_0_1_1396505678030_7638"><br clear="none"></div><div id="yiv6463985996yui_3_13_0_1_1396505678030_7638"> Please help how we make successful rpm build </div><div id="yiv6463985996yui_3_13_0_6_1396505678030_96"><br clear="none"></div></div></div></div></div></div></div></div></div><br clear="none"><br clear="none"></div></div></div></div></div></div></div></div><div id="yiv6463985996yui_3_13_0_1_1396938529016_8338"><br style="font-family:'Helvetica
Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:13px;"></div><div class="yiv6463985996thread-quoted-body" id="yiv6463985996yui_3_13_0_1_1396938529016_7399" style="margin: 10px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); font-family: 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; height: auto; overflow: visible;">______________________________________</div></div></div></div></div></body></html>