Name: @PACKAGE@ Version: @VERSION@ Release: @RELEASE_VERSION@ CopyRight: GPL Group: Development/Tools # I set %_ftpsite and %_website in my personal ~/.rpmmacros Source: %_ftpsite/@PACKAGE@-@VERSION@.tar.gz URL: %_website/@PACKAGE@/ BuildRoot: %_topdir/BUILD/@PACKAGE@-@VERSION@/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 @PACKAGE@-@VERSION@ %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