Summary: A C programming language indexing and/or cross-reference tool Name: ctags Version: 5.8 Release: 1 License: GPL Group: Development/Tools Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz Patch0: %{name}-%{version}-destdir.patch URL: http://ctags.sourceforge.net/ Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root %description Ctags generates an index (or tag) file of C language objects found in C source and header files. The index makes it easy for text editors or other utilities to locate the indexed items. Ctags can also generate a cross reference file which lists information about the various objects found in a set of C language files in human readable form. Exuberant Ctags improves on ctags because it can find all types of C language tags, including macro definitions, enumerated values (values inside enum{...}), function and method definitions, enum/struct/union tags, external function prototypes, typedef names and variable declarations. Exuberant Ctags is far less likely to be fooled by code containing #if preprocessor conditional constructs than ctags. Exuberant ctags supports output of Emacs style TAGS files and can be used to print out a list of selected objects found in source files. Install ctags if you are going to use your system for C programming. %package etags Summary: Exuberant Ctags for emacs tag format Group: Development/Tools Requires: %{name} = %{version}-%{release} %description etags This package will generate tags in a format which GNU Emacs understand, it's a alternativ implementation of the GNU etags program. Note: some command line options is not compatible with GNU etags. %prep %setup -q %patch0 %build ./configure \ --prefix=%{_prefix} \ --mandir=%{_mandir} \ --enable-etags make %{?_smp_mflags} %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} make DESTDIR=${RPM_BUILD_ROOT} install /usr/bin/strip ${RPM_BUILD_ROOT}%{_bindir}/* || : cd ${RPM_BUILD_ROOT} mkdir -p usr/bin cd usr/bin ln -sf ../..%{_bindir}/* . %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,system,-) %doc COPYING EXTENDING.html FAQ NEWS README %{_bindir}/* %{_mandir}/man1/* /usr/bin/* %changelog * Fri Dec 03 2010 Michael Perzl - 5.8-1 - updated to version 5.8 * Tue Jul 01 2008 Michael Perzl - 5.7-1 - first version for AIX V5.1 and higher