Name: libsocketcpp Version: 1.0.6 Release: 0 CopyRight: GPL Group: Development/Tools # I set %_ftpsite and %_website in my personal ~/.rpmmacros Source: %_ftpsite/libsocketcpp-1.0.6.tar.gz URL: %_website/libsocketcpp/ BuildRoot: %_topdir/BUILD/libsocketcpp-1.0.6/Root #Requires: #Obsoletes: Summary: You forgot to change the spec file %changelog %description You forgot to change the spec file %package docs Summary: The Documentation Group: Development/Tools %description docs You forgot to change the description for the docs rpm %prep %setup -n libsocketcpp-1.0.6 %build ./configure --prefix=/usr make %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT make prefix=$RPM_BUILD_ROOT/usr install %post /sbin/ldconfig %files %attr(0755,root,root) /usr/bin/project %files docs %clean rm -rf $RPM_BUILD_ROOT