%define name cscope %define version 15.6 %define release %mkrel 3 %define Summary C source file browser Summary: %Summary Name: %name Version: %version Release: %release License: BSD Group: Development/Other Source: %name-%version.tar.bz2 Patch0: cscope_prog_info.patch URL: http://cscope.sourceforge.net/ Buildroot: %{_tmppath}/%{name}--buildroot BuildRequires: ncurses-devel %description cscope is an interactive, screen-oriented tool that allows the user to browse through C source files for specified elements of code. %prep %setup %patch0 %build %configure %make %install rm -rf %buildroot %makeinstall %clean rm -rf %buildroot %files %defattr(-,root,root) %defattr(0755,root,root,0755) %{_bindir}/cscope %{_bindir}/ocs %defattr(0644,root,root,0755) %doc TODO COPYING ChangeLog AUTHORS README NEWS INSTALL %{_mandir}/man1/cscope.1* %changelog * Wed Jul 23 2008 Thierry Vignaud <tvignaud@mandriva.com> 15.6-3mdv2009.0 + Revision: 243798 - rebuild * Fri Dec 21 2007 Olivier Blin <oblin@mandriva.com> 15.6-1mdv2008.1 + Revision: 136347 - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Tue Dec 12 2006 Nicholas Brown <nickbrown@mandriva.org> 15.6-1mdv2007.0 + Revision: 96024 - Add buildrequires - New Release - Import cscope * Thu Jun 22 2006 Nick Brown <nickbrown@mandriva.org> 15.5-4mdv2007.0 - use %%mkrel * Wed Feb 02 2005 Nick Brown <nickbrown@mandrake.org> 15.5-3mdk - show progress in verbose mode. Fixes kscope. * Tue Dec 07 2004 Lenny Cartier <lenny@mandrakesoft.com> 15.5-2mdk - rebuild