| 1 | Summary: A C programming language indexing and/or cross-reference tool. |
|---|
| 2 | Name: ctags |
|---|
| 3 | Version: 5.8 |
|---|
| 4 | Release: 1%{?_dist_release} |
|---|
| 5 | License: GPL |
|---|
| 6 | Group: Development/Tools |
|---|
| 7 | URL: http://ctags.sourceforge.net/ |
|---|
| 8 | Source: http://prdownloads.sourceforge.net/ctags/ctags-%{version}.tar.gz |
|---|
| 9 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 10 | |
|---|
| 11 | %description |
|---|
| 12 | Ctags generates an index (or tag) file of C language objects found in |
|---|
| 13 | C source and header files. The index makes it easy for text editors or |
|---|
| 14 | other utilities to locate the indexed items. Ctags can also generate a |
|---|
| 15 | cross reference file which lists information about the various objects |
|---|
| 16 | found in a set of C language files in human readable form. Exuberant |
|---|
| 17 | Ctags improves on ctags because it can find all types of C language tags, |
|---|
| 18 | including macro definitions, enumerated values (values inside enum{...}), |
|---|
| 19 | function and method definitions, enum/struct/union tags, external |
|---|
| 20 | function prototypes, typedef names and variable declarations. Exuberant |
|---|
| 21 | Ctags is far less likely to be fooled by code containing #if preprocessor |
|---|
| 22 | conditional constructs than ctags. Exuberant ctags supports output of |
|---|
| 23 | Emacs style TAGS files and can be used to print out a list of selected |
|---|
| 24 | objects found in source files. |
|---|
| 25 | |
|---|
| 26 | Install ctags if you are going to use your system for C programming. |
|---|
| 27 | |
|---|
| 28 | |
|---|
| 29 | %prep |
|---|
| 30 | %setup -q |
|---|
| 31 | |
|---|
| 32 | %build |
|---|
| 33 | %configure --disable-etags |
|---|
| 34 | make |
|---|
| 35 | |
|---|
| 36 | |
|---|
| 37 | %install |
|---|
| 38 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
|---|
| 39 | %makeinstall |
|---|
| 40 | |
|---|
| 41 | |
|---|
| 42 | %clean |
|---|
| 43 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
|---|
| 44 | |
|---|
| 45 | |
|---|
| 46 | %files |
|---|
| 47 | %defattr(-,root,root) |
|---|
| 48 | %doc COPYING EXTENDING.html FAQ INSTALL NEWS README |
|---|
| 49 | %{_bindir}/ctags |
|---|
| 50 | %{_mandir}/man1/ctags* |
|---|
| 51 | |
|---|
| 52 | |
|---|
| 53 | %changelog |
|---|
| 54 | * Sun Oct 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.8-1 |
|---|
| 55 | - new upstream release |
|---|
| 56 | |
|---|
| 57 | * Sun May 11 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.7-1 |
|---|
| 58 | - new upstream release |
|---|
| 59 | - applied new versioning policy |
|---|
| 60 | |
|---|
| 61 | * Sun May 13 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 5.6-0vl1 |
|---|
| 62 | - updated to 5.6 release |
|---|
| 63 | - rebuilt with new toolchain |
|---|
| 64 | |
|---|
| 65 | * Sat May 1 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 5.5.4-0vl1 |
|---|
| 66 | - source upgrade |
|---|
| 67 | |
|---|
| 68 | * Sun Apr 20 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.5-1vl1 |
|---|
| 69 | - update to 5.5 from sourceforge |
|---|
| 70 | - change URL |
|---|
| 71 | |
|---|
| 72 | * Fri Aug 17 2001 <sagami@vinelinux.org> |
|---|
| 73 | - 5.0.1-2vl1: was ported to Vine |
|---|
| 74 | |
|---|
| 75 | * Wed Jul 11 2001 Jakub Jelinek <jakub@redhat.com> |
|---|
| 76 | - rebuilt against binutils-2.11.90.0.8-3 to reserve .dynamic space |
|---|
| 77 | |
|---|
| 78 | * Mon Jun 11 2001 Preston Brown <pbrown@redhat.com> |
|---|
| 79 | - 5.0.1 |
|---|
| 80 | |
|---|
| 81 | * Thu Jan 04 2001 Preston Brown <pbrown@redhat.com> |
|---|
| 82 | - 4.0.3 |
|---|
| 83 | - remove etags, it is not fully compatible with cmd line of GNU etags. |
|---|
| 84 | |
|---|
| 85 | * Sun Jul 16 2000 Florian La Roche <Florian.LaRoche@redhat.de> |
|---|
| 86 | - update to 4.0.2 from sourceforge |
|---|
| 87 | |
|---|
| 88 | * Wed Jul 12 2000 Prospector <bugzilla@redhat.com> |
|---|
| 89 | - automatic rebuild |
|---|
| 90 | |
|---|
| 91 | * Sat Jun 17 2000 Matt Wilson <msw@redhat.com> |
|---|
| 92 | - added defattr |
|---|
| 93 | |
|---|
| 94 | * Mon Jun 12 2000 Preston Brown <pbrown@redhat.com> |
|---|
| 95 | - FHS paths |
|---|
| 96 | |
|---|
| 97 | * Mon May 8 2000 Bernhard Rosenkr舅zer <bero@redhat.com> |
|---|
| 98 | - Update to 3.5.2 |
|---|
| 99 | - minor cleanups to spec file |
|---|
| 100 | |
|---|
| 101 | * Tue Feb 16 2000 Bernhard Rosenkr舅zer <bero@redhat.com> |
|---|
| 102 | - Update to 3.4 to fix bug #9446 |
|---|
| 103 | |
|---|
| 104 | * Thu Feb 03 2000 Preston Brown <pbrown@redhat.com> |
|---|
| 105 | - compress man page. |
|---|
| 106 | |
|---|
| 107 | * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> |
|---|
| 108 | - auto rebuild in the new build environment (release 4) |
|---|
| 109 | - version 3.2 |
|---|
| 110 | |
|---|
| 111 | * Wed Feb 24 1999 Preston Brown <pbrown@redhat.com> |
|---|
| 112 | - Injected new description and group. |
|---|
| 113 | |
|---|
| 114 | * Fri Apr 24 1998 Prospector System <bugs@redhat.com> |
|---|
| 115 | - translations modified for de, fr, tr |
|---|
| 116 | |
|---|
| 117 | * Thu Apr 09 1998 Cristian Gafton <gafton@redhat.com> |
|---|
| 118 | - upgraded to 2.0.3 |
|---|
| 119 | |
|---|
| 120 | * Mon Nov 03 1997 Michael K. Johnson <johnsonm@redhat.com> |
|---|
| 121 | - removed etags. Emacs provides its own; and needs to support |
|---|
| 122 | more than just C. |
|---|
| 123 | |
|---|
| 124 | * Thu Oct 23 1997 Donnie Barnes <djb@redhat.com> |
|---|
| 125 | - updated from 1.5 to 1.6 |
|---|
| 126 | |
|---|
| 127 | * Thu Jul 10 1997 Erik Troan <ewt@redhat.com> |
|---|
| 128 | - built against glibc |
|---|